Playbook · $29
AI Agent Cost & Tools Hub

Grok 4.20 agent cost (2026)

Prices last verified: · how we check · price changes

xAI · 2,000,000 token context · source OpenRouter, 2026-11-28

Short answer: A customer support bot on Grok 4.20 costs about $52.50/month, and a coding agent about $486.56/month.

What stands out in the Grok 4.20 prices

Grok 4.20 has a 2,000,000 token context window. Cached input is listed at $0.2 per 1M tokens, 84% below the $1.25 input price. It is a reasoning model, so the estimates include hidden thinking tokens billed at the output price. Among the 6 listed xAI models, it is the cheapest for our coding-agent example.

Current Grok 4.20 API prices

Input / 1M tokens$1.25
Output / 1M tokens$2.5
Cached input / 1M$0.2
Price sourceOpenRouter

Worked monthly examples

Support bot: (800 × $1.25 + 300 × $2.5) ÷ 1,000,000 = $0.00175 = $52.50/month. Open in the calculator →

Coding agent: 15 × (10,000 × $1.25 + 10,000 × $0.2 + (1,500 + 1,350 reasoning) × $2.5) ÷ 1,000,000 = $0.3244 per task = $486.56/month. Open in the calculator →

Includes $75.94/month of estimated reasoning (0.9 × output). Without it: $410.63. Change or turn it off in the calculator →

How we calculate these: How to calculate AI agent token costs.

Estimated monthly cost

WorkloadPer month (30d)Inputs per step
Chatbot (1k chats/day)$52.50800 in / 300 out × 1 step, 0% cached
RAG Q&A (500 queries/day)$103.504,000 in / 400 out × 1 step, 0% cached
Coding agent (50 tasks/day, 15 steps)$486.5620,000 in / 1,500 out × 15 steps, 50% cached
Research agent (100 tasks/day, 10 steps)$392.108,000 in / 1,000 out × 10 steps, 20% cached

Prices used for Grok 4.20: $1.25 input · $0.2 cached input · $2.5 output, per 1M tokens.

Open in calculator →

Same function as the calculator, using list prices. Methodology.

Caching savings

Cached input is listed at $0.2 vs $1.25 per 1M tokens. Coding-agent monthly estimate:

Share of input cachedPer month
0%$722.81
50%$486.56
80%$344.81

Cache-write fees are not included. Prompt caching explained.

FAQ

How much does Grok 4.20 cost per month for an AI agent?

About $52.50/month for the support-bot example and $486.56/month for the coding-agent example, using list prices verified on 28 Nov 2026.

What is the Grok 4.20 API price per million tokens?

Grok 4.20 is listed at $1.25 per 1M input tokens and $2.5 per 1M output tokens, and $0.2 per 1M cached input tokens. Prices last verified 28 Nov 2026.

Does prompt caching make Grok 4.20 cheaper?

Yes. Cached input is listed at $0.2 instead of $1.25 per 1M tokens, so the coding-agent example falls from $722.81 to $486.56 at 50% cached.

Estimates use list prices; confirm with xAI. AI Agent Cost Playbook ($29 + tax) · MCP server · How these costs are calculated.