LLM Reference

Grok 4.20 vs Grok Code Fast 1

Grok 4.20 (2026) and Grok Code Fast 1 (2025) compare a standalone API model against a coding-specialized model. Grok 4.20 ships a 1m-token context window, while Grok Code Fast 1 ships a 262k-token context window. On SWE-bench Verified, Grok 4.20 leads by 5.9 pts. On pricing, Grok Code Fast 1 costs $0.20/1M input tokens versus $1.25/1M for the alternative. This page treats the result as workflow and deployment fit, not a universal model winner.

Treat this as a product-type comparison: Grok 4.20 is standalone API model, while Grok Code Fast 1 is coding-specialized model. Choose based on workflow fit before reading any benchmark or price row as decisive.

Decision scorecard

Local evidence first
SignalGrok 4.20Grok Code Fast 1
Product typeStandalone API modelCoding-specialized model
Best forreasoning-heavy apps, multimodal apps, and tool-calling agentscustom coding agents, code generation, and tool loops
Decision fitCoding, RAG, and AgentsCoding, RAG, and Agents
Context window1m262k
Cheapest output$2.50/1M tokens$1.50/1M tokens
Provider routes2 tracked3 tracked
Shared benchmarksSWE-bench Verified leader1 rows

Decision tradeoffs

Choose Grok 4.20 when...
  • Grok 4.20 holds a shared-benchmark lead on SWE-bench Verified, ahead by 5.9 points.
  • Grok 4.20 has the larger context window for long prompts, retrieval packs, or transcript analysis.
  • Grok 4.20 uniquely exposes Vision, Multimodal, and Reasoning in local model data.
  • Local decision data tags Grok 4.20 for Coding, RAG, and Agents.
Choose Grok Code Fast 1 when...
  • Grok Code Fast 1 has the lower cheapest tracked output price at $1.50/1M tokens.
  • Grok Code Fast 1 has broader tracked provider coverage for fallback and procurement flexibility.
  • Local decision data tags Grok Code Fast 1 for Coding, RAG, and Agents.

Monthly cost at traffic

Estimate token spend from the cheapest tracked input and output route or tier on this page.

Lower estimate Grok Code Fast 1

Grok 4.20

$1,625

Cheapest tracked route/tier: xAI Console

Grok Code Fast 1

$535

Cheapest tracked route/tier: OpenRouter

Estimated monthly gap: $1,090. Batch, cache, alternate speed tiers, and negotiated pricing are excluded from this local estimate.

Switch friction

Grok 4.20 -> Grok Code Fast 1
  • Provider overlap exists on OpenRouter and xAI Console; start route-level A/B tests there.
  • Grok Code Fast 1 is $1/1M tokens lower on cheapest tracked output pricing before cache, batch, or negotiated discounts.
  • Check replacement coverage for Vision, Multimodal, and Reasoning before moving production traffic.
Grok Code Fast 1 -> Grok 4.20
  • Provider overlap exists on xAI Console and OpenRouter; start route-level A/B tests there.
  • Grok 4.20 is $1/1M tokens higher on cheapest tracked output pricing, so quality gains need to justify the spend.
  • Grok 4.20 adds Vision, Multimodal, and Reasoning in local capability data.

Specs

Specification
Released2026-02-172025-08-27
Context window1m262k
Parameters314B
Architecture-mixture of experts
LicenseProprietaryProprietary
OpennessProprietaryProprietary
Commercial useCommercial use with conditionsCommercial use with conditions
Knowledge cutoff2024-11-

Pricing and availability

Pricing attributeGrok 4.20Grok Code Fast 1
Input price$1.25/1M tokens$0.20/1M tokens
Output price$2.50/1M tokens$1.50/1M tokens
Providers

Capabilities

CapabilityGrok 4.20Grok Code Fast 1
VisionYesNo
MultimodalYesNo
ReasoningYesNo
Function callingYesYes
Tool useYesYes
Structured outputsYesYes
Code executionNoNo
IDE integrationNoNo
Computer useNoNo
Parallel agentsNoNo

Benchmarks

BenchmarkGrok 4.20Grok Code Fast 1
SWE-bench Verified76.770.8

Deep dive

On shared benchmark coverage, SWE-bench Verified has Grok 4.20 at 76.7 and Grok Code Fast 1 at 70.8, with Grok 4.20 ahead by 5.9 points. The largest visible gap is 5.9 points on SWE-bench Verified, which matters most when that benchmark mirrors your workload. Treat isolated benchmark wins as directional, because provider routing, prompt style, and tool access can move real application results.

The capability footprint differs most on vision: Grok 4.20, multimodal input: Grok 4.20, and reasoning mode: Grok 4.20. Both models share function calling, tool use, and structured outputs, so the practical split is not just feature count. Use those differences to decide whether the page is about raw model quality, agentic coding support, multimodal ingestion, or predictable structured API behavior.

For cost, Grok 4.20 lists $1.25/1M input and $2.50/1M output tokens on the cheapest tracked provider, while Grok Code Fast 1 lists $0.20/1M input and $1.50/1M output tokens on the cheapest tracked provider. A 70/30 input-output blend puts Grok Code Fast 1 lower by about $1.04 per million blended tokens. Availability is 2 providers versus 3, so concentration risk also matters.

Choose Grok 4.20 when reasoning depth and larger context windows are central to the workload. Choose Grok Code Fast 1 when coding workflow support, lower input-token cost, and broader provider choice are more important. For production, rerun your own prompts through the exact provider, region, and tool stack you plan to ship.

FAQ

Which has a larger context window, Grok 4.20 or Grok Code Fast 1?

Grok 4.20 supports 1m tokens, while Grok Code Fast 1 supports 262k tokens. That gap matters most for long documents, large codebases, retrieval-heavy agents, and conversations where earlier context must remain visible.

Which is cheaper, Grok 4.20 or Grok Code Fast 1?

Grok Code Fast 1 is cheaper on tracked token pricing. Grok 4.20 costs $1.25/1M input and $2.50/1M output tokens. Grok Code Fast 1 costs $0.20/1M input and $1.50/1M output tokens. Provider discounts or batch pricing can still change the final bill.

Is Grok 4.20 or Grok Code Fast 1 open source?

Grok 4.20 is listed under Proprietary. Grok Code Fast 1 is listed under Proprietary. License labels affect whether you can self-host, redistribute weights, or rely only on hosted APIs, so confirm the upstream license before deployment.

Which is better for vision, Grok 4.20 or Grok Code Fast 1?

Grok 4.20 has the clearer documented vision signal in this comparison. If vision is mission-critical, validate it against the provider endpoint because model-level support and API-level exposure can differ. Use this as a quick comparison signal, then confirm the provider-specific limits before committing to production.

Which is better for multimodal input, Grok 4.20 or Grok Code Fast 1?

Grok 4.20 has the clearer documented multimodal input signal in this comparison. If multimodal input is mission-critical, validate it against the provider endpoint because model-level support and API-level exposure can differ.

Where can I run Grok 4.20 and Grok Code Fast 1?

Grok 4.20 is available on xAI Console and OpenRouter. Grok Code Fast 1 is available on OpenRouter, Microsoft Foundry, and xAI Console. Provider coverage can affect latency, region availability, compliance posture, and fallback options.

Continue comparing

Last reviewed: 2026-05-20. Data sourced from public model cards and provider documentation.