GitHub logo

GitHub

Route every prompt to the cheapest model that can handle it

Artificial Intelligence Developer Tools Productivity

Stop overpaying for AI APIs. This pydantic-ai + FastAPI template classifies each prompt by complexity and routes it to the cheapest model that can handle it — Claude for hard tasks, Groq for simple ones. Real-time cost tracking included. Works with Claude, GPT-4o, GPT-4o-mini, and Groq out of the box. Drop into any existing project in under 10 minutes. Full source, test suite, and setup walkthrough included.

投票数: 0
← 投稿一覧に戻る