Skip to content

fix(pricing): add missing and correct stale model pricing across Chinese and US providers - #46

Merged
Carl723000 merged 2 commits into
ClaudeCodeUsage:mainfrom
YuboZhang:main
Jun 30, 2026
Merged

Carl723000 merged 2 commits into
ClaudeCodeUsage:mainfrom
YuboZhang:main

Conversation

@YuboZhang

Copy link
Copy Markdown
Contributor

Summary

Updates the built-in pricing table for 10 models across 7 providers that were
either missing entirely (falling through to the generic Sonnet default at
$3/$15 per MTok) or using stale/wrong rates from family-inference fallbacks.
Adds family-inference branches for minimax, mimo, hy3 and step- so unknown
future models from these providers also get sensible defaults.

Affected models: glm-5.1, glm-5.2, minimax-m3, mimo-v2.5-pro,
kimi-k2.7-code, qwen3.5-flash, qwen3.5-plus, hy3-preview,
step-3.7-flash, step-3.5-flash.

Linked issues

None — standalone pricing maintenance.

Type of change

  • Bug fix (non-breaking) → fix (patch)
  • New feature (non-breaking) → feature (minor)
  • Breaking change (existing behaviour differs afterwards) → breaking (major)
  • Documentation / CI / chore → docs / ci / chore (patch)

How was this tested?

  • npm run compile passes cleanly
  • npx @vscode/vsce package produces a valid .vsix
  • Prices verified against official provider docs / OpenRouter / llm-stats
    (source URLs annotated in comments)

Checklist

  • npm run compile is clean
  • User-facing strings go through I18n with all six languages filled
  • CHANGELOG.md updated (user-visible changes)
  • README.md updated if behaviour/settings changed
  • New settings default to existing behaviour (opt-in)
  • No new runtime dependencies

YuboZhang and others added 2 commits June 30, 2026 14:45
…Code, Qwen 3.5 Flash/Plus, Hy3 Preview, Step 3.7/3.5 Flash

- Add correct GLM-5.1/5.2 pricing (.40/.40 from z.ai global channel)
  instead of falling back to glm-4.6 rates
- Add MiniMax-M3 standard list price (/usr/bin/bash.60/.40)
- Add Xiaomi MiMo V2.5 Pro post-price-cut USD rate (/usr/bin/bash.435//usr/bin/bash.87)
- Add Kimi K2.7 Code official Moonshot pricing (/usr/bin/bash.95/.00)
- Add Qwen 3.5 Flash/Plus international-region USD pricing
- Add Tencent Hy3 Preview OpenRouter rate (/usr/bin/bash.063//usr/bin/bash.21)
- Add StepFun Step 3.7 Flash / 3.5 Flash global USD pricing
- Register family-inference branches for minimax, mimo, hy3, and step-
  so unknown future models from these providers get sensible defaults
  instead of falling through to the generic Sonnet fallback (/5)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@Carl723000

Copy link
Copy Markdown
Collaborator

Thanks @YuboZhang — pricing checks out against the sources you cited, and the family-inference branches for the new providers are a nice touch. Merging for 2.1.1.

@Carl723000
Carl723000 merged commit 8ece894 into ClaudeCodeUsage:main Jun 30, 2026
1 check passed
Carl723000 added a commit to oxsean/ClaudeCodeUsage that referenced this pull request Jun 30, 2026
… clean format

Resolves the conflicts from ClaudeCodeUsage#41 (monthly-cost metric) and brings in ClaudeCodeUsage#46
(third-party pricing). Replaces this PR's dense quota text
(`5h:50%:2.3h | wk:1%`) with the shared, unit-tested formatter in
quotaFormat.ts so the status bar default stays the airy `5h 6% · wk 1%`;
`quotaFiveHourOnly` / `showResetInStatusBar` still work, reset detail stays
in the tooltip. Keeps oxsean's robust liveWindows()/roll() stale-window
handling and the modal-confirm + move-to-trash session delete unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
Carl723000 added a commit to henrique-carvalho-dev/ClaudeCodeUsage that referenced this pull request Jun 30, 2026
Brings in ClaudeCodeUsage#43 (session actions + clean quota), ClaudeCodeUsage#46 (pricing), ClaudeCodeUsage#47
(account-switch fix). Adds the pt-BR translations for the session-row
action strings ClaudeCodeUsage#43 introduced (copy id / copy path / resume / delete +
filters) so the pt-BR locale stays complete.

Co-Authored-By: Claude <noreply@anthropic.com>
Carl723000 added a commit that referenced this pull request Jun 30, 2026
- Bump version to 2.1.1.
- CHANGELOG: date [2.1.0] as 2026-06-26 (released) and gather the post-2.1.0
  work under a new [2.1.1] section — monthly cost (#41), session actions +
  clean quota + resilience + wider dashboard (#43), pt-BR (#48), account-switch
  fix (#45), third-party pricing accuracy (#46).
- gitignore the whole docs/ tree (local-only planning context pack; synced to a
  personal repo, never shipped 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.

2 participants