Last refreshed 2026-06-15. Next refresh: weekly.
Why use GPT-4 on OpenRouter?
OpenRouter offers GPT-4 with pay-as-you-go pricing at $30.00/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-4 across 4 providers to find the best fit for your use caseInput / 1M
$30.00
Output / 1M
$60.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-4-0314Model ID
openai/gpt-4-0314Request example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
openai/gpt-4-0314.Gotchas
- Use provider model ID "openai/gpt-4-0314", not the LLMReference slug "gpt-4".
Compare GPT-4 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| OpenAI API | $30.00 | $60.00 |
| Azure OpenAI | $30.00 | $60.00 |
| Salesforce Einstein Generative AI | — | — |
| OpenRouter | $30.00 | $60.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $30.00 |
| Output tokens | $60.00 |
Capabilities
VisionMultimodalJSON / Tool useStructured OutputsCode Execution
About GPT-4
OpenAI's original GPT-4 model with strong reasoning and general knowledge. Foundation model for many applications.
Get Started
Model Specs
Released2023-03-14
Parameters1.76T (8x222B MoE)*
Context8k
ArchitectureMixture of Experts
Knowledge cutoff2021-09