Coding
Like-for-like- Claude 3.5 Sonnet
- 49.0
- Grok Code Fast 1
- 70.8
- Weighted basis
- 1 vs 1 rows
- Reading
- Grok Code Fast 1 leads
Model comparison
Updated July 28, 2026. Public scores include evidence status and uncertainty. They are not guarantees for a specific workload.
Claude 3.5 Sonnet has the higher public score estimate, 46.9 versus 37.75, but the 90% score intervals overlap. Treat that as a lead, not a settled winner.
1 results are shared. Category rows based on different benchmark sets are marked directional and do not name a winner.
Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.
Code generation, repair, and software-engineering tasks
Grok Code Fast 1
Grok Code Fast 1 leads on the same 1 weighted benchmark row.
Confidence: limited
Prompts that approach the documented context limit
Grok Code Fast 1
Grok Code Fast 1 has the larger documented context window.
Confidence: documented
1K fresh input + 500 output tokens
Grok Code Fast 1
Grok Code Fast 1 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Confidence: listed-rates
50K fresh input + 3K output tokens
Grok Code Fast 1
Grok Code Fast 1 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Confidence: listed-rates
Tool use, computer use, and multi-step task completion
Not enough matched evidence
No shared weighted benchmark basis supports a winner.
Confidence: limited
200K cached + 20K fresh input + 10K output tokens
Not enough matched evidence
The page does not recommend a cost winner because at least one model cannot fit the stated workload in one request. Claude 3.5 Sonnet does not fit this workload in one request. Claude 3.5 Sonnet has no published cached-input rate, so cached tokens use its listed input rate. Grok Code Fast 1 has no published cached-input rate, so cached tokens use its listed input rate.
Confidence: rate-fallback
Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.
Each row states whether both averages use the same weighted benchmark set. Directional and not-comparable rows remain visible, but they never receive a winner in this template.
| Category | Claude 3.5 Sonnet | Grok Code Fast 1 | Weighted basis | Reading |
|---|---|---|---|---|
| Coding | 49.0 | 70.8 | Like-for-like1 vs 1 rows | Grok Code Fast 1 leads |
| Agentic | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
| Reasoning | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
| Knowledge | 59.4 | Not measured | Not comparable1 vs 0 rows | Not comparable |
| Math | 1.6 | Not measured | Not comparable2 vs 0 rows | Not comparable |
| Multilingual | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
| Multimodal | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
| Instruction following | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.
Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.
SWE-bench Verified
Coding
Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.
1K fresh input + 500 output tokens
Grok Code Fast 1 has the lower modeled cost
Costs use the listed standard API rates.
50K fresh input + 3K output tokens
Grok Code Fast 1 has the lower modeled cost
Costs use the listed standard API rates.
200K cached + 20K fresh input + 10K output tokens
Claude 3.5 Sonnet does not fit this workload in one request. Claude 3.5 Sonnet has no published cached-input rate, so cached tokens use its listed input rate. Grok Code Fast 1 has no published cached-input rate, so cached tokens use its listed input rate.
Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.
Maximum documented context; output-token limits may be lower.
Claude 3.5 Sonnet
200K
Grok Code Fast 1
256K
Claude 3.5 Sonnet
Not sourced
Grok Code Fast 1
Not sourced
A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.
Claude 3.5 Sonnet
Not published
Grok Code Fast 1
Not published
Claude 3.5 Sonnet
Not sourced
Grok Code Fast 1
Not sourced
Claude 3.5 Sonnet
Not sourced
Grok Code Fast 1
Not sourced
Claude 3.5 Sonnet
Not sourced
Grok Code Fast 1
Not sourced
Claude 3.5 Sonnet
Non-Reasoning
Grok Code Fast 1
Non-Reasoning
Claude 3.5 Sonnet
Proprietary
Grok Code Fast 1
Proprietary
Claude 3.5 Sonnet
Proprietary
Grok Code Fast 1
Proprietary
Claude 3.5 Sonnet
2024-06-01
Grok Code Fast 1
2025-08-28
Run the same representative tasks against both endpoints before changing production traffic.
The full public result ledger is available for audit without forcing a wide desktop table onto a phone.
Claude 3.5 Sonnet has the higher public score estimate, 46.9 versus 37.75, but the 90% score intervals overlap. The higher estimate is not a decisive winner because the uncertainty ranges overlap.
Grok Code Fast 1 leads the like-for-like coding comparison across 1 shared weighted benchmark row.
The published evidence does not provide a shared weighted agentic tasks basis for both models, so BenchLM does not name a agentic tasks winner.
For the stated presets, chat costs $0.0105 on Claude 3.5 Sonnet and $0.00095 on Grok Code Fast 1; repository review costs $0.195 and $0.0145; the cache-heavy agent loop costs $0.81 and $0.059. Claude 3.5 Sonnet does not fit this workload in one request. Claude 3.5 Sonnet has no published cached-input rate, so cached tokens use its listed input rate. Grok Code Fast 1 has no published cached-input rate, so cached tokens use its listed input rate.
Grok Code Fast 1 has the larger documented context window: 256K, compared with 200K.
Last updated July 28, 2026
One weekly note on benchmark changes, pricing moves, and models worth re-testing.