Styx is an open-source AI gateway. Send "model": "styx:auto" and it picks the optimal model based on prompt complexity. Simple question → cheap model. Complex code → frontier model. 65+ models from OpenAI, Anthropic, Google, Mistral. Self-hosted with Docker in 5 minutes. Interactive setup wizard. Dashboard for costs and latency. Auto-failover between providers. Go router (<10ms overhead) + Python backend + Next.js dashboard. Apache 2.0.
No reviews yetBe the first to leave a review for Styx
Maker
📌
Hey Product Hunt! 👋
We built Styx because we were tired of hardcoding "gpt-4o" everywhere and overpaying for simple queries.
The auto-routing classifier analyzes 9 signals in your prompt (code detection, reasoning patterns, math, conversation depth...) and routes to the optimal model automatically.
Quick start: git clone → ./setup.sh → docker compose up → done.
Would love your feedback on the approach! What features would you want in an AI gateway?