Base URL
What you get
OpenAI-compatible API
POST /v1/chat/completions, /v1/embeddings, /v1/responses, /v1/images/generations, audio endpoints.Anthropic-compatible API
POST /v1/messages and /v1/messages/count_tokens. Point Claude Code or the Anthropic SDK at Triw.Gemini-compatible API
POST /v1beta/models/{model}:generateContent plus an OpenAI-style route at /v1beta/openai/models.One bill
Every model is metered in the same quota unit, whichever provider serves it.
How a request flows
- You send a request to
https://router.triw.iowith an API key (Authorization: Bearer sk-...). - Triw resolves the model name to an available upstream channel for your key’s group.
- The upstream response is relayed back in the same wire format you sent.
- Usage is metered against your balance.
model value.

