Official API price calculator

Text APIs

Chat, reasoning, coding, agents, RAG, extraction, and long-context text workloads. Use this for chat, coding agents, RAG, extraction, and reasoning features.

Workload assumptions

Set expected usage; each row estimates monthly cost from official unit prices.

%
%
%
Official price table - Text composite ranking order

73 official USD rows - checked 2026-06-14 - sorted by Coding + Writing + Math score.

Daily source checks
ModelProviderInputper 1M tokensCacheper 1M tokensOutputper 1M tokensRegionSourceNotes

Anthropic

Official API

$10.00

per 1M

$1.00

per 1M

$50.00

per 1M

$58.27

Global defaultClaude API pricing

Checked 2026-06-14

5-minute cache writes are $12.50/MTok and 1-hour cache writes are $20/MTok.

Anthropic

Official API

$5.00

per 1M

$0.50

per 1M

$25.00

per 1M

$29.14

Global defaultClaude API pricing

Checked 2026-06-14

Fast mode and data residency are priced separately.

Anthropic

Official API

$5.00

per 1M

$0.50

per 1M

$25.00

per 1M

$29.14

Global defaultClaude API pricing

Checked 2026-06-14

Opus 4.7 and later use a newer tokenizer; token counts can differ from older models.

Anthropic

Official API

$5.00

per 1M

$0.50

per 1M

$25.00

per 1M

$29.14

Global defaultClaude API pricing

Checked 2026-06-14

Fast mode has separate premium pricing; US-only inference geography can add a 1.1x multiplier.

OpenAI

Official API

$5.00

per 1M

$0.50

per 1M

$30.00

per 1M

$32.81

GlobalOpenAI API pricing

Checked 2026-06-14

OpenAI lists separate Standard, Batch, Flex, and Priority tiers; this row uses Standard short-context pricing.

OpenAI

Official API

$2.50

per 1M

$0.25

per 1M

$15.00

per 1M

$16.41

GlobalOpenAI API pricing

Checked 2026-06-14

Regional data residency endpoints may add a 10% uplift for eligible newer models.

Google

Official API

$2.00

per 1M

$0.20

per 1M

$12.00

per 1M

$13.13

Gemini API paid tierGemini API pricing

Checked 2026-06-14

Prompts above 200K tokens have higher input, output, and cache prices.

Google

Official API

$1.50

per 1M

$0.15

per 1M

$9.00

per 1M

$9.84

Gemini API paid tierGemini API pricing

Checked 2026-06-14

Search and Maps grounding have separate charges after free quotas.

Google

Official API

$0.50

per 1M

$0.05

per 1M

$3.00

per 1M

$3.28

Gemini API paid tierGemini API pricing

Checked 2026-06-14

Preview models can change before becoming stable.

Z.AI

Official API

$1.40

per 1M

$0.26

per 1M

$4.40

per 1M

$6.31

Z.AI APIZ.AI pricing

Checked 2026-06-14

Cached input storage is listed as limited-time free on the source page.

Z.AI

Official API

$1.00

per 1M

$0.20

per 1M

$3.20

per 1M

$4.56

Z.AI APIZ.AI pricing

Checked 2026-06-14

Cached input storage is listed as limited-time free.

Anthropic

Official API

$5.00

per 1M

$0.50

per 1M

$25.00

per 1M

$29.14

Global defaultClaude API pricing

Checked 2026-06-14

Batch API pricing is 50% lower for input and output tokens.

Moonshot AI

Official API

$0.95

per 1M

$0.16

per 1M

$4.00

per 1M

$5.02

Kimi APIKimi K2.6 pricing

Checked 2026-06-14

Kimi pricing page lists cache-hit, input, and output prices.

MiniMax

Official API

$0.30

per 1M

$0.06

per 1M

$1.20

per 1M

$1.54

MiniMax APIMiniMax pay-as-you-go pricing

Checked 2026-06-14

Official page marks this as permanent 50% off compared with crossed-out list price.

MiniMax

Official API

$0.60

per 1M

$0.12

per 1M

$2.40

per 1M

$3.09

MiniMax APIMiniMax pay-as-you-go pricing

Checked 2026-06-14

Input tokens above 512K may have availability limits.

Moonshot AI

Official API

$0.60

per 1M

$0.10

per 1M

$3.00

per 1M

