Price Per TokenPrice Per Token
Xai

Grok Code Fast 1 API Pricing 2026

Compare pricing, benchmarks, and providers for Grok Code Fast 1. Find the best value for your use case.

Get our weekly newsletter on pricing changes, new releases, and tools.

No bots, no big tech influence — join the new community for AI devs
8 Ways to Use Fewer Tokens
Last updated: May 1, 2026 at 08:30 AM

Overview

Grok Code Fast 1 was released on August 26, 2025. Pricing starts at $0.200 per million input tokens and $1.50 per million output tokens. The model supports a context window of up to 256K tokens. API access is available through Xai.

Context Window
256K
tokens
Pricing
Input$0.200
Output$1.50
Cached$0.020
per 1M tokens
Speed
Output87 tok/s
TTFT7.48s
median latency
Capabilities
ReasoningToolsCaching

Pricing Comparison

Compare Grok Code Fast 1 with 0 similar models by price.

Current Pricing (per 1M tokens)

1 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.200
$1.500
65.7
79.3
72.7
256,000
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Grok Code Fast 1 is available from multiple providers with different pricing and availability.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does Grok Code Fast 1 perform? Vote based on your experience.

Cost vs. Quality

Compare Grok Code Fast 1's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Grok Code Fast 1
Other models

Detailed Benchmark Scores

Intelligence
28.7 (69th pct)
Coding
23.7 (60th pct)
Math
43.3 (45th pct)
MMLU Pro
79.3 (64th pct)
GPQA
72.7 (66th pct)
LiveCodeBench
65.7 (74th pct)
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Grok Code Fast 1

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Grok Code Fast 1 directly in your browser.

Open Playground

Frequently Asked Questions

Grok Code Fast 1 costs $0.000200 per 1,000 input tokens and $0.001500 per 1,000 output tokens.

All Xai Models

See pricing for all Xai models.

View all Xai models →