Show HN: Styx, Open-source AI gateway with intelligent auto-routing (MCP-native)
Hacker News Show AI
•
Machine Learning
Generative AI
Open Source AI
Hey HN, We just open-sourced Styx - an AI gateway that sits between your app and AI providers (OpenAI, Anthropic, Google, Mistral). One endpoint, any model, self-hosted. What makes it different from LiteLLM or OpenRouter: styx:auto - send "model": "styx:auto" and the gateway picks the right model based on prompt complexity. Simple questions go to cheap models ($0.15/1M tokens), complex code goes to frontier models. 9-signal classifier, zero config. MCP-native - first gateway with a built-in MCP server.