OpenAI
GPT-4
GPT model for general reasoning, writing, coding, and tool-assisted tasks
Model facts
- Context window
- 8K tokens
- Maximum output
- 8K tokens
- Cheapest paid input
- $30 per 1M tokens
- Cheapest paid output
- $60 per 1M tokens
- Open weights
- no
- Providers
- 9
Capabilities and modalities
tool calling, structured output, attachments, temperature control, text, pdf.
Artificial Analysis benchmarks
Compare this model on the full LLM benchmark leaderboard.
| Configuration | AAI | Coding | Math | Output tokens/s |
|---|---|---|---|---|
| default | 6.8 | 13.1 | not measured | not measured |
Observed price history
- 2026-08-24: $30 input / $60 output per 1M tokens
API providers
- DevPass (LLM Gateway) — model id gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- Eden AI — model id openai/gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- Kilo Gateway — model id openai/gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- LLM Gateway (Azure) — model id azure/gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- LLM Gateway (OpenAI) — model id openai/gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- Merge Gateway — model id openai/gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- OpenAI — model id gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- OpenRouter — model id openai/gpt-4; $30 input / $60 output per 1M tokens; provider documentation
- OrcaRouter — model id openai/gpt-4; $30 input / $60 output per 1M tokens; provider documentation