Skip to content

Fix model pricing variant resolution - #634

Merged
iamtoruk merged 1 commit into
mainfrom
fix/model-pricing-suffix-variants
Jul 8, 2026
Merged

iamtoruk merged 1 commit into
mainfrom
fix/model-pricing-suffix-variants

Conversation

@iamtoruk

@iamtoruk iamtoruk commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Resolve provider suffix variants for :thinking, :cloud, and -TEE by falling back to the base priced model.
  • Add safe built-in aliases for MiMo V2 Flash and KAT Coder Pro V1 to existing bundled provider-priced entries.
  • Keep free-tier markers and dated Qwen3 Max unpriced instead of guessing a reseller rate without provider context. Users can set an explicit price with codeburn price-override.

Tests

  • npm exec -- tsx exact pricing check
  • npm test -- --run tests/models.test.ts
  • npm test -- --run
  • npm run build
  • git diff --check

Refs #629

@iamtoruk
iamtoruk merged commit 1a75484 into main Jul 8, 2026
3 checks passed
@iamtoruk
iamtoruk deleted the fix/model-pricing-suffix-variants branch July 8, 2026 21:02
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