$3.52

Kimi APIKimi K2.5 pricing

Checked 2026-06-14

Supports text, image, video input, thinking and non-thinking modes.

OpenAI

Official API

$30.00

per 1M

n/a

per 1M

$180

per 1M

$211

GlobalOpenAI API pricing

Checked 2026-06-14

Long-context standard pricing is higher; Batch is discounted where available.

OpenAI

Official API

$1.75

per 1M

$0.175

per 1M

$14.00

per 1M

$14.06

GlobalOpenAI API pricing

Checked 2026-06-14

Priority pricing is listed separately on OpenAI pricing.

Anthropic

Official API

$3.00

per 1M

$0.30

per 1M

$15.00

per 1M

$17.48

Global defaultClaude API pricing

Checked 2026-06-14

US-only inference geography adds a 1.1x multiplier for Sonnet 4.6 and later models.

Z.AI

Official API

$0.60

per 1M

$0.11

per 1M

$2.20

per 1M

$2.93

Z.AI APIZ.AI pricing

Checked 2026-06-14

Cached input storage is listed as limited-time free.

Z.AI

Official API

$0.07

per 1M

$0.01

per 1M

$0.40

per 1M

$0.4463

Z.AI APIZ.AI pricing

Checked 2026-06-14

Good row for budget-sensitive routing comparisons.

Z.AI

Official API

$0.00

per 1M

$0.00

per 1M

$0.00

per 1M

$0.00

Z.AI APIZ.AI pricing

Checked 2026-06-14

Displayed as Free in the official pricing table; availability can change.

Z.AI

Official API

$1.20

per 1M

$0.24

per 1M

$4.00

per 1M

$5.59

Z.AI APIZ.AI pricing

Checked 2026-06-14

Prices are per 1M tokens.

OpenAI

Official API

$0.75

per 1M

$0.075

per 1M

$4.50

per 1M

$4.92

GlobalOpenAI API pricing

Checked 2026-06-14

Batch pricing is 50% lower in the official table.

OpenAI

Official API

$0.20

per 1M

$0.02

per 1M

$1.25

per 1M

$1.35

GlobalOpenAI API pricing

Checked 2026-06-14

Good reference point for lightweight classification, extraction, and chat routing.

OpenAI

Official API

$30.00

per 1M

n/a

per 1M

$180

per 1M

$211

GlobalOpenAI API pricing

Checked 2026-06-14

No cached-input price is listed for this pro row in the flagship pricing table.

MiniMax

Official API

$0.30

per 1M

$0.06

per 1M

$1.20

per 1M

$1.54

MiniMax APIMiniMax pay-as-you-go pricing

Checked 2026-06-14

Prompt cache read and write are separate pricing fields.

MiniMax

Official API

$0.60

per 1M

$0.06

per 1M

$2.40

per 1M

$3.06

MiniMax APIMiniMax pay-as-you-go pricing

Checked 2026-06-14

High-speed tier doubles input and output price compared with standard.

Alibaba Cloud

Official API

$0.172

per 1M

n/a

per 1M

$1.03

per 1M

$1.21

Global deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Longer prompt tiers are priced higher in the official table.

Anthropic

Official API

$3.00

per 1M

$0.30

per 1M

$15.00

per 1M

$17.48

Global defaultClaude API pricing

Checked 2026-06-14

Prompt cache writes are listed separately from cache hits.

MiniMax

Official API

$0.30

per 1M

$0.03

per 1M

$1.20

per 1M

$1.53

MiniMax APIMiniMax pay-as-you-go pricing

Checked 2026-06-14

Legacy model retained for users comparing older production integrations.

MiniMax

Official API

$0.60

per 1M

$0.03

per 1M

$2.40

per 1M

$3.04

MiniMax APIMiniMax pay-as-you-go pricing

Checked 2026-06-14

High-speed tier doubles input and output price compared with standard.

xAI

Official API

$1.25

per 1M

$0.20

per 1M

$2.50

per 1M

$4.57

xAI APIxAI API pricing

Checked 2026-06-14

Server-side tools are charged separately from token usage.

Alibaba Cloud

Official API

$0.115

per 1M

n/a

per 1M

$0.917

per 1M

$0.9759

Global deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Global endpoint and storage are in US Virginia or Germany Frankfurt.

Z.AI

Official API

$0.60

