Grok 4.5, 4.6 and 4.7 all list $2 input and $6 output per million tokens below 200,000 prompt tokens. For the same prompt below that cutoff, cached input is $0.30 per million on 4.5 and $0.50 on 4.6 and 4.7. The threshold changes the rate for the entire request, not just the excess tokens.

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 and source verification: November 19, 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

Shortlist grok-4.5 if you already rely on its behavior or want to test whether its lower cached-input rate reduces your bill. A launch benchmark does not establish that it is the best or cheapest option for your repository.

For a new xAI evaluation, compare Grok 4.7 with your incumbent. Add 4.5 as a challenger if a repeatable cache or compatibility advantage matters. Include 4.6 if your team already runs it and wants to know whether switching helps. Use the same task set, tool permissions, retry budget and reviewer rubric.

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 November 19, 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 APISupported; xAI documents a 20% discount to standard ratesCompare the discount only for workloads that can run asynchronously
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 and now documents the newer Grok 4.7. Both remain useful comparison points if a team already has one of them in production. Their standard rates are identical; a cost difference then depends on actual token usage, retries, tool calls and review time, not a different list price.

Grok 4.5 vs 4.6 vs 4.7 API rates

API modelBelow 200K prompt tokens: input / cached / outputAt least 200K: input / cached / output
Grok 4.5$2 / $0.30 / $6$4 / $0.60 / $12
Grok 4.6$2 / $0.50 / $6$4 / $1.00 / $12
Grok 4.7$2 / $0.50 / $6$4 / $1.00 / $12

All rates are USD per million tokens. Model pages list 500,000 tokens of context and a 20% discount for Batch API requests. The token rates do not include separately billed hosted tools.

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.

If 60,000 of the first example's 80,000 input tokens are billed as cached and output stays at 10,000 tokens, the text total is $0.118 on 4.5 and $0.130 on 4.6 or 4.7. The difference is $0.012 per request at the same cache use and output length. Do not include it in a budget until the team's logs confirm that cache use.

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, compare Grok 4.7, your chosen xAI challenger if any, and the incumbent under 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 the newer model and your incumbent on the metric your team values. Consider a newer version if it produces more accepted changes per dollar at the same review bar. Keep the incumbent if switching does not produce a measurable improvement. Availability alone is not a reason to migrate.

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.