---
title: DeepSeek R1 Distill Qwen 1.5B API – Pricing | ModelsLab
description: DeepSeek R1 Distill Qwen 1.5B API by DeepSeek. $0.225/1M input, $0.225/1M output tokens. API & playground on ModelsLab.
url: https://modelslab.com/models/deepseek/deepseek-ai-deepseek-r1-distill-qwen-1.5b.md
canonical: https://modelslab.com/models/deepseek/deepseek-ai-deepseek-r1-distill-qwen-1.5b
type: product
component: Playground/LLM/Index
generated_at: 2026-11-17T21:08:28.781121Z
---

DeepSeek R1 Distill Qwen 1.5B
---

 [LLMs.txt](https://modelslab.com/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B/llms.txt) [.md](https://modelslab.com/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B.md)

DeepSeek R1 Distill Qwen 1.5B
---

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

images, PDFs and text files

Send

### DeepSeek R1 Distill Qwen 1.5B

deepseek deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B

Copy model ID

PricingInput $0.225 / 1M tokens

Output $0.225 / 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

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

![GPT 5.1 API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/fad83520-47a8-4059-b4b9-b32adf4d0be7.png)

[OpenAI](/models/openai)

 [GPT 5.1](/models/openai/gpt5.1)

![GPT-5.1-Codex-Max API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/06356c4c-df09-4ccb-a5c0-629da670f75b.png)

[OpenAI](/models/openai)

 [GPT-5.1-Codex-Max](/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

![gpt-oss-20b API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/8b2f0440-52cc-4f41-93eb-d31006ad71e2.webp)

[OpenAI](/models/openai)

 [gpt-oss-20b](/models/openai/openai-gpt-oss-20b)

![DeepSeek: DeepSeek V4 Flash 0423 API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/267a7228-f392-4d3e-abb6-915fef640c49.png)

[DeepSeek](/models/open_router)

 [DeepSeek: DeepSeek V4 Flash 0423](/models/deepseek/deepseek-deepseek-v4-flash)

[Qwen](/models/open_router)

 [Qwen: Qwen3.5-9B](/models/qwen/qwen-qwen3.5-9b)

![Qwen3.5 9B FP8 API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/475e7d51-3e69-4cbc-adb0-64e01535ac29.png)

[Qwen](/models/open_router)

 [Qwen3.5 9B FP8](/models/qwen/qwen-qwen3.5-9b)

![Qwen3 30B A3b API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/e893c08b-9506-4b2e-a5e9-f0f2b3def135.png)

[Qwen](/models/open_router)

 [Qwen3 30B A3b](/models/qwen/qwen-qwen3-30b-a3b)

![Gemma 3N E4B Instruct API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b5ad4a07-e4eb-4d39-85d1-58ec000a8a4f.png)

[Google](/models?feature=llmaster&provider=google)

 [Gemma 3N E4B Instruct](/models/google/google-gemma-3n-e4b-it)

Related Models
---

Discover similar models you might be interested in

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

[#### Fireworks/Fireworks: Ember-1

fireworks-ember-1

From $11.25/M tokens](/models/fireworks/fireworks-ember-1)

[#### NVIDIA/NVIDIA: Nemotron 3 Super

nvidia-nemotron-3-super-120b-a12b

From $0.296875/M tokens](/models/nvidia/nvidia-nemotron-3-super-120b-a12b)

[#### OpenAI/OpenAI: GPT Terra Latest

openai-gpt-terra-latest

From $3.75/M tokens](/models/openai/openai-gpt-terra-latest)

[#### inclusionAI/inclusionAI: Ling 3.0 Tiny

inclusionai-ling-3.0-tiny

From $0.0375/M tokens](/models/inclusionai/inclusionai-ling-3.0-tiny)

[#### Qwen/Qwen2-VL (72B) Instruct

Qwen-Qwen2-VL-72B-Instruct

From $1.50/M tokens](/models/qwen/qwen-qwen2-vl-72b-instruct)

[#### xAI/SpaceXAI: Grok 4.20

x-ai-grok-4.20

From $2.34375/M tokens](/models/x-ai/x-ai-grok-4.20)

[#### Tencent/Tencent: Hy4 flash

tencent-hy4-flash

From $0.109687/M tokens](/models/tencent/tencent-hy4-flash)

[#### ByteDance Seed/ByteDance Seed: Seed-2.0-Lite

bytedance-seed-seed-2.0-lite

From $1.40625/M tokens](/models/bytedance-seed/bytedance-seed-seed-2.0-lite)

[#### DeepSeek/DeepSeek: DeepSeek V4.1 Flash 1017

deepseek-deepseek-v4.1-flash-1017

From $0.335/M tokens](/models/deepseek/deepseek-deepseek-v4.1-flash-1017)

[#### Refuel AI/Refuel LLM V2

togethercomputer-Refuel-Llm-V2

From $0.90/M tokens](/models/refuel_ai/togethercomputer-refuel-llm-v2)

[#### DeepSeek/DeepSeek: DeepSeek V3.2 Exp

deepseek-deepseek-v3.2-exp

From $0.425/M tokens](/models/deepseek/deepseek-deepseek-v3.2-exp)

[#### Inference Net/Inference.net: Schematron V2 Turbo

inference-net-schematron-v2-turbo

From $0.1125/M tokens](/models/inference-net/inference-net-schematron-v2-turbo)

[#### Google/Google: Nano Banana 2 (Gemini 3.1 Flash Image)

google-gemini-3.1-flash-image

From $2.1875/M tokens](/models/google/google-gemini-3.1-flash-image)

[#### Baidu/Baidu: ERNIE-Light-DT-1.0

baidu-ernie-light-dt-1.0-intl

From $3.16875/M tokens](/models/baidu/baidu-ernie-light-dt-1.0-intl)

[#### Google/Google: Gemini 3.8 Flash

google-gemini-3.8-flash

From $2.8125/M tokens](/models/google/google-gemini-3.8-flash)

[#### Meta/Meta Llama 3.1 8B Instruct Turbo

meta-llama-Meta-Llama-3.1-8B-Instruct-Turbo

From $0.225/M tokens](/models/meta/meta-llama-meta-llama-3.1-8b-instruct-turbo)

[#### Qwen/Qwen: Qwen3 14B

qwen-qwen3-14b

From $0.225/M tokens](/models/qwen/qwen-qwen3-14b)

[#### Anthropic/Anthropic: Claude Sonnet 4.5

anthropic-claude-sonnet-4.5

From $11.25/M tokens](/models/anthropic/anthropic-claude-sonnet-4.5)

DeepSeek R1 Distill Qwen 1.5B
---

Reasoning. Laptop-sized.

### Compact Power. Serious Reasoning.

- Distilled Intelligence 671B Reasoning Compressed Knowledge distilled from massive DeepSeek-R1 into 1.5B parameters without performance loss.
- Hardware Efficient 4GB GPU Memory Runs on single laptop GPU in 8-bit quantization for local deployment and edge inference.
- Chain-of-Thought Math and Code Mastery Excels at step-by-step problem solving, mathematical reasoning, and code comprehension tasks.

### DeepSeek R1 Distill Qwen 1.5B questions

What is DeepSeek R1 Distill Qwen 1.5B and how does it work?DeepSeek R1 Distill Qwen 1.5B is a compact 1.5B parameter language model that inherits reasoning capabilities from the larger 671B DeepSeek-R1 through knowledge distillation. It uses a dense Transformer architecture with Grouped Query Attention for efficient inference while maintaining strong performance on math, code, and logical reasoning tasks.

Can I run DeepSeek R1 Distill Qwen 1.5B locally?Yes. The model fits on a single laptop GPU using approximately 4GB VRAM in 8-bit quantization, making it ideal for local deployment on consumer-grade hardware without extensive infrastructure.

What are the primary use cases for this DeepSeek R1 Distill Qwen 1.5B API?This model excels in mathematical problem-solving, code comprehension, general text-based reasoning, and any task requiring step-by-step logical inference. It's optimized for resource-constrained environments where computational budget is limited.

What quantization formats are available?The model supports multiple quantization formats including Q2\_K, Q3\_K\_M, Q4\_K\_M, Q5\_K\_M, Q6\_K, Q8\_0, AWQ Int4, and various MLX quantizations (3bit, 4bit, 6bit, 8bit, bf16) for different performance-memory tradeoffs.

Is fine-tuning supported for DeepSeek R1 Distill Qwen 1.5B?Yes. The model supports fine-tuning using LoRA for efficient customization with your own data to improve responses for specific domains or use cases.

About DeepSeek R1 Distill Qwen 1.5B
---

Ultra-efficient 1.5B parameter language model fine-tuned for advanced multi-step reasoning and math tasks, optimized for edge deployment with 4-bit and 5-bit quantized versions.

### DeepSeek R1 Distill Qwen 1.5B facts

ProviderDeepSeek

Input price$0.225 per 1M tokens

Output price$0.225 per 1M tokens

Added to ModelsLabJuly 22, 2025

Model IDdeepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B

### 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 DeepSeek R1 Distill Qwen 1.5B into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v7/llm/chat/completions"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B",</div>
<div>        "messages": [</div>
<div>            {</div>
<div>                "role": "user",</div>
<div>                "content": "Hello!"</div>
<div>            }</div>
<div>        ],</div>
<div>        "max_tokens": 1000,</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

const requestBody = {

 "model_id": "deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B",

 "messages": [

 {

 "role": "user",

 "content": "Hello!"

 }

 ],

 "max_tokens": 1000,

 "key": "YOUR_API_KEY"

 };

async function makeApiRequest() {

 try {

 const response = await fetch(endpointUrl, {

 method: 'POST',

 headers: {

 'Content-Type': 'application/json',

 },

 body: JSON.stringify(requestBody)

 });

 if (!response.ok) {

 let errorResult;

 try {

 errorResult = await response.json();

 } catch (e) {

 errorResult = { error: { message: await response.text() } };

 }

 throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);

 }

 const result = await response.json();

 console.log('API Response:', result);

 return result;

 } catch (error) {

 console.error('Error making API request:', error.message);

 throw error;

 }

}

makeApiRequest();

 -H "Content-Type: application/json" \

 -d '{

 "model_id": "deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B",

 "messages": [

 {

 "role": "user",

 "content": "Hello!"

 }

 ],

 "max_tokens": 1000,

 "key": "YOUR_API_KEY"

}'

