Skip to content

Fix missing Claude Fable/Mythos 5 pricing #7

@pitimon

Description

@pitimon

Problem

claude-fable-5 usage appears in the TokenTracker model breakdown with token counts, but cost is blank/zero because the bundled pricing data does not yet provide a resolved price for the model.

A local report showed examples like:

  • claude-fable-5 with millions of tokens but no displayed cost
  • claude-sonnet-4-6 and claude-haiku-4-5-20251001 displaying costs correctly

Scope

Add pinned pricing for Claude Fable/Mythos 5 across the local pricing engine and dashboard edge pricing copies so local and cloud/account views compute cost consistently.

Acceptance

  • claude-fable-5 resolves non-zero pricing.
  • claude-mythos-5 resolves the same pinned tier for consistency.
  • Model breakdown/account summaries compute costs for these model names and aliases.
  • Pricing tests cover the pinned models and a representative cost calculation.
  • Published package @ipv9/tokentracker-cli@0.39.12 includes the fix.

Validation already run

  • node --test test/pricing.test.js
  • node --test test/model-breakdown.test.js test/local-api-legacy-codex-schema.test.js test/local-api-source-scope.test.js
  • node scripts/ops/validate-ui-hardcode.cjs
  • npm --prefix dashboard run build
  • npm --prefix dashboard test
  • npm pack --dry-run --json
  • local service smoke at http://127.0.0.1:7680/dashboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions