Switch model

API PRICES

xAI · grok-4.7

Provider prices, cheapest first

Browse all models

Price comparison

Official (cash)
Input 2 / output 6 USD/million tokensxAI ·
Lowest inference provider (cash)
Input 2 / output 6 USD/million tokensOpenRouter · Aggregator ·
Lowest relay (credit)
0.1 USD credit/million total tokensapi.wapq.cn "grok" ·

Official and inference-provider prices are cash; relay prices are site credit (USD credit or CNY credit), a different unit, compared separately. Relay prices are per million total tokens at 75% input and 25% output.

All official and inference price observations

xAI · grok-4.7 official price: input 2, output 6 USD per million tokens (xAI, observed 2026-10-24). Cheapest inference provider: OpenRouter, input 2, output 6 USD per million tokens. Cheapest relay: api.wapq.cn, group "grok" 0.1 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-23). 118 sites have comparable prices; 545 sites list this model.Relay blended price uses 75% input and 25% output. Conditions: Context tier: PROMPT_LT_200K · long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate · Context tier: OPENROUTER_DEFAULT_WHEN_NO_OVERRIDE · Additional web_search price 0.005 USD (per unit as declared by OpenRouter)

Price ranges per million tokens

Official cash prices · Lowest 3 · median 4.5 · highest 6 · 2 quotes USD / per million tokens

Inference provider cash prices · Lowest 3 · median 3 · highest 3 · 1 quotes USD / per million tokens

Relay USD credit prices · Lowest 0.1 · median 0.96 · highest 20 · 65 quotes USD / per million tokens, site credit

Relay CNY credit prices · Lowest 0.36 · median 0.75 · highest 3.75 · 21 quotes CNY / per million tokens, site credit

Official price

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
xAIStandard260.5—USD / 1M tokensContext tier: PROMPT_LT_200K · long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": "PROMPT_LT_200K",
  "processingMode": null,
  "conditionNotes": [
    "long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
xAIStandard4121—USD / 1M tokensContext tier: PROMPT_GE_200K · long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": "PROMPT_GE_200K",
  "processingMode": null,
  "conditionNotes": [
    "long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

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.

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and sourcevs official
OpenRouter · AggregatorStandard260.5—USD / 1M tokensContext tier: OPENROUTER_DEFAULT_WHEN_NO_OVERRIDE · Additional web_search price 0.005 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.0000005",
    "input": "0.000002",
    "output": "0.000006"
  },
  "conditions": [],
  "contextTier": "OPENROUTER_DEFAULT_WHEN_NO_OVERRIDE",
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.005 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
Other tariffs and prices to review

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · AggregatorStandard4121—USD / 1M tokensContext tier: OPENROUTER_MIN_PROMPT_TOKENS_200000 · OpenRouter override for prompts from 200000 tokens (boundary inclusivity not stated) · Additional web_search price 0.005 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.000001",
    "input": "0.000004",
    "output": "0.000012"
  },
  "conditions": [
    "OpenRouter override for prompts from 200000 tokens (boundary inclusivity not stated)"
  ],
  "contextTier": "OPENROUTER_MIN_PROMPT_TOKENS_200000",
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.005 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
Older official and inference provider prices

Earlier price observations and their original conditions

Official price

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
xAIStandard260.5—USD / 1M tokensContext tier: PROMPT_LT_200K · long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": "PROMPT_LT_200K",
  "processingMode": null,
  "conditionNotes": [
    "long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
xAIStandard4121—USD / 1M tokensContext tier: PROMPT_GE_200K · long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": "PROMPT_GE_200K",
  "processingMode": null,
  "conditionNotes": [
    "long context pricing: a prompt reaching 200k tokens bills all tokens of the request at the higher rate"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · AggregatorStandard260.5—USD / 1M tokensContext tier: OPENROUTER_DEFAULT_WHEN_NO_OVERRIDE · Additional web_search price 0.005 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.0000005",
    "input": "0.000002",
    "output": "0.000006"
  },
  "conditions": [],
  "contextTier": "OPENROUTER_DEFAULT_WHEN_NO_OVERRIDE",
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.005 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
OpenRouter · AggregatorStandard4121—USD / 1M tokensContext tier: OPENROUTER_MIN_PROMPT_TOKENS_200000 · OpenRouter override for prompts from 200000 tokens (boundary inclusivity not stated) · Additional web_search price 0.005 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.000001",
    "input": "0.000004",
    "output": "0.000012"
  },
  "conditions": [
    "OpenRouter override for prompts from 200000 tokens (boundary inclusivity not stated)"
  ],
  "contextTier": "OPENROUTER_MIN_PROMPT_TOKENS_200000",
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.005 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

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 0.1 · median 0.96 · highest 20 (65 quotes, USD credits per million total tokens)

