Free tool
What will my workload cost per month?
Set your traffic once and compare all 48 models at the per-token rates we charge. The math is shown under the table, so you can check it.
Runs in your browser. Nothing you enter is sent anywhere.
Bars compare monthly cost; colour marks the model family. "Too long": the input is larger than the model's context window. Rates are the ones on our pricing page, in USD.
Method
How it works
For each model the calculator bills one request the way our gateway does, then multiplies by the number of requests:
per request = input tokens × input rate / 1,000,000
+ output tokens × output rate / 1,000,000
rounded to the nearest $0.000002, at least $0.000002
per month = per request × requests per day × daysGrok 4.6 and Grok 4.7 bill every token at 2× these rates once the input is above 200,000 tokens, and the calculator applies that.
With the defaults (8,000 input and 600 output tokens) on Roleplay Chat, one request costs 8,000 × $0 / 1M + 600 × $0 / 1M = $0, and 6,000 of them cost $0. $0.000002 is the smallest amount the gateway bills (1 credit = $1 = 500,000 units), which is why a request is rounded before it is multiplied.
What it leaves out
- Prompt caching. Repeated context can be billed at a lower cached-input rate where the model supports it, so agent workloads often cost less than shown. Writing a prompt into the cache costs more than plain input when the provider reports it: 1.25× the input rate for those tokens, 2× for a 1-hour cache.
- Reasoning tokens. Models that think before answering bill those tokens as output. If you use a reasoning effort setting, raise the output figure.
- Agent loops. One task in a coding agent is many requests, and each re-sends the growing conversation. Count requests, not tasks.
Three workloads, worked out
The same formula applied to three common shapes of traffic, at today’s rates. The spread between the cheapest and the most expensive paid model is the main reason to measure before you pick a default.
| Workload | Per request | Cheapest paid | Most expensive |
|---|---|---|---|
| Support chatbot1,000 requests a day, 30 days: short questions, a system prompt and a little history | 1,500 in 300 out | $2.46DeepSeek V4 Flash | $630.00Claude Fable 5.1 |
| Coding agent, one developer300 requests a day, 22 days: each turn re-sends the growing session and file contents | 30,000 in 1,200 out | $8.316GPT-6 Luna | $1,663.20Claude Fable 5.1 |
| Nightly document summaries500 requests a day, 30 days: long inputs, short outputs, once a day per document | 12,000 in 400 out | $7.35GPT-6 Luna | $1,470.00Claude Fable 5.1 |
Put any of these rows into the calculator above to see every model in between. Caching usually lowers the coding-agent row the most, because each turn re-sends context the model has already seen.
The use-case presets
The buttons above the calculator fill in these workloads. The token counts are assumptions for a typical request of each kind, not measurements: your own prompts, retries and cache hits decide the real bill.
| Preset | Requests a day | Input tokens | Output tokens | Days |
|---|---|---|---|---|
| Chatbota system prompt, a little history and a short question | 1,000 | 1,500 | 300 | 30 |
| RAGretrieved document chunks plus the question | 500 | 6,000 | 400 | 30 |
| Code reviewone pull-request diff with context, a written review back | 100 | 20,000 | 1,500 | 22 |
| Contenta brief and outline in, a long draft out | 50 | 1,000 | 2,000 | 22 |
How to get a real number
- Read the token counts from a request you already make, or estimate one typical prompt at about four characters per token.
- Enter the counts above and shortlist two or three models. The models page shows each one’s context window and capabilities.
- Send the same prompt to each shortlisted model in Chat or through the API. Your usage log shows the exact tokens and amount for every request, so you can replace the estimate with measured numbers.
Billing on One AI API Key is prepaid: you add credit to your wallet (any amount at a time), and each request is deducted from your balance using the token counts the provider reports. See pricing, the rate table and how billing works. If the workload is a coding agent, the setup guides show how to point it at the gateway.