This website uses cookies to anonymously analyze website traffic using Google Analytics.

Models / QwenQwen /  / Qwen2.5 72B API

Qwen2.5 72B API

Decoder-only model built for advanced language processing tasks.

Try our Qwen2.5 API

Qwen2.5 72B API Usage

Endpoint

RUN INFERENCE

curl -X POST "https://api.together.xyz/v1/chat/completions" \
  -H "Authorization: Bearer $TOGETHER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Qwen/Qwen2.5-72B-Instruct-Turbo",
    "messages": [],
    "stream": true
  }'

RUN INFERENCE

from together import Together

client = Together()

response = client.chat.completions.create(
    model="Qwen/Qwen2.5-72B-Instruct-Turbo",
    messages=[],
    stream=True
)
for token in response:
    if hasattr(token, 'choices'):
        print(token.choices[0].delta.content, end='', flush=True)

RUN INFERENCE

import Together from "together-ai";

const together = new Together();

const response = await together.chat.completions.create({
  messages: [],
  model: "Qwen/Qwen2.5-72B-Instruct-Turbo",
  stream: true
});

for await (const token of response) {
  console.log(token.choices[0]?.delta?.content)
}

How to use Qwen2.5 72B

Model details

Prompting Qwen2.5 72B

Applications & Use Cases

Looking for production scale? Deploy on a dedicated endpoint

Deploy Qwen2.5 72B on a dedicated endpoint with custom hardware configuration, as many instances as you need, and auto-scaling.

Get started