Skip to content

antigravity: Missing pricing for model_placeholder_m402 (Claude Opus 5.5) #1947

Closed

Description

@viniciusdsandrade

What happened?

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.

Activity

  1. pullfrog commented on Oct 22, 2026

    @pullfrog
    Contributor
  2. added
    bugSomething isn't working
    priority:lowMinor polish, documentation, or a low-impact edge case.
    triage:maintainableFits the repository's maintainable scope and needs review.
    on Oct 22, 2026
  3. added
    priority:mediumA normal bug or meaningful improvement.
    and removed
    priority:lowMinor polish, documentation, or a low-impact edge case.
    on Oct 22, 2026
  4. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor

    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.

  5. viniciusdsandrade commented on Oct 22, 2026

    @viniciusdsandrade
    ContributorAuthor
  6. added a commit that references this issue on Oct 22, 2026
    baeb991
  7. ryoppippi commented on Nov 10, 2026

    @ryoppippi
    Member

    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.

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

    bugSomething isn't workingpriority:mediumA normal bug or meaningful improvement.triage:maintainableFits the repository's maintainable scope and needs review.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions