Live
Qosway
Every model request takes the route you set.
Qosway is a self-hosted gateway for Claude Code, Codex and any OpenAI-compatible client. It sits inside your network and decides, for each request, whether it may leave, whether it needs to, and which model should answer.
In short
- Protocols
- OpenAI chat completions, OpenAI Responses, Anthropic Messages
- Setup
- One static Go executable with the admin panel inside. Runs as a systemd service or a container.
- Data
- SQLite. Redis is optional, for cache and limits.
- Providers
- OpenAI, Anthropic, DeepSeek, Grok
- Licence
- Licensed per customer
Details, docs and demo requests are on Qosway's own site.
One request, seven stops
The order is the order in the code. A request can leave the line at any stop before the provider, and each exit returns a named error.
Identify
Checks the client key and applies its rate limit.
Inspect
Scans the prompt for secrets before anything is cached or sent.
Reserve
Holds tokens against the key's daily and monthly caps.
Route
Picks the model from your routing policy and enabled providers.
Remember
Looks for the same question: exact match first, then semantic.
Send
Calls the provider. Falls back on 429 and 5xx, and streams as it arrives.
Record
Writes usage, cost, cache result and latency off the response path.