xAI

Grok Build 0.1 token cost

xAI Build-oriented model priced for iterative coding and tool-heavy sessions.

Published list rates

Input

$1.00

per 1M tokens

Output

$2.00

per 1M tokens

Cached input

$0.2

per 1M tokens

Context window

256,000

tokens

Pricing source: xAI API pricing

Estimate cost

Estimate from text

Calculate from a token total

Project monthly volume

Daily requests × tokens per request × 30 days.

Estimated cost

Estimated tokens
Characters
Words
Input tokens
Output tokens
Input cost
Output cost
Total cost
Combined price per 1M tokens
Estimated monthly cost
Estimated daily cost

Cost as volume grows

Grok Build 0.1 at rising volume: prompt-only, reply-only, and a mixed chat (70% in, 30% out).

Tokens Input only Output only Mix (70% in / 30% out)
1 $0.000001 $0.000002 $0.000001
10 $0.00001 $0.00002 $0.000013
100 $0.0001 $0.0002 $0.00013
200 $0.0002 $0.0004 $0.00026
300 $0.0003 $0.0006 $0.00039
400 $0.0004 $0.0008 $0.00052
500 $0.0005 $0.001 $0.00065
1,000 $0.001 $0.002 $0.0013
2,000 $0.002 $0.004 $0.0026
5,000 $0.005 $0.01 $0.0065
10,000 $0.01 $0.02 $0.013
25,000 $0.025 $0.05 $0.0325
50,000 $0.05 $0.1 $0.065
100,000 $0.1 $0.2 $0.13
250,000 $0.25 $0.5 $0.325
500,000 $0.5 $1.00 $0.65
1,000,000 $1.00 $2.00 $1.30
5,000,000 $5.00 $10.00 $6.50
10,000,000 $10.00 $20.00 $13.00
50,000,000 $50.00 $100.00 $65.00
100,000,000 $100.00 $200.00 $130.00
500,000,000 $500.00 $1,000.00 $650.00
1,000,000,000 $1,000.00 $2,000.00 $1,300.00
10,000,000,000 $10,000.00 $20,000.00 $13,000.00
100,000,000,000 $100,000.00 $200,000.00 $130,000.00

Tokens for a fixed budget

Tokens Grok Build 0.1 can process for a set budget — send-only, reply-only, and a 70/30 mix.

Budget Input tokens Output tokens Mixed tokens (70/30)
$0.01 10,000 5,000 7,692
$0.1 100,000 50,000 76,923
$0.5 500,000 250,000 384,615
$1.00 1M 500,000 769,231
$5.00 5M 2.5M 3.85M
$10.00 10M 5M 7.69M
$20.00 20M 10M 15.4M
$25.00 25M 12.5M 19.2M
$30.00 30M 15M 23.1M
$50.00 50M 25M 38.5M
$100.00 100M 50M 76.9M
$250.00 250M 125M 192.3M
$500.00 500M 250M 384.6M
$1,000.00 1B 500M 769.2M
$5,000.00 5B 2.5B 3.85B
$10,000.00 10B 5B 7.69B

At these rates

  • A workload with 70% input and 30% output costs $1.30 per 1 million total tokens and $130.00 per 100 million.
  • At the same token count, output costs 2 times the input rate. Response length therefore deserves its own budget limit.
  • Filling the 256,000-token context window with input alone would cost about $0.256, before any output.
  • Cached input is $0.2 per million, 80% below standard input when the workload meets the provider’s cache rules.

xAI

Grok models from xAI with competitive API pricing and long context tiers.

All xAI models

These figures use public list prices. Cache eligibility, batch or priority modes, long-context surcharges, discounts, and regional billing can change the invoice.

Related models