Llm Prices MCP Server

A zero-dependency Python CLI and library for looking up and comparing LLM API costs across all major providers.

Local serverstdioPython

What is the Llm Prices MCP Server?

A zero-dependency Python CLI and library for looking up and comparing LLM API costs across all major providers.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_model_pricingGet pricing for a specific model
calculate_api_costCalculate exact cost for input+output tokens
compare_modelsCompare cost of a workload across multiple models
find_cheapest_modelsFind the N cheapest models for your workload
list_providersList all 24 providers with min pricing
search_llm_modelsSearch models by name or filter by provider

How to install the Llm Prices MCP Server

{
  "mcpServers": {
    "llm-prices": {
      "command": "llm-prices-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Llm Prices to get model pricing.”
  • “Use Llm Prices to calculate api cost.”
  • “Use Llm Prices to compare models.”

Frequently asked questions

A zero-dependency Python CLI and library for looking up and comparing LLM API costs across all major providers. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.