Anthropic
Claude Sonnet 4 (latest)
Claude Sonnet 4 (latest) from Anthropic: Balanced Claude model for coding, analysis, agent workflows, and cost control.
- Context
- 200K
- Max output
- 64K
Accepts
- Text input
- Image input
- PDF input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
Claude Sonnet 4 (latest) from Anthropic lists 200K context, 64K maximum output. Grok 4.3 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.
Anthropic
Claude Sonnet 4 (latest) from Anthropic: Balanced Claude model for coding, analysis, agent workflows, and cost control.
Accepts
Produces
xAI
Grok 4.3 from xAI: xAI's default Grok for chat, coding, agentic tools, and lower hallucination risk.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
Claude Sonnet 4 (latest)
Grok 4.3
Context capacity
Higher listed limit
Claude Sonnet 4 (latest):200K
Grok 4.3:1M
Grok 4.3
Maximum output
Higher listed limit
Claude Sonnet 4 (latest):64K
Grok 4.3:30K
Claude Sonnet 4 (latest)
Specifications
| Specification | Claude Sonnet 4 (latest) | Grok 4.3 |
|---|---|---|
| Provider | Anthropic | xAI |
| Listed pricing route | Anthropic | xAI |
| Model family | claude-sonnet | grok |
| Accepted inputs | text, image, pdf | text, image, pdf |
| Produced outputs | text | text |
| Context window | 200K | 1MHigher |
| Max output | 64KHigher | 30K |
| Input price / 1M | — | $1.25 |
| Output price / 1M | — | $2.50 |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Documented | Documented |
| Audio input | Not documented | Not documented |
| Structured output | Not documented | Documented |
| License | Proprietary | Proprietary |
Workload guidance
Consider Claude Sonnet 4 (latest) if you need larger maximum output. Consider Grok 4.3 if you need larger context. 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.
Claude Sonnet 4 (latest)
Anthropic
Profile updated Oct 13, 2026
Grok 4.3
xAI
Profile updated Oct 13, 2026
Search by model or provider to explore another comparison.