Seedance 2.0 | Special Offer ✦ 10% OFF NOW
alibaba
qwen/qwen-2.5-coder-32b-instruct

qwen/qwen-2.5-coder-32b-instruct

32,768 context · $0.66/M input tokens · $1.00/M output tokens

Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). Qwen2.5-Coder brings the following improvements upon CodeQwen1.5: - Significantly improvements in code generation, code reasoning...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.66 / M Tokens
Output$1.00 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.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)

Model Introduction

Qwen qwen-2.5-coder-32b-instruct

qwen qwen-2.5-coder-32b-instruct


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 32768 context window for long document handling
  • Competitive pricing at $0.0/$0.1 per million tokens

Key Features

  • Context Window: 32768 tokens
  • Max Output: 32768 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderQwen
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window32768 tokens
Max Output32768 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.1

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: qwen/qwen-2.5-coder-32b-instruct


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.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

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen/qwen-2.5-coder-32b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: qwen/qwen-2.5-coder-32b-instruct
  • Provider: Qwen

Info

Provideralibaba
Typellm

Supported Functionality

Input
Text
Output
Text
Context32,768
Max Output32,768
Vision-
Function Calling-

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDqwen/qwen-2.5-coder-32b-instruct

Qwen 2.5 Coder 32b Instruct API

qwen/qwen-2.5-coder-32b-instruct

Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). Qwen2.5-Coder brings the following improvements upon CodeQwen1.5: - Significantly improvements in **code generation**, **code reasoning**...

Input

$0.66 /M

Output

$1 /M

Context

33K

Max Output

33K

Try Qwen 2.5 Coder 32b Instruct on WaveSpeedAI

Access Qwen 2.5 Coder 32b Instruct through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about Qwen 2.5 Coder 32b Instruct

How much does Qwen 2.5 Coder 32b Instruct cost via the API?+

Pricing on WaveSpeedAI: $0.66 per million input tokens and $1.00 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Qwen 2.5 Coder 32b Instruct?+

Qwen 2.5 Coder 32b Instruct supports up to 33K tokens of context with up to 33K tokens of output per request.

Is Qwen 2.5 Coder 32b Instruct OpenAI-compatible?+

Yes. WaveSpeedAI exposes Qwen 2.5 Coder 32b Instruct through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with Qwen 2.5 Coder 32b Instruct?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Qwen 2.5 Coder 32b Instruct before paying per token.

Related LLM APIs