Skip to content

fix: update xAI model metadata for grok-4 +2 more#610

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/autofix-issue-581
Open

fix: update xAI model metadata for grok-4 +2 more#610
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/autofix-issue-581

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

fix: update xAI model metadata for grok-4 +2 more

Closes #581

Source issue: #581

Summary

Field Value
Provider xai
Primary model grok-4
Changed models grok-4
grok-4-1-fast
grok-code-fast-1
Added models None
Updated models grok-4
grok-4-1-fast
grok-code-fast-1
Verification sources 1
2

Verified metadata

Model Display name Parent Providers Format Flavor Token limits Pricing Lifecycle
grok-4 Grok 4 xAI openai chat input=256000, output=256000 in/out=3/15 per 1M deprecated=true; date=2026-05-15; multimodal=true
grok-4-1-fast Grok 4.1 Fast grok-4-1-fast xAI openai chat input=2000000, output=2000000 in/out=0.2/0.5 per 1M; cache read=0.05 per 1M parent=grok-4-1-fast; deprecated=true; date=2026-05-15; multimodal=true
grok-code-fast-1 xAI openai chat input=256000, output=256000 in/out=0.2/1.5 per 1M; cache read=0.02 per 1M deprecated=true; date=2026-05-15; reasoning=true

Verification notes

Verification

  • Source 1 (model listing + deprecation section): xAI developers/models page — the page no longer lists grok-4, grok-4-1-fast, or grok-code-fast-1 among active models. The only active models shown are grok-4.3, grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning, grok-4.20-multi-agent-0309, and grok-build-0.1. This confirms the three target models have been retired.
    • Fields verified: deprecated, deprecation_date
  • Source 2 (absence from active listings): The Perplexity Agent API models page lists only xai/grok-4.3 and xai/grok-4.20-* variants — none of the deprecated models appear, confirming they are no longer available on third-party inference surfaces.
    • Fields verified: corroborates retirement status

sync_models cross-check

LiteLLM sync_models has entries for xai/grok-4, xai/grok-4-1-fast, and xai/grok-code-fast-1 but does not set deprecation_date on any of them. The deviation:

Model Field Proposed value sync_models value Source justifying deviation
grok-4 deprecated true not set https://docs.x.ai/developers/models — model absent from active listing
grok-4 deprecation_date 2026-05-15 not set https://docs.x.ai/developers/models — retirement date per xAI deprecation notice
grok-4-1-fast deprecated true not set https://docs.x.ai/developers/models — model absent from active listing
grok-4-1-fast deprecation_date 2026-05-15 not set https://docs.x.ai/developers/models — retirement date per xAI deprecation notice
grok-code-fast-1 deprecated true not set https://docs.x.ai/developers/models — model absent from active listing
grok-code-fast-1 deprecation_date 2026-05-15 not set https://docs.x.ai/developers/models — retirement date per xAI deprecation notice

sync_models lags on deprecation tracking for xAI models. The official xAI docs page is the authoritative source for lifecycle status.

Fields changed

Only deprecated: true and deprecation_date: "2026-05-15" are added. No pricing, token limit, or other field changes.

Fields not published / not applicable

No other fields require changes — the existing catalog entries already have complete pricing, token limits, format, flavor, and provider mappings.

sync_models vs proposed update

sync_models cross-check found differences. Official provider verification was used for the applied values, and sync_models discrepancies are listed below for review.

Model Field Proposed update sync_models sync_models source models
grok-4 deprecation_date 2026-05-15 n/a xai/grok-4
grok-4-1-fast deprecation_date 2026-05-15 n/a xai/grok-4-1-fast
grok-code-fast-1 deprecation_date 2026-05-15 n/a xai/grok-code-fast-1

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment May 21, 2026 9:23am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOT ISSUE] xAI: mark grok-4, grok-4-1-fast, grok-code-fast-1 as deprecated (retired May 15, 2026)

1 participant