USD / 1M TOKENS

Model API pricing

Compare official token prices, billing conditions and verified history. ChatGPT and Codex subscriptions are billed separately from API usage.

Last verified · · Each row retains its own successful check.

Estimate your monthly AI API cost →

Anthropic

USD per million tokens · first-party API
Model / tierInputOutputCached inputOfficial source / last verified
Claude Fable 5.2claude-fable-5-2Standard · global routingActive$8$40$0.2Official pricing
Claude Haiku 4.5claude-haiku-4-5-20251001Standard · 200K contextActive$1$5$0.1Official pricing
Claude Haiku 5.5claude-haiku-5-5Standard · input ≤100KActive$0.1$0.5$0.01Official pricing
Claude Haiku 5.5claude-haiku-5-5Standard · input >100KActive$0.5$2.5$0.05Official pricing
Claude Mythos 5.2claude-mythos-5-2Standard · eligibility requiredActive$8$40$0.2Official pricing
Claude Opus 5.5claude-opus-5-5Standard · up to 1M contextActive$4$20$0.2Official pricing
Claude Sonnet 5.5claude-sonnet-5-5Standard · up to 1M contextActive$2$10$0.1Official pricing

Google

USD per million tokens · first-party API
Model / tierInputOutputCached inputOfficial source / last verified
Gemini 3.1 Pro Previewgemini-3.1-pro-previewStandard · input ≤200KActive · Preview$2$12$0.2Official pricing
Gemini 3.1 Pro Previewgemini-3.1-pro-previewStandard · input >200KActive · Preview$4$18$0.4Official pricing
Gemini 3.5 Flash-Litegemini-3.5-flash-liteStandard · text / image / video / audio inputActive$0.3$2.5$0.03Official pricing
Gemini 3.8 Flashgemini-3.8-flashStandard · text / image / video inputActive$0.75$3.75$0.075Official pricing
Gemini 4 Argongemini-4-argonStandard · paid tierActive$2$10$0.1Official pricing
Gemini 4 Carbongemini-4-carbonStandard · paid tierActive$2$10$0.1Official pricing
Gemini 4 Hydrogengemini-4-hydrogenStandard · paid tierActive$1.5$7.5$0.075Official pricing
Gemini 4 Neongemini-4-neonStandard · paid tierActive$3$15$0.15Official pricing

OpenAI

USD per million tokens · first-party API
Model / tierInputOutputCached inputOfficial source / last verified
GPT-6 Astragpt-6-astraStandard · input ≤272KActive$10$50$1Official pricing
GPT-6 Astragpt-6-astraStandard · input >272KActive$20$75$2Official pricing
GPT-6.1 Solgpt-6.1-solStandard · input ≤272KActive$2$10$0.1Official pricing
GPT-6.1 Solgpt-6.1-solStandard · input >272KActive$4$15$0.2Official pricing
GPT-6.2 Astragpt-6.2-astraStandard · input ≤272KActive$8$40$0.4Official pricing
GPT-6.2 Astragpt-6.2-astraStandard · input >272KActive$16$60$0.8Official pricing
GPT-6.2 Solgpt-6.2-solStandard · input ≤272KActive$2$10$0.1Official pricing
GPT-6.2 Solgpt-6.2-solStandard · input >272KActive$4$15$0.2Official pricing

Billing conditions

GPT-6.1 Sol

Text token rates. Cache writes $2.50 / $5. Fast 2×; Batch/Flex 50% lower. Regional processing +10% where available. Tool calls are separate.

Price effective date: not stated in the verified evidence.

Official tier policy

GPT-6 Astra

Cache writes $12.50 / $25. Fast 2×; Batch/Flex 50% lower. Ultrafast short-context input/output $60/$300: see the linked API pricing policy, not a subscription allowance.

Price effective date: not stated in the verified evidence.

Official tier policy

Official tier policy

Claude Opus 5.5

Cache write: $5 (5m), $8 (1h). Batch input/output 50% lower. US-only processing 1.1×. Fast preview $8/$40; no Batch.

