GitHub - Route every prompt to the cheapest model that can handle it
by•
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.

p/xtensio
p/gatrends
p/producthunt
p/google-cloud-platform
p/kodlo
p/meridian-16
p/product-hunt-wrapped-2025
p/reso
p/many-displays
p/runevr
p/lancetta
p/wellows-3
p/clocknext
p/zush
p/beamfy
p/expert-chase-deleted-1107920
p/make0-brain
p/netfox
p/monocloud-for-startups-free-for-1-year
Replies