Skip to content

feat(xai): update model YAMLs [bot] - #2785

Open
models-bot[bot] wants to merge 1 commit into
mainfrom
bot/update-xai-20260903-201026
Open

feat(xai): update model YAMLs [bot]#2785
models-bot[bot] wants to merge 1 commit into
mainfrom
bot/update-xai-20260903-201026

Conversation

@models-bot

@models-bot models-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Auto-generated by poc-agent for provider xai.


Note

Low Risk
Provider configuration-only changes to pricing tiers, parameter allowlists, and model status; no application or security logic is modified.

Overview
Updates xAI provider YAML for several Grok models to match current pricing and capability metadata.

Grok 4.20 experimental (grok-4.20-experimental-beta-0304-non-reasoning and grok-4.20-multi-agent-experimental-beta-0304) now define tiered_pricing on cache read, input, and output tokens above 200k tokens (higher per-token rates). The multi-agent variant also sets pricing_mode: cumulative.

grok-4.5-latest adds removeParams: stop, so the stop sequence parameter is no longer exposed for that model.

grok-imagine-image-2.0 is set to status: active.

Reviewed by Cursor Bugbot for commit c7aae30. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

/test-models

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c7aae30. Configure here.

from: 200000
output:
- cost_per_token: 0.000005
from: 200000

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing cumulative long-context pricing mode

Medium Severity

New tiered_pricing omits pricing_mode, so the schema default marginal applies. xAI bills grok-4.20 long-context requests as a whole-request tier switch, and sibling 4.20 entries set pricing_mode: cumulative. Prompts over 200k tokens are therefore costed too low.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c7aae30. Configure here.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants