Model workbench / Language models
Context, capabilities and token costs. Read the trade-offs side by side, then estimate your workload below.
| Model |
GPT-5.1▾ |
GPT-5.1▾ |
Claude Sonnet 4.5▾ |
Grok 4.1 Fast▾ |
|---|---|---|---|---|
| SPECIFICATIONS | ||||
| Context Window | 400K | 400K | 1.0M | 2.0M |
| Max Output | 128K | 128K | — | — |
| Reasoning | ✓ | ✓ | ✓ | ✓ |
| INPUT MODALITIES | ||||
| Text | ✓ | ✓ | ✓ | ✓ |
| Image | ✓ | ✓ | ✓ | ✓ |
| Audio | — | — | — | — |
| Video | — | — | — | — |
| OUTPUT MODALITIES | ||||
| Text | ✓ | ✓ | ✓ | ✓ |
| Image | — | — | — | — |
| Audio | — | — | — | — |
| CAPABILITIES | ||||
| Streaming | ✓ | ✓ | ✓ | ✓ |
| Function Calling | ✓ | ✓ | ✓ | ✓ |
| Structured Outputs | ✓ | ✓ | ✓ | ✓ |
| Thinking | — | — | ✓ | — |
| TOOLS | ||||
| Web Search | ✓ | ✓ | ✓ | ✓ |
| Code Execution | ✓ | ✓ | ✓ | — |
| Computer Use | — | — | ✓ | — |
| Image Generation | ✓ | ✓ | — | — |
| PRICING (per 1M tokens) | ||||
| Input | $1.25 | $1.25 | $3.00 | $3.00 |
| Output | $10.00 | $10.00 | $15.00 | $15.00 |
| Cached Input | $0.13 | $0.13 | $0.30 | $0.75 |