Skip to main content
RapidDev - Software Development Agency
AI API Limits & Performance Matrix9 min readVerified July 10, 2026

Qwen2 API Rate Limits, Pricing & Performance (July 2026)

Qwen2 is no longer listed in the DashScope international catalog as of the July 2026 pricing update. No first-party API price is published — Qwen2 has been delisted. Access is available through third-party hosts (DeepInfra, Fireworks) for Qwen2.5-72B, or via open weights (Apache 2.0). For new projects, migrate to Qwen3-Max ($1.20/$6.00 on DashScope, 262K context, batch 50% off).

4.9Clutch rating
600+Happy partners
17+Countries served
190+Team members

Deprecated model

Sunsets not published (no formal sunset announcement; delisted from current catalog without an explicit EOL date)

Qwen2 is legacy / delisted from the current DashScope international catalog as of the July 1-2, 2026 pricing update. No first-party API price is published and the model is not in the active DashScope model catalog. New projects must use Qwen3-Max or Qwen3.5-Plus on DashScope. Third-party hosts (DeepInfra, Fireworks, Together AI) may still serve Qwen2.5-72B but with no guarantee of ongoing availability.

Migrate to:Qwen3-MaxCurrent DashScope flagship — same provider, 262K context, batch 50% off, active catalog support at $1.20/$6.00 per MTok
Alibaba (DashScope)Generally available

API model string

not published (delisted from current DashScope catalog)

Context window

128K tokens (Qwen2-72B)

Max output not published

Knowledge cutoff
not published
Released
2024
Modalities
text in, text out (Qwen2-VL adds vision)

Last verified July 10, 2026

Rate limits by tier

Qwen2 is delisted from the current DashScope international pricing catalog (July 1-2, 2026 update). No first-party API endpoint with published limits exists. The table below describes the real access paths: third-party hosting and self-hosted open weights.

TierRequirementsRPMTPMRPDConcurrentNotes
DashScope first-party — NOT AVAILABLEn/anot published (delisted)not publishednot publishednot publishedQwen2 is no longer in the current DashScope international pricing catalog. First-party price is not published; endpoint may return errors. Alibaba's 1M free trial does not apply to delisted models.
Third-party hosts (DeepInfra, Fireworks, Together AI)Account on the relevant third-party inference hostvaries by host (not published here)varies by hostvaries by hostvaries by hostQwen2.5-72B (the most recent Qwen2-family model) is still widely served on third-party hosts. Rates are historically 50-80% below former DashScope prices (per third-party trackers — verify current rates on each host before quoting).
Self-host (open weights)Own GPU infrastructure; Apache 2.0 license (commercial use permitted)self-managedself-managedself-managedself-managedQwen2-72B-Instruct open weights available at huggingface.co/Qwen/Qwen2-72B-Instruct. Apache 2.0 license permits commercial use. Hardware requirement: approximately 2-4 A100 40GB GPUs at FP16.

Swipe the table sideways to see every limit column.

  • 1.Qwen2.5 (72B, Coder, VL variants) is still widely served on third-party hosts; Qwen2 proper is largely superseded by Qwen2.5 and now Qwen3.
  • 2.Open weights on Hugging Face: huggingface.co/Qwen/Qwen2-72B-Instruct (Apache 2.0 license).
  • 3.Alibaba's new 1M-token free trial (for current-catalog models) does not apply to Qwen2 — the model is delisted.
  • 4.No first-party Qwen2 API price is published — the model is delisted from DashScope international as of July 2026.
  • 5.Third-party indicative pricing for Qwen2.5-72B (verify on each host before quoting): DeepInfra historically serves open-weight models at a significant discount vs prior DashScope rates. Exact current Qwen2 per-token rate is not confirmed.
  • 6.For migration planning, see successor Qwen3-Max on DashScope international: $1.20 input / $6.00 output per MTok; 50% batch discount (cannot combine with context caching).

Limits verified against the Alibaba (DashScope) docs, July 10, 2026.

not published (delisted from current DashScope catalog) vs the alternatives

Qwen2 (delisted) compared to its own successor and live alternatives for teams evaluating migration options.

Aspectnot published (delisted from current DashScope catalog)Qwen3-MaxLlama 4 ScoutGemma 3
First-party API availabilitydelisted (no first-party)live DashScopethird-party hosts (DeepInfra, Groq)Google AI Studio / Vertex
Context window128K (Qwen2-72B)262K (Qwen3-Max)up to 1M natively (Llama 4 Scout)131K (Gemma 3)
LicenseApache 2.0 (open weights, commercial use OK)Qwen3 LicenseLlama 4 Community LicenseGemma License
Input $/MToknot published (delisted)$1.20 (DashScope)$0.08-$0.11 (DeepInfra/Groq)$0.040 (Google)
Output $/MToknot published (delisted)$6.00$0.30$0.080
Self-host optionyes (Apache 2.0, open weights)yes (Qwen3 open weights)yes (Meta open weights)yes (Google open weights)
MultimodalQwen2-VL yes; base Qwen2 text-onlytext-only (Qwen3-Max base)text + image (Llama 4 Scout)text + image (Gemma 3)

Swipe the table sideways to see every model.

Hitting a 429? The playbook

The exact errors you'll see

No first-party Qwen2 API endpoint exists — 429 handling is per third-party host.HTTP 429 Too Many Requests (standard on DeepInfra, Fireworks, Together AI with Retry-After header)ThrottlingException or RateLimitExceeded (host-specific; check your provider's docs)

Why it happens & how to fix it

Using a decommissioned DashScope Qwen2 endpoint

Switch to Qwen3-Max on DashScope (model string: qwen3-max) or Qwen2.5-72B on a current third-party host such as DeepInfra or Fireworks.

Third-party host RPM limit exceeded

Implement exponential backoff with jitter; check the host's rate-limit response headers (Retry-After or x-ratelimit-reset) and honor them.

Account balance depleted on third-party host

Add credits to your third-party host account (DeepInfra, Fireworks, or Together AI billing portal).

Retry strategy

Standard HTTP 429 handling applies on all third-party hosts (DeepInfra, Fireworks, Together). Honor the Retry-After header if present. Otherwise, use exponential backoff: wait = min(60s, 2^attempt + random(0, 1)s). Most third-party hosts use OpenAI-compatible APIs — the same retry wrapper works across hosts by changing base_url.

retry.ts
1import OpenAI from 'openai';
2
3// Swap base_url for your host:
4// DeepInfra: https://api.deepinfra.com/v1/openai (model: Qwen/Qwen2-72B-Instruct)
5// Fireworks: https://api.fireworks.ai/inference/v1 (model: accounts/fireworks/models/qwen2-72b-instruct)
6// For new projects, consider migrating to Qwen3-Max on DashScope.
7const client = new OpenAI({
8 apiKey: process.env.HOST_API_KEY ?? '',
9 baseURL: 'https://api.deepinfra.com/v1/openai',
10});
11
12async function callWithRetry(
13 prompt: string,
14 maxAttempts = 5
15): Promise<string> {
16 for (let attempt = 0; attempt < maxAttempts; attempt++) {
17 try {
18 const response = await client.chat.completions.create({
19 model: 'Qwen/Qwen2-72B-Instruct',
20 messages: [{ role: 'user', content: prompt }],
21 });
22 return response.choices[0].message.content ?? '';
23 } catch (err: any) {
24 if (err?.status === 429 && attempt < maxAttempts - 1) {
25 const retryAfter = err.headers?.['retry-after'];
26 const wait = retryAfter
27 ? parseInt(retryAfter, 10) * 1000
28 : Math.min(60000, 1000 * Math.pow(2, attempt)) + Math.random() * 1000;
29 console.warn(`429 on attempt ${attempt + 1}; retrying in ${wait}ms`);
30 await new Promise((r) => setTimeout(r, wait));
31 } else {
32 throw err;
33 }
34 }
35 }
36 throw new Error('Max retry attempts reached');
37}

How to raise your limits

The ladder from the starter tier to enterprise — what each rung takes, and what it unlocks.

1

Third-party free tier / trial credits

Immediate

Sign up on DeepInfra (deepinfra.com) or Fireworks (fireworks.ai) — both offer trial credits for new accounts

Unlocks: Limited free inference on Qwen2.5-72B (most recent Qwen2-family model still widely hosted)

2

Third-party pay-as-you-go

Immediate

Add payment method on DeepInfra, Fireworks, or Together AI

Unlocks: Per-token access at host rates (verify current Qwen2/Qwen2.5 pricing on each host — not published here as rates change frequently)

3

Self-host (open weights)

GPU infrastructure setup time

Download Qwen/Qwen2-72B-Instruct from huggingface.co/Qwen/Qwen2-72B-Instruct; Apache 2.0 license, commercial use permitted

Unlocks: No per-token cost; full control; approximately 2-4 A100 40GB GPUs required at FP16

4

Migrate to Qwen3-Max (recommended)

Immediate (API switch only)

Update model string to qwen3-max on DashScope international; add USD balance

Unlocks: Active DashScope catalog support, 262K context, batch 50% off, thinking mode, ongoing pricing transparency

Cut your token spend

Migrate to Qwen3-Max or Qwen3.5-Plus for first-party DashScope support

Eliminates uncertainty; access to published pricing and ongoing model support

Qwen2 is delisted from the current DashScope catalog. Switch to qwen3-max (262K context, $1.20/$6.00, batch 50% off) or qwen3.5-plus for first-party pricing transparency and active support.

Use Qwen2.5-72B on budget-friendly third-party hosts for cost-sensitive workloads

Historically 50-80% below prior DashScope rates per third-party trackers

DeepInfra and Fireworks serve open-weight Qwen2.5-72B at discounted rates (verify current pricing on each host before quoting — rates change and are not confirmed here as of July 2026).

Self-host for very high token volumes

Zero per-token cost; GPU infrastructure replaces API spend

Apache 2.0 license permits commercial self-hosting. At ~50M+ tokens/month, amortized GPU cost may beat third-party per-token rates. Deploy with vLLM for throughput efficiency.

Use Qwen2-VL variant if multimodal capability is needed

Avoids switching providers for vision tasks

Qwen2-VL (vision-language) is still available on some third-party hosts and as open weights. If vision is a hard requirement and budget is constrained, evaluate Qwen2-VL before migrating entirely to Qwen3-Max.

Pin model version string on third-party hosts

Prevents silent drift to a different checkpoint

When using third-party inference hosts, always specify the full model identifier (e.g., Qwen/Qwen2-72B-Instruct) rather than a generic alias, to avoid silent updates to a different checkpoint.

Frequently asked questions

Does Qwen2 still have an API?

Not through DashScope first-party as of July 2026. Qwen2 was delisted from the DashScope international catalog during the July 1-2, 2026 pricing update. No endpoint with a published price exists. Access is available through third-party hosts (DeepInfra, Fireworks, Together AI) for Qwen2.5-72B, or via self-hosted open weights (Apache 2.0 license).

Is Qwen2 API free?

No free hosted API exists for Qwen2 — it is delisted from DashScope. Alibaba's 1M-token free trial applies only to models in the current DashScope catalog. You can run Qwen2-72B for free by self-hosting the open weights (Apache 2.0 license), paying only for GPU infrastructure.

What is the best migration path from Qwen2?

For most teams: switch to Qwen3-Max on DashScope international (model string: qwen3-max). It is the current DashScope flagship, offers 262K context (vs 128K for Qwen2-72B), costs $1.20/$6.00 per MTok, and supports a 50% batch discount. If your workload is cost-sensitive and context requirements are modest, also evaluate Llama 4 Scout at $0.08-$0.11/$0.30 on third-party hosts.

Can I still self-host Qwen2?

Yes — Qwen2-72B-Instruct is available on Hugging Face at huggingface.co/Qwen/Qwen2-72B-Instruct under the Apache 2.0 license, which permits commercial use. You need approximately 2-4 A100 40GB GPUs at FP16. Deploy with vLLM for efficient throughput.

What is Qwen2 vs Qwen2.5 vs Qwen3-Max?

Qwen2 was released in 2024 and is now largely superseded. Qwen2.5 added capability improvements and is still served by third-party hosts. Qwen3-Max (released January 2026) is the current prior-gen DashScope flagship with 262K context and thinking mode, now itself superseded by Qwen3.7-Max. For new projects, use Qwen3-Max or Qwen3.7-Max on DashScope.

Why is Qwen2 rate limit information not available?

Because Qwen2 is delisted from the current DashScope catalog, no rate limits are published. DashScope did not prominently publish RPM/TPM limits for Qwen2 even when it was active. Third-party hosts that serve Qwen2.5-72B have their own rate limits visible in their consoles.

How do I integrate Qwen2 for existing workflows that I cannot immediately migrate?

Use a third-party OpenAI-compatible host: DeepInfra (base_url: https://api.deepinfra.com/v1/openai, model: Qwen/Qwen2-72B-Instruct) or Fireworks (base_url: https://api.fireworks.ai/inference/v1, model: accounts/fireworks/models/qwen2-72b-instruct). This approach buys migration time. RapidDev (rapidevelopers.com/contact) can help architect a phased migration to Qwen3-Max while maintaining backward compatibility for existing integrations.

RapidDev

We build AI apps that don't hit rate limits

  • Retry, backoff & caching built in
  • Multi-provider fallback routing
  • Fixed price, you own the code
Get a free estimate

30-min call. No commitment.

Still weighing your options?

Talk to a team that ships on all of these platforms. A free consultation gets you an honest recommendation for your specific project — even if the answer is a tool, not us.

Book a free consultation

We put the rapid in RapidDev

Need a dedicated strategic tech and growth partner? Discover what RapidDev can do for your business! Book a call with our team to schedule a free, no-obligation consultation. We'll discuss your project and provide a custom quote at no cost.