Skip to content

[Bug]: Antigravity Orchestrator models and new numeric model IDs (e.g. 1537) show as Unpriced in Usage Cost breakdown #40349

Closed

Description

@PonkoKobo

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Run turns through the Antigravity provider using Orchestrator (Neon) (gemini-pro-orchestrator-neon) or gemini-4-hydrogen-orchestrator. The numeric fallback also reproduces with usage records containing only model ID 1537 (MODEL_PLACEHOLDER_M537).
  2. Open Usage → Cost and inspect the model breakdown.

Expected behavior

The affected Orchestrator variants should resolve to the existing base-model LiteLLM rates in usage-model-rates.json (gemini/gemini-4-neon, gemini/gemini-4-hydrogen, and gemini/gemini-4-argon for their respective variants). The corresponding token usage should contribute to the total estimated cost.

Actual behavior

The breakdown shows gemini-pro-orchestrator-neon, gemini-4-hydrogen-orchestrator, and antigravity-model-1537 as Unpriced. Their token usage contributes no estimated cost.

Suggested fix: Map gemini-pro-orchestrator-neon to gemini-4-neon and gemini-pro-orchestrator-g1-pro to gemini-4-argon for rate lookup. Strip -orchestrator for base-named variants such as gemini-4-hydrogen-orchestrator. Add the confirmed 1537 mapping to MODEL_IDS and verify other current MODEL_PLACEHOLDER_M* mappings before adding them.

Impact

Minor bug or occasional failure

Version or commit

0.1.11 (commit 59651c1761f6)

Environment

Windows x64, T3 Code Desktop 0.1.11, Antigravity ACP 1.5.13.

Logs or stack traces

Sanitized ACP log excerpt and the rate keys observed in the local usage-model-rates.json.

ACP: Orchestrator (Neon) (enum: MODEL_PLACEHOLDER_M537)
Rate keys:
  gemini/gemini-4-neon
  gemini/gemini-4-hydrogen
  gemini/gemini-4-argon

Screenshots, recordings, or supporting files

No response

Workaround

In Usage → All environments → Model prices, add a model alias (usageModelAliases) to gemini-4-neon or gemini-4-hydrogen, as appropriate. You can also use Set price on the unpriced row to add a manual price override (usagePriceOverrides).

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