gpt-4o
OpenRouter · chat model
gpt-4o is listed here as a chat model from OpenRouter. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Input
$2.5000 / 1M tokens
Output
$10.0000 / 1M tokens
Cached input
N/A
Context
4.1K
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $2.5000 / 1M tokens |
| Output | $10.0000 / 1M tokens |
| Embedding | $2.5000 / 1M tokens |
Token limits
Context window
4.1K
Max input tokens
128.0K
Max output tokens
4.1K
Max tokens
4.1K
Capabilities
| Capability | Supported |
|---|---|
| Vision | ✅ |
| Function calling | ✅ |
| Parallel function calling | ✅ |
| Tool choice | ✅ |
| Prompt caching | — |
| Reasoning | — |
| Response schema | — |
| System messages | — |
| Audio input | — |
| Audio output | — |
| Web search | — |
| PDF input | — |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| SWE-bench Verified | 33.2% | accuracy (%) | Base model: gpt-4o (GPT-4o (2024-11-20)) | 2026-05-31 | Link |
| Aider Polyglot | 30.7% | accuracy (%) | Base model: gpt-4o (GPT-4o (2024-11-20)) | 2026-05-31 | Link |
| Aider Polyglot | 18.2% | accuracy (%) | Base model: gpt-4o (GPT-4o (2024-11-20)) | 2026-05-31 | Link |
| IFEval | 81.0% | accuracy (%) | Base model: gpt-4o (GPT-4o (2024-11-20)) | 2026-05-31 | Link |
| Design Arena - 3D | 958 Elo | Elo | Base model: GPT-4o (openai/gpt-4o) | 2026-05-31 | Link |
| Design Arena - Code Categories | 918 Elo | Elo | Base model: GPT-4o (openai/gpt-4o) | 2026-05-31 | Link |
| Design Arena - Game Development | 983 Elo | Elo | Base model: GPT-4o (openai/gpt-4o) | 2026-05-31 | Link |
| Design Arena - Website | 882 Elo | Elo | Base model: GPT-4o (openai/gpt-4o) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Docs
| Official docs |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
Comparing from
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-4o OpenRouter | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 4.1K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-4o-2024-05-13 OpenRouter | In $5.0000 / 1M tokens Out $15.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 4.1K | Same provider Overall 92% |
| gpt-4o-2024-05-13 Azure | In $5.0000 / 1M tokens Out $15.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 4.1K | Text + image covered Overall 79% |
| gpt-4-turbo-2024-04-09 Azure | In $10.0000 / 1M tokens Out $30.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 4.1K | Text + image covered Overall 78% |
| claude-3.5-sonnet vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 8.2K | Text + image covered Overall 77% |
| anthropic.claude-3-5-sonnet-20240620-v1:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 4.1K | Text + image covered Overall 77% |
| gpt-4o-2024-11-20 Azure | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Text + image covered Overall 76% |
| gpt-4o-2024-11-20 Azure | In $2.7500 / 1M tokens Out $11.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Text + image covered Overall 74% |
| gpt-4o-2024-11-20 Azure | In $2.7500 / 1M tokens Out $11.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Text + image covered Overall 74% |
| gpt-5.2-chat OpenRouter | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 16.4K | Same provider Overall 73% |
| gpt-4o-2024-08-06 Azure | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Text + image covered Overall 72% |
| gpt-4o-2024-08-06 Azure | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Text + image covered Overall 72% |
| gpt-4o-2024-11-20 Azure | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 16.4K | Text + image covered Overall 72% |
| gpt-4.1 OpenRouter | In $2.0000 / 1M tokens Out $8.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingParallel function callingTool choice | 32.8K | Same provider Overall 72% |
| claude-3.5-haiku vercel_ai_gateway | In $0.8000 / 1M tokens Out $4.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 8.2K | Text + image covered Overall 70% |
| claude-3-haiku OpenRouter | In $0.2500 / 1M tokens Out $1.2500 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 4.1K | Same provider Overall 68% |
| gpt-5.2 OpenRouter | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 128.0K | Same provider Overall 67% |
| claude-sonnet-4 OpenRouter | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 64.0K | Same provider Overall 67% |
| mistral-large-2512 OpenRouter | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 262.1K | Same provider Overall 62% |
| gpt-5.2-pro OpenRouter | In $21.0000 / 1M tokens Out $168.0000 / 1M tokens | fileimagetext
Output: text | VisionFunction callingTool choice | 128.0K | Same provider Overall 57% |
| us.writer.palmyra-x4-v1:0 bedrock_converse | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext pdf
Output: text | Function calling | 8.2K | Partial I/O overlap Overall 56% Missing image |
| writer.palmyra-x4-v1:0 bedrock_converse | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | fileimagetext pdf
Output: text | Function calling | 8.2K | Partial I/O overlap Overall 56% Missing image |
No models match this filter.