Qwen2.5 72B Instruct

Alibaba Qwen chatcodetool_use

API ID: qwen/qwen-2.5-72b-instruct

Input Price
$0.36
/1M tokens
Output Price
$0.40
/1M tokens

About 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 mathematics, thanks to our specialized expert models in these domains. - Significant improvements in instruction following, generating long texts (over 8K tokens), understanding structured data (e.g, tables), and generating structured outputs especially JSON. More resilient to the diversity of system prompts, enhancing role-play implementation and condition-setting for chatbots. - Long-context Support up to 128K tokens and can generate up to 8K tokens. - Multilingual support for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more. Usage of this model is subject to [Tongyi Qianwen LICENSE AGREEMENT](https://huggingface.co/Qwen/Qwen1.5-110B-Chat/blob/main/LICENSE).

๐Ÿ’ฐ
Price Ranking
#795 lowest price among 1240 Chat models

Model Specifications

Context Length
33k
Max Output
16k
Release Date
2024-09-19
Capabilities
chat code tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Code generation, debugging, code review, refactoring
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.28
/month
50 conversations/day, ~500 tokens each
Code Copilot
$2.69
/month
200 completions/day, ~1k tokens each
Customer Service Bot
$9.00
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$12.90
/month
500 analyses/day, ~2k tokens each

Alibaba Qwen Model Lineup

Compare all models from Alibaba Qwen to find the best fit

Model Input Output Context Capabilities
Qwen2.5 72B Instruct Current Free Free 33k chat code tool_use
Qwen2.5-VL 7B Instruct Free Free 33k chat vision tool_use
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Thedrummer Rocinante 12B
Input: $0.25
Output: $0.50
Context: 66k
Meta Llama 4 Maverick
Input: $0.15
Output: $0.60
Context: 1.0M
OpenAI GPT-4o-mini Search Preview
Input: $0.15
Output: $0.60
Context: 128k
Cohere Command R (08-2024)
Input: $0.15
Output: $0.60
Context: 128k

๐Ÿš€ Quick Start

Get started with Qwen2.5 72B Instruct API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="qwen/qwen-2.5-72b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)