Qwen: Qwen2.5 7B Instruct 1M
This model is no longer available.Add AI to your application with Puter.js.
Explore Other ModelsModel Card
Qwen2.5 7B Instruct 1M is a 7-billion-parameter instruction-tuned chat model from Alibaba's Qwen team, released in January 2025 as the long-context variant of Qwen2.5 7B Instruct in the Qwen2.5-1M series.
It handles contexts up to 1 million tokens, enough to fit entire codebases, books, or large document collections in a single request. In Qwen's 1M-token passkey retrieval test it finds hidden information with near-perfect accuracy (minor errors reported for the 7B size), and on RULER, LV-Eval, and LongBench-Chat it outperforms its 128K predecessor, especially on sequences beyond 64K tokens.
On short-context academic benchmarks it performs about the same as the 128K version, which Qwen reports as comparable to GPT-4o-mini, while supporting a context eight times longer. A low-cost option for long-document question answering, retrieval, and analysis over very large inputs.
Context Window 1M
tokens
Max Output 8K
tokens
Input Cost $0.18
per million tokens
Output Cost $0.74
per million tokens
Input text
modalities
Release Date Jan 27, 2025
Code Example
Add AI to your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
More AI Models From Qwen
Qwen3.6 27B
Qwen3.6 27B is a dense 27-billion-parameter multimodal model from Alibaba's Qwen team, purpose-built for agentic coding and repository-level reasoning. It scores 77.2% on SWE-bench Verified and 59.3% on Terminal-Bench 2.0, outperforming the previous-generation Qwen3.5-397B-A17B across all major coding benchmarks despite being far smaller. It natively supports text, image, and video inputs with a 262K-token context window, extendable to 1M tokens. A standout feature is Thinking Preservation, which retains reasoning traces across conversation turns — reducing redundant computation in multi-step agent loops. The model uses a hybrid attention architecture combining Gated DeltaNet with traditional self-attention. Ideal for developers building coding agents, multi-turn tool-use workflows, or frontend generation pipelines.
ChatQwen3.6 Max Preview
Qwen3.6 Max Preview is Alibaba's most capable language model to date — a proprietary flagship that claimed the top score on six major coding benchmarks at its April 20, 2026 release. It leads on SWE-bench Pro, Terminal-Bench 2.0, SkillsBench, QwenClawBench, QwenWebBench, and SciCode. The Artificial Analysis Intelligence Index rates it at 52, well above the median for reasoning models in its price tier. It supports a 256K-token context window and is text-only at launch. As a preview release, Alibaba is still actively iterating on the model. Best suited for teams building coding agents, scientific computing tools, or frontend generation systems that need peak benchmark performance.
ChatQwen3.6 35B A3B
Qwen3.6 35B A3B is a sparse Mixture-of-Experts model with 35 billion total parameters but only 3 billion active per token, making it highly efficient for inference. Developed by Alibaba's Qwen team, it scores 73.4% on SWE-bench Verified and 51.5% on Terminal-Bench 2.0 — significantly outperforming dense models like Gemma 4-31B (52.0% on SWE-bench Verified). It natively handles text, image, and video with a 262K-token context window, extendable to 1M tokens. The model supports Thinking Preservation for stable multi-turn reasoning and includes native tool-calling capabilities. Released under Apache 2.0, it was the first open-weight model in the Qwen3.6 family. A strong choice for developers who want frontier-adjacent coding performance at a fraction of the compute cost of larger models.
Frequently Asked Questions
Qwen2.5 7B Instruct 1M is no longer available through Puter.js. Explore other AI models for alternatives.
| Price per 1M tokens | |
|---|---|
| Input | $0.18 |
| Output | $0.74 |
Qwen2.5 7B Instruct 1M was created by Qwen and released on Jan 27, 2025.
Qwen2.5 7B Instruct 1M supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,016 pages of text.
Qwen2.5 7B Instruct 1M can generate up to 8K tokens in a single response.
Qwen2.5 7B Instruct 1M accepts the following input types: text. It produces: text.
Yes — the Qwen2.5 7B Instruct 1M API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add AI to your application without worrying about API keys or setup.
Explore Models View Tutorials