Grok Code Fast 1
xai/grok-code-fast-1Von xAI · Familie: grok · veröffentlicht 2025-08-28 · Wissensstand: 2023-10
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Fähigkeiten
Model fit scores
0–100 · higher is betterThese scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.
Coding68
- Tool calling40/40
- Structured output0/20
- Reasoning10/10
- Context window (100K → 1M)8/20
- Provider availability10/10
Agents67
- Tool calling35/35
- Structured output0/25
- Reasoning15/15
- Output token limit7/15
- Provider availability10/10
JSON / structured output47
- Structured output / JSON mode0/50
- Tool calling20/20
- Temperature control10/10
- Price-friendly for high-volume17/20
Cost efficiency62
- Headline price (log-scaled)57/95
- Has prompt-cache pricing5/5
Long context60
- Context window (100K → 2M)50/90
- Has published price for full window10/10
Production-readiness94
- Number of independent providers40/40
- Has published per-token price20/20
- Context window ≥ 8K15/15
- No data inconsistencies across providers4/10
- Official model (not derivative)15/15
Cost Efficiency Index
Open full calculator →Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.
| Scenario | Cost | Assumption |
|---|---|---|
RAG answer per 1,000 RAG answers | $1.75 < $0.01 per request | 5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot. |
Support ticket triage per 10,000 tickets | $3.50 < $0.01 per request | 1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support. |
Data extraction per 1,000 documents | $1.15 < $0.01 per request | 2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines. |
Code review per 1,000 PRs | $3.10 < $0.01 per request | 8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads. |
Agent step per 1,000 steps | $3.30 < $0.01 per request | 12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step. |
Preis-Details
Empfohlene Preise von xai · grok-code-fast-1
Günstigster Anbieter: github-copilot · Unknown Eingabe + Unknown Ausgabe
Bei 16 Anbietern verfügbar
| Anbieter | Anbieter-Modell-ID | Eingabe / 1M | Ausgabe / 1M | Kontext | Veröffentlicht |
|---|---|---|---|---|---|
| xAI xai | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
| Azure azure | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
| OpenRouter openrouter | x-ai/grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-26 |
| Vercel AI Gateway vercel | xai/grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
| NanoGPT nano-gpt | x-ai/grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
| Abacus abacus | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-09-01 |
| Jiekou.AI jiekou | grok-code-fast-1 | $0.180 | $1.35 | 256K | 2026-01 |
| ZenMux zenmux | x-ai/grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-26 |
| Qiniu qiniu-ai | x-ai/grok-code-fast-1 | Unknown | Unknown | 256K | 2025-09-02 |
| Kilo Gateway kilo | x-ai/grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-26 |
| GitHub Copilot github-copilot | grok-code-fast-1 | Unknown | Unknown | 128K | 2025-08-27 |
| Poe poe | xai/grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-22 |
| Helicone helicone | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2024-08-25 |
| FrogBot frogbot | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
| Azure Cognitive Services azure-cognitive-services | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
| LLM Gateway llmgateway | grok-code-fast-1 | $0.200 | $1.50 | 256K | 2025-08-28 |
Datenunterschiede zwischen Anbietern
- context_window varies: 128000, 256000
- release_date varies (span 494d): 2024-08-25, 2025-08-22, 2025-08-26, 2025-08-27, 2025-08-28, 2025-09-01, 2025-09-02, 2026-01
- modalities varies across offerings
Anbieter melden unterschiedliche Werte für dieses Modell. Die Schnellinfos oben nutzen den repräsentativen Anbieter; pro Anbieter siehe Tabelle.
Frequently asked questions
How much does Grok Code Fast 1 cost?
Grok Code Fast 1 costs $0.200 per 1M input tokens and $1.50 per 1M output tokens, sourced from xai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.
What is the context window of Grok Code Fast 1?
Grok Code Fast 1 has a context window of 256K tokens, with a max output of 10K tokens per reply. This is the total combined size of prompt + completion.
Does Grok Code Fast 1 support tool calling?
Yes. Grok Code Fast 1 supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Does Grok Code Fast 1 support structured output / JSON mode?
Support for structured output / JSON-schema-constrained decoding is not reported for Grok Code Fast 1 in our data source. Verify with xAI's official documentation before relying on it in production.
Can Grok Code Fast 1 accept image input?
No. Grok Code Fast 1 only accepts text as input. If you need image input, see our /capabilities/vision list for current vision-capable models.
Is Grok Code Fast 1 open-weight?
No. Grok Code Fast 1 is a proprietary model — only xAI (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.
What are the best alternatives to Grok Code Fast 1?
If Grok Code Fast 1 doesn't fit, consider Grok 4.1 Fast (Non-Reasoning), Grok 4, Grok 4 Fast (Non-Reasoning). Each one targets the same use case — see the Related links below for direct head-to-head pages.
Where does this data come from?
All numbers come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.
Explore more
More xAI models
- Grok 4.1 Fast (Non-Reasoning)$0.20 in / $0.50 out
- Grok 4$3.00 in / $15.00 out
- Grok 4 Fast (Non-Reasoning)$0.20 in / $0.50 out
- Grok 4.1 Fast (Reasoning)$0.18 in / $0.45 out
- Grok 3$3.00 in / $15.00 out
Capability lists this model is in
Zuletzt aktualisiert:
Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.