API PRICES
xAI · grok-4
Provider prices, cheapest first
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 · 17 quotes USD / per million tokens, site credit
Relay CNY credit prices · Lowest 2.4 · median 6 · highest 27 · 10 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.
Price range: lowest 1.5625 · median 6 · highest 60 (17 quotes, USD credits per million total tokens)
Relays
Prices below are in site credit, not cash.
| # | Provider | Plan / conditions | Input ↑USD credits / 1M | Output USD credits / 1M | Cache readUSD credits / 1M | BlendedUSD credits / 1M | Details |
|---|---|---|---|---|---|---|---|
| Recent price | |||||||
| 01 | api.bianxie.aiAsk or discussCollected: Collected this cycle View 1 plans | default default Operator pending verification | 1.25 | 2.5 | — | 1.5625Median price ÷ this price: 3.8× | Full prices and sources |
| 02 | api.hopeai.ccAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 2 | — | 2Median price ÷ this price: 3× | Full prices and sources |
| 02 | happyapi.orgAsk or discussCollected: Collected this cycle View 2 plans 1 more site of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 10 | 0.3 | 4Median price ÷ this price: 1.5× | Full prices and sources |
| 04 | hk.apitoken.aiAsk or discussCollected: Collected this cycle View 4 plans | bi bi Operator pending verification | 3 | 12 | — | 5.25Median price ÷ this price: 1.1× | Full prices and sources |
| 04 | aigcbest.topAsk or discussCollected: Collected this cycle View 2 plans 2 more sites of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default ⭐ Recommended | all-model automatic load optimization [machine translation]Original: ⭐ 推荐 | 全模型自动负载优化 Operator pending verification | 3 | 15 | 0.75 | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | airouter.cloudAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 3 | 15 | — | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | api.ai-gaochao.cnAsk or discussCollected: Collected this cycle View 17 plans | Evan Evan Operator pending verification | 3 | 15 | 0.75 | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | api.eido.topAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 3 | 15 | — | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | api.xhuoai.comAsk or discussCollected: Collected this cycle View 2 plans | default Default group, supports all common models, OpenAI special-price channel (AZ Microsoft channel) Claude Code, Gemini stable channel (GCP/Velax), top value-for-money choice, 20% of list price, rate multiplier 1.0 [machine translation]Original: 默认分组,支持所有常用模型,OpenAI特价渠道(AZ微软渠道)Claude Code,Gemini稳定渠道(GCP/Velax),性价比首选,2折,倍率1.0 Operator pending verification | 3 | 15 | — | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | api.xistree.hkAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 3 | 15 | — | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | poloai.topAsk or discussCollected: Collected this cycle View 1 plans 2 more sites of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | grok Grok reverse-engineered account pool [machine translation]Original: Grok逆号池 Operator pending verification | 3 | 15 | 0.75 | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | sg.uiuiapi.comAsk or discussCollected: Collected this cycle View 1 plans | default ⭐ Default (mixed channels) | Azure + official models [machine translation]Original: ⭐ 默认(混渠道)| Azure + 官模型 Operator pending verification | 3 | 15 | 0.75 | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | xinsuanai.comAsk or discussCollected: Collected this cycle View 4 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 3 | 15 | — | 6Median price ÷ this price: 1× | Full prices and sources |
| 04 | zen-ai.topAsk or discussCollected: Collected this cycle View 2 plans | default ✨az official relay + others, 1 yuan per dao (US dollar) [machine translation]Original: ✨az官转+其他模型, 1元一刀 Operator pending verification | 3 | 15 | — | 6Median price ÷ this price: 1× | Full prices and sources |
| 15 | api.luoqianyi.qzz.ioAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 5 | 5 | — | 5Median price ÷ this price: 1.2× | Full prices and sources |
| 16 | ai.ufoai.onlineAsk or discussCollected: Collected this cycle View 1 plans | Grok[official relay] [machine translation]Group on site: Grok[官转] Grok[official relay], 29% cheaper than official [machine translation]Original: Grok[官转],比官方便宜29% Operator pending verification | 30 | 150 | — | 60Median price ÷ this price: 0.1× | Full prices and sources |
| 16 | leetai.storeAsk or discussCollected: Collected this cycle View 1 plans | openrouter Name on site: x-ai/grok-4 OpenRouter group [machine translation]Original: OpenRouter分组 Operator pending verification | 30 | 150 | 7.5 | 60Median price ÷ this price: 0.1× | Full prices and sources |
| Older price | |||||||
| 01 | api.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.6 | 3 | 0.15 | 1.2Median price ÷ this price: 5× | 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.
Switch model
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 →