Official API rates
AI API Pricing Comparison
Compare input, cached input, output, context, and API availability across current AI models, including introductory and peak/off-peak schedules.
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Pricing schedules / other rates | Context / token limit | API | Verified | Source |
|---|---|---|---|---|---|---|---|---|---|
| Jevjev-latest | TypeSafe AI | $0.0420 | Not public | Not token-billed | Standard · default estimateInput $0.0420 · Cached input Not public · Output Not token-billed / 1M tokensJev's structured output is not billed as generated output tokens. | Context Not public | Early access | 2026-09-30Default: Standard | Official pricing and announcement |
| GPT-6 Lunagpt-6-luna | OpenAI | $0.1000 | $0.0100 | $0.5000 | Standard · default estimateInput $0.1000 · Cached input $0.0100 · Output $0.5000 / 1M tokensCache write: $0.1250 / 1M tokens; Input > 272,000 tokens / Input $0.2000 / cached input $0.0200 / output $0.7500 | Context 1,050,000 tokens · Max output 128,000 tokens | Available via API | 2026-10-09Default: Standard | Official pricing |
| Claude Haiku 5.5claude-haiku-5-5 | Anthropic | $0.1000 | $0.0100 | $0.5000 | Standard · default estimateInput $0.1000 · Cached input $0.0100 · Output $0.5000 / 1M tokens5-minute cache write: $0.1250 / 1M tokens; 1-hour cache write: $0.2000 / 1M tokens; Input > 100,000 tokens / Input $0.5000 / cached input $0.0500 / output $2.50 / 5-minute cache write: $0.6250 / 1M tokens / 1-hour cache write: $1.00 / 1M tokens | Context 1,000,000 tokens · Max output 128,000 tokens | Available via API | 2026-10-09Default: Standard | Official pricing |
| DeepSeek Flashdeepseek-flash | DeepSeek | $0.1500 | $0.003000 | $0.6000 | Off-peak · default estimateInput $0.1500 · Cached input $0.003000 · Output $0.6000 / 1M tokensValid from 2026-09-10T04:00:00Z. Off-peak window: All hours outside the peak periods (UTC). Off-peak rates are the default estimate. Peak hours are Monday-Friday 01:00-04:00 and 06:00-10:00 UTC; all other hours are off-peak. PeakInput $0.3000 · Cached input $0.006000 · Output $1.20 / 1M tokensValid from 2026-09-10T04:00:00Z. Peak window: Monday-Friday 01:00-04:00 and 06:00-10:00 UTC (UTC). Peak hours are Monday-Friday 01:00-04:00 and 06:00-10:00 UTC; all other hours are off-peak. | Context 1,000,000 tokens | Available via API | 2026-09-30Default: Off-peak | Official API pricing |
| DeepSeek V4 Prodeepseek-v4-pro | DeepSeek | $0.1500 | $0.003000 | $0.6000 | Off-peak · default estimateInput $0.1500 · Cached input $0.003000 · Output $0.6000 / 1M tokensValid from 2026-09-14T04:00:00Z. Off-peak window: All hours outside the peak periods (UTC). The legacy deepseek-v4-pro ID routes to DeepSeek V4.1-Flash at its rates until V4.1-Pro launches. Off-peak rates are the default estimate. Peak hours are Monday-Friday 01:00-04:00 and 06:00-10:00 UTC; all other hours are off-peak. PeakInput $0.3000 · Cached input $0.006000 · Output $1.20 / 1M tokensValid from 2026-09-14T04:00:00Z. Peak window: Monday-Friday 01:00-04:00 and 06:00-10:00 UTC (UTC). The legacy deepseek-v4-pro ID routes to DeepSeek V4.1-Flash at its rates until V4.1-Pro launches. Peak hours are Monday-Friday 01:00-04:00 and 06:00-10:00 UTC; all other hours are off-peak. | Context 1,000,000 tokens | Available via API | 2026-09-30Default: Off-peak | Official API pricingV4.1-Flash routing announcement |
| Gemini 3.1 Flash-Litegemini-3.1-flash-lite | $0.2500 | $0.0250 | $1.50 | Standard · default estimateInput $0.2500 · Cached input $0.0250 · Output $1.50 / 1M tokensCached context storage: $1.00 per 1M tokens per hour | Context 1,048,576 tokens | Available via Gemini API | 2026-09-30Default: Standard | Official pricing | |
| Gemini 3.8 Flashgemini-3.8-flash | $0.7500 | $0.0750 | $3.75 | Introductory · default estimateInput $0.7500 · Cached input $0.0750 · Output $3.75 / 1M tokensIntroductory pricing. Valid through 2026-12-31. Introductory rates apply through 2026-12-31; standard rates start 2027-01-01. Next pricing: Standard from 2027-01-01 ($1.50 input / $7.50 output per 1M tokens).Cached context storage: $0.5000 per 1M tokens per hour StandardInput $1.50 · Cached input $0.1500 · Output $7.50 / 1M tokensValid from 2027-01-01.Cached context storage: $1.00 per 1M tokens per hour | Context 1,048,576 tokens | Available via Gemini API | 2026-09-30Default: Introductory | Official pricing | |
| Gemini 3.6 Flashgemini-3.6-flash | $0.7500 | $0.0750 | $3.75 | Introductory · default estimateInput $0.7500 · Cached input $0.0750 · Output $3.75 / 1M tokensIntroductory pricing. Valid through 2026-12-31. Introductory rates apply through 2026-12-31; standard rates start 2027-01-01. Next pricing: Standard from 2027-01-01 ($1.50 input / $7.50 output per 1M tokens).Cached context storage: $0.5000 per 1M tokens per hour StandardInput $1.50 · Cached input $0.1500 · Output $7.50 / 1M tokensValid from 2027-01-01.Cached context storage: $1.00 per 1M tokens per hour | Context Not public | Available via Gemini API | 2026-09-30Default: Introductory | Official pricing | |
| Claude Haiku 4.5claude-haiku-4-5 | Anthropic | $1.00 | $0.1000 | $5.00 | Standard · default estimateInput $1.00 · Cached input $0.1000 · Output $5.00 / 1M tokens5-minute cache write: $1.25 / 1M tokens; 1-hour cache write: $2.00 / 1M tokens | Context 200,000 tokens | Available via API | 2026-09-30Default: Standard | Official pricing |
| GPT-6.1 Solgpt-6.1-sol | OpenAI | $2.00 | $0.1000 | $10.00 | Standard · default estimateInput $2.00 · Cached input $0.1000 · Output $10.00 / 1M tokensCache write: $2.50 / 1M tokens; Input > 272,000 tokens / Input $4.00 / cached input $0.2000 / output $15.00 | Context 1,050,000 tokens · Max output 128,000 tokens | Available via API | 2026-10-09Default: Standard | Official pricing |
| Claude Sonnet 5.5claude-sonnet-5-5 | Anthropic | $2.00 | $0.2000 | $10.00 | Standard · default estimateInput $2.00 · Cached input $0.2000 · Output $10.00 / 1M tokens5-minute cache write: $2.50 / 1M tokens; 1-hour cache write: $4.00 / 1M tokens | Context 1,000,000 tokens | Available via API | 2026-09-30Default: Standard | Official pricing |
| Gemini 4 Argongemini-4-argon | $2.00 | $0.1000 | $10.00 | Standard · introductory · default estimateInput $2.00 · Cached input $0.1000 · Output $10.00 / 1M tokensIntroductory pricing. Valid from 2026-10-13. Valid through 2026-11-30. Paid Standard tier. Cached-input rate applies to implicit cache hits; explicit caching is unsupported. Next pricing: Standard · from Dec 1 from 2026-12-01 ($4.00 input / $20.00 output per 1M tokens). Standard · from Dec 1Input $4.00 · Cached input $0.2000 · Output $20.00 / 1M tokensValid from 2026-12-01. Paid Standard tier. Cached-input rate applies to implicit cache hits; explicit caching is unsupported. Batch · introductoryInput $1.00 · Cached input $0.0500 · Output $5.00 / 1M tokensIntroductory pricing. Valid from 2026-10-13. Valid through 2026-11-30. Asynchronous Batch API; implicit caching only. Next pricing: Batch · from Dec 1 from 2026-12-01 ($2.00 input / $10.00 output per 1M tokens). Batch · from Dec 1Input $2.00 · Cached input $0.1000 · Output $10.00 / 1M tokensValid from 2026-12-01. Asynchronous Batch API; implicit caching only. Flex · introductoryInput $1.00 · Cached input $0.0500 · Output $5.00 / 1M tokensIntroductory pricing. Valid from 2026-10-13. Valid through 2026-11-30. Best-effort Flex inference with variable latency; implicit caching only. Next pricing: Flex · from Dec 1 from 2026-12-01 ($2.00 input / $10.00 output per 1M tokens). Flex · from Dec 1Input $2.00 · Cached input $0.1000 · Output $10.00 / 1M tokensValid from 2026-12-01. Best-effort Flex inference with variable latency; implicit caching only. Priority · introductoryInput $3.60 · Cached input $0.1800 · Output $18.00 / 1M tokensIntroductory pricing. Valid from 2026-10-13. Valid through 2026-11-30. Priority inference has a premium rate; implicit caching only. Next pricing: Priority · from Dec 1 from 2026-12-01 ($7.20 input / $36.00 output per 1M tokens). Priority · from Dec 1Input $7.20 · Cached input $0.3600 · Output $36.00 / 1M tokensValid from 2026-12-01. Priority inference has a premium rate; implicit caching only. | Context 1,048,576 tokens · Max output 1,048,576 tokens | Available via paid Gemini API | 2026-10-14Default: Standard · introductory | Official pricing | |
| Gemini 3.1 Pro Previewgemini-3.1-pro-preview | $2.00 | $0.2000 | $12.00 | Standard · default estimateInput $2.00 · Cached input $0.2000 · Output $12.00 / 1M tokensCached context storage: $4.50 per 1M tokens per hour; Input > 200,000 tokens / Input $4.00 / cached input $0.4000 / output $18.00 | Context 1,000,000 tokens | Preview via Gemini API | 2026-09-30Default: Standard | Official pricing | |
| Claude Opus 5.5claude-opus-5-5 | Anthropic | $4.00 | $0.2000 | $20.00 | Standard · default estimateInput $4.00 · Cached input $0.2000 · Output $20.00 / 1M tokens5-minute cache write: $5.00 / 1M tokens; 1-hour cache write: $8.00 / 1M tokens | Context 1,000,000 tokens · Max output 128,000 tokens | Available via API | 2026-10-09Default: Standard | Official pricing |
| GPT-6 Astragpt-6-astra | OpenAI | $10.00 | $1.00 | $50.00 | Standard · default estimateInput $10.00 · Cached input $1.00 · Output $50.00 / 1M tokensCache write: $12.50 / 1M tokens; Input > 272,000 tokens / Input $20.00 / cached input $2.00 / output $75.00 / Cache write: $25.00 / 1M tokens | Context 1,050,000 tokens · Max output 128,000 tokens | Available via API | 2026-10-09Default: Standard | Official pricing |
| Claude Fable 5.1claude-fable-5-1 | Anthropic | $10.00 | $0.2500 | $50.00 | Standard · default estimateInput $10.00 · Cached input $0.2500 · Output $50.00 / 1M tokens5-minute cache write: $12.50 / 1M tokens; 1-hour cache write: $20.00 / 1M tokens | Context 1,000,000 tokens · Max output 128,000 tokens | Available via API | 2026-10-09Default: Standard | Official pricing |
USD per 1 million tokens. The main rate columns show each model's current default schedule; the schedule details list introductory, effective-date, and time-based rates.
Each model record links to official pricing or model documentation and shows its last verification date. Prices are listed in USD per 1 million tokens unless provider documentation states otherwise.
How AI API pricing works
Input tokens are billed when a prompt is sent; output tokens are billed for generated responses. Cached input can use a separate rate, and cache writes or storage may have additional charges.
Some providers publish pricing schedules. Introductory rates may change after a stated period; DeepSeek separates Peak and Off-peak rates by UTC hours. If a provider has not announced a price, ToolPilot marks it Not public and does not estimate a dollar cost.
Estimate API costs or compare model rates using the same workload.