One key. Every model.
Priced per request.
sugusGateway is an OpenAI-compatible AI gateway over a single upstream. Point an existing SDK at it, get every model behind one key, and see the exact cost of every single request — streamed, as it happens.
base_url = /v1
curl /v1/chat/completions \
-H "Authorization: Bearer $SUGUS_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4.5",
"stream": true,
"messages": [
{"role": "user", "content": "Explain CRDTs in three sentences."}
]
}'| Period | Spend |
|---|---|
| Mon | $0.42 |
| Tue | $0.58 |
| Wed | $0.51 |
| Thu | $0.77 |
| Fri | $0.93 |
| Sat | $0.69 |
| Sun | $1.12 |
- OpenAI-compatible wire format
- No SDK changes required
- Integer micro-USD accounting
Three things the upstream API does not do
The gateway is additive: every field your model providers already emit is passed through untouched. These are the extras.
Unified access
Every model the gateway serves behind one OpenAI-compatible endpoint. Point an existing SDK at sugusGateway and the request body is forwarded byte-for-byte — nothing is lost in translation.
Per-request cost
Every request is priced in integer micro-USD and returns its own cost in the response. Logs carry the upstream price next to yours, so margin is a number, not a guess.
Streaming that measures
Server-sent events pass through untouched, and a running cost estimate rides along in each chunk. Watch spend accrue live, then get the exact figure on the final usage frame.