English
Log inFree trial
Country managers wanted: one partner per country. →

Token prices

grok-code-fast

grok-code-fast by xai: input 1.00 and output 2.00 USD per 1M tokens. List price on 2026-12-06.

Providerxai
Input · USD per 1M tokens1.00
Output · USD per 1M tokens2.00
Cached input · USD per 1M tokens0.200
Context window (tokens)256,000
SourceLiteLLM · 2026-12-06

Run the free budget check

xai

Get matched

Tell us the project. We name the provider that fits and stay until the budget holds.

Questions and answers

What does grok-code-fast cost per 1M tokens?

Input: USD 1.00. Output: USD 2.00. These are list prices on 2026-12-06.

What do 50 million tokens of grok-code-fast cost?

About USD 60.00, with 80% input and 20% output tokens at list price.

Where does the price come from?

From the open LiteLLM price file, which follows the providers' public price lists. Contract prices can differ.

One step before WhatsApp

Tell us who you are, so the answer fits.