AI API cost calculator

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

11 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

GPT-5 Mini
$80.00 Per month
Mistral Large 4
$122.50 Per month

Monthly cost by model

#Model InputOutput Per monthPer year
1
GPT-5 nanoLegacy OpenAI · $0.1375 / 1M tokens
$10.00$6.00 $16.00 $192.00
2
Gemini 2.5 Flash-LiteLegacy Google · $0.175 / 1M tokens
$20.00$6.00 $26.00 $312.00
3
GPT-4.1 nanoDeprecated OpenAI · $0.175 / 1M tokens
$20.00$6.00 $26.00 $312.00
4
DeepSeek V4 Flash 0731 DeepSeek · $0.1488 / 1M tokens
$23.80$3.57 $27.37 $328.44
5
Claude Haiku 5.5 Anthropic · $0.20 / 1M tokens
$20.00$7.50 $27.50 $330.00
6
GPT-6 Luna OpenAI · $0.20 / 1M tokens
$20.00$7.50 $27.50 $330.00
7
GPT-6 Luna Pro OpenAI · $0.20 / 1M tokens
$20.00$7.50 $27.50 $330.00
8
GPT-4o MiniDeprecated OpenAI · $0.2625 / 1M tokens
$30.00$9.00 $39.00 $468.00
9
DeepSeek V4 Flash Vision ExpPreview DeepSeek · $0.3234 / 1M tokens
$43.12$9.70 $52.82 $633.86
10
GPT-5.6 Luna OpenAI · $0.45 / 1M tokens
$40.00$18.00 $58.00 $696.00
11
GPT-5.4 nanoDeprecated OpenAI · $0.4625 / 1M tokens
$40.00$18.75 $58.75 $705.00
12
Gemini 3.1 Flash-LiteLegacy Google · $0.5625 / 1M tokens
$50.00$22.50 $72.50 $870.00
13
Qwen3.8 27B Alibaba Cloud (Qwen) · $0.775 / 1M tokens
$40.00$37.50 $77.50 $930.00
14
DeepSeek V4.1 Flash DeepSeek · $0.525 / 1M tokens
$60.00$18.00 $78.00 $936.00
15
GPT-5 MiniLegacy OpenAI · $0.6875 / 1M tokens
$50.00$30.00 $80.00 $960.00
16
Gemini 3.5 Flash-Lite Google · $0.85 / 1M tokens
$60.00$37.50 $97.50 $1,170
17
Gemini 2.5 FlashLegacy Google · $0.85 / 1M tokens
$60.00$37.50 $97.50 $1,170
18
GPT-4.1 MiniDeprecated OpenAI · $0.70 / 1M tokens
$80.00$24.00 $104.00 $1,248
19
Mistral Large 4Preview Mistral AI · $0.75 / 1M tokens
$100.00$22.50 $122.50 $1,470
20
GPT-3.5 TurboDeprecated OpenAI · $0.75 / 1M tokens
$100.00$22.50 $122.50 $1,470
21
Gemini 3 FlashLegacy Google · $1.13 / 1M tokens
$100.00$45.00 $145.00 $1,740
22
Gemini 3.8 Flash Google · $1.50 / 1M tokens
$150.00$56.25 $206.25 $2,475
23
Gemini 3.7 Flash Google · $1.50 / 1M tokens
$150.00$56.25 $206.25 $2,475
24
Gemini 3.6 FlashLegacy Google · $1.50 / 1M tokens
$150.00$56.25 $206.25 $2,475
25
GPT-5.4 MiniLegacy OpenAI · $1.69 / 1M tokens
$150.00$67.50 $217.50 $2,610
26
Grok Build 0.1 xAI · $1.25 / 1M tokens
$200.00$30.00 $230.00 $2,760
27
GPT-6.1 Terra OpenAI · $2.00 / 1M tokens
$200.00$75.00 $275.00 $3,300
28
GPT-6.1 Terra Pro OpenAI · $2.00 / 1M tokens
$200.00$75.00 $275.00 $3,300
29
Claude Haiku 4.5Legacy Anthropic · $2.00 / 1M tokens
$200.00$75.00 $275.00 $3,300
30
o3-miniDeprecated OpenAI · $1.93 / 1M tokens
$220.00$66.00 $286.00 $3,432
31
o4-miniDeprecated OpenAI · $1.93 / 1M tokens
$220.00$66.00 $286.00 $3,432
32
Grok 4.3 xAI · $1.56 / 1M tokens
$250.00$37.50 $287.50 $3,450
33
Grok 4.20 Reasoning xAI · $1.56 / 1M tokens
$250.00$37.50 $287.50 $3,450
34
Grok 4.20 Non-Reasoning xAI · $1.56 / 1M tokens
$250.00$37.50 $287.50 $3,450
35
Grok 4.20 Multi-Agent xAI · $1.56 / 1M tokens
$250.00$37.50 $287.50 $3,450
36
DeepSeek V4 Pro DeepSeek · $1.98 / 1M tokens
$264.00$59.40 $323.40 $3,881
37
GPT-5Legacy OpenAI · $3.44 / 1M tokens
$250.00$150.00 $400.00 $4,800
38
Gemini 2.5 ProLegacy Google · $3.44 / 1M tokens
$250.00$150.00 $400.00 $4,800
39
GPT-5.1Deprecated OpenAI · $3.44 / 1M tokens
$250.00$150.00 $400.00 $4,800
40
Gemini Omni Flash Google · $3.38 / 1M tokens
$300.00$135.00 $435.00 $5,220

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.