xAIPaidOperational

Grok Code Fast 1

API model name: grok-code-fast-1

Grok Code Fast 1 is xAI's chat model, served on the Api.Airforce unified API. It is priced at $0.33 per million input tokens and $2.31 per million output tokens. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$0.33
Output / 1M tokens
$2.31
Cache read / 1M tokens
$0.03

Specifications

Provider
xAI
Type
chat model

Benchmarks

Independent evaluations and measured speed from Artificial Analysis.

Intelligence Index
21.6/100
Math Index
43.3/100
MMLU-Pro79%
GPQA Diamond73%
Humanity's Last Exam8%
LiveCodeBench66%
AIME 202543%

Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)

What is Grok Code Fast 1 used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.

Grok Code Fast 1 vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
Grok Code Fast 121.6$0.33$2.31
Grok 2 Vision$6.21$31.11
Grok 318.4$4.62$23.31
Grok 3 Deepsearch$0.42$2.13

Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.

Related models

Grok Code Fast 1 — frequently asked questions

How much does Grok Code Fast 1 cost?
Grok Code Fast 1 is billed pay-as-you-go at $0.33 per 1M input tokens and $2.31 per 1M output tokens. There is no subscription — you only pay for what you use.
What can Grok Code Fast 1 do?
Grok Code Fast 1 is xAI's chat model, accessible through the Api.Airforce API.
Is Grok Code Fast 1 free to use?
Grok Code Fast 1 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
How do I use Grok Code Fast 1 via the API?
Grok Code Fast 1 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID grok-code-fast-1 with your Api.Airforce API key.
Who makes Grok Code Fast 1?
Grok Code Fast 1 is xAI's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.