ToolPick
AI Coding

Grok 4.5 API in 2026: Pricing, 500K Context, and the 4.6 Decision

An official-source guide to Grok 4.5 API pricing, long-context charges, capabilities, limits, release dates, and whether to test it now that Grok 4.6 is available.

/8 min read
Pricing decision guide

Decision Brief

What to do with this research

100Decision-ready

Grok 4.5 is a real xAI coding and agentic-workflow API model with a 500K-token context window. Short-context pricing is $2 input, $0.30 cached input, and $6 output per million tokens; at 200K prompt tokens or more, all tokens use $4, $0.60, and $12 long-context rates. Grok 4.6 is now the latest model, so test 4.5 only against 4.6 and your incumbent on your own repository.

Best forsolo developers, technical founders, and small teams comparing coding assistants
ClusterAI Coding Tools
UpdatedUpdated within 30 days
Depth1,568 words / 8 sections
Sources checkedAug 25, 2026

Buyer De-Risk Kit

Need to choose before the renewal or purchase?

Get one concise USD 19 buyer-side risk check for up to three tools: fit, cost, workflow, switching risk, and the next step.

Watch this decision

AI Coding Tools changes

Get a practical ToolPick alert when pricing, free-plan limits, policy risk, or alternatives change.

Weekly at most · one-click unsubscribe

Quick AnswerDecision-ready

Grok 4.5 is a real xAI coding and agentic-workflow API model with a 500K-token context window. Short-context pricing is $2 input, $0.30 cached input, and $6 output per million tokens; at 200K prompt tokens or more, all tokens use $4, $0.60, and $12 long-context rates. Grok 4.6 is now the latest model, so test 4.5 only against 4.6 and your incumbent on your own repository.

  • API availability began July 8; the public Grok 4.5 announcement was July 16, 2026.
  • EU availability was added July 17, so launch-week EU restrictions are outdated.
  • Official benchmark claims are vendor-reported, not independent evidence of value.

Keep reading for the full analysis.

Answer first, then compare

Where this decision goes next

Skip the scroll: the pages most readers open after this one.

Cursor vs Claude Code in 2026: AI Editor or Terminal Agent?Read the next related article.

Grok 4.5 exists, but the useful 2026 buying question is no longer whether the launch was real. It is whether an older, still-available model has a measurable advantage for your coding workflow now that xAI lists Grok 4.6 as its latest model.

The answer cannot come from a launch benchmark alone. It requires three checks: the actual API bill at your prompt sizes, task success on your repository, and the human time needed to review and repair the output. This guide establishes the official facts and provides a trial that can produce that missing evidence.

Editorial review: August 25, 2026. Source verification: August 25, 2026. This is an official-documentation analysis, not an independent model benchmark. Prices are in USD and exclude optional server-side tool calls unless stated otherwise.

Quick Decision

Put Grok 4.5 on a shortlist only when you can name a reason to test the documented grok-4.5 model ID: an existing integration, a cached-input cost hypothesis, a compatibility requirement, or a controlled comparison with Grok 4.6. Do not choose it because a launch article called it the best, cheapest, or most efficient coding model. The official sources do not establish those market-wide conclusions.

For a new xAI evaluation, start with Grok 4.6 because xAI identifies it as latest, then include 4.5 as a challenger. Keep your current production model as the baseline. Use the same task set, tool permissions, retry budget, and reviewer rubric for all three.

The go/no-go rule is simple: 4.5 must reduce verified cost or review time without lowering task success or increasing regressions. If the trial cannot show that, there is no evidence-based reason to standardize on the older model.

Verified Grok 4.5 API Facts

ItemOfficially documented state on August 25, 2026Decision impact
Documented model IDgrok-4.5Pin this ID for a reproducible trial rather than a latest alias
Context window500,000 tokensLarge prompts are possible, but prompts at 200K or more trigger higher rates
ModalitiesText and image input; text outputSuitable for code plus screenshots or diagrams, not media generation output
CapabilitiesFunction calling, structured outputs, reasoningSupports agent-style coding harnesses and schema-constrained responses
Short-context price$2 input / $0.30 cached / $6 output per 1M tokensApplies below the long-context threshold
Long-context price$4 input / $0.60 cached / $12 output per 1M tokensAll request tokens use these rates once the prompt reaches 200K
Batch APINot supportedDo not budget an offline batch discount or batch workflow
Listed regionsus-east-1, us-west-2Confirm data, latency, and contractual requirements before rollout

These values come directly from the Grok 4.5 model page and xAI API pricing table. The model page also lists aliases, but a fixed evaluation should use grok-4.5 so the tested model does not change silently.

xAI charges separately for its server-side tool invocations in addition to tokens. Because an agent can decide how many tools to call, a coding task with search or other hosted tools can cost more than the text-only calculation. Record tool-call counts and charges rather than comparing only input and output tokens.

Release Date and Availability: Use the Full Timeline

Two dates describe the launch. The official release notes record Grok 4.5 API availability on July 8, 2026. The public announcement was published on July 16. A precise article should say "API availability began July 8; xAI publicly announced the model July 16" rather than treating one date as the only release date.

The same release notes record EU availability on July 17. Any launch-week statement that European teams cannot access Grok 4.5 is now stale and should not appear in a current recommendation.

xAI announced Grok 4.6 on August 12, 2026. The current documentation labels 4.6 as latest and describes it as building on 4.5. This does not make 4.5 unusable, but it changes the burden of proof. A new buyer should not evaluate 4.5 in isolation when its successor is available through the same API ecosystem.

