pi-commandcode-provider icon indicating copy to clipboard operation
pi-commandcode-provider copied to clipboard

chore(pricing): re-verify Grok 4.7 after launch discount expiry

Open karaaslanz opened this issue 2 months ago • 1 comments

Context

main now fails the date-guard in tests/test-pricing.ts because the tracked 40% Grok 4.7 launch discount has expiresOn: "2026-09-27".

This surfaced while reviewing #124. The failure is unrelated to that PR; its routing/model tests pass up to the existing pricing guard.

Current source conflict

The authoritative pricing source still presents conflicting signals after the stated expiry:

  • Command Code provider/docs still describe the Grok 4.7 40% launch discount as running through September 27, 2026.
  • The current Command Code model listing/model page still displays Grok 4.7 at the discounted $1.20 input / $3.60 output / $0.30 cache-read per 1M tokens rather than an unambiguous post-promo rate.

Because of that, changing MODEL_COSTS solely to make CI green would be guessing.

Desired resolution

Re-verify the currently billed post-promo Grok 4.7 rates against an authoritative Command Code source, then update together:

  • MODEL_COSTS["xai/grok-4.7"]
  • any long-context tier, if applicable
  • TEMPORARY_PRICING
  • PRICING_LAST_VERIFIED
  • focused pricing expectations/tests

Until the source is unambiguous, keep the pricing failure treated as a known main maintenance blocker rather than attributing it to unrelated contributor PRs.

karaaslanz avatar Sep 28 '26 22:09 karaaslanz

Re-verified on 2026-09-29; the authoritative Command Code surfaces are still internally inconsistent, so I don't think we have enough evidence to change pricing yet.

  • Model page still quotes Grok 4.7 at $1.20/M input, $3.60/M output, $0.30/M cache read and says those are the discounted rates: https://commandcode.ai/models/grok-4-7
  • The same page says the 40% deal ended September 27, 2026.
  • Provider docs still describe the Grok 4.7 40% launch deal as running through September 27: https://commandcode.ai/docs/provider
  • The current models listing still shows $1.20 / $3.60 / $0.30: https://commandcode.ai/models

So as of Sep 29 the public post-promo billed rate is still not unambiguous. Keeping this as a known main blocker and leaving MODEL_COSTS / TEMPORARY_PRICING unchanged until Command Code publishes or bills an authoritative post-promo rate.

karaaslanz avatar Sep 29 '26 08:09 karaaslanz