Skip to content
Grok

ComparEdge LLM Cost for Grok

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:Grok transport:stdio runtime:npm

Install ComparEdge LLM Cost in Grok

.mcp.json (in your project root)

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

ComparEdge LLM Cost in other clients