Qwen2.5 72B Instruct
QwenReleased Sep 19, 2024
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...
- Context window
- 131K tokens
- Max output
- 16K tokens
- Input
- text
- Output
- text
- Tokenizer
- Qwen
- Knowledge cutoff
- Jun 30, 2024
- Released
- Sep 19, 2024
Pricing
Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.
| Per 1M tokens | Provider | + 3% fee | You pay |
|---|---|---|---|
| Input | $0.360 | $0.011 | $0.371 |
| Output | $0.400 | $0.012 | $0.412 |
Supported parameters
- frequency_penalty
- logit_bias
- max_tokens
- min_p
- presence_penalty
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_p
Call it
OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model qwen/qwen-2.5-72b-instruct.
curl https://api.openkey.ai/v1/chat/completions \
-H "Authorization: Bearer $OPENKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen-2.5-72b-instruct",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.openkey.ai/v1",
api_key=os.environ["OPENKEY_API_KEY"],
)
completion = client.chat.completions.create(
model="qwen/qwen-2.5-72b-instruct",
messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.openkey.ai/v1",
apiKey: process.env.OPENKEY_API_KEY,
});
const completion = await client.chat.completions.create({
model: "qwen/qwen-2.5-72b-instruct",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);Questions
- How much does Qwen2.5 72B Instruct cost via API?
- Through OpenKey, Qwen2.5 72B Instruct costs $0.371 per 1M input tokens and $0.412 per 1M output tokens. That is the provider price ($0.360 / $0.400) plus a flat 3% fee — nothing else.
- What is Qwen2.5 72B Instruct's context window?
- Qwen2.5 72B Instruct accepts up to 131K tokens of context and returns up to 16K tokens per request.
- Is Qwen2.5 72B Instruct OpenAI-compatible?
- Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "qwen/qwen-2.5-72b-instruct" using any OpenAI SDK — only the base URL and API key change.
- What inputs does Qwen2.5 72B Instruct support?
- Qwen2.5 72B Instruct accepts text input and produces text output. Its knowledge cutoff is Jun 30, 2024.
More from Qwen
All Qwen models →Qwen3.7 Plus
Qwen3.7-Plus is a cost-effective model in Alibaba's Qwen3.7 series. It supports text and image input with text output, building on the series' text capabilities with a comprehensive upgrade to its...
ctx 1Min $0.330out $1.32
Qwen3.7 Max
Qwen3.7-Max is the flagship model in Alibaba's Qwen3.7 series. It supports text input and output and is designed for agent-centric workloads, with particular strengths in coding, office and productivity tasks,...
ctx 1Min $1.29out $3.86
Qwen3.5 Plus 2026-04-20
Qwen3.5 Plus (April 2026) is a large-scale multimodal language model from Alibaba. It accepts text, image, and video input and produces text output, with a 1M token context window. This...
ctx 1Min $0.309out $1.85
Qwen3.6 27B
Qwen3.6 27B is a dense 27-billion-parameter language model from the Qwen Team at Alibaba, released in April 2026. It features hybrid multimodal capabilities — accepting text, image, and video inputs...
ctx 262Kin $0.294out $2.47