Skip to main content
Find my setup
Language: English

Running Qwen3.8-27B on one 24 GB or 32 GB GPU

Qwen3.8-27B fits on one 24 GB card at 4-bit. The 17.6 GB file leaves room for about 62,000 tokens of conversation, by our calculation. A 32 GB card holds a 6-bit file, or the 4-bit one with about 172,000 tokens.

By our estimate from public llama.cpp results, expect 40 to 50 tokens a second on an RTX 4090. An RTX 5090 should reach 65 to 80, and one published run of this model on RTX 3090 cards reached 39.

The figures come from Qwen's model card, Unsloth's and Ollama's files, vLLM's recipe and llama.cpp's benchmark thread. We read them all on 27 October 2026.

Lines of colourful programming code on a computer screen in a dark room
Qwen's model card stresses coding and agent work for Qwen3.8. Photo: Nemuel Sereti, Pexels.

Who this is for

  • you want Qwen3.8-27B on a single rented card
  • you are choosing between a 24 GB and a 32 GB GPU
  • you need to know how long a conversation each file allows

Not for you if you want a larger model such as Llama 3.3 70B: see running a 70B model on one GPU.

Key numbers

  • 17.6 GB Unsloth's recommended 4-bit file (UD-Q4_K_XL) Official page,
  • 65,536 bytes of conversation cache per token at 16-bit, because only 16 of its 64 layers keep one Our calculation,
  • 62,000 tokens of conversation beside that file on a 24 GB card, keeping 10% free Our calculation,
  • 39 tokens per second for the 5-bit file on RTX 3090 cards working in turn, in a public llama.cpp run Official page,

Which version and which file

Qwen released Qwen3.8-27B on Hugging Face on 5 August 2026, under the Apache 2.0 licence. On 27 October 2026 it was still Qwen's newest model of this size.

It is a dense model that also reads images and video. Thinking is on by default, so answers start with a reasoning section; the model card shows how to turn it off per request.

Qwen's own files are 16-bit (55.6 GB) and 8-bit FP8 (30.9 GB). Neither leaves room on a 24 or 32 GB card, so a single card needs a 4-bit to 6-bit file:

  • Unsloth's GGUF files for llama.cpp, from 3-bit (13.1 GB) to 8-bit (29.0 GB). Unsloth's guide says the 4-bit files need 16 to 19 GB.
  • Ollama's qwen3.8:27b, which is 4-bit and takes 18 GB with the image part included.
  • NVFP4 files for vLLM, which only NVIDIA's newest Blackwell cards, such as the RTX 5090, can run.

What fits in 24 GB and in 32 GB

The cache that holds the conversation is small for a model this size. Only 16 of its 64 layers keep it; the other 48 keep a fixed-size summary instead.

Each token therefore needs 65,536 bytes at 16-bit, so 32,000 tokens take about 2.1 GB. Our GPU memory guide explains the sum.

A 24 GB card runs the 4-bit files with long conversations; 6-bit needs a 32 GB card, and 8-bit a 48 GB one.

Qwen3.8-27B: Unsloth's GGUF files (sizes read 27 Oct 2026) and the conversation each leaves room for, by our calculation
FileSizeTokens of conversation on 24 GBTokens of conversation on 32 GB
3-bit (UD-Q3_K_XL)13.1 GBabout 129,000about 239,000
4-bit, small (UD-IQ4_XS)14.3 GBabout 112,000about 222,000
4-bit (UD-Q4_K_M)16.5 GBabout 78,000about 188,000
4-bit, Unsloth's pick (UD-Q4_K_XL)17.6 GBabout 62,000about 172,000
5-bit (UD-Q5_K_M)19.8 GBabout 28,000about 138,000
6-bit (UD-Q6_K)22.0 GBdoes not fitabout 104,000
8-bit (Q8_0)29.0 GBdoes not fitdoes not fit
Every 4-bit file fits a 24 GB card with a 32K-token conversation File plus a 32,768-token conversation at 16-bit; lines at 90% of a 24 GB and a 32 GB card
The numbers in this chart
ItemNumber
3-bit (UD-Q3_K_XL)15.3 GB
4-bit, small (UD-IQ4_XS)16.4 GB
4-bit (UD-Q4_K_M)18.6 GB
4-bit, Unsloth's pick (UD-Q4_K_XL)19.7 GB
5-bit (UD-Q5_K_M)21.9 GB
6-bit (UD-Q6_K)24.1 GB
8-bit (Q8_0)31.2 GB
90% of a 24 GB card (reference line)21.6 GB
90% of a 32 GB card (reference line)28.8 GB

