OneAPIKey
← Back to all comparisons
Side-by-side

Codestral vs GPT-5

Mistral vs OpenAI — head-to-head specs and pricing.

Mistral
Codestral

Low-latency code completion from Mistral.

Codestral — purpose-built for code completion and instruction in 80+ programming languages.

OpenAI
GPT-5

OpenAI's flagship general-purpose model.

GPT-5 is OpenAI's flagship LLM — strong reasoning, tool use, vision, and JSON mode. Drop-in for anything you'd use GPT-4o for.

SpecCodestralGPT-5
ProviderMistralOpenAI
Input cost / 1M tokens$0.24$3.00
Output cost / 1M tokens$0.72$12.00
Context window32,000 tokens256,000 tokens
Max output tokens16,000
Streaming support
Tool calling
Vision input
JSON mode
StatusACTIVEACTIVE

Use both via OneAPIKey — one key, one bill

OneAPIKey aggregates Mistral, OpenAI, and 10 more providers behind a single API. Smart Routing automatically picks the best model per request — or you choose explicitly.