Skip to content

Billing and limits

Billing and rounding

Prepaid credits, how a call is priced, and the ±$0.000001 rounding rule.

From usage to your balance
From usage to your balance
Usage × price
The model’s listed price per unit
Round the total
Nearest $0.000002, halves up
Debit credits
See the cost in Activity
  1. Usage × price. The model’s listed price per unit
  2. Round the total. Nearest $0.000002, halves up
  3. Debit credits. See the cost in Activity

AZRouter is prepaid: you top up credits in US dollars and each call debits its cost.

What a call costs

CurrencyUS dollars, prepaid credits
Cost of a callUnits used × the model's listed price per unit (input, output, cache read, cache write, image, second, character or request)
Metering unit$0.000002. Each request's total is rounded to the nearest unit, halves up.
Balance and debitsDashboard → Credits; every request with its cost in Dashboard → Activity

A streamed request costs the same as the same request without streaming: both bill the token counts in usage.

Rounding

The gateway meters money in units of $0.000002 and rounds each request's cost to the nearest unit, halves up.

A request can cost up to $0.000001 more or less than the per-unit math, and nothing else is added.

Two requests to qwen/qwen3.8-flash ($0.165 per million input tokens, $0.517 per million output tokens), as billed on 2026-10-16:

RequestInput · output tokensPer-unit mathIn metering unitsBilledDifference
Rounded up68 · 16$0.0000194929.74610 units = $0.000020+$0.000000508
Rounded down69 · 37$0.00003051415.25715 units = $0.000030−$0.000000514

Prices and market prices

Every price on the site sits next to a market price for the same unit, with the difference.

Where we have checked the market price against the maker's own pricing page, it is labelled as the maker's official price: the difference is green where we charge less and red where we charge more, and in the models table the official price is struck through, with the saving beside it, only on a row where our price is lower.

Any other market price is labelled "Market price": its difference is shown in grey, and no saving is claimed against it.

Markups are per model, so some models cost less than their market price and some cost more.

Prompt caching

Models that support prompt caching bill cached prompt tokens separately, at the prices on their model page.

Input tokensWhenBilled at
UncachedNot served from a cacheInput price
Cache writeA prompt prefix is stored for the first timeCache write price
Cache readA later request reuses a stored prefixCache read price, usually a fraction of input

A model without a cache price bills cached tokens at its input price. usage.prompt_tokens includes cached tokens; usage.prompt_tokens_details.cached_tokens reports the cache reads.

In Dashboard → Activity, each request splits its input into uncached, cache read and cache write.

Claude models

Every Claude model on sale caches prompts on these terms:

  • The prompt cache TTL is 5 minutes. A request that asks for a one-hour cache ("ttl": "1h") is served with the 5-minute cache and billed as a 5-minute cache write, at the cache write price on the model page. There is no one-hour price.
  • Only markers on content blocks cache. Put cache_control on a block in system or in a message's content. A cache_control at the top level of the request or on a tool definition is dropped, so a request that relies on those alone is not cached. Claude Code and Cline mark content blocks.
  • Some Claude models have a long-context tier. For example, when a Claude Haiku 5.5 request's prompt is over 100,000 tokens, cached tokens included, the whole request bills at the over-100K rates: input, output, cache read and cache write are each five times the base rate. A model with a tier lists both on its model page.