Official specs · 2026 · checked 2026-10-20

Grok 4.5 for Coding Agents
Price, context and successors in 2026

xAI released Grok 4.5 on 2026-07-08 as a model for coding, agentic tasks and knowledge work. As of 2026-10-20 it is officially $2/$6 per 1M tokens with a 500k context and low / medium / high reasoning effort (default high); available in the EU since 2026-07-17. Grok 4.6 and 4.7 have since been released. As of 2026-10-20, QCode's /models does not list the Grok family.

#API access #Quota hedge #Multi-model

Positioning for coding work

xAI says Grok 4.5 was trained alongside Cursor and positions it for coding, agentic tasks and knowledge work; xAI also claims roughly 2x the token efficiency of comparable leading models and 80 TPS. For agentic coding it is one option in a multi-model mix: teams often route planning or review to one family and execution to another.

How it sits vs other flagships

Vs Claude Opus-class

xAI's launch benchmarks show Grok 4.5 ahead of Claude Opus 4.8 on several key suites at a lower price; Claude keeps a strong reputation for careful long-horizon edits and safety behavior. Vendor benchmarks are a starting point — test on your own task mix.

Vs GPT-5.6 tiers

GPT tiers (Sol/Terra/Luna) have explicit cache pricing and proven Codex integration. Grok 4.5 is officially priced at $2/$6 and is another option in a multi-model mix.

Good fit scenarios

Exploratory refactors, cross-language ports, and tasks that benefit from a fresh "outside" perspective. A self-managed local endpoint still suits data sovereignty and offline work; hosted Grok 4.5 offers frontier performance. They solve different problems and are commonly used together.

How to call it and availability

The model name in xAI's official API is grok-4.5, officially priced at $2/$6 per 1M tokens. As of 2026-10-20, the Grok family is not listed on QCode's /models; to call other models on QCode, set model to an id listed on /models, such as gpt-5.6-terra or claude-sonnet-5.

Quota and reset hedging

When Claude weekly caps or Codex rolling windows tighten, sending part of the work to Grok 4.5 on xAI's official API keeps it off the same pool. A self-hosted local endpoint can absorb privacy-sensitive baseline work.

Official specifications (since 2026-07-17, checked 2026-10-20)

Grok 4.5 went live on the xAI API on 2026-07-08 at $2 input / $6 output per 1M tokens, $0.30 cached input, with a 500k context; long context (≥200k) is $4 / $0.60 / $12. xAI claims roughly 2x the token efficiency of comparable leading models and 80 TPS; at launch it was also available in Grok Build and in Cursor on all plans; it became available in the EU on 2026-07-17. Grok 4.6 (2026-08-12) and Grok 4.7 (2026-09-21) have since shipped, both with a 500k context at $2 / $0.50 / $6, and $4 / $1 / $12 for long context.

Grok 4.5 API FAQ

Is Grok 4.5 already the best for coding?

No single model leads everywhere. Grok 4.5 is officially priced at $2/$6 with a 500k context, and xAI claims roughly 2x the token efficiency of comparable models — a useful option in a multi-model mix.

How do I pick the model id?

The id in xAI's official API is grok-4.5.

Can I stay compliant while using it?

Follow xAI's terms of service and regional policy when using it.

How do Grok 4.5, 4.6 and 4.7 differ?

Grok 4.5 launched on 2026-07-08 at $2/$6, $0.30 cached input, with a 500k context. Grok 4.6 (2026-08-12) and Grok 4.7 (2026-09-21) both have a 500k context and cost $2/$0.50/$6, with $4/$1/$12 for long context; 4.5 long context is $4/$0.60/$12.

On QCode

One QCode key calls the models listed on /models. QCode bills per token, with per-model rates on /models. Not ready for a monthly plan? Pay-as-you-go Packs start at $4 for a one-time quota you use within 7 days; if you already have a Personal Plan, add a booster pack when you need more quota.

Check whether Grok 4.5 fits your tasks

Grok 4.5 is officially $2/$6 per 1M tokens with a 500k context. QCode bills per token, with per-model rates on /models.

On QCode

One QCode key calls the models listed on /models. QCode bills per token, with per-model rates on /models. Not ready for a monthly plan? Pay-as-you-go Packs start at $4 for a one-time quota you use within 7 days; if you already have a Personal Plan, add a booster pack when you need more quota.

Not sure where to start?

Try it for a week

Small Pack: $4 for $30 of quota, valid 7 days

Use it every day

Starter: $9.00/month with $5 of quota every day — just $0.060 per $1 of quota, vs about $0.113 for the Medium Pack