Qwen: Qwen2.5 7B Instruct✓ Catalog verified
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 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.
Overview
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 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.
Access: available through the official Qwen API. Context window: 33K.
Specifications
| API identifier | qwen/qwen-2.5-7b-instruct |
| Provider | Qwen |
| Model type | Text LLM |
| Context window | 33K catalog |
| Input modalities | text |
| Output modalities | text |
| Released | Oct 16, 2024 |
| Tokenizer | Qwen |
| Instruction format | chatml |
| Moderated | No |
| Architecture modality | text->text |
API defaults
{
"top_p": null,
"temperature": null,
"frequency_penalty": null
}Pricing
Live pricing components for qwen/qwen-2.5-7b-instruct as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $4e-8 | $0.04 / 1M | Per input token |
| Completion tokens | $1e-7 | $0.10 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.04Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | Not advertised | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | ✓ Supported | Supports tools / function calling |
| Self-Hosting | ✓ Supported | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call Qwen: Qwen2.5 7B Instruct through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="qwen/qwen-2.5-7b-instruct",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| AionLabs: Aion-RP 1.0 (8B) | Aion Labs | 33K | $0.80 | View → |
| Arcee AI: Coder Large | Arcee Ai | 33K | $0.50 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does Qwen: Qwen2.5 7B Instruct cost?
$0.04 per 1M input tokens and $0.10 per 1M output tokens on the official Qwen API.
What is the context window of Qwen: Qwen2.5 7B Instruct?
Qwen: Qwen2.5 7B Instruct supports up to 33K tokens of context.
Does Qwen: Qwen2.5 7B Instruct support tool / function calling?
Yes, Qwen: Qwen2.5 7B Instruct supports tool / function calling — you can register tools and the model will emit structured tool calls.
How do I access Qwen: Qwen2.5 7B Instruct?
Use the official Qwen API with the model id `qwen/qwen-2.5-7b-instruct`. See the Quick start section above for code examples.