Grok · Flagship · 500K context window

Grok 4.6 pricing for math reasoning

$0.0210 per call at 1,500 input / 3,000 output tokens.

Per call

$0.0210

10K calls/mo

$210

Cache savings

75% off input

Batch savings

50% off all

Calculate your Grok 4.6 costs

Adjust token counts, volume, and discount toggles to model your math reasoning spend. Prices verified daily against provider pricing pages.

Configure your usage

1,500
100100K
3,000
5050K
10,000
1001M

Estimated cost

Monthly cost
$210
10,000 calls/month
Cost per call$0.021
Daily cost$7
Input rate$2.00/MTok
Output rate$6.00/MTok
Analyze your real spend

Quick start

Call Grok 4.6 with the OpenAI Python SDK pointed at api.x.ai:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.x.ai/v1",
    api_key=os.environ["XAI_API_KEY"],
)
response = client.chat.completions.create(
    model="grok-4.6",
    max_tokens=3000,
    messages=[{"role": "user", "content": "Your prompt here"}]
)
# Cost: ~$0.0210 per call at standard rates
# Input:  $2.00/MTok
# Output: $6.00/MTok

What drives math reasoning cost

Short problems, long solutions. Input is trivial and output is large because the derivation is the answer, so output rate is effectively the only price that matters. Models differ sharply in how much they show their working, which means two models at the same output rate can differ substantially in real cost per problem.

For Grok 4.6 specifically, that means output tokens cost 3.0x more than input, at $6.00 vs $2.00 per MTok. At this use case’s 1,500/3,000 token split, output accounts for 86% of the $0.0210 per-call cost.

Complete Grok 4.6 pricing breakdown

Standard token rates

Direction$/MTokTokens per call
Input$2.001,500
Output$6.003,000

Prompt caching: 75% off input tokens

Caching drops input cost from $2.00 to $0.50/MTok. For repeated system prompts, that saves $0.002250 per call.

Batch API: 50% off all tokens

Submit requests asynchronously and receive 50% off all token costs. This works best for offline pipelines where latency requirements are flexible.

Monthly cost projections

Monthly volumeCost per callStandard monthlyCached monthlyYou save with caching
10,000 calls$0.0210$210$187.5$22.5
50,000 calls$0.0210$1,050$937.5$112.5
100,000 calls$0.0210$2,100$1,875$225
500,000 calls$0.0210$10,500$9,375$1,125
1,000,000 calls$0.0210$21,000$18,750$2,250

Grok 4.6 quality benchmarks for math reasoning

Use Grok 4.6 for math reasoning

