> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Together

> Together AI offers the widest open-source model selection in the market, providing access to DeepSeek V4, GLM 5.2, Qwen3, Kimi, and 100+ other models through a single OpenAI-compatible API.

Together offers 9 models through Lava's AI Gateway, supporting Chat Completions, Embeddings. Authentication uses `Authorization: Bearer`. See the [Together API docs](https://docs.together.ai/reference) for provider-specific parameters.

> [!NOTE]
>
> Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.

## Quick Start

```typescript theme={null}
const response = await fetch('https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.together.xyz%2Fv1%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'Qwen/Qwen3.7-Plus',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});
```

## Chat Completions

**Target URL:** `https://api.together.xyz/v1/chat/completions`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | Yes (set `stream: true` in request body) |

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| zai-org/GLM-5.2 | \$1.40 | \$4.40 |
| Qwen/Qwen3.7-Max | \$1.25 | \$3.75 |
| Qwen/Qwen3.6-Plus | \$0.50 | \$3.00 |
| Qwen/Qwen3.7-Plus | \$0.32 | \$1.28 |
| Qwen/Qwen3.5-9B | \$0.17 | \$0.25 |
| together-glm-5.3-flash | \$0.15 | \$0.50 |
| openai/gpt-oss-120b | \$0.15 | \$0.60 |

## Embeddings

**Target URL:** `https://api.together.xyz/v1/embeddings`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | No |

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| BAAI/bge-base-en-v1.5-vllm | \$0.01 | Free |
| BAAI/bge-base-en-v1.5 | \$0.01 | Free |

## Next Steps

> [card] [All Providers](https://lava.so/docs/gateway/supported-providers.md)
>
> Browse all supported AI providers

> [card] [Forward Proxy](https://lava.so/docs/gateway/forward-proxy.md)
>
> Learn how to construct proxy URLs and authenticate requests


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.