AI API cost calculator

Enter your monthly usage and see what every model would cost, from today's published prices.

18 left today

Not sure of your volume? Estimate it from a sample

An estimate: about 4 characters per token for English, fewer for French, and about 2.5 for Arabic. Each provider tokenises differently, so expect up to 20% either way. Your text stays in your browser unless you press the button.

Your selection

Gemini Omni Flash
$108.00 Per month

Monthly cost by model

#Model InputOutput Per monthPer year
1
GPT-5 nanoLegacy OpenAI · $0.1375 / 1M tokens
$3.00$0.80 $3.80 $45.60
2
Gemini 2.5 Flash-LiteLegacy Google · $0.175 / 1M tokens
$6.00$0.80 $6.80 $81.60
3
GPT-4.1 nanoDeprecated OpenAI · $0.175 / 1M tokens
$6.00$0.80 $6.80 $81.60
4
Claude Haiku 5.5 Anthropic · $0.20 / 1M tokens
$6.00$1.00 $7.00 $84.00
5
GPT-6 Luna OpenAI · $0.20 / 1M tokens
$6.00$1.00 $7.00 $84.00
6
GPT-6 Luna Pro OpenAI · $0.20 / 1M tokens
$6.00$1.00 $7.00 $84.00
7
DeepSeek V4 Flash 0731 DeepSeek · $0.1488 / 1M tokens
$7.14$0.48 $7.62 $91.39
8
GPT-4o MiniDeprecated OpenAI · $0.2625 / 1M tokens
$9.00$1.20 $10.20 $122.40
9
DeepSeek V4 Flash Vision ExpPreview DeepSeek · $0.3234 / 1M tokens
$12.94$1.29 $14.23 $170.76
10
GPT-5.6 Luna OpenAI · $0.45 / 1M tokens
$12.00$2.40 $14.40 $172.80
11
GPT-5.4 nanoDeprecated OpenAI · $0.4625 / 1M tokens
$12.00$2.50 $14.50 $174.00
12
Qwen3.8 27B Alibaba Cloud (Qwen) · $0.775 / 1M tokens
$12.00$5.00 $17.00 $204.00
13
Gemini 3.1 Flash-LiteLegacy Google · $0.5625 / 1M tokens
$15.00$3.00 $18.00 $216.00
14
GPT-5 MiniLegacy OpenAI · $0.6875 / 1M tokens
$15.00$4.00 $19.00 $228.00
15
DeepSeek V4.1 Flash DeepSeek · $0.525 / 1M tokens
$18.00$2.40 $20.40 $244.80
16
Gemini 3.5 Flash-Lite Google · $0.85 / 1M tokens
$18.00$5.00 $23.00 $276.00
17
Gemini 2.5 FlashLegacy Google · $0.85 / 1M tokens
$18.00$5.00 $23.00 $276.00
18
GPT-4.1 MiniDeprecated OpenAI · $0.70 / 1M tokens
$24.00$3.20 $27.20 $326.40
19
Mistral Large 4Preview Mistral AI · $0.75 / 1M tokens
$30.00$3.00 $33.00 $396.00
20
GPT-3.5 TurboDeprecated OpenAI · $0.75 / 1M tokens
$30.00$3.00 $33.00 $396.00
21
Gemini 3 FlashLegacy Google · $1.13 / 1M tokens
$30.00$6.00 $36.00 $432.00
22
Gemini 3.8 Flash Google · $1.50 / 1M tokens
$45.00$7.50 $52.50 $630.00
23
Gemini 3.7 Flash Google · $1.50 / 1M tokens
$45.00$7.50 $52.50 $630.00
24
Gemini 3.6 FlashLegacy Google · $1.50 / 1M tokens
$45.00$7.50 $52.50 $630.00
25
GPT-5.4 MiniLegacy OpenAI · $1.69 / 1M tokens
$45.00$9.00 $54.00 $648.00
26
Grok Build 0.1 xAI · $1.25 / 1M tokens
$60.00$4.00 $64.00 $768.00
27
GPT-6.1 Terra OpenAI · $2.00 / 1M tokens
$60.00$10.00 $70.00 $840.00
28
GPT-6.1 Terra Pro OpenAI · $2.00 / 1M tokens
$60.00$10.00 $70.00 $840.00
29
Claude Haiku 4.5Legacy Anthropic · $2.00 / 1M tokens
$60.00$10.00 $70.00 $840.00
30
o3-miniDeprecated OpenAI · $1.93 / 1M tokens
$66.00$8.80 $74.80 $897.60
31
o4-miniDeprecated OpenAI · $1.93 / 1M tokens
$66.00$8.80 $74.80 $897.60
32
Grok 4.3 xAI · $1.56 / 1M tokens
$75.00$5.00 $80.00 $960.00
33
Grok 4.20 Reasoning xAI · $1.56 / 1M tokens
$75.00$5.00 $80.00 $960.00
34
Grok 4.20 Non-Reasoning xAI · $1.56 / 1M tokens
$75.00$5.00 $80.00 $960.00
35
Grok 4.20 Multi-Agent xAI · $1.56 / 1M tokens
$75.00$5.00 $80.00 $960.00
36
DeepSeek V4 Pro DeepSeek · $1.98 / 1M tokens
$79.20$7.92 $87.12 $1,045
37
GPT-5Legacy OpenAI · $3.44 / 1M tokens
$75.00$20.00 $95.00 $1,140
38
Gemini 2.5 ProLegacy Google · $3.44 / 1M tokens
$75.00$20.00 $95.00 $1,140
39
GPT-5.1Deprecated OpenAI · $3.44 / 1M tokens
$75.00$20.00 $95.00 $1,140
40
Gemini Omni Flash Google · $3.38 / 1M tokens
$90.00$18.00 $108.00 $1,296

Show all 87 models

Frequently asked questions

How is the monthly cost calculated?

Input tokens are multiplied by the input price, output tokens by the output price, both per million tokens. The cached share of input uses the cached-input price when the provider publishes one, and the batch option uses batch prices where they exist. Prices are the ones valid today.

How many tokens is a word?

In English, a token is roughly three quarters of a word, so a million tokens is about 750,000 words. French and especially Arabic text usually takes more tokens for the same content, and each provider's tokenizer differs.

What is cached input?

When the start of a prompt repeats across requests, such as a long system prompt or a document, providers can reuse it and bill it at a much lower rate. Agents and document Q&A often reach 50 to 90% cached input.

Are free tiers and discounts included?

No. The calculator uses list prices in US dollars, before taxes, free allowances, committed-use discounts or regional surcharges.