Switch model

API PRICES

xAI · grok-4

Provider prices, cheapest first

Browse all models

xAI · grok-4 official price: not yet recorded. Cheapest relay: aifast.site, group "default" 2.4 CNY_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: CNY 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 2.4 · median 6 · highest 27 (10 quotes, CNY credits per million total tokens)

sites have comparable prices3471 sites list this model; approximately 10 operators
Lowest input price1.2CNY credits / 1M
Median of each provider’s lowest price3CNY credits / 1M

Relays

Prices below are in site credit, not cash.

#ProviderPlan / conditionsInput ↑CNY credits / 1MOutput CNY credits / 1MCache readCNY credits / 1MBlendedCNY credits / 1MDetails
Recent price
01aifast.siteAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group, 0.4 yuan per dao (US dollar) [machine translation]Original: 默认分组,0.4元一刀
Operator pending verification
1.26—2.4Median price ÷ this price: 2.5×Full prices and sources
02i.v1api.ccAsk or discussCollected:
Collected this cycle
View 4 plans
china
Chinese models, Alibaba channel, Kimi/Minimax/Deepseek, 60% of list price, rate multiplier 0.6 [machine translation]Original: 国产模型,阿里渠道,Kimi/Minimax/Deepseek,6折,倍率0.6
Operator pending verification
1.89—3.6Median price ÷ this price: 1.7×Full prices and sources
02proaiapi.techAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group (for simple tasks, debugging, trial, personal learning, entry-level work tasks, etc.; low cost) [machine translation]Original: 默认分组 (适合简单任务、调试、体验、个人学习、初级工作任务等场景,成本低)
Operator pending verification
1.89—3.6Median price ÷ this price: 1.7×Full prices and sources
04ai.soruxgpt.comAsk or discussCollected:
Collected this cycle
View 2 plans
default
General channel [machine translation]Original: 通用渠道
Operator pending verification
210—4Median price ÷ this price: 1.5×Full prices and sources
05hy88.myAsk or discussCollected:
Collected this cycle
View 1 plans
grok_officialOperator pending verification3150.756Median price ÷ this price: 1×Full prices and sources
05www.ggwk1.onlineAsk or discussCollected:
Collected this cycle
View 4 plans
a all-model combined group-1x rate multiplier [machine translation]Group on site: a全模型综合组-1倍率
a all-model combined group-1x rate multiplier [machine translation]Original: a全模型综合组-1倍率
Operator pending verification
315—6Median price ÷ this price: 1×Full prices and sources
078s.hkAsk or discussCollected:
Collected this cycle
View 1 plans
All models auto [machine translation]Group on site: 全模型自动
Recommended|all-model auto load optimization [machine translation]Original: 推荐|全模型自动负载优化
Operator pending verification
6301.512Median price ÷ this price: 0.5×Full prices and sources
08api.34ku.comAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
7.839—15.6Median price ÷ this price: 0.4×Full prices and sources
09api.ccode.vipAsk or discussCollected:
Collected this cycle
View 1 plans
Grok forwarding [machine translation]Group on site: Grok 转发
Grok Official Repost - Grok forwarding [machine translation]Original: Grok Official Repost - Grok 转发
Operator pending verification
8.443.5—17.175Median price ÷ this price: 0.3×Full prices and sources
10www.moxin.studioAsk or discussCollected:
Collected this cycle
View 1 plans
Grok[official] [machine translation]Group on site: Grok[官]
Grok usage-based, official key, no resources for now [machine translation]Original: Grok按量 官key 暂无资源
Operator pending verification
13.567.5—27Median price ÷ this price: 0.2×Full prices and sources
Related variants · 2 rows · not ranked

These are special editions of the model (thinking, max, search, batch, long context, free, etc.). They are priced differently from the base model, so they are listed separately and not ranked. Names that only add an effort level such as low, high or nothinking are compared with the base model.

  • grok-4-search (-search · search or tool): 2 rows
  • www.ggwk1.online · grok group [machine translation]Group on site: grok组 · grok-4-search · Input 3 / Output 15 CNY credits / 1M
  • www.ggwk1.online · a all-model combined group-1x rate multiplier [machine translation]Group on site: a全模型综合组-1倍率 · grok-4-search · Input 3 / Output 15 CNY credits / 1M
View all 2 rows →
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

17 recent · 0 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?

aifast.site, group "default", 2.4 CNY 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 →