Frontier AI models compared

The most capable models available through an API, used for hard reasoning, long-horizon agentic work, and anything where a wrong answer is expensive. Prices inside this tier vary by more than 25x.

List prices checked

Token prices

ModelProviderInputOutputCachedBlendedContext
DeepSeek-V4-ProDeepSeek$0.435$0.870$0.0036$0.5441M
GPT-5OpenAI$1.25$10.00$0.125$3.44400K
Gemini 2.5 ProGoogle$1.25$10.00$0.310$3.441M
OpenAI o3OpenAI$2.00$8.00$0.500$3.50200K
Mistral LargeMistral AI$2.00$6.00$3.00131K
Cohere Command ACohere$2.50$10.00$4.38256K
Claude Sonnet 5Anthropic$3.00$15.00$0.300$6.00200K
Grok 4xAI$3.00$15.00$0.750$6.00256K
Claude Opus 5Anthropic$5.00$25.00$0.500$10.00200K
Claude Fable 5Anthropic$10.00$50.00$1.00$20.00200K

Ranked for: In-app chat assistant

A support or help assistant handling a few thousand conversations a month, with short prompts and short answers.

#ModelInput costOutput costMonthly
1DeepSeek-V4-Pro$8.70$4.35$13
2Mistral Large$40$30$70
3GPT-5$25$50$75
4Gemini 2.5 Pro$25$50$75
5OpenAI o3$40$40$80
6Cohere Command A$50$50$100
7Claude Sonnet 5$60$75$135
8Grok 4$60$75$135
9Claude Opus 5$100$125$225
10Claude Fable 5$200$250$450

Ranked for: RAG over documents

Retrieval-augmented answering where each request stuffs several retrieved passages into the prompt, so input dominates.

#ModelInput costOutput costMonthly
1DeepSeek-V4-Pro$131$13$144
2GPT-5$375$150$525
3Gemini 2.5 Pro$375$150$525
4Mistral Large$600$90$690
5OpenAI o3$600$120$720
6Cohere Command A$750$150$900
7Claude Sonnet 5$900$225$1,125
8Grok 4$900$225$1,125
9Claude Opus 5$1,500$375$1,875
10Claude Fable 5$3,000$750$3,750

Ranked for: Coding agent

An agentic loop that reads files and writes patches, generating heavy output and re-sending large context on every turn.

#ModelInput costOutput costMonthly
1DeepSeek-V4-Pro$174$87$261
2Mistral Large$800$600$1,400
3GPT-5$500$1,000$1,500
4Gemini 2.5 Pro$500$1,000$1,500
5OpenAI o3$800$800$1,600
6Cohere Command A$1,000$1,000$2,000
7Claude Sonnet 5$1,200$1,500$2,700
8Grok 4$1,200$1,500$2,700
9Claude Opus 5$2,000$2,500$4,500
10Claude Fable 5$4,000$5,000$9,000

Head-to-head in this tier