---
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-21T09:25:34.170124Z
---

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)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-7b-instruct-v0.1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Mistral 7B Instruct v0.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-7b-instruct-v0.1)

[![Arcee AI: Virtuoso Large](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/9a2e71d3-3c00-4738-a62c-be4c7eb02beb.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/arcee-ai-virtuoso-large)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Arcee AI: Virtuoso Large

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/arcee-ai-virtuoso-large)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.4-pro)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5.4 Pro

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

[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)

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

 [Google: Gemini 2.0 Flash Lite

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

[![Anthropic: Claude 3.5 Haiku](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/065e7f2a-3b41-4e5e-bdc7-4dbafffd4a96.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-3.5-haiku)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Anthropic: Claude 3.5 Haiku

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-3.5-haiku)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.1-codex)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5.1-Codex

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

[AN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-micro-v1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Amazon: Nova Micro 1.0

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-micro-v1)

[WP](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/writer-palmyra-x5)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Writer: Palmyra X5

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/writer-palmyra-x5)

[M1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/gryphe-mythomax-l2-13b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [MythoMax 13B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/gryphe-mythomax-l2-13b)

[AN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-2-lite-v1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Amazon: Nova 2 Lite

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-2-lite-v1)

[![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)

[![Meta: Llama 3.2 1B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/13db4e7e-95d4-4363-9ea9-80e46398b470.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.2-1b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Meta: Llama 3.2 1B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.2-1b-instruct)

[![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)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.5-397b-a17b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3.5 397B A17B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.5-397b-a17b)

[![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)

[AN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-pro-v1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Amazon: Nova Pro 1.0

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-pro-v1)

[![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*