Build a Cost-Aware Model Router MCP Server for Peak/Off-Peak
DeepSeek's Aug 16, 2026 peak/off-peak rate card made time-of-day a first-class LLM cost input. This guide builds cost-router-mcp, a FastMCP Python server that routes agent calls to the cheapest eligible model — with a routing engine, cost-table JSON, provider config, token-budget caps, fallback retries, and OAuth 2.0/API-key security.