Skip to content

27 models show .00 (599.6M tokens unpriced) — suffix variants (:thinking, :cloud, -TEE) not resolved via LiteLLM #629

Closed

Description

@morpheus9393

Summary

CodeBurn shows $0.00 for 27 models that are not in LiteLLM's pricing database, totaling 599.6M input tokens and 1.9M output tokens of unpriced usage. These appear as "$0" rows in the dashboard and distort the total cost (which is understated).

The affected models fall into three categories:

  1. Thinking/reasoning variants (:thinking suffix) — e.g. glm-4.7:thinking, glm-5:thinking, kimi-k2.6:thinking
  2. Cloud variants (:cloud suffix) — e.g. deepseek-v4-pro:cloud, minimax-m3:cloud
  3. TEE variants and other model IDs not in LiteLLM — e.g. GLM-4.7-TEE, Kimi-K2.5-TEE, MiMo-V2-Flash, KAT-Coder-Pro-V1

Evidence

Top 10 unpriced models (all show $0.00)

Model Input tokens Output tokens CodeBurn cost
GLM-4.7-TEE 389.4M 541K $0.00
glm-4.7:thinking 126.4M 678K $0.00
MiMo-V2-Flash 32.0M 115K $0.00
Kimi-K2.5-TEE 8.4M 30K $0.00
qwen3-max-2026-01-23 7.6M 80K $0.00
deepseek-v4-pro:cloud 5.9M 55K $0.00
glm-5:thinking 5.4M 31K $0.00
KAT-Coder-Pro-V1 4.3M 21K $0.00
kimi-k2.6:thinking 3.9M 125K $0.00
mimo-v2-flash:free 2.8M 10K $0.00

Total: 27 unpriced models, 599.6M input + 1.9M output tokens

Suggested improvements

1. Suffix stripping (like the cx/ prefix fix)

Many of these models are variants of known models with a suffix that LiteLLM doesn't index:

  • :thinking → strip to get base model (e.g. glm-5:thinking → glm-5 → $1.40/$4.40 per 1M)
  • :cloud → strip to get base model (e.g. deepseek-v4-pro:cloud → deepseek-v4-pro → $0.43/$0.87 per 1M)
  • -TEE → strip to get base model (e.g. GLM-4.7-TEE → glm-4.7 → known price)

2. Fuzzy matching fallback

For models like MiMo-V2-Flash, KAT-Coder-Pro-V1, qwen3-max-2026-01-23 that don't have a simple suffix relationship, a fuzzy match against LiteLLM keys (e.g. mimo-v2-flash → minimax/mimo-v2-flash) would catch most cases.

3. User-configurable aliases

CodeBurn already has codeburn model-alias for manual mapping, but it requires the user to know every unpriced model. A built-in fallback that auto-strips common suffixes (:thinking, :cloud, -TEE, -free) before giving up would reduce the manual burden significantly.

Environment

Related

Activity

  1. morpheus9393 commented on Jul 7, 2026

    @morpheus9393
    ContributorAuthor

    ⚠️ Warning: The comment above from @gobubabova93 contains a ZIP attachment (pricing_fix.zip) that appears to be spam/malware. The account was created <1 hour ago. Do not download or open it. I've flagged the user to GitHub.

  2. deleted a comment from on Jul 7, 2026
  3. iamtoruk commented on Jul 7, 2026

    @iamtoruk
    Member

    Removed the comment. This issue will be solved shortly :) Thanks

  4. iamtoruk commented on Jul 8, 2026

    @iamtoruk
    Member

    Implemented in #634.

    What changed:

    • Provider suffix variants like :thinking, :cloud, and -TEE now fall back to the base priced model when there is no exact priced entry.
    • Added safe aliases for MiMo-V2-Flash and KAT-Coder-Pro-V1.
    • Kept mimo-v2-flash:free at $0 instead of mapping it to paid MiMo pricing.
    • Kept qwen3-max-2026-01-23 unpriced because its pricing depends on provider and context tier, and mapping it to a reseller rate would be misleading.

    If you know the exact provider price for an unpriced model, you can add it manually. Rates are USD per 1,000,000 tokens:

    codeburn price-override qwen3-max-2026-01-23 --input 1.20 --output 6.00

    You can also include cache rates when applicable:

    codeburn price-override qwen3-max-2026-01-23 --input 0.78 --output 3.90 --cache-read 0.156 --cache-creation 0.975

    Useful commands:

    codeburn price-override --list
    codeburn price-override --remove qwen3-max-2026-01-23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions