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,因此每项任务的成本高于价目表。
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
| Plan | Price | What you get |
|---|---|---|
| grok-4-7Our pick | Usage-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
|
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
最适合
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
Is xAI (Grok API) right for your business?
Answer a few questions and see whether xAI (Grok API) fits your stack and budget.