跳到主要内容
Model & API platforms

xAI (Grok API) pricing

面向技术团队

xAI (Grok API) is priced per use rather than per month; the rate for each option is in the table below. Checked 2026年9月22日 against the official pricing page.

Grok 4.7,每 1M token 收费 $2/$6,具有 500K 上下文——前沿级知识工作,定价低于 Claude 和 GPT 旗舰模型。不是最便宜的大批量选项;xAI 报告在 Terminal-Bench 4.0 上达到 38%,并且它会消耗大量推理 token,因此每项任务的成本高于价目表。

Our take

Score 3.5 out of 5How we score

The xAI API gives you Grok models with a large context window at prices below the Claude and GPT flagships. It is a solid option for knowledge work over long documents; it is not the cheapest API per token.

Plans and prices

xAI (Grok API) plans, checked 2026年9月22日. Official pricing page 价格为指示性,可能变化。请务必在提供商网站确认。
PlanPriceWhat you get
grok-4-7Our pickUsage-based$2/1M input, $6/1M output for prompts under 200k tokens; $4/$12 above 200k; Grok 4.6 still served at the same price

500K context

  • OpenAI-compatible endpoint
  • Tool calls
  • Reasoning effort low/medium/high/xhigh
  • Fast variant only in Cursor and Grok Build

Pick this tier: grok-4-7

The current Grok model is the main option on the API; use the standard variant unless latency really matters.

What works

  • Large context window
  • Lower per-token price than the leading flagships
  • OpenAI-compatible endpoint
  • Tool calls supported

What to watch

  • The fast variant is not on the public API
  • Fewer model sizes than the biggest providers
  • Not the lowest-cost option for bulk work

Skip it if

  • You need the lowest cost per token
  • You are not building with an API
  • You want a consumer chat subscription

最适合

Research competitorsCreate content fasterReply to customers faster

xAI (Grok API) pricing questions

How much does xAI (Grok API) cost in 2026?
xAI (Grok API) is priced per use rather than per month; the rate for each option is in the table below. Checked 2026年9月22日 against the official pricing page.
Is the xAI API compatible with OpenAI clients?
Yes. xAI offers an OpenAI-compatible endpoint, so most OpenAI client libraries work by changing the base URL and key.
Can I use the fast Grok variant through the API?
Not for the current model. xAI offers the fast variant of its newest Grok only inside Cursor and Grok Build; on the public API you use the standard model.

Reviewed 2026年9月22日 by the Dapols team. Report a price change

关于此工具的证据

目录状态
推荐——可作为方案中的首选
价格最后检查时间
2026年9月22日
能力最后审查时间
2026年8月13日
证据置信度
中——已核实,但供应商经常更改方案

分批重新核对。我们为每次检查标注日期,并且绝不收取展示费用。 我们如何为工具排名

Is xAI (Grok API) right for your business?

Answer a few questions and see whether xAI (Grok API) fits your stack and budget.

Find my plan