Skip to content

[Feature]: Add Grok 4.5 to the xAI provider #102312

Description

@steipete

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.5 with its published 500k context window, text/image input, token pricing, prompt-cache pricing, and low/medium/high reasoning contract. Normalize the official grok-4.5-latest and grok-build-latest aliases, 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

Additional information

The change is additive. Existing Grok 4.3, Grok Build 0.1, and Grok 4.20 selections remain available.

Metadata

Metadata

Assignees

Labels

P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper 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:source-reproClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestimpact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PR

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions