Qwen2-72B
Qwen2-72B is worth evaluating for coding, rag, and long context when its provider route and context window match the workload.
Use it for
- Teams evaluating coding, rag, and long context
- Workloads that can use a 128k context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- Vision or document-understanding workloads
- Family
- Qwen2
- Released
- 2024-06-05
- Context
- 128k
- Parameters
- 72.71B
- Architecture
- Decoder Only
- Specialization
- general
- Openness
- Open source
- License
- Apache 2.0OSI-approvedCommercial use: permitted
- Weights
- Unknown
- Code
- Unknown
- Training
- Fine-tuned
Cheapest of 4 routes · DeepInfra
About
Qwen2-72B is a cutting-edge large language model developed by Alibaba's Qwen team, featuring an impressive 72 billion parameters based on the Transformer architecture 12. It employs advanced enhancements such as SwiGLU activation, attention QKV bias, and group query attention to advance efficiency and precision 16. The model demonstrates strong performance across diverse benchmarks, excelling in language understanding, generation, coding, mathematics, and multilingual tasks, often surpassing other open-source models and challenging proprietary alternatives 34. With support for processing up to 128,000 tokens in context and proficiency in around 30 languages, it offers extensive input capabilities 15. However, the base model is not optimal for direct text generation; post-training techniques are advisable for specific applications 16.
Qwen2-72B is an open-source model in the Qwen2 family. The structured metadata tracks a 128k-token context window and structured outputs. This page tracks provider routes through Fireworks AI, DeepInfra, Together AI, and 1 more, with the cheapest tracked route listed at $0.45 input and $0.65 output per 1M tokens. Headline tracked benchmarks include HumanEval 67.1, Massive Multitask Language Understanding 84.2, and MMLU PRO 64.4.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ C1 relevant benchmark in the decision map.
RAG
Included by capability and metadata signals in the decision map.
Long context
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 4Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| DeepInfra | $0.450 | $0.650 | Serverless |
| Fireworks AI | $0.900 | $0.900 | Serverless |
| Together AI | $0.900 | $0.900 | Serverless |
| Microsoft Foundry | $1.00 | $2.00 | Provisioned |
Available via routers & gateways(6)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(3)
Migration checks
No linked migration route is available for this model yet.
Compare Qwen2-72B with other models
Comparison and alternatives
Browse all comparisons →Frequently asked questions
What is the context window of Qwen2-72B?
Qwen2-72B has a context window of 128k tokens.
How much does Qwen2-72B cost?
Qwen2-72B pricing ranges from $0.45/1M to $1.00/1M input tokens depending on the provider.
When was Qwen2-72B released?
Qwen2-72B was released on 2024-06-05.
Which providers offer Qwen2-72B?
Qwen2-72B is available from 4 providers: Fireworks AI, DeepInfra, Together AI, Microsoft Foundry.
What benchmarks has Qwen2-72B been tested on?
Qwen2-72B has been evaluated on 3 benchmarks, including HumanEval, Massive Multitask Language Understanding, MMLU PRO.
Cheapest of 4 routes · DeepInfra