---
title: Qwen QwQ 32B API | Text Generation | ModelsLab
description: A 32.5 billion parameter reasoning model with 64 layers and 48K+ token context, optimized for math, coding, and complex problem-solving via reinforcement.
url: https://modelslab.com/models/together_ai/qwen-qwq-32b.md
canonical: https://modelslab.com/models/together_ai/qwen-qwq-32b.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-05T20:33:32.533009Z
---

Qwen QwQ-32B
---

 [LLMs.txt](https://modelslab.com/models/qwen/Qwen-QwQ-32B/llms.txt) [.md](https://modelslab.com/models/qwen/Qwen-QwQ-32B.md)

Qwen-QwQ-32B qwen Closed Source Model $1.200000 / call

Qwen QwQ-32B
---

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

### Qwen QwQ-32B

qwen Qwen-QwQ-32B

Copy model ID

PricingInput $1.20 / 1M tokens

Output $1.20 / 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)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-8B)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Llama 8B

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-8B)

[MM](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.7)[Together AI](https://modelslab.com/models/together_ai)

 [MiniMax M2.7 FP4

Closed Source Model](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.7)

[N3](https://modelslab.com/models/together_ai/nim-meta-llama-3.1-8b-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [nim/meta/llama-3.1-8b-instruct

Closed Source Model](https://modelslab.com/models/together_ai/nim-meta-llama-3.1-8b-instruct)

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

 [Gemma 3 27B Pt

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

[LG](https://modelslab.com/models/open_router/meta-llama-llama-guard-3-8b)[Open Router](https://modelslab.com/models/open_router)

 [Llama Guard 3 8B

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-guard-3-8b)

[NH](https://modelslab.com/models/open_router/nousresearch-hermes-4-70b)[Open Router](https://modelslab.com/models/open_router)

 [Nous: Hermes 4 70B

Closed Source Model](https://modelslab.com/models/open_router/nousresearch-hermes-4-70b)

[AC](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet-thinking)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude 3.7 Sonnet (thinking)

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet-thinking)

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

 [Gemma 3 4b it

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

[XG](https://modelslab.com/models/open_router/x-ai-grok-3-beta)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3 Beta

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

[TD](https://modelslab.com/models/open_router/tngtech-deepseek-r1t2-chimera)[Open Router](https://modelslab.com/models/open_router)

 [TNG: DeepSeek R1T2 Chimera

Closed Source Model](https://modelslab.com/models/open_router/tngtech-deepseek-r1t2-chimera)

[DR](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-llama-70b)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: R1 Distill Llama 70B

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-llama-70b)

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

[QQ](https://modelslab.com/models/open_router/qwen-qwen-2.5-7b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen2.5 7B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen-2.5-7b-instruct)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-3.2-3b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3.2 3B Instruct

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-3.2-3b-instruct)

[ML](https://modelslab.com/models/together_ai/meta-llama-Llama-3.2-1B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3.2 1B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.2-1B-Instruct)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)

[GG](https://modelslab.com/models/open_router/google-gemma-3-12b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3 12B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3-12b-it-free)

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

About Qwen QwQ-32B
---

A 32.5 billion parameter reasoning model with 64 layers and 48K+ token context, optimized for math, coding, and complex problem-solving via reinforcement learning.

### Technical Specifications

Model IDQwen-QwQ-32BCategoryLLM ModelsTaskText GenerationPrice$1.200000 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 Qwen QwQ-32B 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-QwQ-32B",
        "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>
```

View the [full API documentation](https://modelslab.com/models/qwen/Qwen-QwQ-32B/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Qwen QwQ-32B API costs $1.200000 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

[Learn more about Qwen QwQ-32B](https://modelslab.com/qwen-qwq-32b) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Qwen](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Qwen QwQ-32B FAQ
---

### What is Qwen QwQ-32B?

A 32.5 billion parameter reasoning model with 64 layers and 48K+ token context, optimized for math, coding, and complex problem-solving via reinforcement learning.

### How do I use the Qwen QwQ-32B API?

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

### How much does Qwen QwQ-32B cost?

Qwen QwQ-32B costs $1.200000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Qwen QwQ-32B model ID?

The model ID for Qwen QwQ-32B is "Qwen-QwQ-32B". Use this ID in your API requests to specify this model.

### Does Qwen QwQ-32B have a free tier?

Yes, ModelsLab offers a free tier that lets you try Qwen QwQ-32B 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-06*