Recommend Optimal Model
rai_model_routeRoutes AI tasks to suitable models by analyzing complexity and cost-quality tradeoffs, returning recommended model, alternatives, per-1K-token costs, and savings estimates.
Instructions
Recommend the optimal AI model for a task based on complexity analysis and cost-quality tradeoff. Returns recommended model, alternative, estimated cost per 1K tokens, and estimated savings vs GPT-4o. Used by LLMOps Engineers for intelligent model routing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rai_model_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | No | Optional: batch route multiple task descriptions | |
| task_description | No | Natural language description of the task | |
| quality_requirement | No | maximum: best model always; balanced: cost-quality tradeoff; cheapest: minimize cost | balanced |