ai_model_router
LLM model router — Decide which model tier a prompt needs (small, medium or large) before you pay for a big model. Offline heuristic scoring of code, debugging, math, reasoning words, multi-part questions, context length, output length and routine tasks, with suggested max tokens, temperature and minimum context window. Optional: budget=low|balanced|quality, outputTokens=. No model call, nothing stored. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "ai_model_router"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | e.g. Classify this review as positive or negative: The battery died after two days. |