compare_models

Pack: openrouter · Endpoint: https://gateway.pipeworx.io/openrouter/mcp

Side-by-side comparison of pricing ($/1M tokens), context window, and modality for 2-5 OpenRouter models. Answers “is claude-sonnet-4.5 cheaper than gpt-4o”. Keyless.

Parameters

NameTypeRequiredDescription
idsarrayyesArray of 2-5 exact model ids, e.g. [“anthropic/claude-sonnet-4.5”, “openai/gpt-4o”].
itemsstringno

Example call

curl -X POST https://gateway.pipeworx.io/openrouter/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compare_models","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "openrouter": {
      "url": "https://gateway.pipeworx.io/openrouter/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 11, 2026