**Show HN: Route LLM prompts to cheapest capable model – pydantic-AI and litellm**

> Route prompts to the cheapest model that handles them. Claude + GPT-4o + Groq. Live cost tracking. Built with pydantic-ai + litellm. - Reactance0083/pydantic-ai-multi-llm-cost-optimizer Multi-LLM Cost Optimizer (pydantic-ai + litellm + FastAPI) Routes every prompt to the cheapest model that can handle it well. Uses pydantic-ai for the routing decision and litellm for unified execution across Claude, GPT-4o, and Groq....

**来源信息**
- **来源**:Hacker News:AI 热帖
- **分类**:ai-products
- **发布时间**:2026-06-23 21:30(北京时间)
- **原文**:[打开原文](https://github.com/Reactance0083/pydantic-ai-multi-llm-cost-optimizer)