Skip to content
Gemini CLI

ai cost analyzer for Gemini CLI

io.github.vpatser1/ai-cost-analyzer

Analyze LLM API costs: token waste detection, caching savings estimates, model comparison

client:Gemini CLI transport:stdio runtime:npm

Install ai cost analyzer in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ai-cost-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "ai-cost-analyzer"
      ],
      "env": {
        "LICENSE_KEY": "<LICENSE_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

ai cost analyzer in other clients