Skip to content

fix(pricing): sync Grok rates to xAI's published rate (blockrun#503) - #135

Merged
VickyXAI merged 1 commit into
mainfrom
fix/grok-price-sync-2026-09-04
Sep 4, 2026
Merged

fix(pricing): sync Grok rates to xAI's published rate (blockrun#503)#135
VickyXAI merged 1 commit into
mainfrom
fix/grok-price-sync-2026-09-04

Conversation

@VickyXAI

@VickyXAI VickyXAI commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Follow-on to blockrun#503 (live in production since 2026-09-04).

This one is not a docs fix. The values changed here are the executable price table this client uses to estimate and display cost, so stale entries here mis-state what a call will cost — not just what a README says.

Six Grok SKUs on the gateway carried a resale spread over xAI's published rate — up to +140% on output — while the site claimed "provider list price on chat tokens, no markup". The prices were moved rather than the claim:

SKU was now
xai/grok-4.3 $1.50 / $4.00 $1.25 / $2.50
xai/grok-4.5 $2.50 / $9.00 $2.00 / $6.00
xai/grok-build-0.1 $1.50 / $3.00 $1.00 / $2.00

Verified against docs.x.ai/docs/models; the blockrun-sol agent independently re-checked all 24 numbers (both axes, both tiers) against OpenRouter's live endpoint list.

No price guard reaches this repo — brand/consumers.json lists 15 repos and the gateway's drift sweep covers its own sheets only. Found by grep, not by CI.

CHANGELOG entries are deliberately unchanged. A dated entry records what the price was on that day.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ChUparsmmkz1GJrvzqmuvL

Not a docs fix — src/pricing.ts (and the picker label it feeds) is the
executable table this client estimates and displays cost from, so stale values
mis-state what a call costs.

The gateway repriced six Grok SKUs to xAI's list on 2026-09-04, removing a
resale spread of up to +140% on output:

  xai/grok-4.3         $1.50/$4.00 -> $1.25/$2.50
  xai/grok-4.5         $2.50/$9.00 -> $2.00/$6.00
  xai/grok-build-0.1   $1.50/$3.00 -> $1.00/$2.00

No price guard reaches this repo — the gateway's drift sweep covers its own
sheets only, and brand/consumers.json lists 15 repos it cannot see. Found by
grep.

CHANGELOG entries left alone on purpose: a dated entry records what the price
was that day.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ChUparsmmkz1GJrvzqmuvL
@VickyXAI
VickyXAI merged commit f0698dd into main Sep 4, 2026
1 check passed
@VickyXAI
VickyXAI deleted the fix/grok-price-sync-2026-09-04 branch September 4, 2026 15:16
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.

1 participant