Qwen2.5 Coder 32B Instruct
Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen).
- Context Window
- 33K
- In
- $0.735per million tokens
- Out
- $1.11per million tokens
Qwen
qwen/ qwen-2.5-coder-32b-instructSpecifications
In$0.735
Out$1.11
- Context Window
- 33K
- Modalities
- text
- Price
- $0.735 in · $1.11 out, per million tokens
- Model ID
- qwen/qwen-2.5-coder-32b-instruct
Quick start
qwen/qwen-2.5-coder-32b-instruct
$0.735 in · $1.11 out, per million tokens
import OpenAI from 'openai'
const client = new OpenAI({
apiKey: process.env.HANZO_API_KEY,
baseURL: 'https://api.hanzo.ai/v1'
})
const response = await client.chat.completions.create({
model: 'qwen/qwen-2.5-coder-32b-instruct',
messages: [{ role: 'user', content: 'Hello!' }]
})
console.log(response.choices[0].message.content)
from openai import OpenAI
client = OpenAI(
api_key=os.environ["HANZO_API_KEY"],
base_url="https://api.hanzo.ai/v1"
)
response = client.chat.completions.create(
model="qwen/qwen-2.5-coder-32b-instruct",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://api.hanzo.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HANZO_API_KEY" \
-d '{
"model": "qwen/qwen-2.5-coder-32b-instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'
package main
import (
"context"
"fmt"
"os"
"github.com/sashabaranov/go-openai"
)
func main() {
cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY"))
cfg.BaseURL = "https://api.hanzo.ai/v1"
client := openai.NewClientWithConfig(cfg)
resp, _ := client.CreateChatCompletion(context.Background(),
openai.ChatCompletionRequest{
Model: "qwen/qwen-2.5-coder-32b-instruct",
Messages: []openai.ChatCompletionMessage{
{Role: openai.ChatMessageRoleUser, Content: "Hello!"},
},
},
)
fmt.Println(resp.Choices[0].Message.Content)
}
More from Qwen
View all Qwen models →$9.57Bill a month
Qwen2.5 Coder 32B Instruct costs 2.5× more for this mix.
Qwen2.5 Coder 32B Instruct$9.5733K
Qwen3.5-35B-A3B$3.78262K
- Qwen2.5 72B Instruct Qwen2.5 72B is the latest series of Qwen large language models. Qwen2.5 brings the following improvements upon Qwen2: - Significantly more knowledge and has greatly improved capabilities in coding and...
- Qwen2.5 7B Instruct Qwen2.5 7B is the latest series of Qwen large language models. Qwen2.5 brings the following improvements upon Qwen2: - Significantly more knowledge and has greatly improved capabilities in coding and...
- Qwen-Audio-3.0-TTS Flash Qwen-Audio-3.0-TTS Flash is Alibaba's fast, cost-efficient text-to-speech model, generating spoken audio from text via the DashScope Speech Synthesizer API.
- Qwen-Audio-3.0-TTS Plus Qwen-Audio-3.0-TTS Plus is Alibaba's higher-quality text-to-speech model, generating spoken audio from text via the DashScope Speech Synthesizer API.
- Qwen-Plus Qwen-Plus, based on the Qwen2.5 foundation model, is a 131K context model with a balanced performance, speed, and cost combination.
- Qwen2.5 VL 72B Instruct Qwen2.5-VL is proficient in recognizing common objects such as flowers, birds, fish, and insects. It is also highly capable of analyzing texts, charts, icons, graphics, and layouts within images.
Use Qwen2.5 Coder 32B Instruct via Hanzo AI
One API key. Every major model. OpenAI-compatible. Start free.
