Hoquiam

Hoq Intelligence

One API key for many models, billed per token from a prepaid balance.

What it does

Hoq Intelligence is an AI gateway at ai.hoq.app. It accepts the OpenAI Chat Completions format and the Anthropic Messages format, so you point an existing SDK or tool at it by changing the base URL and the key.

Every request is authorized against your prepaid credit balance before anything goes upstream. If the balance is empty the gateway answers 402 with a top-up link, and if the ledger cannot be reached it answers 503. Usage is metered in raw input and output tokens and priced in the ledger, so each call on your dashboard shows the model, the tokens, the cache hits and the cost.

You can ask for a role instead of a model name. hoq/fast, hoq/default, hoq/reasoning and the other roles resolve to a priced model, and you can repoint a role for your account without changing any client code. Image, video and 3D generations run as async jobs, and a generation that fails is not charged.

In numbers

7named model roles you can repoint without a code change
9decimal places on every charge
2wire formats accepted: OpenAI and Anthropic
60tags per account for grouping spend by API key

Specifications

Wire formatsPOST /v1/chat/completions (OpenAI, streamed over SSE), POST /v1/messages (Anthropic, streamed over SSE), POST /v1/embeddings and GET /v1/models.
AuthenticationHoq ID API keys with the scope ai:infer, sent as Authorization: Bearer or x-api-key.
Billing modelPrepaid credits. A request with no balance behind it is refused with HTTP 402 before any upstream call.
Metering unitsInput tokens and output tokens per request, with cache reads and cache writes reported separately. Generation jobs are metered in job units: video per second of requested duration, 3D per request.
Charge precisionCredit amounts are stored to 9 decimal places, and a line under one cent shows its exact value instead of 0.00.
Early disconnectsMetering runs on every exit path, and each request meters under its own idempotency key, so a retried meter call debits once.
Failed generationsAsync generation jobs are charged only when they complete. Failed, cancelled and timed-out jobs cost nothing.
Prompt cachingOn the Anthropic format, the gateway adds up to two cache breakpoints when the client sent none.
Model roleshoq/fast, hoq/default, hoq/reasoning, hoq/vision, hoq/image, hoq/background and hoq/embed, each resolving to a priced model you can repoint per account.
Who paysAn organization can pay for its members' AI, with an optional daily cap per member.
Request logsThe access log records status and latency per request. It keeps no request bodies, no keys and no query strings.

Features

15 features, all shipped. Listed from the product's code and documentation; each row shows the day it was last checked.

API 5
OpenAI formatStreamed chat completions in the OpenAI format, with usage reporting switched on for you.
Anthropic formatStreamed Messages API calls, so Anthropic SDKs and tools work with a new base URL.
EmbeddingsText embeddings through the same key, priced on input tokens only.
Model listGET /v1/models answers in the OpenAI list shape, including your role table.
Async generation jobsSubmit image, video or 3D generations to /v1/jobs and poll status and result URLs.
Models 3
Model rolesAsk for a role such as hoq/reasoning and the gateway picks the priced model behind it.
Role preferencesRepoint a role for your account, with the price shown beside each candidate.
Pooled modelsSome models are served from several subscription accounts, and a request moves to the next account when one runs out or fails before sending any bytes.
Billing 3
Prepaid balanceBuy credits by card at id.hoq.app/billing; the balance goes up when the payment provider confirms the charge.
Fail closedNo key returns 401, no funds return 402 with a top-up link, an unreachable ledger returns 503.
Organization billingAn organization can pay for members' AI and set a daily cap per member.
Dashboard 4
Usage viewBalance, daily spend, spend by model and per-request lines with tokens, cache hits and cost.
API keys and tagsMint keys and tag them many-to-many to see spend by client or team.
PlaygroundTry a model in the browser against your own key, with the running cost under the composer.
Refusals on the recordRefused requests and failed jobs appear in your usage with the reason, at zero cost.

Works with

  • GrimasteGrimaste agents think through Intelligence and their AI usage bills to your balance.
  • Hoq AgentsAgents can run on Intelligence models instead of a separate provider account.

Your data

Where it is keptUsage records and the balance ledger are kept in your Hoq ID account. Prompts and completions pass through to the model provider and are not written to the gateway's access log.
Getting it outNot published.
If you leaveNot published.

APIs and standards

  • OpenAI-compatible API: https://ai.hoq.app/v1/chat/completions, /v1/embeddings, /v1/models
  • Anthropic-compatible API: https://ai.hoq.app/v1/messages
  • Async jobs: POST https://ai.hoq.app/v1/jobs/{endpoint}
  • Web dashboard at intelligence.hoq.app
  • Standard: OpenAI Chat Completions API
  • Standard: Anthropic Messages API
  • Standard: Server-Sent Events

Compared

Checked 2026-11-01Hoq IntelligenceOpenRouterAnthropic API (direct)
Request formatsOpenAI Chat Completions and Anthropic MessagesOpenAI-compatible: Chat Completions and Responses1Anthropic Messages2
Model catalogue7 named roles plus the priced models behind them; full list shown after sign-in600+ models from 80+ providers3Claude models only2
Fee on top of model priceMarkup built into each per-token price, not published as a percentage5.5% on credit purchases (Standard plan)3not published2
Spend controlPrepaid balance; requests refused with 402 at zero; per-member daily cap for organizationsBudgets and per-key credit caps (Standard and above)3Monthly spend cap per tier: $500 Start, $1,000 Build, $200,000 Scale; your own lower limit2
TeamsOrganization pays for members' AI5 workspaces on Standard, 1,000 on Business3Workspaces with their own spend and rate limits2
Zero data retention routingnot publishedAvailable on every plan3not published2
SSOnot publishedEnterprise only3not published2
  1. https://openrouter.ai/docs/api/reference/overview
  2. https://platform.claude.com/docs/en/api/rate-limits
  3. https://openrouter.ai/pricing