Enter how many requests you make a month and how many tokens each one uses. Pick a model, or type in the prices of another one, to see the monthly and yearly cost. The table under the result lists 22 models on the same usage, cheapest first.
If you pay in cedis, naira or another currency, type in today’s exchange rate to see the cost in local money. No rate is built in. Nothing you type is sent or saved: the sums run in your browser.
The calculator needs JavaScript. Turn it on in your browser to use it.
Prices change often. The ones used here were read from each provider’s own pricing page on 12 November 2026, and a few are set to change on dates the providers give. This is an estimate: cached and batch discounts, tool fees, free tiers and taxes are not included.
What is a token?
A token is a small piece of text that an AI model reads or writes. It can be a short word, part of a longer word, a number or a punctuation mark. Providers charge for each million tokens, with one price for the text you send (input) and a higher price for the text the model writes back (output).
Google gives a rough guide for its Gemini models: a token is about 4 characters, and 100 tokens are about 60 to 80 English words. On that guide, a 500-word page is about 625 to 833 tokens. Other providers split text a little differently, so the same text can come to more or fewer tokens on another model. Anthropic says its Claude 4.7 and later models produce about 30% more tokens for the same text than its earlier models. For an exact count, check with the provider you plan to use.
How the cost is worked out
- Input tokens a month: requests a month times input tokens per request.
- Output tokens a month: requests a month times output tokens per request.
- Cost: input tokens divided by 1,000,000 and times the input price, plus output tokens divided by 1,000,000 and times the output price.
- Yearly cost: the monthly cost times 12.
- Local money: the dollar cost times the exchange rate you type in.
- Long prompts: some models charge more per token when the input of one request is above a set size. The tool uses the higher price when the input tokens per request pass that size. The table below shows each size.
- Dated changes: where a provider lists a new price from a given date, the tool uses the new price from that date, by the date on your device.
- DeepSeek hours: DeepSeek charges half as much outside its peak hours. Choose peak or off-peak in the form.
Prices used in the tool
| Provider | Model | Input per 1M tokens | Output per 1M tokens | Notes |
|---|---|---|---|---|
| OpenAI | gpt-6-astra | $10.00 ($20.00 over 272,000 input tokens) | $50.00 ($75.00 over 272,000 input tokens) | |
| OpenAI | gpt-6.1-sol | $2.00 ($4.00 over 272,000 input tokens) | $10.00 ($15.00 over 272,000 input tokens) | |
| OpenAI | gpt-6.1-terra | $1.00 ($2.00 over 272,000 input tokens) | $5.00 ($7.50 over 272,000 input tokens) | |
| OpenAI | gpt-6-luna | $0.10 ($0.20 over 272,000 input tokens) | $0.50 ($0.75 over 272,000 input tokens) | |
| OpenAI | gpt-5.4-mini | $0.75 | $4.50 | |
| Anthropic | Claude Fable 5.2 | $8.00 | $40.00 | |
| Anthropic | Claude Opus 5.5 | $4.00 | $20.00 | |
| Anthropic | Claude Sonnet 5.5 | $2.00 | $10.00 | |
| Anthropic | Claude Sonnet 4.6 | $3.00 | $15.00 | |
| Anthropic | Claude Haiku 5.5 | $0.10 ($0.50 over 100,000 input tokens) | $0.50 ($2.50 over 100,000 input tokens) | Anthropic prices this model by prompt length |
| Anthropic | Claude Haiku 4.5 | $1.00 | $5.00 | |
| gemini-4-carbon | $2.00 to 30 Nov 2026 ($4.00 from 1 Dec 2026) | $10.00 to 30 Nov 2026 ($20.00 from 1 Dec 2026) | Price doubles on 1 December 2026 | |
| gemini-4-argon | $2.00 to 30 Nov 2026 ($4.00 from 1 Dec 2026) | $10.00 to 30 Nov 2026 ($20.00 from 1 Dec 2026) | Price doubles on 1 December 2026 | |
| gemini-3.8-flash | $0.75 to 31 Dec 2026 ($1.50 from 1 Jan 2027) | $3.75 to 31 Dec 2026 ($7.50 from 1 Jan 2027) | Price doubles on 1 January 2027 | |
| gemini-3.6-flash | $0.75 to 31 Dec 2026 ($1.50 from 1 Jan 2027) | $3.75 to 31 Dec 2026 ($7.50 from 1 Jan 2027) | Price doubles on 1 January 2027 | |
| gemini-3.5-flash-lite | $0.30 | $2.50 | ||
| gemini-3.1-pro-preview | $2.00 ($4.00 over 200,000 input tokens) | $12.00 ($18.00 over 200,000 input tokens) | Preview model | |
| gemini-2.5-flash-lite | $0.10 | $0.40 | Text input price | |
| DeepSeek | deepseek-flash | $0.30 at peak hours ($0.15 off-peak) | $1.20 at peak hours ($0.60 off-peak) | Input that is not already cached |
| DeepSeek | deepseek-v4-pro | $1.32 at peak hours ($0.66 off-peak) | $3.96 at peak hours ($1.98 off-peak) | Input that is not already cached |
| xAI | grok-4.7 | $2.00 ($4.00 at 200,000 input tokens or more) | $6.00 ($12.00 at 200,000 input tokens or more) | |
| xAI | grok-4.3 | $1.25 ($2.50 at 200,000 input tokens or more) | $2.50 ($5.00 at 200,000 input tokens or more) |
All prices are US dollars per million tokens for text, standard processing, as printed on each provider’s pricing page on 12 November 2026. Where a model has a higher price for long prompts, the tool uses it for all the tokens of a request whose input passes the size shown. xAI’s page says it bills this way. The page for each provider is in the list of sources below.
Left out on purpose: older and specialist models on those pages, models the providers mark as deprecated or give a shutdown date (OpenAI’s gpt-5.4-nano, gpt-5-mini, gpt-5-nano, gpt-4.1 and gpt-4o-mini, and Google’s gemini-3.1-flash-lite), the Claude models with limited availability, and the OpenAI model gpt-5.6-sol, whose page gives a promotional price until 30 November 2026 and no price after that. Mistral is not listed because its pricing page did not show a full per-token price list.
What is not included
- Cached input. Providers list lower prices for input they have already seen. This tool charges every input token at the full input price.
- Batch and faster service tiers. Anthropic’s page lists a 50 percent discount for batch requests, and the OpenAI and Gemini pages list batch prices too. Faster tiers cost more. None of these are used here.
- Tool and search fees. For example, DeepSeek bills Search and Fetch at $0.75 per 1,000 successful requests, and Anthropic’s page lists web search at $10 per 1,000 searches.
- Free tiers. Google’s page lists a free tier for some Gemini models. The tool treats every model as paid.
- Regional processing. Anthropic’s page lists a price of 1.1 times for US-only processing, and OpenAI’s page lists a 10% uplift for regional processing.
- Thinking tokens you leave out. Some models think before they answer. Google’s page says its output price includes thinking tokens, so add them to the output tokens you enter.
- Taxes and bank charges. VAT or other taxes, card fees, and the margin a bank adds when it turns dollars into cedis, naira or another currency.
- Images, audio, video, embeddings and other models that are not priced as text.
Questions
How much does an AI API cost for 10,000 requests a month?
It depends on the model and the length of each request. Take 10,000 requests a month, each with 1,500 input tokens and 500 output tokens. At the prices read on 12 November 2026, gpt-6.1-terra costs $40.00 a month ($480.00 a year), Claude Sonnet 5.5 costs $80.00 a month and gemini-3.5-flash-lite costs $17.00 a month. DeepSeek’s deepseek-flash costs $10.50 a month at peak hours and $5.25 off-peak.
Which model is cheapest, and which costs the most?
On the same usage (10,000 requests a month, each with 1,500 input tokens and 500 output tokens), the cheapest of the 22 models here is gemini-2.5-flash-lite at $3.50 a month, and the dearest is gpt-6-astra at $400.00 a month. A low price is not a better fit: try a cheaper model on your own task before you choose it.
What is a token, and how many tokens are in a page of text?
A token is a small piece of text: a short word, part of a longer word, a number or a punctuation mark. Google says that for Gemini models a token is about 4 characters and 100 tokens are about 60 to 80 English words, which puts a 500-word page at about 625 to 833 tokens. Other providers count a little differently, so use the provider you plan to buy from for an exact figure.
Do output tokens cost more than input tokens?
On every model in this tool the output price is higher than the input price, so a long reply costs more than a long prompt of the same size. To keep the bill down, ask for replies only as long as the job needs.
Can I see the cost in cedis or naira?
Yes. Choose your currency and type how much of it buys 1 US dollar. The tool multiplies the dollar cost by that rate. It has no rate of its own, because rates change every day. Your bank or card provider may add a margin and fees when it converts, so the amount you pay can be higher.
Why do some prices change on a date?
Google’s page lists the Gemini 4 models (gemini-4-carbon and gemini-4-argon) at $2.00 in and $10.00 out per million tokens to 30 November 2026, then $4.00 in and $20.00 out from 1 December 2026. It lists gemini-3.8-flash and gemini-3.6-flash at $0.75 in and $3.75 out to 31 December 2026, then $1.50 in and $7.50 out from 1 January 2027. The tool switches to the new price on those dates, using the date on your device. If a provider changes its plan, check its page.
What are DeepSeek’s peak hours?
DeepSeek’s page gives the peak hours as 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, except Chinese public holidays. All other times, including weekends, are off-peak and cost half as much. Ghana uses UTC. Nigeria is one hour ahead of UTC.
Does the tool include cached or batch prices?
No. It uses the standard price for every input and output token. Cached input and batch requests are cheaper on some providers, and tool or search fees, free tiers and taxes are extra, so the real bill can be lower or higher. The list of what is not included is above.
Why can the same text cost a different number of tokens?
Each provider splits text with its own method. Anthropic says its Claude 4.7 and later models produce about 30% more tokens for the same text than its earlier models. A price per million tokens is only comparable when you count the tokens the way that provider does.
Sources and last check
- OpenAI: API pricing (read 12 November 2026)
- Anthropic: Claude API pricing (read 12 November 2026)
- Google: Gemini API pricing (read 12 November 2026)
- Google: Gemini API tokens (read 12 November 2026)
- DeepSeek: models and pricing (read 12 November 2026)
- xAI: models and pricing (read 12 November 2026)
- OpenAI: model pages, for each model’s status (read 12 November 2026)
- Anthropic: model deprecations (read 12 November 2026)
- Google: Gemini API deprecations (read 12 November 2026)
Rates and rules last checked on 12 November 2026. If a rule has changed since, the official source is the one to follow.
Related: Best accounting software for small business: prices compared · QuickBooks alternatives for Ghana and Nigeria · Free invoice, receipt and quotation generator
