Skip to main content
Any client that speaks the OpenAI wire format works unchanged against Triw: openai (Python, Node, Go, .NET), LangChain, LlamaIndex, Vercel AI SDK, and anything else built on /v1/chat/completions.

Install

Configure

Only the base URL and key change:

Streaming

Triw relays server-sent events as they arrive. If your own proxy sits in front of the client, disable buffering there or deltas will arrive in bursts.

Supported OpenAI routes

/v1/chat/completions, /v1/completions, /v1/responses, /v1/embeddings, /v1/models, /v1/images/generations, /v1/images/edits, /v1/audio/speech, /v1/audio/transcriptions, /v1/audio/translations, /v1/moderations, /v1/rerank, /v1/files, /v1/fine-tunes.

Notes that save debugging time

  • Do not append /chat/completions to the base URL yourself if the SDK already does it.
  • organization and project headers from the OpenAI SDK are ignored.
  • Tool calling, JSON mode, and response_format are passed through to the upstream model. Whether they work depends on the model, not on Triw.
  • Error bodies follow the OpenAI shape; see Errors for the code table.