Official provider sources
Specifications and API prices are verified directly against official developer documentation from OpenAI, Anthropic, Google Gemini, and Mistral AI. Unconfirmed fields are explicitly marked as Not publicly specified.
Evaluate public API models from OpenAI, Anthropic, Google Gemini and Mistral AI under identical criteria. Every specification and benchmark is linked to its primary documentation or evaluation source.
| Criteria | OpenAIGPT-4o | AnthropicClaude Sonnet | GoogleGemini 2.5 Pro |
|---|---|---|---|
| 1. General Information | |||
| API Model ID | gpt-4o | claude-sonnet-5-5 | gemini-2.5-pro |
| Model Family | GPT-4o | Claude 5.5 | Gemini 2.5 |
| Release Date | 2024-05-13 | Not publicly specified | 2025-03 |
| Classification | Proprietary | Proprietary | Proprietary |
| 2. Context & Output Limits | |||
| Context Window | 128,000 tokens | 1,000,000 tokens | 1,048,576 tokens |
| Max Output Tokens | 16,384 tokens | 128,000 tokens | 65,536 tokens (includes thinking) |
| 3. Input & Output Modalities | |||
| Input Modalities | Text, Image | Text, Image | Text, Image, Audio, Video, PDF |
| Output Modalities | Text | Text | Text |
| 4. Reasoning & Intelligence Capabilities | |||
| Reasoning Profile | General-purpose non-reasoning flagship; standard single-pass inference. | Adaptive thinking with configurable effort levels for complex logic. | Native thinking model with built-in multi-step reasoning before output. |
| 5. Coding & Mathematics Capabilities | |||
| Coding & Math | Strong general coding and multi-language synthesis; not a dedicated test-time reasoning model. | Flagship balance for agentic coding, multi-file refactoring, and analysis. | Strong performance on complex coding, repository analysis, and STEM reasoning. |
| 6. Tool Calling & Structured Output | |||
| Tool / Function Calling | Supported | Supported | Supported |
| Structured Output | Supported | Supported | Supported |
| 7. API Pricing (USD per 1M Tokens) | |||
| Input Price | $2.50 / 1M | $2.00 / 1M | $1.25 / 1M |
| Output Price | $10.00 / 1M | $10.00 / 1M | $10.00 / 1M |
| Pricing Conditions | Standard pay-as-you-go text API; 50% Batch API discount for 24h async jobs. | Standard direct API; 50% Batch API discount (24h SLA); prompt caching supported. | Tiered: $1.25/$10.00 up to 200k context tokens; $2.50/$15.00 above 200k tokens. |
| 8. Availability & Lifecycle | |||
| API Availability | Generally Available | Generally Available | Generally Available |
| Speed & Latency | Low-latency general flagship; exact TPS not publicly specified in static docs. | Balanced enterprise throughput tier; exact TPS not publicly specified. | Thinking overhead increases time-to-first-token depending on reasoning budget. |
| Official Sources | |||
Independent evaluations and provider-reported figures are labeled separately. Missing entries display No verified result rather than estimated or interpolated scores.
| Benchmark | OpenAI GPT-4o | Anthropic Claude Sonnet | Google Gemini 2.5 Pro |
|---|---|---|---|
| SWE-bench VerifiedCoding | 38.8%Independent | No verified result | 63.8%Provider-reported |
| MMLU-ProGeneral knowledge and reasoning | 72.6%Independent | No verified result | 86.2%Independent |
| GPQA DiamondGeneral knowledge and reasoning | No verified result | No verified result | 84.0%Independent |
Benchmark scores are shown only where verifiable sources exist and may use different agent harnesses or evaluation dates. Overall suitability depends on your workload, latency, and cost constraints.
Specifications and API prices are verified directly against official developer documentation from OpenAI, Anthropic, Google Gemini, and Mistral AI. Unconfirmed fields are explicitly marked as Not publicly specified.
Independent evaluations (such as SWE-bench Verified, GPQA Diamond, and MMLU-Pro) are separated from provider-reported figures. Scores from different agent harnesses or model versions are never merged into a single composite ranking.