per 1M

$0.11

per 1M

$2.20

per 1M

$2.93

Z.AI APIZ.AI pricing

Checked 2026-06-14

Cached input storage is listed as limited-time free.

Anthropic

Official API

$1.00

per 1M

$0.10

per 1M

$5.00

per 1M

$5.83

Global defaultClaude API pricing

Checked 2026-06-14

Useful Claude baseline for high-volume support and extraction workloads.

Mistral

Official API

$1.50

per 1M

n/a

per 1M

$7.50

per 1M

$9.45

Mistral APIMistral pricing

Checked 2026-06-14

Batch processing gets a 50% discount.

Google

Official API

$0.25

per 1M

$0.025

per 1M

$1.50

per 1M

$1.64

Gemini API paid tierGemini API pricing

Checked 2026-06-14

Audio input is priced separately on Google pricing.

Mistral

Official API

$0.50

per 1M

n/a

per 1M

$1.50

per 1M

$2.42

Mistral APIMistral pricing

Checked 2026-06-14

Mistral pricing is per million input and output tokens.

Google

Official API

$1.25

per 1M

$0.125

per 1M

$10.00

per 1M

$10.04

Gemini API paid tierGemini API pricing

Checked 2026-06-14

Prompts above 200K tokens have higher prices.

OpenAI

Official API

$5.00

per 1M

$0.50

per 1M

$30.00

per 1M

$32.81

GlobalOpenAI API pricing

Checked 2026-06-14

Useful when comparing ChatGPT chat-latest against flagship model APIs.

Anthropic

Official API

$10.00

per 1M

$1.00

per 1M

$50.00

per 1M

$58.27

Limited availabilityClaude API pricing

Checked 2026-06-14

Official table marks Mythos 5 as limited availability.

Google

Official API

$0.30

per 1M

$0.03

per 1M

$2.50

per 1M

$2.48

Gemini API paid tierGemini API pricing

Checked 2026-06-14

Grounding and Maps pricing are separate from token billing.

xAI

Official API

$1.00

per 1M

$0.20

per 1M

$2.00

per 1M

$3.68

xAI APIxAI API pricing

Checked 2026-06-14

Currently described by xAI as early access.

xAI

Official API

$1.25

per 1M

$0.20

per 1M

$2.50

per 1M

$4.57

xAI APIxAI API pricing

Checked 2026-06-14

Listed in xAI Chat API pricing with the same token rates as grok-4.3.

xAI

Official API

$1.25

per 1M

$0.20

per 1M

$2.50

per 1M

$4.57

xAI APIxAI API pricing

Checked 2026-06-14

Reasoning tokens are billed under the model token rates.

xAI

Official API

$1.25

per 1M

$0.20

per 1M

$2.50

per 1M

$4.57

xAI APIxAI API pricing

Checked 2026-06-14

Batch pricing can vary by model detail page.

Mistral

Official API

$0.10

per 1M

n/a

per 1M

$0.30

per 1M

$0.483

Mistral APIMistral pricing

Checked 2026-06-14

Open model listed on Mistral pricing.

Mistral

Official API

$2.00

per 1M

n/a

per 1M

$5.00

per 1M

$8.93

Mistral APIMistral pricing

Checked 2026-06-14

Use for reasoning comparisons against general-purpose models.

Mistral

Official API

$0.50

per 1M

n/a

per 1M

$1.50

per 1M

$2.42

Mistral APIMistral pricing

Checked 2026-06-14

Batch processing gets a 50% discount.

Mistral

Official API

$0.10

per 1M

n/a

per 1M

$0.10

per 1M

$0.336

Mistral APIMistral pricing

Checked 2026-06-14

Best for low-cost routing and lightweight agent steps.

Mistral

Official API

$0.15

per 1M

n/a

per 1M

$0.15

per 1M

$0.504

Mistral APIMistral pricing

Checked 2026-06-14

Low-cost open model in Mistral pricing.

Cohere

Official API

$0.50

per 1M

n/a

per 1M

$1.50

per 1M

$2.42

Cohere APICohere pricing

Checked 2026-06-14

Cohere lists Aya Expanse API pricing in the official pricing FAQ.

Cohere

Official API

$1.00

per 1M

n/a

per 1M

$2.00

per 1M

$4.10

Existing Cohere customersCohere pricing

