Together AI
Together AI serves 13 models on LLM API: 9 text models and 4 image models from Alibaba, DeepSeek, Moonshot AI and 5 other labs.
Models and prices
Prices when Together AI serves the request.
No Together AI model matches your search.
Text 9
Prices per 1M tokens
togetherai/deepseek-v4.1-flash-1017 | $0.3 | $1.2 | $0.006 | 1M |
|---|---|---|---|---|
togetherai/kimi-k3.1-pro | $2 | $10 | $0.2 | 1.05M |
togetherai/kimi-k3 | $3 | $15 | $0.3 | 1.05M |
togetherai/glm-5.3 | $1.4 | $4.4 | $0.26 | 1.05M |
togetherai/MiniMax-M3.1-Flash | $0.15 | $0.6 | $0.015 | 1M |
togetherai/inkling-2-small | $0.3 | $1 | $0.03 | 262K |
togetherai/deepseek/deepseek-v4.1-flash | $0.3 | $1.2 | $0.006 | 1M |
togetherai/qwen3.5-9b | $0.1 | $0.15 | — | 262K |
togetherai/gpt-oss-120b | $0.15 | $0.6 | $0.15 | 131K |
Image 4
Price per image
togetherai/qwen-image-2.0 | $0.04/ image | Generate |
|---|---|---|
togetherai/qwen-image-2.0-pro | $0.08/ image | Generate |
togetherai/gemini-3-pro-image | $0.134/ image | Generate, Edit |
togetherai/gemini-2.5-flash-image | $0.039/ image | Generate, Edit |
Send requests to Together AI
Put togetherai/ before a model ID and the request goes to Together AI. If Together AI’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends X-No-Fallback: true. Routing docs
Example: DeepSeek V4.1 Flash 1017
POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.llmapi.ai/v1",
api_key=os.environ["LLMAPI_KEY"],
)
response = client.chat.completions.create(
model="togetherai/deepseek-v4.1-flash-1017",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.llmapi.ai/v1",
apiKey: process.env.LLMAPI_KEY,
});
const response = await client.chat.completions.create({
model: "togetherai/deepseek-v4.1-flash-1017",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);curl https://api.llmapi.ai/v1/chat/completions \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "togetherai/deepseek-v4.1-flash-1017",
"messages": [{"role": "user", "content": "Hello"}]
}'Prices synced November 13, 2026.