LLM API
Model provider13 models8 labsPrivacy policy

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.

Text 9

Prices per 1M tokens

Text models on Together AI and their prices on LLM API
DeepSeekDeepSeek V4.1 Flash 1017togetherai/deepseek-v4.1-flash-1017$0.3$1.2$0.0061M
Moonshot AIKimi K3.1 Protogetherai/kimi-k3.1-pro$2$10$0.21.05M
Moonshot AIKimi K3togetherai/kimi-k3$3$15$0.31.05M
Z.aiGLM-5.3togetherai/glm-5.3$1.4$4.4$0.261.05M
MiniMaxMiniMax-M3.1-Flashtogetherai/MiniMax-M3.1-Flash$0.15$0.6$0.0151M
CartesiaInkling 2 Smalltogetherai/inkling-2-small$0.3$1$0.03262K
DeepSeekDeepSeek V4.1 Flashtogetherai/deepseek/deepseek-v4.1-flash$0.3$1.2$0.0061M
AlibabaQwen 3.5 9Btogetherai/qwen3.5-9b$0.1$0.15—262K
OpenAIGPT OSS 120Btogetherai/gpt-oss-120b$0.15$0.6$0.15131K

Image 4

Price per image

Image models on Together AI and their prices on LLM API
AlibabaQwen Image 2.0togetherai/qwen-image-2.0$0.04/ imageGenerate
AlibabaQwen Image 2.0 Protogetherai/qwen-image-2.0-pro$0.08/ imageGenerate
GoogleGemini 3 Pro Imagetogetherai/gemini-3-pro-image$0.134/ imageGenerate, Edit
GoogleGemini 2.5 Flash Imagetogetherai/gemini-2.5-flash-image$0.039/ imageGenerate, 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)

Prices synced November 13, 2026.

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up