---
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-frontend-v2-927501783998.us-east4.run.app/models/Qwen/qwen-qwen2-72b-instruct.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/Qwen/qwen-qwen2-72b-instruct.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-21T10:31:03.606440Z
---

Qwen2 72B Instruct
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2-72B-Instruct/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[IG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ibm-granite-granite-4.0-h-micro)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [IBM: Granite 4.0 Micro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ibm-granite-granite-4.0-h-micro)

[NN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-nano-9b-v2-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [NVIDIA: Nemotron Nano 9B V2 (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-nano-9b-v2-free)

[XG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-build-0.1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [xAI: Grok Build 0.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-build-0.1)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta)

 [Meta Llama 3.2 11B Vision Instruct Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)

[![OpenAI: GPT-5.5 Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/01b2df18-adcf-4764-ae02-46605474d279.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.5-pro)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5.5 Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.5-pro)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.0-flash-001)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemini 2.0 Flash

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.0-flash-001)

[BE](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-ernie-4.5-vl-424b-a47b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Baidu: ERNIE 4.5 VL 424B A47B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-ernie-4.5-vl-424b-a47b)

[TD](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/alibaba-tongyi-deepresearch-30b-a3b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Tongyi DeepResearch 30B A3B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/alibaba-tongyi-deepresearch-30b-a3b)

[AJ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ai21-jamba-large-1.7)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [AI21: Jamba Large 1.7

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ai21-jamba-large-1.7)

[MC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-codestral-2508)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Codestral 2508

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-codestral-2508)

[RR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/relace-relace-apply-3)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Relace: Relace Apply 3

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/relace-relace-apply-3)

[![Qwen3 Next 80B A3b Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b0c64fb3-b2a8-456a-99b6-333c9e2f4241.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 Next 80B A3b Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-ministral-8b-2512)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Ministral 3 8B 2512

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-ministral-8b-2512)

[![Qwen 2 (72B)](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/56637079-9012-472a-9198-1cfc4b5c2d36.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2-72B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen 2 (72B)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2-72B)

[![OpenAI GPT Latest](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/dad87eae-1325-4e56-9c64-a58eb3c3e025.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-latest)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI GPT Latest

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-latest)

[![Qwen QwQ-32B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a4c5cb51-1924-4e47-a95b-6d54566ddb2a.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-QwQ-32B)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen)

 [Qwen QwQ-32B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-QwQ-32B)

[TC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/thedrummer-cydonia-24b-v4.1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [TheDrummer: Cydonia 24B V4.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/thedrummer-cydonia-24b-v4.1)

[![Nous Hermes 2 Mixtral 8X7B Dpo](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/cbe2c04a-f4ac-4716-9167-6b939dbe77f3.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Nous Hermes 2 Mixtral 8X7B Dpo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)

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-frontend-v2-927501783998.us-east4.run.app/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-frontend-v2-927501783998.us-east4.run.app/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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Qwen](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-21*