Price effective date: not stated in the verified evidence.

Claude Sonnet 5.5

Cache write: $2.50 (5m), $4 (1h). Batch input/output 50% lower. US-only processing 1.1×.

Price effective date: not stated in the verified evidence.

Claude Haiku 4.5

Cache write: $1.25 (5m), $2 (1h). Batch input/output 50% lower. Cache storage duration and write charges are separate from reads.

Price effective date: not stated in the verified evidence.

Gemini 3.8 Flash

Output includes thinking tokens. Cache storage $0.50 / 1M token-hour. Batch $0.375/$1.875, cache $0.0375. Current introductory rates end 2026-12-31; announced 2027 rates are not current prices.

Price effective date: not stated in the verified evidence.

Gemini 3.5 Flash-Lite

Output includes thinking tokens. Cache storage is $1 per million token-hours. Batch input and output cost $0.15 and $1.25 per million tokens, and Batch cache reads cost $0.015 per million tokens. Standard and Batch input rates cover audio.

Price effective date: not stated in the verified evidence.

Gemini 3.1 Pro Preview

Output includes thinking tokens. Cache storage $4.50 / 1M token-hour. Batch input/output 50% lower; cached input stays $0.20/$0.40. Preview model.

Price effective date: not stated in the verified evidence.

GPT-6.2 Astra

Standard text-token rates. Batch is half price. Ultrafast costs 3× Standard through February 28, 2027 and 6× from March 1, 2027, Pacific time. Separate tool charges may apply. In the Responses API public beta, eligible Standard background requests have token rates 30% lower with a 2-hour completion window and 40% lower with an 8-hour window. For Standard requests with up to 272K input tokens, cache writes cost $10 per million tokens for 30 minutes of retention or $20 for 12 hours. The write rates double above 272K.

Price effective date: 2026-11-17.

Official tier policy

Official tier policy

GPT-6.2 Sol

Standard text-token rates. Batch is half price. Ultrafast costs 3× Standard through February 28, 2027 and 6× from March 1, 2027, Pacific time. Separate tool charges may apply. In the Responses API public beta, eligible Standard background requests have token rates 30% lower with a 2-hour completion window and 40% lower with an 8-hour window. For Standard requests with up to 272K input tokens, cache writes cost $2.50 per million tokens for 30 minutes of retention or $5 for 12 hours. The write rates double above 272K.

Price effective date: 2026-11-17.

Official tier policy

Official tier policy

Claude Fable 5.2

Standard global rates. The cached input column is for reads. Cache writes cost $10 for 5 minutes or $16 for one hour per million tokens. Batch and Fast mode have separate prices.

Price effective date: 2026-11-09.

Official tier policy

Claude Mythos 5.2

Limited access. Anthropic publishes these standard API rates for eligible customers. Confirm access with Anthropic before planning usage.

Price effective date: 2026-11-09.

Official tier policy

Claude Haiku 5.5

The cutoff applies to each prompt, including cache reads and writes. The higher tier applies to the whole request when the prompt exceeds 100,000 tokens.

Price effective date: not stated in the verified evidence.

Official tier policy

Gemini 4 Carbon

Paid tier standard rates through November 30, 2026. Google lists new rates starting December 1. Thinking tokens are billed and some tools have separate charges.

Price effective date: not stated in the verified evidence.

Official tier policy

Gemini 4 Argon

Paid tier standard rates through November 30, 2026. Google lists new rates starting December 1. Thinking tokens are billed and some tools have separate charges.

Price effective date: not stated in the verified evidence.

Official tier policy

Gemini 4 Neon

Paid tier only. Output includes thinking tokens. The cached input rate applies to implicit caching.

Price effective date: not stated in the verified evidence.

Official tier policy

Gemini 4 Hydrogen

This table shows Standard paid rates. Free API usage is subject to quota. Output includes thinking tokens and cached reads use implicit caching.

Price effective date: not stated in the verified evidence.

Official tier policy