Our calculation: file size from Unsloth's repository plus 2.1 GB of cache.

We keep 10% of the card free for the engine's working memory. Reading images adds the 0.9 GB vision file, about 14,000 tokens less.

An 8-bit cache roughly halves the conversation memory, by Ollama's FAQ, which doubles the room above. In llama.cpp the settings are -ctk q8_0 -ctv q8_0; in Ollama, OLLAMA_KV_CACHE_TYPE=q8_0.

How fast it runs

One user posted a run of this model to llama.cpp's public benchmark thread on 7 September 2026. It used the 5-bit file (19.8 GB) on four RTX 3090 cards.

With the model split layer by layer, the cards work in turn and wrote 39 tokens a second. Split so the cards work together, they reached about 77.

For the cards you can rent, we scaled each card's result on llama.cpp's scoreboard to this model's 4-bit file. The one published run came out a quarter faster than that sum, so we give a range.

An RTX 5090 should write about two-thirds faster than an RTX 4090; an L4 is slow for a model that reasons before it answers.

Qwen3.8-27B at 4-bit (UD-Q4_K_XL), one user: our estimate from llama.cpp's scoreboard (27 Oct 2026)
CardMemoryTokens a second, our estimate
RTX 409024 GB40 to 50
RTX 509032 GB65 to 80
L40S48 GB35 to 40
L424 GBabout 10

The L40S estimate uses the L40's scoreboard result; the two cards share the same memory speed. The L4 estimate uses the T4, which has similar memory bandwidth, by NVIDIA's figures.

Qwen3.8 can also guess several tokens ahead and check them in one step, which Qwen calls multi-token prediction (MTP). Unsloth says it needs 1 to 2 GB more memory; vLLM's recipe shows it working on one RTX 5090.

Our speed figures by card list the scoreboard results behind these estimates.

Step by step on a rented card

The quickest start is Ollama. Its default qwen3.8:27b file is 4-bit and includes the image part.

bash

curl -fsSL https://ollama.com/install.sh | sh
sudo systemctl edit ollama.service
# add, under [Service]:
#   Environment="OLLAMA_CONTEXT_LENGTH=32768"
sudo systemctl daemon-reload && sudo systemctl restart ollama
ollama run qwen3.8:27b "Explain what a reverse proxy does, in three sentences."
ollama ps        # PROCESSOR should say 100% GPU

Ollama sets the conversation length from the card's memory: 4K tokens below 24 GiB and 32K from 24 GiB, by its documentation. It advises at least 64,000 tokens for agents and coding tools, so set the length yourself.

For more control, use llama.cpp's own server. Build it as our GPU speed guide shows, then download Unsloth's 4-bit file (17.6 GB) and start the server:

bash

wget https://huggingface.co/unsloth/Qwen3.8-27B-GGUF/resolve/main/Qwen3.8-27B-UD-Q4_K_XL.gguf
./build/bin/llama-server -m Qwen3.8-27B-UD-Q4_K_XL.gguf -ngl 99 -fa on -c 49152 \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 --port 8080

The sampling settings are the ones Qwen's model card gives for thinking mode. On a 32 GB card, raise -c towards 131072, or use the 6-bit file.

The server listens only on the machine itself unless you add --host. Before you open it to the internet, add --api-key, or put a proxy with a password in front, as our Ollama guide explains.

On an RTX 5090, vLLM can serve several users at once from an NVFP4 file. The recipe from vLLM gives this command for one card, and says it starts only with CUDA graphs turned off:

bash

vllm serve Inferact/Qwen3.8-27B-NVFP4 \
  --tensor-parallel-size 1 --max-model-len 32768 \
  --kv-cache-dtype fp8 --enforce-eager --reasoning-parser qwen3

The recipe reports 31.4 GiB usable on the card, and room for about 91,000 tokens of conversation across all users at once. Our comparison of vLLM, Ollama, llama.cpp and SGLang explains when each engine fits.

Which card to rent

  • For one person or a small agent: a 24 GB RTX 4090 with the 4-bit file.
  • For long documents, a higher-quality file or a few users at once: a 32 GB RTX 5090.
  • For full-length 262,144-token conversations at 4-bit, or the 8-bit file with shorter ones: a 48 GB card such as the L40S.
