OpenAI
GPT-5
GPT-5 from OpenAI: Original GPT-5 workhorse for reasoning, coding, writing, and tool workflows.
- Context
- 400K
- Max output
- 128K
- Input / 1M tokens
- $1.25
- Output / 1M tokens
- $10.00
Accepts
- Text input
- Image input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
GPT-5 from OpenAI lists 400K context, 128K maximum output, $1.25 input per 1M tokens, $10.00 output per 1M tokens. Grok 4.20 (Reasoning) from xAI lists 1M context, 30K maximum output, $1.25 input per 1M tokens, $2.50 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.
OpenAI
GPT-5 from OpenAI: Original GPT-5 workhorse for reasoning, coding, writing, and tool workflows.
Accepts
Produces
xAI
Grok 4.20 (Reasoning) from xAI: Reasoning Grok for document-heavy analysis and long-horizon tool use.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
GPT-5
Grok 4.20 (Reasoning)
Context capacity
Higher listed limit
GPT-5:400K
Grok 4.20 (Reasoning):1M
Grok 4.20 (Reasoning)
Maximum output
Higher listed limit
GPT-5:128K
Grok 4.20 (Reasoning):30K
GPT-5
Input price
Lower listed token rate
GPT-5:$1.25
Grok 4.20 (Reasoning):$1.25
Same value
Output price
Lower listed token rate
GPT-5:$10.00
Grok 4.20 (Reasoning):$2.50
Grok 4.20 (Reasoning)
Specifications
| Specification | GPT-5 | Grok 4.20 (Reasoning) |
|---|---|---|
| Provider | OpenAI | xAI |
| Listed pricing route | OpenAI | xAI |
| Model family | gpt | grok |
| Accepted inputs | text, image | text, image, pdf |
| Produced outputs | text | text |
| Context window | 400K | 1MHigher |
| Max output | 128KHigher | 30K |
| Input price / 1M | $1.25 | $1.25 |
| Output price / 1M | $10.00 | $2.50Lower |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Documented | Documented |
| Audio input | Not documented | Not documented |
| Structured output | Documented | Documented |
| License | Proprietary | Proprietary |
Workload guidance
Consider GPT-5 if you need larger maximum output. Consider Grok 4.20 (Reasoning) if you need larger context or a lower listed output rate. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.
Explore each model’s features, API requirements and licence terms in the sources below.
GPT-5
OpenAI
Profile updated Oct 13, 2026
Grok 4.20 (Reasoning)
xAI
Profile updated Oct 13, 2026
Search by model or provider to explore another comparison.