Cached reads, cache writes and storage are different charges. Tool calls, audio and third-party hosting can add separate costs; these text-token prices are not a complete usage bill.

Pricing timeline

Initial records are observations, not price cuts. Effective dates remain unknown unless an official source states them. Verification without a price change does not add a history event.

  1. Gemini 3.5 Flash-Lite · Billing terms changeStandard · text / image / video / audio input: $0.3 / $2.5 · Cached input: $0.03

    Output includes thinking tokens. Cache storage is $1 per million token-hours. Batch input and output cost $0.15 and $1.25 per million tokens, and Batch cache reads cost $0.015 per million tokens. Standard and Batch input rates cover audio.

    Official source
  2. GPT-6.2 Astra · Billing terms changeStandard · input ≤272K: $8 / $40 · Cached input: $0.4Standard · input >272K: $16 / $60 · Cached input: $0.8

    Standard text-token rates. Batch is half price. Ultrafast costs 3× Standard through February 28, 2027 and 6× from March 1, 2027, Pacific time. Separate tool charges may apply. In the Responses API public beta, eligible Standard background requests have token rates 30% lower with a 2-hour completion window and 40% lower with an 8-hour window. For Standard requests with up to 272K input tokens, cache writes cost $10 per million tokens for 30 minutes of retention or $20 for 12 hours. The write rates double above 272K.

    Official sourceEffective: 2026-11-17
  3. GPT-6.2 Sol · Billing terms changeStandard · input ≤272K: $2 / $10 · Cached input: $0.1Standard · input >272K: $4 / $15 · Cached input: $0.2

    Standard text-token rates. Batch is half price. Ultrafast costs 3× Standard through February 28, 2027 and 6× from March 1, 2027, Pacific time. Separate tool charges may apply. In the Responses API public beta, eligible Standard background requests have token rates 30% lower with a 2-hour completion window and 40% lower with an 8-hour window. For Standard requests with up to 272K input tokens, cache writes cost $2.50 per million tokens for 30 minutes of retention or $5 for 12 hours. The write rates double above 272K.

    Official sourceEffective: 2026-11-17
  4. GPT-6.2 Astra · Billing terms changeStandard · input ≤272K: $8 / $40 · Cached input: $0.4Standard · input >272K: $16 / $60 · Cached input: $0.8

    Standard text-token rates. Batch is half price. Ultrafast costs 3× Standard through February 28, 2027 and 6× from March 1, 2027, Pacific time. Separate tool charges may apply. In the Responses API public beta, eligible Standard background requests have token rates 30% lower with a 2-hour completion window and 40% lower with an 8-hour window.

    Official sourceEffective: 2026-11-17
  5. GPT-6.2 Sol · Billing terms changeStandard · input ≤272K: $2 / $10 · Cached input: $0.1Standard · input >272K: $4 / $15 · Cached input: $0.2

    Standard text-token rates. Batch is half price. Ultrafast costs 3× Standard through February 28, 2027 and 6× from March 1, 2027, Pacific time. Separate tool charges may apply. In the Responses API public beta, eligible Standard background requests have token rates 30% lower with a 2-hour completion window and 40% lower with an 8-hour window.

    Official sourceEffective: 2026-11-17
  6. Claude Fable 5.2 · First verified recordStandard · global routing: $8 / $40 · Cached input: $0.2Official sourceEffective: 2026-11-09
  7. Claude Haiku 5.5 · First verified recordStandard · input ≤100K: $0.1 / $0.5 · Cached input: $0.01Standard · input >100K: $0.5 / $2.5 · Cached input: $0.05Official source
  8. Claude Mythos 5.2 · First verified recordStandard · eligibility required: $8 / $40 · Cached input: $0.2Official sourceEffective: 2026-11-09
  9. Claude Sonnet 5.5 · Price changeStandard · up to 1M context: $2 / $10 · Cached input: $0.1

    Cache write: $2.50 (5m), $4 (1h). Batch input/output 50% lower. US-only processing 1.1×.

    Official source
  10. Gemini 3.1 Pro Preview · Billing terms changeStandard · input ≤200K: $2 / $12 · Cached input: $0.2Standard · input >200K: $4 / $18 · Cached input: $0.4

    Output includes thinking tokens. Cache storage $4.50 / 1M token-hour. Batch input/output 50% lower; cached input stays $0.20/$0.40. Preview model.

    Official source
  11. Gemini 3.5 Flash-Lite · Billing terms changeStandard · text / image / video / audio input: $0.3 / $2.5 · Cached input: $0.03

    Output includes thinking tokens. Cache storage $1 / 1M token-hour. Batch $0.15/$1.25, cached input $0.02 (officially listed; not calculated as half). The listed Standard and Batch input rates also apply to audio.

    Official source
  12. Gemini 3.8 Flash · Billing terms changeStandard · text / image / video input: $0.75 / $3.75 · Cached input: $0.075

    Output includes thinking tokens. Cache storage $0.50 / 1M token-hour. Batch $0.375/$1.875, cache $0.0375. Current introductory rates end 2026-12-31; announced 2027 rates are not current prices.

    Official source
  13. Gemini 4 Argon · First verified recordStandard · paid tier: $2 / $10 · Cached input: $0.1Official source
  14. Gemini 4 Carbon · First verified recordStandard · paid tier: $2 / $10 · Cached input: $0.1Official source
  15. Gemini 4 Hydrogen · First verified recordStandard · paid tier: $1.5 / $7.5 · Cached input: $0.075Official source
  16. Gemini 4 Neon · First verified recordStandard · paid tier: $3 / $15 · Cached input: $0.15Official source
  17. GPT-6.2 Astra · First verified recordStandard · input ≤272K: $8 / $40 · Cached input: $0.4Standard · input >272K: $16 / $60 · Cached input: $0.8Official sourceEffective: 2026-11-17
  18. GPT-6.2 Sol · First verified recordStandard · input ≤272K: $2 / $10 · Cached input: $0.1Standard · input >272K: $4 / $15 · Cached input: $0.2Official sourceEffective: 2026-11-17
  19. Gemini 3.5 Flash-Lite · Billing terms changeStandard · text / image / video / audio input: $0.3 / $2.5 · Cached input: $0.03

    Output includes thinking tokens. Cache storage $1 / 1M token-hour. Batch $0.15/$1.25, cached input $0.02 (officially listed; not calculated as half). The listed Standard and Batch input rates also apply to audio.

    Official source
  20. GPT-6 Astra · First verified recordStandard · input ≤272K: $10 / $50 · Cached input: $1Standard · input >272K: $20 / $75 · Cached input: $2Official source
  21. GPT-6.1 Sol · First verified recordStandard · input ≤272K: $2 / $10 · Cached input: $0.1Standard · input >272K: $4 / $15 · Cached input: $0.2Official source
  22. Claude Haiku 4.5 · First verified recordStandard · 200K context: $1 / $5 · Cached input: $0.1Official source
  23. Claude Opus 5.5 · First verified recordStandard · up to 1M context: $4 / $20 · Cached input: $0.2Official source
  24. Claude Sonnet 5.5 · First verified recordStandard · up to 1M context: $2 / $10 · Cached input: $0.2Official source
  25. Gemini 3.1 Pro Preview · First verified recordStandard · input ≤200K: $2 / $12 · Cached input: $0.2Standard · input >200K: $4 / $18 · Cached input: $0.4Official source
  26. Gemini 3.5 Flash-Lite · First verified recordStandard · text / image / video input: $0.3 / $2.5 · Cached input: $0.03Official source
  27. Gemini 3.8 Flash · First verified recordStandard · text / image / video input: $0.75 / $3.75 · Cached input: $0.075Official source

Announced future prices

gemini-3.8-flash · : $1.5 / $7.5 · Not the current rate · Official announcement

gemini-4-carbon · : $4 / $20 · Not the current rate · Official announcement

gemini-4-argon · : $4 / $20 · Not the current rate · Official announcement

All API prices · Compare subscriptions