Scores 91/100 (rank #5 of 88). Strong pick for production math reasoning workloads.

Top-ranked: GPT 6 Astra (93/100) at $0.1650/call

Performance across all task types

Grok 4.6 scores by task type. Math Reasoning highlighted.

Reasoning *91Creative Writing78Extraction72Summarization70Code Generation65
Task typeConfidence scoreRank out of 88
Reasoning(current page)91/100#5
Creative Writing78/100#5
Extraction72/100#21
Summarization70/100#11
Code Generation65/100#9

Confidence scores are a third-party benchmark snapshot from week 26 of 2026. This snapshot is 17 weeks old, so treat the scores as directional and validate against your own evals.

Alternative models for math reasoning

21 models score 80+ on math reasoning benchmarks, sorted by input rate. Cheapest: GPT 5.6 Luna (81% less, 86/100 quality).

ModelProviderInput $/MTokOutput $/MTokQualityPer callvs Grok
GPT 5.6 LunaGPT$0.20$1.2086/100$0.00390081% cheaper
Gemini 3.6 FlashGemini$0.75$3.7585/100$0.012441% cheaper
Gemini 3.7 FlashGemini$0.75$3.7588/100$0.012441% cheaper
Gemini 3.8 FlashGemini$0.75$3.7589/100$0.012441% cheaper
Claude Sonnet 5Claude$2.00$10.0089/100$0.033057% more
GPT 5.6 TerraGPT$2.00$12.0091/100$0.039086% more
GPT 6 SolGPT$2.00$10.0089/100$0.033057% more
Gemini 3.1 ProGemini$2.00$12.0084/100$0.039086% more
Grok 4.5Grok$2.00$6.0087/100$0.0210same cost
GPT 5.4GPT$2.50$15.0088/100$0.0488132% more
Claude Sonnet 4.6Claude$3.00$15.0085/100$0.0495136% more
Claude Opus 5.5Claude$4.00$20.0092/100$0.0660214% more
GPT 5.6 SolGPT$4.00$20.0092/100$0.0660214% more
Claude Opus 4.8Claude$5.00$25.0089/100$0.0825293% more
Claude Opus 5Claude$5.00$25.0091/100$0.0825293% more
Claude Opus 4.7Claude$5.00$25.0087/100$0.0825293% more
Claude Opus 4.6Claude$5.00$25.0089/100$0.0825293% more
GPT 5.5GPT$5.00$30.0090/100$0.0975364% more
Claude Fable 5.1Claude$10.00$50.0092/100$0.1650686% more
Claude Fable 5Claude$10.00$50.0090/100$0.1650686% more
GPT 6 AstraGPT$10.00$50.0093/100$0.1650686% more

About Grok 4.6

Provider

Grok

Tier

Flagship

Context

500K tokens

Released

Aug 2026

Other models from Grok

ModelTierInput $/MTokOutput $/MTokContext
Grok 4.5Flagship$2.00$6.00500K
Grok 4.3Mid-tier$1.25$2.501M
Grok Build 0.1Fast / Budget$1.00$2.00256K
Grok 4.20 Non-ReasoningMid-tier$1.25$2.501M
Grok 4.20 ReasoningMid-tier$1.25$2.501M
Grok 4.20 Multi-AgentMid-tier$1.25$2.501M
Grok 4.7Flagship$2.00$6.00500K

You can compare Grok 4.6 head-to-head against any other model on our model comparison pages, or track how pricing has changed over time on the pricing history tracker.

Frequently asked questions

How much does Grok 4.6 cost for math reasoning per API call?

A typical math reasoning call using Grok 4.6 costs about $0.0210 per call. This estimate uses 1,500 input tokens and 3,000 output tokens at standard rates. Standard rates are $2.00 per million input tokens and $6.00 per million output tokens.

Is Grok 4.6 the best model for math reasoning?

Grok 4.6 scores 91 out of 100 on math reasoning benchmarks overall. It ranks #5 across all 88 models in our cross-provider registry. The highest-ranked model for this task is GPT 6 Astra from GPT. That model scores 93/100 on this task type. Confidence scores are a third-party benchmark snapshot from week 26 of 2026. This snapshot is 17 weeks old, so treat the scores as directional and validate against your own evals.

What is the cheapest model for math reasoning with good quality?

The most affordable model for math reasoning above 80/100 quality is GPT 5.6 Luna. It comes from GPT at $0.20 per million input tokens. Output costs $1.20 per million tokens with a quality score of 86/100. Switching from Grok 4.6 to GPT 5.6 Luna saves about 81% per API call.

How can I reduce my Grok 4.6 costs for math reasoning?

Three strategies lower Grok 4.6 costs for this task type effectively. Prompt caching gives a 75% discount on input tokens when reusing system prompts. The batch API gives 50% off all tokens for asynchronous processing workloads. Prompt optimization reduces token counts through more concise instructions and context windows. Combining caching with batching brings your cost from $0.0210 to about $0.002625 per call.

How does Grok 4.6 pricing compare to other Grok models?

Grok has 7 other models alongside Grok 4.6 today: Grok 4.5 at $2.00/$6.00 per million tokens (flagship), Grok 4.3 at $1.25/$2.50 per million tokens (mid-tier), Grok Build 0.1 at $1.00/$2.00 per million tokens (fast / budget), Grok 4.20 Non-Reasoning at $1.25/$2.50 per million tokens (mid-tier), Grok 4.20 Reasoning at $1.25/$2.50 per million tokens (mid-tier), Grok 4.20 Multi-Agent at $1.25/$2.50 per million tokens (mid-tier), Grok 4.7 at $2.00/$6.00 per million tokens (flagship). The right choice depends on whether your math reasoning workload prioritizes quality, cost, or speed.

What context window does Grok 4.6 support?

Grok 4.6 supports a context window of 500K tokens per API call. This sets the maximum combined length of your input prompt and generated response. For math reasoning, typical calls use 1,500 input and 3,000 output tokens. That is well within this limit, leaving room for longer prompts or multi-turn conversations.

Track what you spend on AI

This calculator estimates costs based on published rates only. Connect your API usage to see where your money goes and which models drive your spend.