Together AI API
Together AI 接口
Cloud platform for open-source LLM inference with 100+ models including Llama, Mixtral, and DeepSeek.
开源大模型推理云平台,提供 100+ 模型包括 Llama、Mixtral 和 DeepSeek。
Website
Documentation
Pricing
pay-as-you-go (per token)
Authentication
- API Key
Popularity
70/100
Endpoints
https://api.together.xyz/v1/chat/completions
SDKs
PythonTypeScriptcurl
Key Features
- ◆100+ open-source models
- ◆Llama, Mixtral, DeepSeek, Qwen support
- ◆Inference & fine-tuning endpoints
- ◆GPU clusters for training
- ◆OpenAI-compatible API
Code Examples
Chat Completionbash
curl https://api.together.xyz/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
-d '{
"model": "meta-llama/Llama-3.3-70B-Instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'Tags
llminferenceopen-source
Last updated: 2026-07-27
Similar APIs
OpenAI API
★100Access GPT-4o, GPT-4, GPT-3.5, embeddings, DALL-E, Whisper, and TTS models via REST API.
GitHub REST API
★96Manage repos, issues, PRs, actions, and users. The backbone of open-source automation.
Hugging Face Hub API
★92Access 500K+ models, datasets, and Spaces. Inference API for instant model deployment.
LangChain Platform
★91Framework and platform for building LLM applications. LangSmith for observability, LangServe for deployment.
Something wrong or missing? Open an issue on GitHub →
Pricing Comparison
| API | Pricing | Auth | Popularity |
|---|---|---|---|
| OpenAI API | pay-as-you-go (per token) | API Key (Bearer Token) | 100 |
| Anthropic Claude API | pay-as-you-go (per token) | API Key (x-api-key header) | 87 |
| Google Gemini API | free tier available, pay-as-you-go | API Key | 85 |
| OpenAI Assistants API | pay-as-you-go (per token + per tool use) | API Key (Bearer Token) | 84 |
Get Started with Together AI API
Click below to visit the official website and start using this API.
Visit Together AI API →Discussion
Questions, feedback, or suggestions? Start a discussion.
Discuss on GitHub