Consultants in a BoxGrokGrok guides
Grok API pricing

Grok API pricing: what tokens, long context and batch cost

Short answer

On Grok's API pricing page on December 6, 2026, grok-4.7 was listed at $2.00 input and $6.00 output per 1 million tokens, and grok-4.3 at $1.25 input and $2.50 output. A request whose prompt reaches 200k tokens is billed at the higher listed rate for all its tokens. The page lists a 20% batch discount on the text models.

Last reviewed against the vendors' own pages. See sources.

Listed output price per 1 million tokens

As listed on Grok's API pricing page, reviewed December 6, 2026, in US dollars. Long-context rows apply once the prompt reaches 200k tokens.

Show as table
ItemListed output price per 1 million tokens
grok-4.7, 4.6 and 4.5 (under 200k)$6.00
grok-4.7, 4.6 and 4.5 (200k and over)$12.00
grok-4.3 and 4.20 (under 200k)$2.50
grok-4.3 and 4.20 (200k and over)$5.00

What do the text models cost per 1 million tokens?

Per Grok's API pricing page, each text model lists an input, cached input and output price, with a higher row for long prompts.

ModelContextInputCached inputOutput
grok-4.7 and grok-4.6 (under 200k)500k$2.00$0.50$6.00
grok-4.7 and grok-4.6 (200k and over)500k$4.00$1.00$12.00
grok-4.5 (under 200k)500k$2.00$0.30$6.00
grok-4.5 (200k and over)500k$4.00$0.60$12.00
grok-4.3 and grok-4.20 variants (under 200k)1M$1.25$0.20$2.50
grok-4.3 and grok-4.20 variants (200k and over)1M$2.50$0.40$5.00

From Grok's API pricing page, December 6, 2026. Prices are the vendor's listed prices in US dollars and can change. The grok-4.20 variants listed were reasoning, non-reasoning and multi-agent.

How does long-context pricing work?

The page says requests whose prompt reaches the listed token threshold are billed at the higher rate for all tokens in the request, not just the tokens past the threshold.

  • The threshold listed is 200k prompt tokens for every text model.
  • So a 250k-token prompt is billed entirely at the higher input and output rows.
  • Keeping prompts under the threshold, for example by sending only the relevant documents, keeps you on the lower row.

From Grok's API pricing page, December 6, 2026. Prices are the vendor's listed prices in US dollars and can change.

What does the batch discount cover?

The page lists a 20% discount off standard rates on the text models above, and says it applies to text and language models only. Other models listed no batch discount.

  • Per Grok's Batch API page, most batch requests complete within 24 hours, on a best-effort basis that is not guaranteed.
  • The page lists limits: up to 50,000 requests and 200 MB per JSONL file, and 25 MB per request.
  • Not every model accepts batch requests; check the model's own page.

From Grok's pricing and Batch API pages, December 6, 2026. Limits and discounts can change.

How do you estimate a monthly bill?

Multiply the tokens you expect by the listed rate for the model you pick, then add any tool calls.

  1. Pick one task, such as summarizing support tickets, and count roughly how many tokens go in and come out per run.
  2. Multiply input tokens and output tokens by the listed price per 1 million for your model, using the cached rate for repeated prompt text.
  3. If the work can wait up to a day, compare the listed 20% batch discount.
  4. Add tool calls such as web search, using the tool price guide.
  5. Compare against OpenAI's listed rates or Claude's before you commit.

Frequently asked questions

How much does the Grok API cost?

On December 6, 2026 the pricing page listed grok-4.7 at $2.00 input and $6.00 output per 1 million tokens, and grok-4.3 at $1.25 input and $2.50 output.

Is there a batch discount?

The page lists 20% off standard rates for the text models, and says the discount applies to text and language models only.

Why did my long prompt cost more?

The page says requests whose prompt reaches 200k tokens are billed at the higher rate for all tokens in the request.

Is the API the same as a Grok subscription?

No. The API is billed by usage, as listed above. Consumer plan prices were not readable on the vendor's plans page when we reviewed it, so check the vendor for those.

Can you help us build with it?

Yes. We help small and mid-size businesses pick one useful task, connect it to their systems and keep an eye on cost. Book a call to start.

Need help with Grok?

We help small and mid-size businesses choose a model, connect it to their other systems and keep spend under control. See our Grok guides and services, and the Workflow automation service, and the AI implementation, and the OpenAI guides.

Sources

Last reviewed . Vendor plans and prices change often; every product claim and price on this page was checked against the vendor pages below on that date. Anything we could not verify was left out.

  1. API pricing (docs.grok.com)
  2. Models and pricing (docs.grok.com)
  3. Batch API (docs.grok.com)

Consultants in a Box is an independent consultancy. This page is not published or endorsed by the vendor. Figures shown are the vendor's listed prices, not ours. Grok is a trademark of its owner.

Setting up or connecting it?

Start with the free business analysis, or book a call and we will talk through your tools and a practical first step.

Book a free consultation

Tell us about your team and the software you need help with. We'll follow up to schedule a time to talk.

Open the form on its own page

Talk to a person

The fastest way is to pick a time. Prefer to write? Leave a message and we will email you back, usually the same business day.

Book a free call

By sending this you agree to our Terms and Privacy Policy.