sites have comparable prices118545 sites list this model; approximately 75 operators
Lowest input price0.1USD credits / 1M
Median of each provider’s lowest price0.64USD 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
24op.aancn.cnAsk or discussCollected:
Collected this cycle
View 1 plans
GROK group [machine translation]Group on site: GROK 分组
[heavy pool] not dumbed down, highly stable, grok-4.7 [machine translation]Original: 【heavy池】不降智,高稳定,grok-4.7
Operator pending verification
0.41.20.10.6Median price ÷ this price: 1.6×Full prices and sources
24token123.cfdAsk or discussCollected:
Collected this cycle
View 1 plans
grok group [machine translation]Group on site: grok分组
grok-heavy paid group, 4.8 now live [machine translation]Original: grok-heavy 付费分组,4.8已上线
Operator pending verification
0.41.20.10.6Median price ÷ this price: 1.6×Full prices and sources
24vbcode.ioAsk or discussCollected:
Collected this cycle
View 1 plans
grok-heavy
grok-heavy
Operator pending verification
0.41.20.10.6Median price ÷ this price: 1.6×Full prices and sources
29anticode.cnAsk or discussCollected:
Collected this cycle
View 1 plans
Grok
xAI's models for reasoning, real-time information, and general-purpose tasks.
Operator pending verification
0.51.5—0.75Median price ÷ this price: 1.3×Full prices and sources
29gpt.gptzzz.xyzAsk or discussCollected:
Collected this cycle
View 1 plans
GPT group [machine translation]Group on site: GPT分组
GPT group [machine translation]Original: GPT分组
Operator pending verification
0.51.50.250.75Median price ÷ this price: 1.3×Full prices and sources
29openoneapi.comAsk or discussCollected:
Collected this cycle
View 1 plans
grok not dumbed down [machine translation]Group on site: grok-不降智 Operator pending verification0.51.50.1250.75Median price ÷ this price: 1.3×Full prices and sources
29zl.wonderful.edu.kgAsk or discussCollected:
Collected this cycle
View 1 plans
Grok
[Grok models] supports Grok4.6 [machine translation]Original: 【Grok模型】支持Grok4.6
Operator pending verification
0.51.50.1250.75Median price ÷ this price: 1.3×Full prices and sources
33sudobug.topAsk or discussCollected:
Collected this cycle
View 1 plans
Grok Heavy
Grok4.5\4.6 image generation 2 fen (0.02 CNY), video usage-based [machine translation]Original: Grok4.5\4.6 生图2分,视频走量
Operator pending verification
0.641.920.160.96Median price ÷ this price: 1×Full prices and sources
34chunfeng.mentalout.topAsk or discussCollected:
Collected this cycle
View 1 plans
Grok-Heavy
Full-strength Grok, obedient and easy to use [machine translation]Original: 满血Grok,听话好用
Operator pending verification
0.72.10.071.05Median price ÷ this price: 0.9×Full prices and sources
34sxcode.onlineAsk or discussCollected:
Collected this cycle
View 1 plans
grok-heavy
grok
Operator pending verification
0.72.10.1751.05Median price ÷ this price: 0.9×Full prices and sources
36ai.marioya.cc.cdAsk or discussCollected:
Collected this cycle
View 2 plans
anthropic-default [machine translation]Group on site: anthropic-默认
All models have a default channel [machine translation]Original: 所有模型都有 默认的渠道
Operator pending verification
0.82.4—1.2Median price ÷ this price: 0.8×Full prices and sources
36xapi-token.xyzAsk or discussCollected:
Collected this cycle
View 1 plans
grok
grok 0.4x [machine translation]Original: grok 0.4倍
Operator pending verification
0.82.4—1.2Median price ÷ this price: 0.8×Full prices and sources
38api.aipaibox.comAsk or discussCollected:
Collected this cycle
View 1 plans
grokOperator pending verification130.251.5Median price ÷ this price: 0.6×Full prices and sources
39aitokenyes.comAsk or discussCollected:
Collected this cycle
View 1 plans
grok group [machine translation]Group on site: grok分组
If it lags, use grok for now [machine translation]Original: 卡的话先用grok盯着
Operator pending verification
1.23.60.31.8Median price ÷ this price: 0.5×Full prices and sources
40airouter.cloudAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
40api.aimodelserver.comAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group, supports openai, grok, claude models [machine translation]Original: 默认分组,支持openai,grok,claude模型
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
40api.aipipe.ioAsk or discussCollected:
Collected this cycle
View 1 plans
Xai
grok series [machine translation]Original: grok系列
Operator pending verification
260.23Median price ÷ this price: 0.3×Full prices and sources
40api.clawsocket.comAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
40api.ouu.chAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
40business.newcli.comAsk or discussCollected:
Collected this cycle
View 1 plans
grokOperator pending verification260.53Median price ÷ this price: 0.3×Full prices and sources
40easymax.aiAsk or discussCollected:
Collected this cycle
View 1 plans
grok
Xai Grok official models [machine translation]Original: Xai Grok官方模型
Operator pending verification
26—3Median price ÷ this price: 0.3×Full prices and sources
40happyapi.orgAsk or discussCollected:
Collected this cycle
View 2 plans
1 more site of the same company

