feat(front): add Grok 4.7 - #33000
Merged
Merged
Conversation
Add xAI's Grok 4.7 as a new static model, and demote Grok 4.6 from `isLatest`. Specs verified 2026-09-22 against https://docs.x.ai/developers/models/grok-4.7: 500k native context (capped at 256k in Dust), 64k output, text and image input, function calling, structured output, reasoning. Pricing matches Grok 4.6, with the same 200k prompt-token long-context breakpoint. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
adrsimon
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Grok 4.7 (
grok-4.7, xAI) tofront. Grok 4.6 is demoted to "previous flagship"(
isLatest: false).Specs verified 2026-09-22 against https://docs.x.ai/developers/models/grok-4.7 and
https://docs.x.ai/developers/release-notes: 500k native context (capped at 256k in Dust),
64k output, text and image input, function calling, structured output, reasoning. Pricing
matches Grok 4.6, with the same 200k prompt-token long-context breakpoint — the 256k cap
leaves a 192k prompt budget below that threshold.
Split out of #32990, which now carries only Claude Fable 5.1.
Tests
Added an endpoint test
(
front/lib/model_constructors/test/endpoints/xai_grok_four_dot_seven_global_xai.test.ts)alongside the existing endpoint test setups.
Risk
Low. Grok 4.7 flips
isLatestfrom Grok 4.6.Deploy Plan
Nothing specific.
🤖 Generated with Claude Code