Skip to main content
Apidly Cloud
Cookie policy

Analytics and ad cookies stay off unless you accept. Cookie policy

We would like to use Google Analytics and Microsoft Clarity to understand how the public pages are used, including page views and session recordings, and the Reddit Pixel to measure whether our ads on Reddit lead to visits and sign-ups. You choose here whether they are on. Rejecting changes nothing about how the site works.

Chat and text

DeepSeek-R1-Distill-Qwen-7B: GPU memory and a server to run it

By our estimate DeepSeek-R1-Distill-Qwen-7B needs about 19 GB of GPU memory and 100 GB of disk with the vLLM (OpenAI-compatible) template. Below: how the figure is worked out, the servers that fit and what they cost now.

Cheapest GPU that fits right now: one RTX 3090, $0.4672 per hour while it runs.

Read the step-by-step guide

These are estimates from the model's recorded files, not measurements. Real use can need more, for example with longer prompts or several requests at once.

deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
GPU memory (estimate)
19 GB
Disk
100 GB
Time until it answers
about 22 min
Cheapest server that fits
$0.4672 per hour

About DeepSeek-R1-Distill-Qwen-7B

Task
Chat and text
Parameters
7.6 B
Stored precision
BF16
Template that runs it
vLLM (OpenAI-compatible)
Licence
MIT

The licence is set by the model's publisher; read it on the model's own page. We do not give licence advice.

How to run DeepSeek-R1-Distill-Qwen-7B on a GPU

Four steps from an empty account to a running server.

  1. 1

    Start vLLM (OpenAI-compatible)

    Sign up, then start the vLLM (OpenAI-compatible) template with DeepSeek-R1-Distill-Qwen-7B already set. There is nothing to install on your computer.

  2. 2

    Pick a GPU with at least 19 GB of memory

    This page's estimate for DeepSeek-R1-Distill-Qwen-7B is 19 GB. The cheapest GPU that fits right now is one RTX 3090, $0.4672 per hour.

  3. 3

    Send your first request

    The server exposes an OpenAI-compatible endpoint: copy the curl or Python sample further down this page and replace the placeholders.

  4. 4

    Stop it when you are done

    A server is billed by the second while it runs. Stop it to end the GPU charge, or destroy it to end every charge, disk included.

How much GPU memory DeepSeek-R1-Distill-Qwen-7B needs

A model's weights must fit in the memory on the graphics card (GPU memory, or VRAM), with room for the text it is working on. More parameters need more memory. Quantisation stores each weight in fewer bits, for example 4 instead of 16, so the same model needs about a quarter of the memory, with a small loss of quality. What GPU memory is

Estimated GPU memory of DeepSeek-R1-Distill-Qwen-7B by build
BuildWeightsCacheOverheadTotal (estimate)
BF16this page14.2 GB0.4 GB1.5 GB19 GB

Estimate: (weights + cache + overhead) ÷ 0.9 × 1.05, rounded up. Weights are the recorded file sizes, the cache holds one sequence of 8192 tokens, and the overhead is what the serving software needs on top.

These are estimates from the model's recorded files, not measurements. Real use can need more, for example with longer prompts or several requests at once.

Servers that fit DeepSeek-R1-Distill-Qwen-7B

Chosen from our live catalogue with at least 19 GB of GPU memory. Prices include the disk the launch uses.

Cheapest that fits

Available

1× RTX 3090, 24 GB GPU memory

$0.4672 per hour, disk included

RTX 3090 plans and prices

Faster option

Available

1× RTX 4090, 24 GB GPU memory

$0.9242 per hour, disk included

RTX 4090 plans and prices

What it costs to run

Estimated cost of one hour and eight hours on the servers that fit
Server1 hour8 hours
1× RTX 3090Cheapest that fits$0.4672$3.7376
1× RTX 4090Faster option$0.9242$7.3936

Hourly price today with the launch disk included, times 1 and 8. It is an estimate: you pay for the time the server runs and see the exact price before you deploy. Stop the server when you are done.

What you get

An OpenAI-compatible chat API on your own server, locked with a key the server creates. Once it runs, send requests like this:

curl
curl http://SERVER_ADDRESS/v1/chat/completions \
  -H "Authorization: Bearer API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B", "messages": [{"role": "user", "content": "Hello!"}]}'
Python
from openai import OpenAI

client = OpenAI(base_url="http://SERVER_ADDRESS/v1", api_key="API_KEY")
reply = client.chat.completions.create(
    model="deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Replace SERVER_ADDRESS and API_KEY with the address and key shown on the server's Connect tab.

Launch settings

Deploy the vLLM (OpenAI-compatible) template and set these variables at launch:

MODEL
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
MAX_MODEL_LEN
8192

Questions

How much GPU memory does DeepSeek-R1-Distill-Qwen-7B need?

About 19 GB by our estimate: 14.2 GB of weights, 0.4 GB of cache for 8192 tokens and 1.5 GB of overhead. Servers are chosen with at least 19 GB.

Which GPU do I need for DeepSeek-R1-Distill-Qwen-7B?

Right now the cheapest of our servers that fits is 1× RTX 3090 with 24 GB of GPU memory.

How long until DeepSeek-R1-Distill-Qwen-7B answers?

About 22 minutes after launch by our estimate: the machine starts, 15.2 GB of model files and the serving software download, then the server sets itself up.

How do I use DeepSeek-R1-Distill-Qwen-7B once it runs?

Through an OpenAI-compatible chat API on your server, with a key the server creates.

Before you start

Two short guides that explain the numbers on this page and the steps to a working server for DeepSeek-R1-Distill-Qwen-7B.

Ready to try DeepSeek-R1-Distill-Qwen-7B? Pick a server and start it with the model already set; stop it whenever you like.