24 GB cards (RTX 4090). Prices checked on 25 Oct 2026.
PlanPriceNew-customer offerLink
GPU Mart Enterprise Dedicated GPU Server - RTX 4090 24 GB GPU $409/month monthly rate of a 24-month term, paid in advance · VAT not stated checked 25 Oct 2026 A free 24-hour trial of a VPS, dedicated or GPU server for new clients, on request checked 29 Oct 2026 Visit
Unihost AZM-04, NVIDIA RTX 4090 24 GB GPU €359.90/month monthly, paid in advance; minimum one month checked 25 Oct 2026 No offer Visit
Unihost AND-G5, Nvidia RTX 4090 24 GB GPU €459.90/month monthly, paid in advance; minimum one month checked 25 Oct 2026 No offer Visit

Dedicated monthly servers suit steady use.

32 GB cards (RTX 5090). Prices checked on 25 Oct 2026.
PlanPriceNew-customer offerLink
GPU Mart Enterprise Dedicated GPU Server - RTX 5090 32 GB GPU $479/month monthly rate of a 24-month term, paid in advance · VAT not stated checked 25 Oct 2026 A free 24-hour trial of a VPS, dedicated or GPU server for new clients, on request checked 29 Oct 2026 Visit

Dedicated monthly servers suit steady use.

48 GB cards (NVIDIA L40S). Prices checked on 25 Oct 2026.
PlanPriceNew-customer offerLink
DigitalOcean GPU Droplet, 1 x NVIDIA L40S 48 GB GPU $1.57/hour (about $1,146/month) on demand, billed per second · VAT not stated checked 25 Oct 2026 New accounts get a $5 credit that lasts 90 days and covers every product except SaaS add-ons checked 29 Oct 2026 Visit
UpCloud GPU Server, 1 x NVIDIA L40S, 8 cores, 64 GB 48 GB GPU €1.11/hour (about €746/month; no charge after 28 days of use)30-day month: the last 2 days are free.31-day month: the last 3 days are free.February: no free days (one in a leap year).Started mid-month: it may never reach the cap that month. on demand, billed by the starting hour; monthly cost capped at 28 days of use checked 25 Oct 2026 No offer Visit
Liquid Web GPU server, NVIDIA L40S 48GB 48 GB GPU $1,049.25/month monthly; 25% off the first month, then $1,399 · VAT not stated checked 25 Oct 2026 No offer Visit

Monthly costs for hourly prices assume the server runs all month (730 hours), or less where a provider caps the monthly bill.

Hourly and per-second plans show the price for a full month; you pay only for the hours you use.

When you outgrow 27B, the next step is a 70B model on a 48 or 80 GB card. Our guide to Llama 3.3 70B on one GPU covers it.

To teach the model your own format or field, Unsloth's QLoRA fits Qwen3.8-27B on a 24 GB card. Our Unsloth fine-tuning guide has the steps.

How we checked

We read Qwen's model card and file list, Unsloth's files and guide, and Ollama's library and documentation. We also read vLLM's recipe and llama.cpp's benchmark thread, all on 27 October 2026.

The memory and speed sums are ours, set out above.

Our own measurements will be added here, with their dates, when our test bench runs them.

Mistakes to avoid

  • Downloading Qwen's own 16-bit or 8-bit files for a 24 GB card

    Instead: They take 55.6 and 30.9 GB; use a 4-bit GGUF file.

  • Leaving the conversation length at the default

    Instead: Ollama may give you 4K tokens; agents need at least 64,000.

  • Setting the full 262,144 tokens on a 24 GB card

    Instead: The cache alone would take 17.2 GB at 16-bit.

  • Opening the server's port to the internet

    Instead: Add an API key or a proxy with a password first.

Other questions

Does Qwen3.8-27B fit on an RTX 4090?

Yes, at 4-bit: the files take 16.5 to 17.6 GB and leave room for about 62,000 to 78,000 tokens of conversation, by our calculation.

How much VRAM does Qwen3.8-27B need?

About 18 GB at 4-bit with a short conversation, 23 to 26 GB at 6-bit and 31 GB at 8-bit, by Unsloth's table. The 16-bit original needs 56 GB.

How fast is Qwen3.8-27B on an RTX 5090?

About 65 to 80 tokens a second for one user at 4-bit, by our estimate from llama.cpp's public results.

Sources and test notes

Every page read on 27 October 2026. Memory room and speed estimates are our calculation, set out in the text.

Back to Where to run an open model