---
title: Qwen2 72B Instruct API | Text Generation | ModelsLab
description: 72B transformer model with 128K context window, multilingual support across 27 languages, and strong performance in chatbots, content moderation, and text.
url: https://modelslab.com/models/Qwen/Qwen-Qwen2-72B-Instruct.md
canonical: https://modelslab.com/models/Qwen/Qwen-Qwen2-72B-Instruct.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-20T04:11:38.151011Z
---

Qwen2 72B Instruct
---

 [LLMs.txt](https://modelslab.com/models/together_ai/Qwen-Qwen2-72B-Instruct/llms.txt) [.md](https://modelslab.com/models/Qwen/Qwen-Qwen2-72B-Instruct.md)

Qwen-Qwen2-72B-Instruct Qwen Closed Source Model $0.900000 / call

Qwen2 72B Instruct
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Qwen2 72B Instruct

Qwen Qwen-Qwen2-72B-Instruct

Copy model ID

PricingInput $0.90 / 1M tokens

Output $0.90 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[![Meta Llama 3.3 70B Instruct Turbo](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ea6eb38a-fc24-4e77-8f61-57b99958e56c.png)](https://modelslab.com/models/together_ai/meta-llama-Llama-3.3-70B-Instruct-Turbo-test)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3.3 70B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.3-70B-Instruct-Turbo-test)

[![xAI: Grok 4.20](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/cbb09348-03e2-411a-9016-a9d4118bd399.png)](https://modelslab.com/models/open_router/x-ai-grok-4.20)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4.20

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4.20)

[BS](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-lite)[Open Router](https://modelslab.com/models/open_router)

 [ByteDance Seed: Seed-2.0-Lite

Closed Source Model](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-lite)

[AA](https://modelslab.com/models/open_router/aion-labs-aion-rp-llama-3.1-8b)[Open Router](https://modelslab.com/models/open_router)

 [AionLabs: Aion-RP 1.0 (8B)

Closed Source Model](https://modelslab.com/models/open_router/aion-labs-aion-rp-llama-3.1-8b)

[![inclusionAI: Ling-2.6-flash](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/05786dbb-54cc-4ffb-88f7-adf5290c77a2.png)](https://modelslab.com/models/open_router/inclusionai-ling-2.6-flash)[Open Router](https://modelslab.com/models/open_router)

 [inclusionAI: Ling-2.6-flash

Closed Source Model](https://modelslab.com/models/open_router/inclusionai-ling-2.6-flash)

[![OpenAI: GPT-4o-mini (2024-07-18)](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/1d7718e7-d743-44fa-b26e-45244bfdccc9.png)](https://modelslab.com/models/open_router/openai-gpt-4o-mini-2024-07-18)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4o-mini (2024-07-18)

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4o-mini-2024-07-18)

[![Deepseek V4 Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/bc2a8239-b6cc-452f-9072-6744332da3e8.png)](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V4-Pro)[Together AI](https://modelslab.com/models/together_ai)

 [Deepseek V4 Pro

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V4-Pro)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5v)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5V

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5v)

[![Google: Gemma 2 27B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/7f3d7c90-3268-4eee-a0de-1ae980b452b5.png)](https://modelslab.com/models/open_router/google-gemma-2-27b-it)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 2 27B

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-2-27b-it)

[G3](https://modelslab.com/models/together_ai/google-gemma-3-27b-it-lora)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 3 27B It Lora

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-3-27b-it-lora)

[![Mistral (7B) Instruct v0.3](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0d292e07-60e8-4917-99eb-6a891246c023.png)](https://modelslab.com/models/mistral_ai/mistralai-Mistral-7B-Instruct-v0.3)[ModelsLab](https://modelslab.com/models/mistral_ai)

 [Mistral (7B) Instruct v0.3

Closed Source Model](https://modelslab.com/models/mistral_ai/mistralai-Mistral-7B-Instruct-v0.3)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-8b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 8B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-8b)

[![Gemma 2B It](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/bbc280e1-e6d0-4657-abc5-de5dc5b763d8.png)](https://modelslab.com/models/together_ai/google-gemma-2b-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 2B It

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-2b-it)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.7)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.7

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.7)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-small-3.2-24b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small 3.2 24B

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-3.2-24b-instruct)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2.5-free)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2.5 (free)

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2.5-free)

[![TheDrummer: Rocinante 12B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/7afdf9ee-c709-4ccb-8644-a49ce16f8e7b.png)](https://modelslab.com/models/open_router/thedrummer-rocinante-12b)[Open Router](https://modelslab.com/models/open_router)

 [TheDrummer: Rocinante 12B

Closed Source Model](https://modelslab.com/models/open_router/thedrummer-rocinante-12b)

[R1](https://modelslab.com/models/perplexity_ai/perplexity-ai-r1-1776)[ModelsLab](https://modelslab.com/models/perplexity_ai)

 [R1 1776

Closed Source Model](https://modelslab.com/models/perplexity_ai/perplexity-ai-r1-1776)

About Qwen2 72B Instruct
---

Qwen2 72B Instruct is a text generation AI model by Qwen available on ModelsLab. Access Qwen2 72B Instruct through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDQwen-Qwen2-72B-InstructCategoryLLM ModelsTaskText GenerationPrice$0.900000 per million tokensAddedJuly 22, 2025

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Qwen2 72B Instruct into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "Qwen-Qwen2-72B-Instruct",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Qwen2 72B Instruct API costs $0.900000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Qwen](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Qwen2 72B Instruct FAQ
---

### What is Qwen2 72B Instruct?

Qwen2 72B Instruct is a text generation AI model by Qwen available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Qwen2 72B Instruct API?

You can integrate Qwen2 72B Instruct into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "Qwen-Qwen2-72B-Instruct" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Qwen2 72B Instruct cost?

Qwen2 72B Instruct costs $0.900000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Qwen2 72B Instruct model ID?

The model ID for Qwen2 72B Instruct is "Qwen-Qwen2-72B-Instruct". Use this ID in your API requests to specify this model.

### Does Qwen2 72B Instruct have a free tier?

Yes, ModelsLab offers a free tier that lets you try Qwen2 72B Instruct and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-20*