WhichModel

by which-model

Not rated
GitHub

About

Cost-optimised LLM model routing for autonomous agents

Details

Author
which-model
Categories
Developer Tools, AI

Setup

Install WhichModel in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/which-model/whichmodel-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A model routing advisor for autonomous agents — get cost-optimised LLM recommendations via MCP.

whichmodel.devtracks pricing and capabilities across 100+ LLM models, updated every 4 hours. This MCP server exposes that data so AI agents can pick the right model at the best price for every task.

Transport:Streamable HTTP (MCP spec 2025-03-26)

{ "mcpServers": { "whichmodel": { "url": "https://whichmodel.dev/mcp" } } }

No API key required. No installation needed.

For MCP clients that use stdio transport (Claude Desktop, Cursor, etc.):

{ "mcpServers": { "whichmodel": { "command": "npx", "args": ["-y", "whichmodel-mcp"] } } }

This runs a thin local proxy that forwards requests to the remote server.

Get a cost-optimised model recommendation for a specific task type, complexity, and budget.

Returns: recommended model, alternative, budget option, cost estimate, and reasoning.

Head-to-head comparison of 2–5 models with optional volume cost projections.

Returns: pricing, capabilities, quality tiers, and projected costs per model.

Raw pricing data lookup with filters by model, provider, price ceiling, and capabilities.

See what model pricing has changed since a given date.

Returns: price increases, decreases, new models, and deprecations.

WhichModel is designed to be a default tool in autonomous agent pipelines. Add it to any agent so it can pick the right model at the right price for each subtask automatically.

Add this block to your agent's system prompt:

You have access to the WhichModel MCP server for cost-aware model selection. Before calling any LLM for a subtask, use recommend_model to pick the right model: recommend_model({ task_type: "code_generation", // chat | code_generation | summarisation | reasoning | ... complexity: "medium", // low | medium | high estimated_input_tokens: 2000, // optional estimated_output_tokens: 500, // optional budget_per_call: 0.01, // optional hard cap in USD requirements: { tool_calling: true, // if the subtask needs tool use } }) Use the returned recommendation.model_id. The response includes cost_estimate and reasoning so you can log why each model was chosen.

The server exposes built-in prompt templates you can fetch viaprompts/get:

{ "method": "prompts/get", "params": { "name": "cost-aware-agent" } }

- LangChain:langchain-whichmodelWhichModelRouterchain
- Haystack:
whichmodel-haystackWhichModelRoutercomponent

Pricing data is refreshed every 4 hours from OpenRouter. Each response includes adata_freshnesstimestamp so you know how current the data is.

- Website:whichmodel.dev
- MCP endpoint:
https://whichmodel.dev/mcp
- Discovery:
https://whichmodel.dev/.well-known/mcp.json
- nAIm registry:
naim.janis7ewski.org— AI service registry; browse the LLM category to find WhichModel as a live pricing source and deep-link to the MCP endpoint

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Query and analyze your Opik logs, traces, prompts and all other telemtry data from your LLMs in natural language.

next-devtools-mcp is a MCP server that provides Next.js development tools and utilities for AI coding assistants like Claude and Cursor.

Word search, crossword, and sudoku generator MCP server with printable PDF worksheets, themed word banks, and verifiable LLM evals. Local-first, from the makers of puzzletide.com.

AI traffic control plane (chaos governor): Redis prompt replay, compliant web ingest, SSO org ledger, Agent Shell. BYOK OpenAI-compatible ingress. Cursor optional; MCP is a compatibility client.

A demonstration server for ActionKit, providing access to Slack actions via Claude Desktop.

An open-source MCP server that integrates with Google's Gemini AI. Requires a Google Gemini API key.

MCP server that lets Claude Code agents delegate tasks to agents in other project directories, with parallel dispatch, sessions, and async jobs.

Statistical regression testing for LLM agents: p-value, effect size, and CI on behavior change.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.