Concepts
Pricing and receipts
The meter
Every response splits the prompt in two: cached_tokens, the island prefix served from KV cache, and new_tokens, everything after it. Billing counts new tokens and output tokens. The cached part is shown on every receipt and never billed.
Measured numbers
On the house gateway, Qwen3-4B-Instruct-2507 (Q4_K_M), one question on a 12,967-token island:
Prompt time for one question on a 12,967-token island, measured on the gateway
Cold prefill16.2 s
Snapshot restore + warm340 ms
Warm prefill (resident)84 ms
| Run | Prompt time | First token |
|---|---|---|
| Cold, whole prefix | 16.2 to 20.8 s | 16.5 to 21 s |
| Warm, island resident | 59 to 86 ms | 78 to 110 ms |
| Warm, restored from snapshot | 86 ms + 254 to 290 ms restore | about 360 ms |
Decode runs at about 48 tokens per second in both cases. The home page counters and the Receipts tab show the live log, so these numbers can be checked at any time.
Preview pricing
During the preview the API is free within the rate limits. The meter above is already on every response, so nothing changes in your code when paid plans open.
Prefill