Checked 2026-06-14

Cohere marks these as legacy model prices for existing customers.

Cohere

Official API

$0.30

per 1M

n/a

per 1M

$0.60

per 1M

$1.23

Existing Cohere customersCohere pricing

Checked 2026-06-14

Listed in Cohere pricing FAQ as legacy pricing.

Cohere

Official API

$0.50

per 1M

n/a

per 1M

$1.50

per 1M

$2.42

Existing Cohere customersCohere pricing

Checked 2026-06-14

Listed in Cohere pricing FAQ as legacy pricing.

Cohere

Official API

$3.00

per 1M

n/a

per 1M

$15.00

per 1M

$18.90

Existing Cohere customersCohere pricing

Checked 2026-06-14

Listed in Cohere pricing FAQ as legacy pricing.

Cohere

Official API

$2.50

per 1M

n/a

per 1M

$10.00

per 1M

$13.91

Existing Cohere customersCohere pricing

Checked 2026-06-14

Listed in Cohere pricing FAQ as legacy pricing.

DeepSeek

Official API

$0.27

per 1M

$0.07

per 1M

$1.10

per 1M

$1.41

DeepSeek APIDeepSeek USD pricing

Checked 2026-06-14

Automatic context caching uses cache-hit and cache-miss input prices.

DeepSeek

Official API

$0.55

per 1M

$0.14

per 1M

$2.19

per 1M

$2.84

DeepSeek APIDeepSeek USD pricing

Checked 2026-06-14

Reasoning output and CoT behavior can change real workload cost.

Alibaba Cloud

Official API

$0.359

per 1M

n/a

per 1M

$1.43

per 1M

$2.00

Global deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Higher prompt-size tiers increase input and output prices.

Alibaba Cloud

Official API

$0.30

per 1M

n/a

per 1M

$1.50

per 1M

$1.89

EU deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Higher prompt tiers are listed separately up to 256K tokens.

Alibaba Cloud

Official API

$0.80

per 1M

n/a

per 1M

$2.40

per 1M

$3.86

International deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

International inference is dynamically scheduled globally excluding Chinese Mainland.

Alibaba Cloud

Official API

$0.287

per 1M

n/a

per 1M

$0.861

per 1M

$1.39

Model StudioAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Listed under QwQ open source model pricing.

Alibaba Cloud

Official API

$0.072

per 1M

n/a

per 1M

$0.287

per 1M

$0.3999

Chinese Mainland deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Chinese Mainland deployment only according to official table.

Alibaba Cloud

Official API

$0.574

per 1M

n/a

per 1M

$1.72

per 1M

$2.77

Chinese Mainland deploymentAlibaba Cloud Model Studio pricing

Checked 2026-06-14

Useful for math-specific API cost comparisons.

Moonshot AI

Official API

$0.95

per 1M

$0.19

per 1M

$4.00

per 1M

$5.03

Kimi APIKimi K2.7 Code pricing

Checked 2026-06-14

Limited-time promotion is mentioned on the official page.

Z.AI

Official API

$0.60

per 1M

$0.11

per 1M

$2.20

per 1M

$2.93

Z.AI APIZ.AI pricing

Checked 2026-06-14

Cached input storage is listed as limited-time free.

Z.AI

Official API

$2.20

per 1M

$0.45

per 1M

$8.90

per 1M

$11.40

Z.AI APIZ.AI pricing

Checked 2026-06-14

Prices are per 1M tokens.

Z.AI

Official API

$0.20

per 1M

$0.03

per 1M

$1.10

per 1M

$1.24

Z.AI APIZ.AI pricing

Checked 2026-06-14

Cached input storage is listed as limited-time free.

Z.AI

Official API

$1.10

per 1M

$0.22

per 1M

$4.50

per 1M

$5.73

Z.AI APIZ.AI pricing

Checked 2026-06-14

Prices are per 1M tokens.

Z.AI

Official API

$0.10

per 1M

n/a

per 1M

$0.10

per 1M

$0.336

Z.AI APIZ.AI pricing

Checked 2026-06-14

No cached-input price is listed for this row.

Z.AI

Official API

$0.00

per 1M

$0.00

per 1M

$0.00

per 1M

$0.00

Z.AI APIZ.AI pricing

Checked 2026-06-14

Displayed as Free in the official pricing table; availability can change.