AI API cost calculator
Estimate and compare monthly API costs for GPT, Claude, Gemini, DeepSeek, Grok and more from input/output tokens and request volume. Find the cheapest model for your use case.
A. What this tool does
Enter your usage (token counts and request volume) and it automatically computes and compares the monthly cost of 13 major models. Shown in USD and an approximate JPY figure (US$1 ≈ ¥155).
Quick presets:
Monthly = (input ÷ 1M × input rate + output ÷ 1M × output rate) × requests × 30 days. Token counts are approximate (about 1 character = 1 token for Japanese).
| Model | Input $/1M | Output $/1M | Monthly (USD) | Monthly (approx. ¥) |
|---|---|---|---|---|
| DeDeepSeek V4 Flash DeepSeek ・ 超低価格(キャッシュミス時) | $0.14 | $0.28 | $1.68 | ¥260 |
| OpGPT-4.1 nano OpenAI ・ 低価格・軽量 | $0.1 | $0.4 | $1.80 | ¥279 |
| GoGemini 2.5 Flash-Lite Google ・ 最安クラス | $0.1 | $0.4 | $1.80 | ¥279 |
| xAGrok 4.1 Fast xAI ・ 高速・安価 | $0.2 | $0.5 | $2.70 | ¥418 |
| GoGemini 2.5 Flash | $0.3 | $2.5 | $9.30 | ¥1,442 |
| xAGrok 4.3 xAI | $1.25 | $2.5 | $15.00 | ¥2,325 |
| DeDeepSeek V4 Pro DeepSeek | $1.74 | $3.48 | $20.88 | ¥3,236 |
| AnClaude Haiku 4.5 Anthropic ・ 高速・安価 | $1 | $5 | $21.00 | ¥3,255 |
| GoGemini 3.1 Pro Google ・ 〜200Kトークン時 | $2 | $12 | $48.00 | ¥7,440 |
| OpGPT-5.4 OpenAI | $2.5 | $15 | $60.00 | ¥9,300 |
| AnClaude Sonnet 4.6 Anthropic ・ バランス | $3 | $15 | $63.00 | ¥9,765 |
| AnClaude Opus 4.7 Anthropic ・ 最上位 | $5 | $25 | $105 | ¥16,275 |
| OpGPT-5.5 OpenAI | $5 | $30 | $120 | ¥18,600 |
Source: Official API pricing from each provider / Captured: 2026-06 / Reference values; check each official site for the latest (prices change)
Pricing sources (official)
Frequently asked questions
How is AI API pricing determined?
Most LLMs set a per-1M-token rate for "input tokens" and "output tokens" separately and bill on a pay-as-you-go basis. The output rate is usually higher than the input rate.
Which AI API is the cheapest?
On a per-rate basis, DeepSeek's DeepSeek V4 Flash and similar models (input $0.14/1M) are in the low-price tier. Still, you should choose by performance and use case — use the simulator above to compare monthly costs for your actual usage.
What's a rough guide for token counts?
As a rough guide, English is about 1.3 tokens per word and Japanese is about 1 token per character. The longer the document, the more tokens — and the higher the cost.
Related pages
⚠ Reference values based on public data and editorial research; not a complete count of actual users.