ai-model-router
v1.0.0Cloudflare Workers MCP server: ai-model-router
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
route_model
Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.
| Parameter | Type | Description |
|---|---|---|
input_tokens | integer | |
max_cost_usd | number | Max budget in USD per call |
output_tokens | integer | |
prefer_provider | string | |
prefer_tier | string | |
prompt | string | Task description for auto-classification |
task_type | string |
compare_models
Compare cost and task fit across all supported AI models for a given prompt or token count.
| Parameter | Type | Description |
|---|---|---|
input_tokens | integer | |
output_tokens | integer | |
prompt | string | |
task_type | string |
list_models
List all supported AI models with pricing and capabilities.