-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: Add Grok 4.5 to the xAI provider #102312
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestNew feature or requestimpact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PR
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestNew feature or requestimpact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PR
Type
Fields
Priority
None yet
Summary
Add Grok 4.5 as a selectable model in OpenClaw's bundled xAI provider.
Problem to solve
xAI released
grok-4.5, but OpenClaw's bundled xAI catalog does not publish its current model metadata or aliases. Users cannot select it through normal xAI setup/model discovery, and the default live-model matrix still exercises Grok 4.3.Proposed solution
Add
grok-4.5with its published 500k context window, text/image input, token pricing, prompt-cache pricing, and low/medium/high reasoning contract. Normalize the officialgrok-4.5-latestandgrok-build-latestaliases, document the model, and move the high-signal xAI live lane to Grok 4.5.Keep Grok 4.3 as the regional-safe setup default while xAI's launch documentation says Grok 4.5 is unavailable to EU API-console users.
Alternatives considered
Making Grok 4.5 the unconditional setup default would break fresh EU API-key setups today. Discovery-only publication would also leave static/offline catalogs and alias normalization incomplete.
Impact
Affected: xAI API-key and OAuth users who want the current frontier model.
Severity: Medium; existing Grok models continue working, but Grok 4.5 cannot be selected reliably without first-class metadata.
Frequency: Every Grok 4.5 selection or setup attempt.
Consequence: Manual provider overrides, incorrect context/cost display, or unknown-model failures for official aliases.
Evidence/examples
/v1/models/grok-4.5reports aliasesgrok-4.5-latestandgrok-build-latest, context length 500000, input price $2/M, cached input $0.50/M, and output price $6/M.xai/grok-4.5from a US provider region.Additional information
The change is additive. Existing Grok 4.3, Grok Build 0.1, and Grok 4.20 selections remain available.