Switch model

API PRICES

xAI · grok-4

Provider prices, cheapest first

Browse all models

xAI · grok-4 official price: not yet recorded. Cheapest relay: api.bianxie.ai, group "default" 1.5625 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-16). 34 sites have comparable prices; 71 sites list this model.Relay blended price uses 75% input and 25% output.

Price ranges per million tokens

Relay USD credit prices · Lowest 1.5625 · median 6 · highest 60 · 51 quotes USD / per million tokens, site credit

Relay CNY credit prices · Lowest 2.4 · median 6 · highest 33.2 · 17 quotes CNY / per million tokens, site credit

Official prices are the vendor's cash prices. Inference providers also list cash prices and can be compared directly. Relays list prices in site credit; what you actually pay depends on each site's top-up rate, so they cannot be compared with official prices directly.

Unit: USD credits per 1M tokens. These are site-credit prices; actual cost depends on each site’s top-up rate.

Searching…

Browse all providers

Blended price = input × 75% + output × 25%, without cache.

Price range: lowest 1.5625 · median 6 · highest 60 (51 quotes, USD credits per million total tokens)

sites have comparable prices3471 sites list this model; approximately 18 operators
Lowest input price1.25USD credits / 1M
Median of each provider’s lowest price3USD credits / 1M

Relays

Prices below are in site credit, not cash.

#ProviderPlan / conditionsInput ↑USD credits / 1MOutput USD credits / 1MCache readUSD credits / 1MBlendedUSD credits / 1MDetails
Recent price
49xinsuanai.comAsk or discussCollected:
Collected this cycle
View 4 plans
Official relay Claude [machine translation]Group on site: 官转克劳德
Official relay Claude [machine translation]Original: 官转克劳德
Operator pending verification
30150—60Median price ÷ this price: 0.1×Full prices and sources
Older price
01api.openai-ch.topAsk or discussCollected:
Carried previous price
Not updated this time; showing the previous price
View 5 plans
Azure-Ⅰ
Azure 0.2x rate multiplier group [machine translation]Original: Azure 0.2倍率分组
Operator pending verification
0.630.151.2Median price ÷ this price: 5×Full prices and sources
02api.openai-ch.topAsk or discussCollected:
Carried previous price
Not updated this time; showing the previous price
View 5 plans
Azure-Ⅲ
Azure 0.3x rate multiplier group [machine translation]Original: Azure 0.3倍率分组
Operator pending verification
0.94.50.2251.8Median price ÷ this price: 3.3×Full prices and sources
03api.openai-ch.topAsk or discussCollected:
Carried previous price
Not updated this time; showing the previous price
View 5 plans
Azure-VIP
5.1,5.2,sora2,image advanced model group [machine translation]Original: 5.1,5.2,sora2,image高级模型分组
Operator pending verification
1.57.50.3753Median price ÷ this price: 2×Full prices and sources
04api.openai-ch.topAsk or discussCollected:
Carried previous price
Not updated this time; showing the previous price
View 5 plans
Azure
Azure group [machine translation]Original: Azure分组
Operator pending verification
3150.756Median price ÷ this price: 1×Full prices and sources
04api.openai-ch.topAsk or discussCollected:
Carried previous price
Not updated this time; showing the previous price
View 5 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
3150.756Median price ÷ this price: 1×Full prices and sources
How this ranking works

All per-token prices: 97,455 prices from 871 sites (about 765 companies). 89,631 are ranked, from 861 sites (about 755 companies); 7,824 more are listed separately and not ranked. Prices collected up to 2026-10-17.

This model has 179 recorded prices; 76 can be compared directly (74 ranked, 2 listed separately). Not comparable yet: billed per request or another unit 37, price not parsed yet 29, scope of the official doc price not confirmed 16, ratio looks unset 15, display unit not confirmed 2, tiered by rules (see Tiered prices) 2

51 recent · 5 stale (older than 10 days, or not updated by this refresh) · 0 unverified timestamps. Minimum and median only count recent paid prices; older prices stay in the table. 0 zero-valued pairs are separately unverified, without proof of free eligibility. Timing does not verify payment, upstream identity or quality.

Prices are converted to site credits using each site’s published ratio. What you actually pay depends on its top-up rate. Input, output and cache prices in each row come from the same plan. Several sites run by the same company take one place in the ranking: its cheapest plan, with the other sites listed under it. We judge “same company” by identical prices, status pages or homepage code; this is not a legal finding. To see every site’s prices, choose “All plans” or filter by provider.

“Self-declared unofficial channel” means the plan name itself says “reverse-engineered” or similar. We have not verified their source or quality. Minimum and median only count regular plans.

Full methodology →

Sources not accepted this cycle and reasons

FAQ

Which API is cheapest for xAI · grok-4?

api.bianxie.ai, group "default", 1.5625 USD credit per million total tokens, observed 2026-10-16. 34 sites have comparable prices.

How do I use xAI · grok-4 in Claude Code or Codex?

Install Grandet Skill, then say "Connect the cheapest xAI · grok-4 API to Claude Code for me". Install Skill →