Pricing and how billing works
Pay-as-you-go has no monthly fee. Add balance (the minimum top-up is shown on the top-up page of the console) and each request is charged from it at actual usage. Prices are in US dollars (USD).
How one request is charged
- When a request arrives, its cost is estimated from the input size and the maximum output, and that amount is reserved from your balance. If the balance cannot cover the reservation the request is refused before any upstream cost is incurred.
- When the upstream answers, the cost is computed from actual usage at the model's price in effect at that time and settled once: any excess reservation goes back to your balance, any shortfall is charged.
- If a stream is interrupted, the client disconnects or the gateway restarts, the request is settled on the usage recorded so far, or on the reservation estimate when nothing was recorded.
Billed items
A model is charged only for the items in this table that apply to it; see the price list below and each model page for unit prices.
| Item | Unit | Applies to / fallback |
|---|---|---|
| Input tokens | per 1M tokens | Chat, embeddings |
| Output tokens | per 1M tokens | Chat |
| Reasoning tokens | per 1M tokens | Output price unless priced separately |
| Cache read | per 1M tokens | Input price unless priced separately |
| Cache write (5 min / 1 hour) | per 1M tokens | 1-hour falls back to 5-minute, then to input price |
| Image and audio input tokens | per 1M tokens | Input price unless priced separately |
| Image and audio output tokens | per 1M tokens | Output price unless priced separately |
| Input characters | per 1M characters | Character-priced text-to-speech models |
| Input audio duration | per second (shown per minute) | Transcription, metered in milliseconds |
| Generated images | per image, optionally by quality and size | Image generation |
| Web search | per search call executed by the provider | Models with web search |
| Flat request fee | per billable request | Some models |
Context tiers
Some models charge more for long prompts. The tier is chosen by the total input tokens of the request, cache reads and writes included: the highest tier whose threshold does not exceed that total. Every item of the request is then billed at that tier; the excess is not billed separately.
Precision and rounding
Amounts are kept as integer nano-dollars (1 USD = 1,000,000,000 nano-USD), never floating point. The items of a request are summed exactly, any contract discount is applied to the sum, and the result is rounded up once, to 0.000000001 USD.
Example: ds-flash, 1,200 input and 350 output tokens
1,200 × $0.18 / 1,000,000 + 350 × $0.72 / 1,000,000 = $0.000468 → $0.000468
Computed from the price list below; after a price change, the price in effect when the request ran applies.
The order credits are used in
Your balance is made of separate credits, used in this order: subscription, promotional, converted referral rewards, then top-ups. Promotional credits can expire; the expiry date is shown on the billing page of the console.
How to top up
Top up by card or with crypto. Crypto payments take stablecoins only (USDT or USDC) and add bonus credits on top of the top-up; the current rate is shown on the top-up page of the console. Bonus credits cannot be refunded, and a refund of the payment removes the matching share of any bonus not yet used.
Where to check a charge
usage.costin every response: the USD amount charged for that request.GET /v1/generation?id=<request id>: list cost, amount charged and the quantity, unit price and amount of every billed item.- The usage page of the console: one row per request, and the billing breakdown of each request.
Price list
The main unit prices of each model at its lowest tier. Tiered prices, cache prices and other items are on each model page.