G
GitHub
Route every prompt to the cheapest model that can handle it
4.3(10,000 ulasan)
Berbayar· mulai US$20.00/bln
Diluncurkan 2026
Sobre
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.
Kelebihan
- +Classificação de prompts por complexidade
- +Rotas para o modelo mais barato
- +Contagem de custos em tempo real
Kekurangan
- −Limitado a modelos específicos (Claude, GPT-4o, GPT-4o-mini, Groq)
- −Requer conhecimento de programação para configuração