Together AI at https://api.together.xyz/v1 hosts open models behind an OpenAI-compatible API.
Create a key at api.together.ai. Send it as Authorization: Bearer <key>. In the examples it's written {{TOGETHER_API_KEY}}.
Full reference: https://docs.together.ai/reference
curl https://api.together.xyz/v1/chat/completions \
-H "Authorization: Bearer {{TOGETHER_API_KEY}}" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-ai/DeepSeek-V4-Flash-0731", "messages": [{"role": "user", "content": "Explain what a webhook is in two sentences."}]}'
Every model with its type, context length, and price.
curl https://api.together.xyz/v1/models \
-H "Authorization: Bearer {{TOGETHER_API_KEY}}"