Qwen2.5-7B-Instruct-1M

Language Alibaba Qwen Partly verified Released Jan 27, 2025
  • Tool use
  • Structured output
  • Open weights

Prices

1 offering · prices as listed
Alibaba Cloud Model Studio (opens in a new tab) Official Global · USD qwen2.5-7b-instruct-1m
Conditions/ 1M tokensInputOutput
Standard no longer listed since Oct 1, 2026 past price, from the vendor’s page archived Jan 16, 2026$0.368$1.47

Prices from Alibaba Cloud Model Studio pricing (opens in a new tab) (checked Sep 30, 2026)

Standard: the price a request with no conditions pays (the headline price elsewhere on the site).

Details

Reasoning
—
Family
qwen
Model ID

Not stated on Alibaba Qwen’s pages: max input, input modalities, output modalities, reasoning efforts, reasoning can be off, max thinking budget, built-in tools, knowledge cutoff, licence, aliases.

Run locally

Weights: Qwen/Qwen2.5-7B-Instruct-1M
  • Parameters 7.6B
  • Dense
  • Native precision BF16
  • Layers 28
  • KV cache per token 56 KB
  • Config positions 986K (config.json max_position_embeddings)
  • API context 977K (maker’s API)
My hardware GeForce RTX 4090 24 GB · 1008 GB/s · 64 GB DDR5 dual channel · 89.6 GB/s
On your hardware · GeForce RTX 4090
Runs well BF16 (native) (automatic) 8K context 32–48 tok/sOne GPU
WeightsKV cacheOverheadUsable
Needs
≈ 15.3 GB (weights 14.2 (maker’s file) + KV cache 0.4 + overhead 0.7)
Usable
21.6 GB (90% of its memory)
Generation speed
32–48 tok/s
Longest context
122K (longer doesn’t fit)
First token
about 0.25–0.37 s for a 2K prompt
PrecisionWeightsNeeds at 8KOn your hardwareLongest context
BF16 (native)maker’s file14.2 GB≈ 15.3Runs well 32–48 tok/s122K
Q8_07.5 GB≈ 8.5Runs well 59–88 tok/s248K
FP87.1 GB≈ 8.0Runs well 62–94 tok/s256K
Q6_K5.8 GB≈ 6.8Runs well 75–112 tok/s279K
Q5_K_M5.0 GB≈ 6.0Runs well 86–128 tok/s293K
Q5_04.9 GB≈ 5.8Runs well 88–133 tok/s296K
Q4_K_M4.3 GB≈ 5.2Runs well 99–148 tok/s307K
Q4_04.0 GB≈ 4.9Runs well 106–159 tok/s313K
IQ4_XS3.8 GB≈ 4.7Runs well 112–167 tok/s317K
Q3_K_Mquality drops3.5 GB≈ 4.4Runs well 120–180 tok/s322K
IQ3_XXSquality drops2.7 GB≈ 3.7Runs well 149–223 tok/s336K
Q2_Kquality drops2.7 GB≈ 3.6Runs well 152–227 tok/s337K
IQ2_XXSquality drops1.8 GB≈ 2.8Runs well 207–311 tok/s352K

Click a row to choose a precision. “Maker’s file” sizes are the maker’s own files; others are parameters × bits per weight.

Compared with other hardware

Each at the highest precision it runs. Click one for details.

Smallest that runs it (Q4_K_M, 8K): GPU GeForce RTX 3080; unified memory Apple M5 · 16 GB.

Run commands

vLLM
vllm serve Qwen/Qwen2.5-7B-Instruct-1M --max-model-len 8192
Memory to fine-tune
Full≈ 115.8 GBDoesn’t fit your hardware
LoRA≈ 16.6 GBFits your hardware
QLoRA≈ 6.4 GBFits your hardware

Batch 1, 2,048-token sequences, gradient checkpointing; LoRA and QLoRA train rank-16 adapters on the attention projections.

Estimates; facts from the maker’s Hugging Face repositories, as of 2026-11-06. How it’s estimated

Cited scores

From third-party leaderboards, not measured by us

This model isn’t on any leaderboard we cite yet.

No changes recorded yet.

Sources

Alibaba Qwen’s official policies: data use, privacy, terms →

Some values on this page are still waiting to be checked against official pages: a filled dot is verified, a hollow one is not yet (with or without a source on file). How we verify data

Alibaba Qwen · China · qwen.ai

Snapshots, the same family and other models from this provider