Chat and text
SmolLM2-1.7B-Instruct: GPU memory and a server to run it
By our estimate SmolLM2-1.7B-Instruct needs about 8 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 A4000, $0.2622 per hour while it runs.
Read the step-by-step guideThese 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.
- GPU memory (estimate)
- 8 GB
- Disk
- 100 GB
- Time until it answers
- about 14 min
- Cheapest server that fits
- $0.2622 per hour
About SmolLM2-1.7B-Instruct
- Task
- Chat and text
- Parameters
- 1.7 B
- Stored precision
- BF16
- Template that runs it
- vLLM (OpenAI-compatible)
- Licence
- Apache 2.0
- Model page
- HuggingFaceTB/SmolLM2-1.7B-Instruct
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 SmolLM2-1.7B-Instruct on a GPU
Four steps from an empty account to a running server.
- 1
Start vLLM (OpenAI-compatible)
Sign up, then start the vLLM (OpenAI-compatible) template with SmolLM2-1.7B-Instruct already set. There is nothing to install on your computer.
- 2
Pick a GPU with at least 16 GB of memory
This page's estimate for SmolLM2-1.7B-Instruct is 8 GB. The cheapest GPU that fits right now is one RTX A4000, $0.2622 per hour.
- 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
Stop it when you are done
A server bills by the hour only while it runs. Stop or delete it from the console and the charge ends.
How much GPU memory SmolLM2-1.7B-Instruct 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
| Build | Weights | Cache | Overhead | Total (estimate) |
|---|---|---|---|---|
| BF16this page | 3.2 GB | 1.5 GB | 1.5 GB | 8 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.
The vLLM (OpenAI-compatible) template asks for at least 16 GB of GPU memory, so servers are chosen with 16 GB.
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 SmolLM2-1.7B-Instruct
Chosen from our live catalogue with at least 16 GB of GPU memory. Prices include the disk the launch uses.
Cheapest that fits
Available1× RTX A4000, 16 GB GPU memory
$0.2622 per hour, disk included
RTX A4000 plans and pricesFaster option
Available1× RTX 4070 Ti SUPER, 16 GB GPU memory
$0.4652 per hour, disk included
RTX 4070 Ti SUPER plans and pricesWhat it costs to run
| Server | 1 hour | 8 hours |
|---|---|---|
| 1× RTX A4000Cheapest that fits | $0.2622 | $2.0976 |
| 1× RTX 4070 Ti SUPERFaster option | $0.4652 | $3.7216 |
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.
GPU types that fit
- RTX A4000
- RTX 4060 Ti
- RTX 3080
- RTX 4070 Ti SUPER
- RTX 3090
- RTX A5000
- RTX 4080
- RTX 4090
- A40
- A100 PCIe
- RTX 6000 Ada
- A100 SXM4
- H200 NVL
- RTX 2080 Ti
- Tesla V100
- Quadro RTX 6000
- Tesla P100
- Titan RTX
- Quadro RTX 8000
- RTX 4080 SUPER
- Tesla P40
- RTX 3090 Ti
- RTX A6000
- RTX 5880 Ada
- RTX A4500
- L40S
- RTX 6000D
- H200
- H100 NVL
- H100 SXM
- Tesla T4not in stock
- Quadro RTX 5000not in stock
- RTX 4000 Adanot in stock
- A10not in stock
- RTX 4090Dnot in stock
- RTX 5000 Adanot in stock
- RTX 4500 Adanot in stock
- RTX 5090Dnot in stock
- L4not in stock
- A100Xnot in stock
- H100 PCIenot in stock
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 http://SERVER_ADDRESS/v1/chat/completions \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "HuggingFaceTB/SmolLM2-1.7B-Instruct", "messages": [{"role": "user", "content": "Hello!"}]}'from openai import OpenAI
client = OpenAI(base_url="http://SERVER_ADDRESS/v1", api_key="API_KEY")
reply = client.chat.completions.create(
model="HuggingFaceTB/SmolLM2-1.7B-Instruct",
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
- HuggingFaceTB/SmolLM2-1.7B-Instruct
- MAX_MODEL_LEN
- 8192
Questions
How much GPU memory does SmolLM2-1.7B-Instruct need?
About 8 GB by our estimate: 3.2 GB of weights, 1.5 GB of cache for 8192 tokens and 1.5 GB of overhead. Servers are chosen with at least 16 GB.
Which GPU do I need for SmolLM2-1.7B-Instruct?
Right now the cheapest of our servers that fits is 1× RTX A4000 with 16 GB of GPU memory.
How long until SmolLM2-1.7B-Instruct answers?
About 14 minutes after launch by our estimate: the machine starts, 3.4 GB of model files and the serving software download, then the server sets itself up.
How do I use SmolLM2-1.7B-Instruct 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 SmolLM2-1.7B-Instruct.
- How much VRAM do you need?How weights, cache and precision add up to the memory a model asks for.
- Run an open LLM with vLLM on a rented GPUFrom an empty account to an OpenAI-compatible endpoint, step by step.
Ready to try SmolLM2-1.7B-Instruct? Pick a server and start it with the model already set; stop it whenever you like.