https://api.together.ai/v1. GoModel routes these endpoints to it:
Configure
Create an API key in the Together AI dashboard and set:config.yaml:
https://us-api.together.ai/v1):
TOGETHER_MODELS is a fallback list, used only when /models fails or is
empty; CONFIGURED_PROVIDER_MODELS_MODE=allowlist makes it the only list.
Models
GoModel reads Together’s live/models listing, including each model’s type,
display name, context length, and per-token prices. Image, audio, video, and
rerank models are left out because GoModel does not route those endpoints to
Together. Model IDs contain a slash; use them verbatim, or prefix the provider
name to pin the route:
openai/gpt-oss-120b is looked up
on OpenAI and fails, so send together/openai/gpt-oss-120b instead.
Behavior notes
- Responses go through chat completions. Together’s native
/responsesendpoint is a beta that rejects many serverless models, so GoModel translates Responses requests to chat completions, which every chat model supports. With a GoModel response store configured,previous_response_idchains work: the gateway replays the stored history. - Passthrough is opt-in. Add
togethertoENABLED_PASSTHROUGH_PROVIDERSto expose/p/together/..., which forwards any path under the base URL with the gateway’s Together key. Use it for Together endpoints GoModel does not route, such as images or rerank.