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.ccode.vip, group "Grok forwarding [machine translation] (on site: Grok 转发)" 17.175 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 CNY credit prices · Lowest 17.175 · median 17.175 · highest 17.175 · 1 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.

Filtering by provider: api.ccode.vip

Searching…

Browse all providers
Clear filters

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

Price range: lowest 17.175 · median 17.175 · highest 17.175 (1 quotes, CNY credits per million total tokens)

sites have comparable prices3471 sites list this model; approximately 1 operators
Lowest input price8.4CNY credits / 1M
Median of each provider’s lowest price8.4CNY 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
01api.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: 1×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

1 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?

api.ccode.vip, group "Grok 转发 (Grok forwarding)", 17.175 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 →