Basis: 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
260.53Median price ÷ this price: 0.3×Full prices and sources
40hk.apitoken.aiAsk or discussCollected:
Collected this cycle
View 4 plans
bi
bi
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
40hone.vvvv.eeAsk or discussCollected:
Collected this cycle
View 1 plans
Grok super
Grok models Grok super pool [machine translation]Original: Grok模型Grok super池
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
40oneai.nyc.mnAsk or discussCollected:
Collected this cycle
View 2 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
260.53Median price ÷ this price: 0.3×Full prices and sources
Special groups · 13 rows · not ranked

These plans are marked as test, internal, disabled, gated by top-up or membership, or have a near-zero ratio. They may not be purchasable or stable, so they are listed separately and left out of the ranking and statistics.

  • near-zero-ratio group: 10 rows
  • Free declaration, listed separately: 3 rows
  • zero-ratio group: 3 rows
  • api.wapq.cn · Perk [machine translation]Group on site: 福利 · grok-4.7 · Input 0 / Output 0 USD credits / 1M
  • api.wapq.cn · Provided by Daopiaopiao [machine translation]Group on site: 道飘飘提供 · [Get rich]grok-4.7 [machine translation]Model ID on site: [暴富]grok-4.7 · Input 0 / Output 0 USD credits / 1M
  • api.wapq.cn · Perk [machine translation]Group on site: 福利 · [Get rich]grok-4.7 [machine translation]Model ID on site: [暴富]grok-4.7 · Input 0 / Output 0 USD credits / 1M
  • api-top.com · Grok Enjoy [machine translation]Group on site: Grok畅享 · grok-4.7 · Input 0.004 / Output 0.012 USD credits / 1M
  • topapi.io · Grok Enjoy [machine translation]Group on site: Grok畅享 · grok-4.7 · Input 0.004 / Output 0.012 USD credits / 1M
  • llm-api.aigw2.cn · Grok Free · grok-4.7 · Input 0.02 / Output 0.06 USD credits / 1M
  • llmhub.ltd · grok · grok-4.7 · Input 0.02 / Output 0.06 USD credits / 1M
  • api-top.com · Grok perk [machine translation]Group on site: Grok福利 · grok-4.7 · Input 0.04 / Output 0.12 USD credits / 1M
  • api.beibeiai.top · grok free · grok-4.7 · Input 0.04 / Output 0.12 USD credits / 1M
  • topapi.io · Grok perk [machine translation]Group on site: Grok福利 · grok-4.7 · Input 0.04 / Output 0.12 USD credits / 1M
View all 13 rows →
How this ranking works

All per-token prices: 93,968 prices from 854 sites (about 751 companies). 84,786 are ranked, from 838 sites (about 736 companies); 9,182 more are listed separately and not ranked. Prices collected up to 2026-10-24.

This model has 941 recorded prices; 202 can be compared directly (188 ranked, 14 listed separately). Not comparable yet: tiered by rules (see Tiered prices) 408, price not parsed yet 168, new price under review; showing the previous one 76, billed per request or another unit 35, ratio looks unset 24, scope of the official doc price not confirmed 16, display unit not confirmed 8

145 recent · 12 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

Manufacturer documentation and lifecycle

These manufacturer statements do not verify relay backends, availability, GPU ownership or cash eligibility. Aliases are never merged automatically.

Latest generation in documentation · Grok

Grok 4.7 · grok-4.7

Documentation checked: 2026-10-23T21:48:39.619Z · 2026-10-23T21:48:42.098Z

Download complete public documentation archive, including unmatched items

FAQ

Which API is cheapest for xAI · grok-4.7?

api.wapq.cn, group "grok", 0.1 USD credit per million total tokens, observed 2026-10-23. 118 sites have comparable prices.

What is the official price for xAI · grok-4.7?

Input 2, output 6 USD per million tokens, checked 2026-10-24. Lowest inference provider: OpenRouter, input 2, output 6 USD per million tokens.

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

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