← llmcalculator.net

INDIVIDUAL MCP TOOL

calculate_cost

Calculate the USD cost of an LLM call given model_id, input_tokens and output_tokens.

llmcalculator.netnone authenticationAvailability not checked

Input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent endpoint

llmcalculator.net

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.llmcalculator-net]
url = "https://llmcalculator.net/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "llmcalculator-net": {
      "type": "http",
      "url": "https://llmcalculator.net/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: llmcalculator-net
Remote MCP URL: https://llmcalculator.net/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "llmcalculator-net": {
      "url": "https://llmcalculator.net/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "llmcalculator-net": {
      "type": "http",
      "url": "https://llmcalculator.net/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "llmcalculator-net",
  "transport": "streamable-http",
  "url": "https://llmcalculator.net/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • list_models — List LLM models with current pricing from llmcalculator.net.
  • compare_models — Rank all models by total cost for the given input_tokens and output_tokens.
  • get_cheapest_model — Return the single cheapest model by input price.