Last refreshed 2026-06-15. Next refresh: weekly.
Why use GPT-4o on OpenRouter?
OpenRouter offers GPT-4o with pay-as-you-go pricing at $2.50/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Compare GPT-4o across 5 providers to find the best fit for your use caseInput / 1M
$2.50
Output / 1M
$10.00
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: openai/gpt-4oModel ID
openai/gpt-4oRequest example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
openai/gpt-4o.Gotchas
- Use provider model ID "openai/gpt-4o", not the LLMReference slug "gpt-4o".
Compare GPT-4o Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Replicate API | $2.50 | $10.00 |
| OpenRouter | $2.50 | $10.00 |
| Azure OpenAI | — | — |
| OpenAI API | $2.50 | $10.00 |
| Vercel AI Gateway | $2.50 | $10.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $2.50 |
| Output tokens | $10.00 |
Capabilities
VisionMultimodalJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch APIFine-tuning
About GPT-4o
OpenAI GPT-4o: Flagship multimodal model with vision, function calling, and broad capability. $2.50/M input, $10/M output.
Get Started
Model Specs
Released2024-05-13
Context128k
ArchitectureDecoder Only
Knowledge cutoff2023-10