Skip to content

antigravity: missing model names for IDs 1401, 1404, 1427 and 1437 #2070

Closed

Description

@caozx169

What happened?

These models appear as model_placeholder_m401/m404/m427/m437, with zero cost and an entry in unpricedModels. Their names are already present in the original Antigravity database:

ID Model name (field 19) Display name (field 21)
1401 claude-opus-5-5-medium Claude Opus 5.5 (Medium)
1404 claude-sonnet-5-5-medium Claude Sonnet 5.5 (Medium)
1427 gemini-4-carbon Gemini 4 Carbon (High)
1437 gemini-4-carbon Gemini 4 Carbon (Medium)

Cause: append_usage_event prefers usage.model_id; an unknown ID becomes a placeholder even when the same generation has an explicit name and a matching model ID.

Different IDs from #1947 and #1904, whose fixes are already included in 20.0.49.

Steps to reproduce

Run ccusage antigravity daily --json --offline on logs containing these IDs.

Minimal example in gen_metadata.data, nested chat-model fields:

3 (model ID): 1427
4 (usage): {1: 1427, 2: 60, 3: 10, 5: 40}
19 (response model): gemini-4-carbon
21 (display name): Gemini 4 Carbon (High)

Result: modelName: model_placeholder_m427, cost: 0. Confirmed with synthetic SQLite fixtures for all four IDs.

Expected behavior

Report the real model names and preserve High/Medium. When chat and usage model IDs match, use the explicit name if the numeric ID is unknown. Missing pricing can be reported separately.

Version

20.0.49, Windows x64

Activity

  1. pullfrog commented on Nov 11, 2026

    @pullfrog
    Contributor
  2. added
    priority:lowMinor polish, documentation, or a low-impact edge case.
    triage:maintainableFits the repository's maintainable scope and needs review.
    on Nov 11, 2026
  3. github-actions commented on Nov 11, 2026

    @github-actions
    Contributor

    Pullfrog triage: priority:low
    Kind: bug
    Maintenance fit: maintainable
    Confidence: high

    Antigravity IDs 1401, 1404, 1427 and 1437 report as model_placeholder with zero cost even though the same record contains explicit model names. Parser code confirms unknown numeric IDs produce placeholders and append_usage_event prefers usage.model_id over the explicit name. This matches prior placeholder mapping gaps and protects core model and cost reporting. Token volume is not shown, so impact is bounded.

    Decision: kept open.

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:lowMinor polish, documentation, or a low-impact edge case.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