Skip to content
Gemini CLI

ComparEdge LLM Cost for Gemini CLI

io.github.imkemit-ops/comparedge-llm-cost

Token cost math for LLM API calls: verified per-1M-token rates for 69 models, 17 providers.

client:Gemini CLI transport:stdio runtime:npm

Install ComparEdge LLM Cost in Gemini CLI

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

{
  "mcpServers": {
    "comparedge-llm-cost": {
      "command": "npx",
      "args": [
        "-y",
        "@comparedge/llm-cost-mcp"
      ]
    }
  }
}

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

ComparEdge LLM Cost in other clients