fix(platform): retire deprecated xAI Grok models, add grok-4.3#13118
fix(platform): retire deprecated xAI Grok models, add grok-4.3#13118Torantulino wants to merge 1 commit into
Conversation
Retiring May 15 2026 per xAI announcement: - grok-3, grok-4, grok-4-fast, grok-4.1-fast, grok-code-fast-1 Replacements per xAI recommendation: - All retired models → grok-4.3 (reasoning + non-reasoning via effort param) Changes: - Remove GROK_3, GROK_4, GROK_4_FAST, GROK_4_1_FAST, GROK_CODE_FAST_1 from LlmModel enum and metadata - Add GROK_4_3 (x-ai/grok-4.3, 1M context, $1.25/$2.50 per 1M tokens) - Update token rates and credit multipliers in block_cost_config.py - Remove retired models from provider maps in 16 agent JSON files - Update copilot test fixtures to use grok-4.3
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 PR Overlap DetectionThis check compares your PR against all other open PRs targeting the same branch to detect potential merge conflicts early. 🔴 Merge Conflicts DetectedThe following PRs have been tested and will have merge conflicts if merged after this PR. Consider coordinating with the authors.
🟢 Low Risk — File Overlap OnlyThese PRs touch the same files but different sections (click to expand)
Summary: 5 conflict(s), 0 medium risk, 8 low risk (out of 13 PRs with file overlap) Auto-generated on push. Ignores: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #13118 +/- ##
==========================================
+ Coverage 71.19% 71.21% +0.01%
==========================================
Files 2203 2203
Lines 166432 166424 -8
Branches 16963 16963
==========================================
+ Hits 118492 118516 +24
+ Misses 44447 44417 -30
+ Partials 3493 3491 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Summary
Removes xAI Grok models being retired on May 15, 2026 per the xAI deprecation notice and replaces them with grok-4.3.
Retired models (May 15 2026)
grok-3grok-4/grok-4-0709grok-4-fastgrok-4.1-fastgrok-code-fast-1Replacement
All retired models →
x-ai/grok-4.3per xAI's recommendation.effort: noneChanges
backend/blocks/llm.pyGROK_3,GROK_4,GROK_4_FAST,GROK_4_1_FAST,GROK_CODE_FAST_1fromLlmModelenum and metadata; addGROK_4_3backend/data/block_cost_config.pyGROK_4_3at $1.25/$2.50 pricingbackend/agents/*.json(16 files)x-ai/grok-4.3backend/copilot/**/*test*.py(4 files)xai/grok-4test fixtures →xai/grok-4.3Note:
GROK_4_20andGROK_4_20_MULTI_AGENTare not affected — they remain live.