$url = 'https://modelslab.com/api/v7/llm/chat/completions';

$headers = [

 'Content-Type: application/json'

];

$data = [

 'model_id' => 'deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B',

 'messages' => [{"role":"user","content":"Hello!"}],

 'max_tokens' => 1000,

 'key' => 'YOUR_API_KEY',

];

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 30);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

$curlError = curl_error($ch);

if ($curlError) {

 echo 'Curl error: ' . $curlError;

} else {

 echo "HTTP Status Code: " . $httpCode . "\n";

 $result = json_decode($response, true);

 if (json_last_error() !== JSON_ERROR_NONE) {

 echo "Error decoding JSON: " . json_last_error_msg() . "\n";

 echo "Raw response: " . $response . "\n";

 } else {

 echo "API Response:\n";

 print_r($result);

 }

}

?>

### Pricing

DeepSeek R1 Distill Qwen 1.5B API costs $0.18 per million tokens. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [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

### More from DeepSeek

- [DeepSeek: DeepSeek V4 Flash 0423 API](/models/deepseek/deepseek-deepseek-v4-flash)
- [DeepSeek: DeepSeek V4 Pro 0423 API](/models/deepseek/deepseek-deepseek-v4-pro)
- [DeepSeek: DeepSeek V4.1 Flash 1017 API](/models/deepseek/deepseek-deepseek-v4.1-flash-1017)
- [DeepSeek: DeepSeek V4 Flash Latest API](/models/deepseek/deepseek-deepseek-v4-flash-latest)
- [DeepSeek: DeepSeek V3 0324 API](/models/deepseek/deepseek-deepseek-chat-v3-0324)
- [DeepSeek: DeepSeek V3 API](/models/deepseek/deepseek-deepseek-chat)

[All DeepSeek models](/models?feature=llmaster&provider=deepseek)

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

DeepSeek R1 Distill Qwen 1.5B FAQ
---

### What is DeepSeek R1 Distill Qwen 1.5B?

Ultra-efficient 1.5B parameter language model fine-tuned for advanced multi-step reasoning and math tasks, optimized for edge deployment with 4-bit and 5-bit quantized versions.

### How do I use the DeepSeek R1 Distill Qwen 1.5B API?

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

### How much does DeepSeek R1 Distill Qwen 1.5B cost?

DeepSeek R1 Distill Qwen 1.5B costs $0.225/1M input, $0.225/1M output tokens. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the DeepSeek R1 Distill Qwen 1.5B model ID?

The model ID for DeepSeek R1 Distill Qwen 1.5B is "deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use DeepSeek R1 Distill Qwen 1.5B?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*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-11-18*