What the Prices Mean in Real Requests

The headline "$2 input and $6 output" is incomplete without prompt size. For a text-only request with 80,000 uncached input tokens and 10,000 output tokens, the short-context arithmetic is:

  • Input: 0.08 million × $2 = $0.16
  • Output: 0.01 million × $6 = $0.06
  • Text total: $0.22, before hosted tools

For a request with a 250,000-token prompt and 20,000 output tokens, the long-context threshold has been crossed. xAI says the higher rates apply to every token in that request, not just the portion above 200K:

  • Input: 0.25 million × $4 = $1.00
  • Output: 0.02 million × $12 = $0.24
  • Text total: $1.24, before hosted tools

That second request is not comparable to a short request by multiplying only the excess 50,000 tokens. Cached input can lower both examples, but the trial must measure the actual cache-hit rate. Do not assume a cache discount applies to repository context that changes frequently.

Monthly cost should be modeled as completed tasks, not raw token price. A model that uses fewer tokens but needs more retries or human repairs may cost more in practice. Conversely, a model with a higher per-request bill can be cheaper if it completes the task correctly on the first attempt.

What xAI's Announcement Does and Does Not Prove

xAI describes Grok 4.5 as a model for coding, agentic tasks, and knowledge work and says it was trained alongside Cursor. Those are vendor statements about positioning and training. They do not prove that Grok 4.5 is better inside Cursor, that Cursor is owned by xAI, or that model and editor are one product. The official xAI sources reviewed for this guide do not support an acquisition or "comes with its own editor" claim.

The announcement also publishes xAI's benchmark and efficiency results. They can be reported only as vendor-reported results. ToolPick has not independently reproduced them, and they are not used to label Grok 4.5 a winner, a budget champion, or a credible replacement for any named competitor.

This matters because "value" combines capability, reliability, latency, token use, tool use, and review labor. A vendor benchmark can suggest a trial hypothesis. It cannot answer the purchasing question for a specific codebase.

A Two-Week Repository Trial

Build a fixed set of 24 production-like tasks before calling any model. Include four tasks in each group: bug fixes, test writing, multi-file features, refactors, dependency upgrades, and unfamiliar code investigation. Remove tasks that require secrets or data a model is not permitted to see.

During week one, run Grok 4.5, Grok 4.6, and the incumbent with identical conditions:

  1. Pin exact model IDs and record API region, reasoning setting, context size, and tool permissions.
  2. Use the same prompt, repository revision, timeout, retry limit, and maximum output.
  3. Run the existing test suite and record pass-at-first-attempt, final pass, regressions, and files changed outside scope.
  4. Capture uncached input, cached input, output, tool invocations, wall time, and billed cost.
  5. Ask a reviewer who cannot see the model name to score correctness, maintainability, and security.

During week two, test operating risk. Repeat several tasks after the repository changes to measure cache behavior. Run at least three prompts above 200K to expose long-context billing. Trigger a tool failure and rate limit, inspect logs for sensitive data, and verify that a model switch does not break structured output or function calls. Finally, replay a representative day at projected team volume to estimate a month.

Do not use a free-form "felt smart" score. A coding model earns value by producing accepted changes with less total cost and less reviewer effort.

Scorecard and Buying Rule

CriterionWeightRequired evidence
Task success and regression safety30Tests plus blind human review
Human review and correction time20Minutes from output to accepted change
Total API cost per accepted task20Tokens, cache, tools, and retries
Latency and completion reliability10p50/p95 time, timeout and error rate
Tool and structured-output reliability10Successful calls and schema adherence
Governance and operational fit10Region, logs, access, budget controls, switchability

Set hard gates before reading the scores: no secret leakage, no unacceptable security regression, no silent out-of-scope edits, and a working fallback to the incumbent. Then require a meaningful improvement, such as at least ten points out of 100 or a pre-agreed cost reduction with no quality loss.

Choose Grok 4.5 only if it clears those gates and beats both Grok 4.6 and the incumbent on the metric your team values. Choose 4.6 if it provides better accepted-task economics. Keep the incumbent if neither xAI model produces a measurable improvement. "Available" is not the same as "worth migrating to."

For broader workflow context, use ToolPick's AI coding tools guide and Cursor versus Claude Code decision guide. Those tool choices include editor workflow, governance, and team adoption beyond a single model endpoint.

Frequently Asked Questions

Does Grok 4.5 actually exist in the xAI API?

Yes. The official model ID is grok-4.5, and xAI documents a 500K context window, text and image input, text output, function calling, structured outputs, and reasoning.

Is Grok 4.5 still the latest xAI coding model?

No. xAI announced Grok 4.6 on August 12, 2026, and its model documentation marks 4.6 as the latest model. A current evaluation should include both versions.

Is every Grok 4.5 request priced at $2 input and $6 output?

No. Those are short-context rates per million tokens. Once a prompt reaches 200K tokens, all tokens in that request use the higher long-context rates of $4 input and $12 output, with cached input at $0.60.

📬 Get the Weekly SaaS Digest

New tool reviews, pricing-change alerts, and stack cost tips — one email a week, one-click unsubscribe. No spam, no fake urgency.

Continue the research

Turn this article into a decision path

Every ToolPick article should lead to a second useful page: another article, a hub, or a calculator action.

Cursor vs Claude Code in 2026: AI Editor or Terminal Agent?Read the next related article.

Related Articles