Qwen2.5-7B-Instruct-1M

Qwen2.5-7B-1M is an advanced compact model built on a state-of-the-art Transformer architecture, integrating key innovations such as: Rotary Positional Embeddings (RoPE) for efficient encoding of positional information, the SwiGLU activation function for nonlinear transformations, RMSNorm with pre-normalization for stable training, and QKV bias in the attention mechanism. The architecture includes 28 layers with Grouped Query Attention (GQA), which enables optimal KV-cache utilization and reduced computational costs.

The main feature of the model is its ability to process up to 1,010,000 tokens of input context! This is equivalent to processing 10 full-length novels, 150 hours of speech transcripts, or 30,000 lines of code within a single request. Dual Chunk Attention (DCA) divides sequences into chunks and redistributes relative positions, ensuring stable performance on ultra-long contexts. Integration with YaRN attention scaling further enhances focus on critical information even when processing extremely long sequences. As a result, the model demonstrates outstanding accuracy in information retrieval tasks from very large documents, achieving over 80% accuracy even with a one-million-token context.

Qwen2.5-7B-1M opens up new possibilities in document processing, automated analysis, and intelligent assistants. It is ideally suited for legal analysis of lengthy contracts and documentation, scientific research, software development involving analysis of large codebases, and building technical support systems with access to extensive knowledge bases. In education, the model can analyze entire textbooks and generate comprehensive learning materials, while in business analytics, it can process voluminous reports and extract key insights for informed decision-making.


Announce Date: 23.01.2025
Parameters: 8B
Context: 1010K
Layers: 28
Attention Type: Full Attention
Developer: Qwen
Transformers Version: 4.47.1
License: Apache 2.0

Public endpoint

Use our pre-built public endpoints for free to test inference and explore Qwen2.5-7B-Instruct-1M capabilities. You can obtain an API access token on the token management page after registration and verification.
Model Name Context Type GPU Status Link
There are no public endpoints for this model yet.

Private server

Rent your own physically dedicated instance with hourly or long-term monthly billing.

We recommend deploying private instances in the following scenarios:

  • maximize endpoint performance,
  • enable full context for long sequences,
  • ensure top-tier security for data processing in an isolated, dedicated environment,
  • use custom weights, such as fine-tuned models or LoRA adapters.

Recommended server configurations for hosting Qwen2.5-7B-Instruct-1M

Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-4.16.64.160
1,010,000.0
tensor
4 $1.62 1.221 Launch
rtxa5000-4.16.128.160.nvlink
1,010,000.0
tensor
4 $2.34 1.221 Launch
teslaa100-1.16.64.160
1,010,000.0
1 $2.37 1.177 Launch
rtx3090-4.16.64.160
1,010,000.0
tensor
4 $2.89 1.293 Launch
rtx4090-4.16.64.160
1,010,000.0
tensor
4 $3.60 1.291 Launch
h100-1.16.64.160
1,010,000.0
1 $3.83 1.176 Launch
h100nvl-1.16.96.160
1,010,000.0
1 $4.11 1.413 Launch
rtx5090-3.16.96.160
1,010,000.0
pipeline
3 $4.34 1.327 Launch
teslaa100-2.24.96.160.nvlink
1,010,000.0
tensor
2 $4.61 2.482 Launch
h200-1.16.128.160
1,010,000.0
1 $4.74 2.209 Launch
rtx5090-4.16.128.160
1,010,000.0
tensor
4 $5.74 1.825 Launch
h200-2.24.256.160.nvlink
1,010,000.0
tensor
2 $9.40 4.548 Launch
Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-4.16.64.160
1,010,000.0
tensor
4 $1.62 1.218 Launch
rtxa5000-4.16.128.160.nvlink
1,010,000.0
tensor
4 $2.34 1.218 Launch
teslaa100-1.16.64.160
1,010,000.0
1 $2.37 1.174 Launch
rtx3090-4.16.64.160
1,010,000.0
tensor
4 $2.89 1.290 Launch
rtx4090-4.16.64.160
1,010,000.0
tensor
4 $3.60 1.288 Launch
h100-1.16.64.160
1,010,000.0
1 $3.83 1.173 Launch
h100nvl-1.16.96.160
1,010,000.0
1 $4.11 1.410 Launch
rtx5090-3.16.96.160
1,010,000.0
pipeline
3 $4.34 1.324 Launch
teslaa100-2.24.96.160.nvlink
1,010,000.0
tensor
2 $4.61 2.479 Launch
h200-1.16.128.160
1,010,000.0
1 $4.74 2.207 Launch
rtx5090-4.16.128.160
1,010,000.0
tensor
4 $5.74 1.822 Launch
h200-2.24.256.160.nvlink
1,010,000.0
tensor
2 $9.40 4.545 Launch
Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-4.16.128.160
1,010,000.0
tensor
4 $1.75 1.087 Launch
rtxa5000-4.16.128.160.nvlink
1,010,000.0
tensor
4 $2.34 1.087 Launch
teslaa100-1.16.128.160
1,010,000.0
1 $2.50 1.042 Launch
rtx3090-4.16.96.320
1,010,000.0
tensor
4 $2.97 1.159 Launch
rtx4090-4.16.96.320
1,010,000.0
tensor
4 $3.68 1.156 Launch
h100-1.16.128.160
1,010,000.0
1 $3.95 1.041 Launch
h100nvl-1.16.96.160
1,010,000.0
1 $4.11 1.278 Launch
rtx5090-3.16.96.160
1,010,000.0
pipeline
3 $4.34 1.183 Launch
teslaa100-2.24.96.160.nvlink
1,010,000.0
tensor
2 $4.61 2.348 Launch
h200-1.16.128.160
1,010,000.0
1 $4.74 2.075 Launch
rtx5090-4.16.128.160
1,010,000.0
tensor
4 $5.74 1.690 Launch
h200-2.24.256.160.nvlink
1,010,000.0
tensor
2 $9.40 4.413 Launch

Related models

Need help?

Contact our dedicated neural networks support team at nn@immers.cloud or send your request to the sales department at sale@immers.cloud.