AI API prices per million tokens
Input and output token prices of OpenAI, Anthropic, Google, xAI, Mistral and DeepSeek models, converted at the ČNB rate, with a calculator: how much X messages a month cost, and when a subscription is cheaper.
Prices from official price lists, converted at the Czech National Bank rate of 02/10/2026. We check the price lists every week; a person confirms every change.
How much do I pay for the API?
Enter how many messages you send a month. A typical message is 1 500 tokens in (your question with context) and 600 tokens out (about 1 100 and 450 words). The table converts at the ČNB rate and compares with each provider's cheapest paid subscription.
| Model | A month | A message | Subscription or API? |
|---|---|---|---|
| GPT-6 Luna APIOpenAI | 1,76 PLN | 0,0018 PLN | API is cheaperChatGPT Go at 31,20 PLN pays off from 17.776 messages a month |
| Mistral Small 4 APIMistral | 2,28 PLN | 0,0023 PLN | No chat subscription from this provider |
| DeepSeek V4.1 Flash APIDeepSeek | 4,56 PLN | 0,0046 PLN | No chat subscription from this provider |
| Mistral Large 3 APIMistral | 6,44 PLN | 0,0064 PLN | No chat subscription from this provider |
| Gemini 3.5 Flash-Lite APIGoogle | 7,61 PLN | 0,0076 PLN | No chat subscription from this provider |
| Grok Build 0.1 APIxAI | 10,53 PLN | 0,011 PLN | API is cheaperGrok SuperGrok at 117 PLN pays off from 11.111 messages a month |
| Gemini 3.8 Flash APIGoogle | 13,16 PLN | 0,013 PLN | No chat subscription from this provider |
| Grok 4.3 APIxAI | 13,16 PLN | 0,013 PLN | API is cheaperGrok SuperGrok at 117 PLN pays off from 8.888 messages a month |
| DeepSeek V4 Pro APIDeepSeek | 16,99 PLN | 0,017 PLN | No chat subscription from this provider |
| Claude Haiku 4.5 APIAnthropic | 17,55 PLN | 0,018 PLN | API is cheaperClaude Pro at 78,81 PLN pays off from 4.490 messages a month |
| Grok 4.7 APIxAI | 25,74 PLN | 0,026 PLN | API is cheaperGrok SuperGrok at 117 PLN pays off from 4.545 messages a month |
| Mistral Medium 3.5 APIMistral | 26,33 PLN | 0,026 PLN | No chat subscription from this provider |
| Claude Sonnet 5.5 APIAnthropic | 35,10 PLN | 0,035 PLN | API is cheaperClaude Pro at 78,81 PLN pays off from 2.245 messages a month |
| GPT-6.1 Sol APIOpenAI | 35,10 PLN | 0,035 PLN | Subscription is cheaperChatGPT Go at 31,20 PLN pays off from 888 messages a month |
| Gemini 3.1 Pro (Preview) APIGoogle | 39,78 PLN | 0,04 PLN | No chat subscription from this provider |
| Claude Opus 5.5 APIAnthropic | 70,21 PLN | 0,07 PLN | API is cheaperClaude Pro at 78,81 PLN pays off from 1.122 messages a month |
| Claude Fable 5.1 APIAnthropic | 176 PLN | 0,18 PLN | Subscription is cheaperClaude Pro at 78,81 PLN pays off from 449 messages a month |
| GPT-6 Astra APIOpenAI | 176 PLN | 0,18 PLN | Subscription is cheaperChatGPT Go at 31,20 PLN pays off from 177 messages a month |
1. OpenAI
GPT-6 Luna API
- Input, 1M tokens
- 0,39 PLN
- 0,10 US$
- Output, 1M tokens
- 1,95 PLN
- 0,50 US$
Context: 1.050.000- Cached input $0.01 / 1M tokens
- Cheapest, most efficient tier
Same >272K long-context caveat. Previous gpt-5.4-mini ($0.75/$4.50) and gpt-5.4-nano ($0.20/$1.25) are still listed.
2. Mistral
Mistral Small 4 API
- Input, 1M tokens
- 0,59 PLN
- 0,15 US$
- Output, 1M tokens
- 2,34 PLN
- 0,60 US$
- Cached input −90% (generic discount)
Context window not shown on the pricing page.
3. DeepSeek
DeepSeek V4.1 Flash API
- Input, 1M tokens
- 1,17 PLN
- 0,30 US$
- Output, 1M tokens
- 4,68 PLN
- 1,20 US$
Context: 1.000.000- Cached input $0.006 / 1M tokens (peak)
- Off-peak half price: input $0.15, output $0.60
- Max output 384K tokens
Peak price. Off-peak: input $0.15, cached $0.003, output $0.60.
4. Mistral
Mistral Large 3 API
- Input, 1M tokens
- 1,95 PLN
- 0,50 US$
- Output, 1M tokens
- 5,85 PLN
- 1,50 US$
- Open-weight model
- Cached input −90% (no per-model price shown)
- Batch at half price
Context window not shown on the pricing page.
5. Google
Gemini 3.5 Flash-Lite API
- Input, 1M tokens
- 1,17 PLN
- 0,30 US$
- Output, 1M tokens
- 9,75 PLN
- 2,50 US$
- Cached input $0.03 / 1M tokens
- Stable release
Context window not read on an official page.
6. xAI
Grok Build 0.1 API
- Input, 1M tokens
- 3,90 PLN
- 1 US$
- Output, 1M tokens
- 7,80 PLN
- 2 US$
Context: 256.000- Cached input $0.20 / 1M tokens
- Prompts from 200k: input $2 / output $4
Cheapest xAI model listed; positioning (coding?) not confirmed. From 200k tokens cached input is $0.40.
7. Google
Gemini 3.8 Flash API
- Input, 1M tokens
- 2,93 PLN
- 0,75 US$
- Output, 1M tokens
- 14,63 PLN
- 3,75 US$
Context: 1.048.576- Cached input $0.075 / 1M tokens
- Max output 65,536 tokens
Promotional price until 31 Dec 2026; from 1 Jan 2027 input $1.50, output $7.50, caching $0.15.
8. xAI
Grok 4.3 API
- Input, 1M tokens
- 4,88 PLN
- 1,25 US$
- Output, 1M tokens
- 9,75 PLN
- 2,50 US$
Context: 1.000.000- Cached input $0.20 / 1M tokens
- Prompts from 200k: input $2.50 / output $5
From 200k tokens cached input is $0.40.
9. DeepSeek
DeepSeek V4 Pro API
- Input, 1M tokens
- 5,15 PLN
- 1,32 US$
- Output, 1M tokens
- 15,45 PLN
- 3,96 US$
Context: 1.000.000- Cached input $0.044 / 1M tokens (peak)
- Off-peak half price: input $0.66, output $1.98
- Max output 384K tokens
Peak price (01–04 and 06–10 UTC Mon–Fri). Off-peak (other hours, weekends, Chinese holidays) is half: input $0.66, cached $0.022, output $1.98.
10. Anthropic
Claude Haiku 4.5 API
- Input, 1M tokens
- 3,90 PLN
- 1 US$
- Output, 1M tokens
- 19,50 PLN
- 5 US$
Context: 200.000- Cached input $0.10 / 1M tokens
- 200k token context
API id claude-haiku-4-5-20251001. Retirement not sooner than 15 Oct 2026 (watch for a successor).
11. xAI
Grok 4.7 API
- Input, 1M tokens
- 7,80 PLN
- 2 US$
- Output, 1M tokens
- 23,40 PLN
- 6 US$
Context: 500.000- Cached input $0.50 / 1M tokens
- Prompts from 200k: input $4 / output $12
From 200k tokens the higher rate (cached $1.00) applies to all tokens of the request.
12. Mistral
Mistral Medium 3.5 API
- Input, 1M tokens
- 5,85 PLN
- 1,50 US$
- Output, 1M tokens
- 29,25 PLN
- 7,50 US$
- Frontier-class, agentic and coding
- Cached input −90% (generic discount)
More expensive than Mistral Large 3. Context window not shown on the pricing page.
13. Anthropic
Claude Sonnet 5.5 API
- Input, 1M tokens
- 7,80 PLN
- 2 US$
- Output, 1M tokens
- 39,00 PLN
- 10 US$
Context: 1.000.000- Cached input $0.20 / 1M tokens
- No surcharge for long context
- Batch −50%
Cache write 5 min $2.50, 1 h $4.
14. OpenAI
GPT-6.1 Sol API
- Input, 1M tokens
- 7,80 PLN
- 2 US$
- Output, 1M tokens
- 39,00 PLN
- 10 US$
Context: 1.050.000- Cached input $0.10 / 1M tokens
- Near-Astra performance at lower cost
Same long-context caveat: input over 272K may be billed at double rates; not confirmed for this model.
15. Google
Gemini 3.1 Pro (Preview) API
- Input, 1M tokens
- 7,80 PLN
- 2 US$
- Output, 1M tokens
- 46,80 PLN
- 12 US$
- Cached input $0.20 / 1M tokens
- Prompts over 200k: input $4 / output $18
Preview status. Caching over 200k is $0.40. Context window not read on an official page.
16. Anthropic
Claude Opus 5.5 API
- Input, 1M tokens
- 15,60 PLN
- 4 US$
- Output, 1M tokens
- 78,01 PLN
- 20 US$
Context: 1.000.000- Cached input $0.20 / 1M tokens
- No surcharge for long context
- Fast mode $8 / $40; Batch −50%
Recommended default. Cache write 5 min $5, 1 h $8.
17. Anthropic
Claude Fable 5.1 API
- Input, 1M tokens
- 39,00 PLN
- 10 US$
- Output, 1M tokens
- 195 PLN
- 50 US$
Context: 1.000.000- Cached input $0.25 / 1M tokens
- Full 1M context at standard price
- Batch −50%; cache write 5 min $12.50, 1 h $20
Top tier above Opus. US-only inference (inference_geo us) costs 1.1x.
18. OpenAI
GPT-6 Astra API
- Input, 1M tokens
- 39,00 PLN
- 10 US$
- Output, 1M tokens
- 195 PLN
- 50 US$
Context: 1.050.000- Cached input $1.00 / 1M tokens
- Flagship, most capable model
Pricing page: input over 272K tokens is billed at double input/cache rates for models with long-context pricing; not confirmed for GPT-6 models.
Some of these services may pay us a commission when you subscribe through our link. It never changes the order: cheapest first, nothing else.