ai-model-router

v1.0.0
io.github.lazymac2x/ai-model-router Checked 16 hours ago Published 6 months ago

Cloudflare 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.

ParameterTypeDescription
input_tokensinteger
max_cost_usdnumberMax budget in USD per call
output_tokensinteger
prefer_providerstring
prefer_tierstring
promptstringTask description for auto-classification
task_typestring

compare_models

Compare cost and task fit across all supported AI models for a given prompt or token count.

ParameterTypeDescription
input_tokensinteger
output_tokensinteger
promptstring
task_typestring

list_models

List all supported AI models with pricing and capabilities.