---
title: "Show HN: Styx, Open-source AI gateway with intelligent auto-routing (MCP-native)"
slug: "show-hn-styx-open-source-ai-gateway-with-intelligent-auto-routing-mcp-native"
date: 2026-03-09
category: community
tags: [openai, anthropic, google, open-source]
language: en
sources_count: 1
featured: false
publisher: AInauten News
url: https://news.ainauten.com/en/story/show-hn-styx-open-source-ai-gateway-with-intelligent-auto-routing-mcp-native
---

# Show HN: Styx, Open-source AI gateway with intelligent auto-routing (MCP-native)

**Published**: 2026-03-09 | **Category**: community | **Sources**: 1

---

## TL;DR

Hey HN, We just open-sourced Styx — an AI gateway that sits between your app and AI providers (OpenAI, Anthropic, Google, Mistral).

---

## Summary

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. Connect Claude Code or Cursor in one command: claude mcp add styx -- npx styx-mcp 65+ models with live pricing — prices auto-refresh every 24h from OpenRouter's public API. Self-hosted in 5 min — git clone, run setup.sh (interactive wizard), docker compose up. Tech stack: Go (router/proxy, https://github.com/timmx7/styx Would love feedback on the architecture and the auto-routing approach.

---

## Why it matters

Hey HN, We just open-sourced Styx — an AI gateway that sits between your app and AI providers (OpenAI, Anthropic, Google, Mistral).

---

## Key Points

- 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.

---

## Nauti's Take

Styx plays the API-aggregation game everyone's already playing — but the 9-signal complexity classifier for auto-routing is a genuinely smart twist. Routing cheap prompts to cheap models automatically could save teams real money without any prompt engineering overhead.

---


## FAQ

**Q:** What is Show HN about?

**A:** Hey HN, We just open-sourced Styx — an AI gateway that sits between your app and AI providers (OpenAI, Anthropic, Google, Mistral).

**Q:** Why does it matter?

**A:** Hey HN, We just open-sourced Styx — an AI gateway that sits between your app and AI providers (OpenAI, Anthropic, Google, Mistral).

**Q:** What are the key takeaways?

**A:** 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.

---

## Related Topics

- [openai](https://news.ainauten.com/en/tag/openai)
- [anthropic](https://news.ainauten.com/en/tag/anthropic)
- [google](https://news.ainauten.com/en/tag/google)
- [open-source](https://news.ainauten.com/en/tag/open-source)

---

## Sources

- [Show HN: Styx, Open-source AI gateway with intelligent auto-routing (MCP-native)](https://github.com/timmx7/styx) - Hacker News AI

---

## About This Article

This article is a synthesis of 1 sources, curated and summarized by AInauten News. We aggregate AI news from trusted sources and provide bilingual (German/English) coverage.

**Publisher**: [AInauten](https://www.ainauten.com) | **Site**: [news.ainauten.com](https://news.ainauten.com)

---

*Last Updated: 2026-03-20*
