Learn
Grok 4.5 vs Grok 4.3: API Model Selection and Migration Guide
Choose Grok 4.5 for harder coding, agentic, and knowledge work, or Grok 4.3 for lower token costs, 1M context, optional non-reasoning, an xAI EU cluster, and a listed Batch discount.
Start with the selection criteria. Use this page when you know the category and need a practical framework for narrowing the field.
Editorial guide
Guide
Start with the criteria, tradeoffs, and shortlist logic before you open individual tools.
Short answer: start with Grok 4.5 when a difficult coding change, long agent loop, or knowledge-work deliverable makes quality and reasoning headroom more important than the lowest token rate. Keep or choose Grok 4.3 when the workload needs its 1-million-token context window, optional non-reasoning mode, lower input and output prices, the current xAI eu-west-1 route, or the model-specific Batch discount.
These are two API model versions inside the Grok and xAI developer ecosystem, not separate products to buy. Product subscriptions and API billing are different decisions. Use Grok pricing for maintained prices and access routes, then Grok subscription vs xAI API pricing when the real question is app access versus separately metered API use.
Decision by workload
Workload or constraint | Better starting route | Why |
|---|---|---|
Hard repository work, multi-step coding, agentic execution, or demanding professional output | Grok 4.5 | xAI positions it as the frontier model for coding, agentic tasks, and knowledge work, with mandatory reasoning and high effort by default. |
Routine chat, extraction, classification, or simple tool calling | Grok 4.3 | It costs less and can use none or low reasoning, but require a quality gate rather than assuming the older model is sufficient. |
Prompts above 500,000 tokens | Grok 4.3 | Grok 4.5 publishes a 500,000-token context window; Grok 4.3 publishes 1,000,000 tokens. |
Offline bulk work that can wait | Grok 4.3 Batch | xAI lists a 20% Batch token discount for Grok 4.3. Grok 4.5 is not in that discount table. |
xAI API console access for EU users or an xAI eu-west-1 route | Grok 4.3 until 4.5 access is confirmed | xAI says Grok 4.5 is not yet available in its API console for EU users, while Grok 4.3 is exposed in the xAI eu-west-1 cluster. |
Latency-sensitive interactive work | Benchmark both at matched effort | A lower token price does not prove lower latency. xAI markets Grok 4.5 as fast, but does not publish a matched end-to-end 4.5-versus-4.3 latency table. |
Schema-constrained extraction or custom function tools | Either, after a smoke test | Both model cards list structured outputs and function calling; migration still needs schema and tool-loop regression tests. |
This is a conditional recommendation, not a claim that every Grok 4.5 response will beat Grok 4.3. xAI’s launch evaluations support the newer model’s coding and agentic positioning, but they are vendor-reported results produced with particular harnesses and settings. The defensible production choice is the least expensive route that passes the same task-success, evidence, tool-use, latency, and recovery-cost tests.
What changes and what does not
Boundary | Grok 4.5 | Grok 4.3 |
|---|---|---|
Model name | grok-4.5 | grok-4.3 |
Current aliases | grok-4.5-latest; grok-build-latest | grok-4.3-latest; grok-latest |
Official positioning | Frontier model for coding, agentic tasks, and knowledge work | Lower-cost flagship with strong agentic tool calling and instruction following |
Input and output modalities | Text and image in; text out | Text and image in; text out |
Context window | 500,000 tokens | 1,000,000 tokens |
Reasoning control | low, medium, high; defaults to high; cannot be disabled | none, low, medium, high; the live model card does not state the default, so set it explicitly |
Core endpoints | Responses API and Chat Completions | Responses API and Chat Completions are demonstrated in current docs |
Function calling | Listed | Listed |
Structured outputs | Listed | Listed |
Current xAI API model regions | us-east-1 and us-west-2; xAI API-console access for EU users is pending | US clusters and eu-west-1 are exposed in official model data |
Dated snapshot shown on model card | None | None |
The context difference is a real capacity boundary. Grok 4.5 is not a blanket successor for requests that rely on the upper half of Grok 4.3’s window. xAI also does not publish a separate maximum-output figure on either public model card, so do not convert the total context number into an invented output ceiling.
Reasoning behavior creates the largest drop-in risk. The live Grok 4.3 model card lists four levels without stating the implicit default, while Grok 4.5 explicitly defaults to high. Do not let an omitted setting or documentation drift decide production behavior: set matched low, medium, or high effort during evaluation. A Grok 4.3 route using none still has no exact Grok 4.5 equivalent because reasoning cannot be disabled.
“Agentic” also does not mean that every adjacent API capability automatically carries over. Current official guides provide evidence for both models across Web Search, X Search, code execution, file attachment search, collections search, and remote MCP, in addition to function calling and structured outputs. That is evidence for those named paths only. Built-in tools are documented through the Responses API or xAI SDK, while custom function calling and structured outputs also have Chat Completions paths; test the exact endpoint and tool combination instead of inferring universal parity.
Token prices, long context, and caching
Standard token prices are in USD per 1 million tokens:
Model | Input | Cached input | Output |
|---|---|---|---|
Grok 4.5 | $2.00 | $0.50 | $6.00 |
Grok 4.3 | $1.25 | $0.20 | $2.50 |
Grok 4.5 therefore costs 1.6 times as much for uncached input, 2.5 times as much for cached input, and 2.4 times as much for output before reasoning volume and tool calls are counted. Reasoning tokens are billed at the output rate, so effort and reasoning volume can widen the gap. The premium can still be economical if it avoids retries or review, but the model name alone does not prove a lower completed-task cost.
Both model-detail payloads set a 200,000-token long-context threshold and double input, cached-input, and output rates in the higher-context tier:
Model | Higher-context input | Higher-context cached input | Higher-context output |
|---|---|---|---|
Grok 4.5 | $4.00 | $1.00 | $12.00 |
Grok 4.3 | $2.50 | $0.40 | $5.00 |
Official wording is inconsistent at the exact edge: model-page prose says higher pricing applies when prompt tokens exceed 200K, while the Models REST schema defines the threshold as applying at or above its value. Treat 200,000 tokens as a billing boundary, log actual prompt and cost data, and leave headroom rather than designing a router that depends on one token at the edge. The higher rate applies to the whole request tier, not only to tokens beyond the boundary.
Prompt caching reuses an exact prefix from earlier requests. Grok 4.5’s guide recommends a stable prompt_cache_key in the Responses API or x-grok-conv-id in Chat Completions so related requests are more likely to reach the same server. Cache hits are not guaranteed, so cost models should use observed cached-token counts rather than an assumed hit rate.
The published cached rate is 25% of uncached input for Grok 4.5 and 16% for Grok 4.3. xAI does not publish a separate cache-write line item for either model. Budget the first pass at the normal input rate and apply the cached rate only to reused prefix tokens that the response actually reports as cached.
Batch and service-tier economics
The Batch API is for asynchronous work that usually finishes within 24 hours, although xAI calls that timing best effort rather than guaranteed. Batch requests do not consume the normal per-minute inference limits, and the API can process Chat Completions or Responses requests with server-side and client-side tools subject to tool-specific constraints.
Model | Batch evidence | Published token discount | Standard-context effective rates |
|---|---|---|---|
Grok 4.3 | Explicitly used and listed | 20% | $1.00 input, $0.16 cached input, $2.00 output per 1M |
Grok 4.5 | Explicitly used in the live Batch guide | None; it is not listed for a discount | Standard Grok 4.5 token rates, including higher-context rates when triggered |
The 20% Grok 4.3 discount applies to input, cached, output, and reasoning tokens; xAI does not state that separate server-side tool invocation fees receive the same discount. The live Batch guide explicitly submits Grok 4.5 requests, so current official documentation supports Batch eligibility. The pricing page says models not listed receive no Batch discount, and Grok 4.5 is not listed; its Batch work is billed at normal model rates. Preflight the exact model, endpoint, tools, and account before building a production queue.
Priority Processing answers a different question. It requests higher scheduling priority for interactive Responses or Chat Completions traffic and charges twice the applicable token rates only when the response confirms the priority tier. It is not available inside Batch. Do not upgrade to Grok 4.5 merely to solve a scheduling problem, and do not move a latency-sensitive request to Grok 4.3 merely because its tokens are cheaper.
Tools, structured outputs, and search
Both models have official evidence for function calling and structured outputs. xAI’s structured-output contract can enforce a supported JSON Schema subset, while custom function arguments are generated against the supplied tool schema. Preserve schema validation and business-level validation in the application: syntactic conformance does not prove that extracted facts or chosen actions are correct.
Web Search, X Search, and code execution are documented server-side tools, and their invocation charges sit on top of model tokens. Web Search and X Search are each $5 per 1,000 calls; code execution is also $5 per 1,000 calls. File attachment search and collections search use different rates, while remote MCP execution is token-billed rather than assigned the same search-call fee. Use Grok Web Search vs X Search when the next decision is which evidence domain and filter set the agent needs.
Do not equate one user request with one paid tool call. The model can call a server-side tool multiple times, and reasoning or retrieved content can increase token usage. Compare end-to-end request cost with tool counts included. For current-event work, neither model has realtime knowledge without search or supplied retrieval, so a newer training run does not replace Web Search, X Search, or source verification.
A safe compatibility claim is still narrow: both models have official evidence for the two core text endpoints, function calling, structured output capability, Web Search, X Search, code execution, files, collections, and remote MCP. Tool availability does not erase endpoint or workflow limits. File attachment search is agentic rather than a batch-style n-generate path, remote MCP supports specific transports, and mixed or multi-turn tool loops still need application handling. Run model-specific acceptance tests instead of treating a shared feature name as behavioral parity.
Aliases, regions, and lifecycle
Use explicit model names during migration. The current alias map assigns grok-4.5-latest and grok-build-latest to Grok 4.5, while grok-4.3-latest and the broad grok-latest alias resolve to Grok 4.3. Calling grok-latest therefore does not currently select the newest numbered model. Alias ownership can change, so log the returned model and system fingerprint and re-run evaluations before adopting a moving alias.
Neither public model card lists a dated snapshot. Do not describe grok-4.5 or grok-4.3 as permanently pinned behavior merely because the names lack “latest.” Teams that need auditability should save request settings, response metadata, prompts, tool schemas, and evaluation results, then keep a rollback route ready.
Regional availability can block an otherwise sound upgrade. Grok 4.5’s official launch material says it is not yet available in the xAI API console for EU users and describes access as expected later. Its xAI model page currently exposes two US clusters. Grok 4.3 is present in xAI’s eu-west-1 model data as well as US data. Partner gateways can have different regions and terms, so check the exact provider, team console, and data-residency path rather than treating a planned rollout as completed availability.
The current retirement notice removes several earlier Grok slugs and redirects most of them to Grok 4.3; it does not name Grok 4.3 for retirement. That supports keeping 4.3 as a valid rollback today, not assuming indefinite support. Recheck release notes and retirement guidance before every migration window.
Migration plan
- Inventory the real route. Record the exact model or alias, endpoint, region, reasoning effort, cache-routing key, service tier, tools, schemas, context length, and fallback behavior. Resolve moving aliases before comparing results.
- Freeze a Grok 4.3 baseline. Capture representative easy, normal, hard, long-context, and failure-prone requests. Measure final task success, instruction following, evidence quality, structured-output validity, tool completion, retries, reasoning and output tokens, latency, cache hits, tool calls, and total billed cost.
- Shadow Grok 4.5 at matched effort. Start with the same explicit low, medium, or high setting instead of comparing implicit Grok 4.3 behavior with Grok 4.5’s default high. Test high separately when its added reasoning is part of the business case. A none-effort 4.3 workload needs a separate decision because 4.5 cannot reproduce that mode.
- Split the context evaluation. Test ordinary prompts below the higher-price boundary, prompts near 200,000 tokens, and the longest real requests. Keep any request above 500,000 tokens on Grok 4.3 or redesign it with retrieval or compaction; Grok 4.5 cannot accept the published 4.3 maximum.
- Re-run every integration. Validate Responses and Chat Completions payloads, structured schemas, function loops, Web Search, X Search, code execution, remote MCP, files or collections, streaming, error handling, and Batch submission that the application actually uses. Do not infer support from adjacent examples.
- Canary with explicit rollback. Route a small, observable share to Grok 4.5, keep Grok 4.3 callable, and set failure, cost, latency, and quality thresholds. Promote hard workloads only when 4.5 earns its premium; leave low-risk, long-context, xAI-EU-cluster-bound, non-reasoning, or discounted offline traffic on 4.3 when that route passes.
The practical boundary is workload evidence. Grok 4.5 is the stronger starting hypothesis for hard coding, agentic, and knowledge work. Grok 4.3 remains the rational route for lower unit cost, 1-million-token capacity, optional zero reasoning, the current xAI eu-west-1 route, and discounted Batch traffic. A mixed router can be more defensible than a universal migration.
FAQ
Common questions
Is Grok 4.5 a drop-in replacement for Grok 4.3?
No. The endpoints, function calling, and structured-output surface overlap, but Grok 4.5 halves the published context window, explicitly defaults to high reasoning, cannot disable reasoning, has different aliases and regions, and does not carry Grok 4.3's listed Batch discount. Treat a model-name change as a staged migration.
When is Grok 4.3 still the better API choice?
Start with Grok 4.3 when the workload needs more than 500,000 context tokens, must run without reasoning, is highly price-sensitive, uses the model-specific 20% Batch discount, or needs xAI's currently documented eu-west-1 route. Keep it only if it passes the same quality and tool-use acceptance tests.
Does the grok-latest alias select Grok 4.5?
Not on the current model cards. grok-latest is listed under Grok 4.3, while Grok 4.5 lists grok-4.5-latest and grok-build-latest. Because aliases can move, use explicit model names during evaluation and log the returned model metadata.
What happens to price when a prompt reaches the long-context tier?
Both live model-detail payloads set a 200,000-token threshold and publish rates that are twice the standard input, cached-input, and output prices. Official prose says “exceed” 200K while the API schema says “at or above,” so leave headroom and verify the exact boundary from billed usage.
Does Grok 4.5 receive a Batch API discount?
No. The live Batch guide explicitly demonstrates Grok 4.5 requests, so current official documentation supports Batch use, but the pricing table lists only Grok 4.3 and several Grok 4.20 models for a 20% discount and says unlisted models receive no discount. Budget standard Grok 4.5 token rates.
Can Grok 4.5 use the same reasoning setting as a non-reasoning Grok 4.3 route?
No. Grok 4.3 supports none, low, medium, and high, while its live model card does not state the default. Grok 4.5 supports low, medium, and high, explicitly defaults to high, and cannot disable reasoning. Set effort explicitly and preserve Grok 4.3 when a true zero-reasoning path is required.
Next steps
Take the next evaluation step
Use these next pages to evaluate the strongest candidates, supporting profiles, or follow-up guides against the selection criteria.