Show HN: Attic – Dynamic model routing to reduce AI API costs by 45%
Category: infrastructure
Tags: ai-routing, llm-proxy, sse, openai-compatible, cost-optimization
Score: 6.3/10 (Innovation: 6, Technical: 7, Documentation: 7, Utility: 5)
Attic is an OpenAI-compatible proxy that dynamically routes prompts across tiers of local Ollama and hosted Groq models, with mid-stream failover that continues the same SSE connection on a stronger model. It includes stream monitoring for stalls, repetition loops, and garbled output, plus a rule-based step planner that assigns cheap models to easy subtasks and strong models to hard ones. The project is well-documented with clear limitations and benchmarks, though it currently supports only Groq and Ollama and has low community traction.
Target audience: AI engineers and backend developers
Repository: https://attic-pi.vercel.app/ · TypeScript · 1 stars
View on Hacker News