xAI

Grok 4.3 token cost calculator

Grok 4.3 general-purpose tier with 1M context and competitive short-context rates.

Published list rates

Input

$1.25

per 1M tokens

Output

$2.50

per 1M tokens

Cached input

$0.2

per 1M tokens

Context window

1,000,000

tokens

Pricing source: xAI API pricing

Token cost calculator

List prices are stored in US dollars. Conversions use the units-per-dollar exchange-rate snapshot last checked 2026-07-31

Estimate from text

Calculate from a token total

Project monthly volume

Uses the input/output mix above and a 30-day month: requests per day × tokens per request × 30.

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 by token volume

Compare input-only, output-only, and 70/30 mixed workloads from one token to 100 billion. Intermediate bands make smaller production steps easier to price.

Tokens Input only Output only 70/30 mix
1 $0.000001 $0.000002 $0.000002
10 $0.000013 $0.000025 $0.000016
100 $0.000125 $0.00025 $0.000163
200 $0.00025 $0.0005 $0.000325
300 $0.000375 $0.00075 $0.000488
400 $0.0005 $0.001 $0.00065
500 $0.000625 $0.00125 $0.000813
1,000 $0.00125 $0.0025 $0.001625
2,000 $0.0025 $0.005 $0.00325
5,000 $0.00625 $0.0125 $0.008125
10,000 $0.0125 $0.025 $0.01625
25,000 $0.03125 $0.0625 $0.04063
50,000 $0.0625 $0.125 $0.08125
100,000 $0.125 $0.25 $0.1625
250,000 $0.3125 $0.625 $0.40625
500,000 $0.625 $1.25 $0.8125
1,000,000 $1.25 $2.50 $1.625
5,000,000 $6.25 $12.50 $8.125
10,000,000 $12.50 $25.00 $16.25
50,000,000 $62.50 $125.00 $81.25
100,000,000 $125.00 $250.00 $162.50
500,000,000 $625.00 $1,250.00 $812.50
1,000,000,000 $1,250.00 $2,500.00 $1,625.00
10,000,000,000 $12,500.00 $25,000.00 $16,250.00
100,000,000,000 $125,000.00 $250,000.00 $162,500.00

Tokens available by budget

See how many tokens a fixed budget buys at the published rates. Display-currency values use the current exchange-rate snapshot shown on the page.

Budget Input tokens Output tokens Mixed tokens (70/30)
$0.01 8,000 4,000 6,154
$0.1 80,000 40,000 61,538
$0.5 400,000 200,000 307,692
$1.00 800,000 400,000 615,385
$5.00 4M 2M 3.08M
$10.00 8M 4M 6.15M
$20.00 16M 8M 12.3M
$25.00 20M 10M 15.4M
$30.00 24M 12M 18.5M
$50.00 40M 20M 30.8M
$100.00 80M 40M 61.5M
$250.00 200M 100M 153.8M
$500.00 400M 200M 307.7M
$1,000.00 800M 400M 615.4M
$5,000.00 4B 2B 3.08B
$10,000.00 8B 4B 6.15B

Cost profile

  • A workload with 70% input and 30% output costs $1.625 per 1 million total tokens and $162.50 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 1,000,000-token context window with input alone would cost about $1.25, before any output.
  • Cached input is $0.2 per million, 84% below standard input when the workload meets the provider’s cache rules.

About xAI

Grok models from xAI with competitive API pricing and long context tiers. The Grok 4.3 page covers this meter in detail; the xAI hub gathers the rest of the lineup with a pricing table, list-rate ranges, and calculators side by side.

See all xAI models and the pricing table

How the text estimate works

For rough planning, CostUse uses about four characters per token and about 0.75 words per token. Actual tokenization changes with language, model, formatting, and special tokens.

Long-context (≥200k prompt) rates: $2.50 input / $0.40 cached / $5 output per 1M tokens.

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

Questions about this rate

How much is 1 million mixed tokens on Grok 4.3?

About $1.625 at a 70% input / 30% output mix using list prices verified 2026-07-29.

How much are 100 million mixed tokens?

About $162.50 at the same 70/30 mix — useful for rough monthly volume planning.

What is the Grok 4.3 price per million input and output tokens?

Input $1.25 and output $2.50 per 1M tokens (USD list rates). Use the calculator above with your real token mix.

Is the text-to-token estimate exact?

No. The estimator approximates tokens from characters and words. Real bills depend on the provider tokenizer, special tokens, and discounts (cache, batch, priority).

What does cost per token mean, and why is output usually more expensive?

Providers charge for tokens processed. Output tokens (generated replies) often cost several times more than input tokens (your prompt), so completion length can dominate the bill.

Related models