# OpenAI: GPT-4

Provider: openai  
Category: llm  
Model ID: `openai/gpt-4`

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

## Specs

- Context length: 8191 tokens
- Max output: 4096 tokens
- Modalities: text
- Released: 2023-05-28

## Pricing

- Input: $30.00 per million tokens
- Output: $60.00 per million tokens

## Providers

- **openai** — ctx 8191, input $30.00/M, output $60.00/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/gpt-4