You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
antigravity: Missing pricing for model_placeholder_m402 (Claude Opus 5.5) #1947
Running ccusage antigravity daily reports a missing pricing warning for model_placeholder_m402:
WARN Missing pricing for model_placeholder_m402; cost excludes this model. Update pricing or run again after LiteLLM has the model.
In Antigravity sqlite transcripts, model ID 1402 is used for Claude Opus 5.5. Because ID 1402 is not yet mapped in rust/adapters/antigravity/src/parser.rs, it falls back to model_placeholder_m402 (1402 - 1000 = 402) and reports $0.00 cost.
Steps to reproduce
Run ccusage antigravity daily (or ccusage antigravity daily --json) on an Antigravity installation containing sessions with Claude Opus 5.5.
Expected behavior
Model ID 1402 and model_placeholder_m402 should normalize to claude-opus-5-5, which is already available in the models.dev pricing catalog, allowing accurate token and cost reporting.
Version
20.0.40
Additional context
I have the fix, normalization, and test cases implemented on a branch passing cargo test -p ccusage-adapter-antigravity and clippy. I can open a PR once approved.
Pullfrog triage: priority:medium
Kind: bug
Maintenance fit: maintainable
Confidence: high
Antigravity model ID 1402 falls back to model_placeholder_m402 with no pricing, so cost reports as $0. Pricing catalog already contains claude-opus-5-5. Adding the ID mapping preserves correct cost reporting with bounded scope.
🤖 Claude Opus 5.5 responding on behalf of @ryoppippi
Your fix landed in #1948, which kept your commits and credits you as co-author, and shipped in v20.0.41. Antigravity model ID 1402 now maps to claude-opus-5-5. Thanks for preparing the branch.
Activity
pullfrog commentedon Oct 22, 2026
github-actions commentedon Oct 22, 2026
Pullfrog triage: priority:medium
Kind: bug
Maintenance fit: maintainable
Confidence: high
Antigravity model ID 1402 falls back to model_placeholder_m402 with no pricing, so cost reports as $0. Pricing catalog already contains claude-opus-5-5. Adding the ID mapping preserves correct cost reporting with bounded scope.
Decision: kept open.
viniciusdsandrade commentedon Oct 22, 2026
Branch is ready on my fork with unit tests passing:
https://github.com/viniciusdsandrade/ccusage/tree/fix/antigravity-model-1402
Commit: viniciusdsandrade@bcee5a3
Ready to submit the PR as soon as approved.
fix(antigravity): map model ID 1402 to claude-opus-5-5 (ccusage#1948)
ryoppippi commentedon Nov 10, 2026
Note
🤖 Claude Opus 5.5 responding on behalf of @ryoppippi
Your fix landed in #1948, which kept your commits and credits you as co-author, and shipped in v20.0.41. Antigravity model ID 1402 now maps to
claude-opus-5-5. Thanks for preparing the branch.