Skip to main content
Glama
openrouter-llm-pricing-mcp

openrouter-llm-pricing-mcp

openrouter-llm-pricing-mcp

Zero-key live OpenRouter LLM pricing and model catalog over Model Context Protocol (MCP). AI platform engineers, FinOps teams, and procurement leads can search 400+ AI models, inspect per-million-token prompt and completion rates, compare models side by side, filter by context window and modality, and estimate monthly LLM spend without an API key or sign-up. It connects over Streamable HTTP right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://openrouter-llm-pricing-mcp.lipmichal.workers.dev/mcp

Related MCP server: openrouter-mcp

Available tools

Tool

Purpose

search_llm_models

Search 400+ live OpenRouter LLMs by keyword, provider, modality, open-weight flag, or context length

get_llm_model_pricing

Look up exact per-million-token prompt, completion, image, and request pricing for a model ID

compare_llm_pricing

Compare up to 6 LLM models side by side on token pricing, context window, and monthly cost

find_cheapest_llms

Rank the lowest-cost LLMs meeting minimum context window, modality, or open-weight criteria

estimate_llm_workload_cost

Estimate per-request, monthly, and annual USD cost for an LLM workload

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "openrouter-llm-pricing": {
      "url": "https://openrouter-llm-pricing-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries https://openrouter.ai/api/v1/models with a clear User-Agent header (mcpstamp-openrouter-pricing/1.0) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't stay cached. All five tools declare read-only, non-destructive, idempotent, open-world annotations.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude or ChatGPT to query OpenRouter's 300+ models for pricing, context length, capabilities, and rankings through tools such as model-card, compare-models, cheapest-for, cost-estimator, and usage-rankings, using a public, key-less API with 6-hour caching.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to browse, inspect, and compare LLMs from OpenRouter's catalog with normalized per-million-token pricing, context windows, and modalities. Supports filtering by search, free-only status, minimum context, or modality.
      316 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables coding assistants to recommend, compare and price AI models, estimate token costs, and look up announced retirement dates and replacements, all from free nightly-rebuilt open data. Runs locally over stdio with no API key or hosting required.
      6
      310 npm
      MIT