Intelligence des modèles d'IA

Grok Code Fast 1

xai/grok-code-fast-1

Par xAI · famille: grok · sorti 2025-08-28 · fin de connaissance: 2023-10

$0.200
Entrée / 1M jetons
$1.50
Sortie / 1M jetons
256K
Fenêtre de contexte
10K
Sortie max

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

Capacités

Tool callingRaisonnement? Sortie structuréePièces jointesPoids ouvertsContrôle de température
Modalités: entrée text · sortie text

Model fit scores

0–100 · higher is better

These 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.

ScenarioCostAssumption
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.

Détail des tarifs

Tarif recommandé de xai · grok-code-fast-1

$0.200
Entrée
$1.50
Sortie
$0.020
Lecture cache

Fournisseur le moins cher : github-copilot · Unknown entrée + Unknown sortie

Disponible chez 16 fournisseurs

FournisseurID modèle fournisseurEntrée / 1MSortie / 1MContextePublié le
xAI
xai
grok-code-fast-1$0.200$1.50256K2025-08-28
Azure
azure
grok-code-fast-1$0.200$1.50256K2025-08-28
OpenRouter
openrouter
x-ai/grok-code-fast-1$0.200$1.50256K2025-08-26
Vercel AI Gateway
vercel
xai/grok-code-fast-1$0.200$1.50256K2025-08-28
NanoGPT
nano-gpt
x-ai/grok-code-fast-1$0.200$1.50256K2025-08-28
Abacus
abacus
grok-code-fast-1$0.200$1.50256K2025-09-01
Jiekou.AI
jiekou
grok-code-fast-1$0.180$1.35256K2026-01
ZenMux
zenmux
x-ai/grok-code-fast-1$0.200$1.50256K2025-08-26
Qiniu
qiniu-ai
x-ai/grok-code-fast-1UnknownUnknown256K2025-09-02
Kilo Gateway
kilo
x-ai/grok-code-fast-1$0.200$1.50256K2025-08-26
GitHub Copilot
github-copilot
grok-code-fast-1UnknownUnknown128K2025-08-27
Poe
poe
xai/grok-code-fast-1$0.200$1.50256K2025-08-22
Helicone
helicone
grok-code-fast-1$0.200$1.50256K2024-08-25
FrogBot
frogbot
grok-code-fast-1$0.200$1.50256K2025-08-28
Azure Cognitive Services
azure-cognitive-services
grok-code-fast-1$0.200$1.50256K2025-08-28
LLM Gateway
llmgateway
grok-code-fast-1$0.200$1.50256K2025-08-28

Incohérences de données entre fournisseurs

  • 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

Les fournisseurs rapportent des valeurs différentes pour ce modèle. Les infos clés ci-dessus utilisent un fournisseur représentatif ; voir le tableau pour le détail par fournisseur.

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.

More xAI models

Capability lists this model is in

Dernière mise à jour :

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.