# Together AI

CreateWithAI Hub page: https://createwithaihub.com/inference/together-ai
Latest version of this file: https://createwithaihub.com/inference/together-ai.md

- Type: Tool · Category: Endpoints & Inference
- Publisher: Together AI
- Pricing: Paid
- Runs on: API (cloud)

Cloud for running open models via serverless or dedicated endpoints, plus fine-tuning and GPU clusters.

Together AI provides serverless inference billed per token, dedicated endpoints billed by GPU hour, post-training (SFT, DPO, reinforcement learning) and GPU clusters. Its API can be called with the OpenAI client and also offers an Anthropic-compatible Messages API. The catalog spans chat, image generation (including FLUX), speech, and video models.

Useful for: Serving open models such as DeepSeek or Qwen in production, generating images with FLUX through an API, or fine-tuning a model and deploying it on dedicated GPUs.

## Key features

- Serverless inference billed per token
- Dedicated endpoints and GPU clusters billed per GPU hour
- Fine-tuning with SFT, DPO or reinforcement learning
- OpenAI-compatible and Anthropic-compatible APIs
- Chat, embeddings, image, speech-to-text, text-to-speech and video models
- Official Python and TypeScript SDKs

## Connection

- Model families: Qwen, DeepSeek, FLUX
- Modality: Text, Image, Audio, Video, Embeddings
- API compatibility: OpenAI-compatible, Anthropic-compatible
- Pricing structure: Per token, Per request / unit
- Kind: Inference provider

## Before you start

- Together AI account and API key (TOGETHER_API_KEY)

## Install steps from the official documentation

Python SDK (pip):

```
pip install together
```

Python SDK (uv):

```
uv add together
```

TypeScript SDK:

```
npm install together-ai
```

## Limitations

- No free trial; the first credit purchase must be at least $15 ($5 after that)
- Billing is prepaid; API access is suspended when the credit balance reaches zero

## Official links

- Website: https://www.together.ai
- Documentation: https://docs.together.ai
- Source: https://docs.together.ai/docs/introduction (Serverless/dedicated billing, post-training, GPU clusters, OpenAI and Anthropic compatibility, DeepSeek and FLUX usage)
- Source: https://docs.together.ai/docs/quickstart (SDK install commands)
- Source: https://www.together.ai/pricing (Per-token, per-GPU-hour, per-image, per-audio-minute and per-video pricing units; Qwen, DeepSeek, FLUX and video models listed)
- Source: https://docs.together.ai/docs/billing-credits (No free trials; $15 minimum first purchase, $5 after; prepaid, access suspended at zero balance)
