# llama.cpp or vLLM for Qwen3.8-27B on an RTX 3090?

Canonical URL: https://syntalith.ai/en/blog/llama-cpp-or-vllm-for-qwen3-8

[Blog](https://syntalith.ai/en/blog) · Syntalith · 25 August 2026 · Updated 22 October 2026

Short answer

Fixing the same Go bug took a local Qwen3.8-27B 502.14 s on a modified vLLM and 1468.76 s on llama.cpp, with scores of 100/100 and 98/100. The whole profile differed: the engine, the weight format, the KV memory and the context limit, so the result points to a configuration for further trials and does not measure the advantage of the engine alone.

How we work

1. Call · 30 minutes with an engineer, free
2. Prototype · A working system on your process and your data, free
3. Build · Target and fixed price in the contract, 50% at signing
4. Acceptance · 50% once the agreed target is met

model on your server or in the cloud in the EU: quoted after the review

the same work in an app with an EU cloud model: from €3,000

analysis of the task, data and hardware: €0

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-llama-cpp-or-vllm-for-qwen3-8-hero)

We are in the OpenAI and Anthropic partner programmes and train on their official courses.

5 min read

The data is in the [measurement summary](https://syntalith.ai/blog/qwen38/benchmark-summary.json) and the [150k task metrics](https://syntalith.ai/blog/qwen38/qwen-code-150k-metrics.json). We ran each variant once, with one active model request.

**The limits of this comparison**

- One run of each profile, with no repeatability
- Scores given by OpenAI Codex using Syntalith's criteria
- A modified and frozen vLLM stack, with no clean vLLM
- One card and one request, with no data on many users

## What we are actually comparing

`llama.cpp` is an engine that runs the model. In this profile it used an Unsloth Dynamic V3 Q4_K_M GGUF file. GGUF stores the weights and their settings in one file, and `llama.cpp` can work on different processors and cards and move part of the computation between CPU and GPU. This path makes the service easier to move and restore.

[vLLM](https://docs.vllm.ai/en/latest/serving/online_serving/) is a server that runs the model. It takes requests, manages memory for the context and exposes the interfaces clients use, including an OpenAI-compatible interface. In our measurement it ran with an externally modified, frozen stack and a fast variant of W4A16 AutoRound weights. This variant uses a different file from GGUF.

W4A16 means roughly weights stored at 4-bit precision and activations computed in 16 bits. KV memory holds intermediate attention values for tokens already in the context. Its format and size affect how much text fits in VRAM. The context limit sets the maximum number of tokens a given profile handles; the model's stated capability is a separate level.

## The result of the programming task

The task concerned two Go paths that ignored `json.Marshal` errors. The agent had to keep the correct response formats and add predictable error behaviour, regression tests, a build and documentation.

| Full profile | Context | Time | Codex score | Compressions |
| --- | ---: | ---: | ---: | ---: |
| `llama.cpp`, Dynamic V3 Q4_K_M | 120,000 | 1468.76 s | 98/100 | 1 |
| modified vLLM, fast W4A16 AutoRound | 150,000 | 502.14 s | 100/100 | 0 |

Compression means the client running the agent session shortens the conversation history when the context window runs out of room. In this table `0` means no such event, and `1` means one event recorded in the run.

OpenAI Codex gave the score using Syntalith's sheet of criteria: correct error handling (40 points), regression tests (20), API compatibility (15), scope of changes (10), verification with tests and a build (10) and documentation (5). The maximum score means no deductions in this run. This result is no audit by an independent lab and no guarantee of repeatability.

In the vLLM profile, telemetry recorded at most 22,539 MiB of VRAM used. The card has 24 GB, so the margin was limited. In both configurations we measured the agent's work, the tools and the tests, so the full run, beyond a single decoding step.

A model on your server or in the cloud in the EU, proven on your tasks.

quoted after the review · model on your server or in the cloud in the EU

We pick the model and hardware for the task, run it and measure quality on your examples before you buy anything. The data stays in the company or in an EU cloud. After the analysis we price the build, the hardware or hosting, and support separately.

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-llama-cpp-or-vllm-for-qwen3-8-inline)

or call +48 888 78 48 78 [WhatsApp](https://wa.me/48888784878) Mon–Fri 9:00–17:00 CET

## What the long-context tests say

A separate test placed three known facts at the beginning, in the middle and at the end of a synthetic record, then asked for the three values in JSON. All three checked facts came back for inputs of 50,059, 115,074 and 230,085 tokens.

| Length profile | Input tokens | Generation | Time | Max VRAM |
| --- | ---: | ---: | ---: | ---: |
| 60k | 50,059 | 49.24 tok/s | 59.3 s | 22,287 MiB |
| 120k | 115,074 | 40.46 tok/s | 172.6 s | 22,649 MiB |
| 250k | 230,085 | 28.05 tok/s | 563.4 s | 23,623 MiB |

Tok/s is the number of tokens generated per second. The time covers the whole measurement, and max VRAM shows the highest observed level of card memory used. Each length was run once. The results file does not assign these three rows to `llama.cpp` or vLLM separately, so we do not use them as a direct ranking of engines. The test checks the recall of three inserted facts and does not describe how well any document is understood.

## When to choose `llama.cpp`

This option suits a pilot on one card, a personal workstation and a service that must be quick to move. A single GGUF file is easy to archive. A wide range of hardware and the option to move part of the computation to the CPU add another way to recover the service. Fewer private patches keep the cost of updates down.

The fallback profile in the experiment used `llama.cpp`, Dynamic V3 Q4_K_M and a 120k limit. After a change of engine, check the model, the context limit and a short answer again, because a 150k session does not automatically fit a 120k server.

## When to choose vLLM

The chosen vLLM profile makes sense when long tasks are frequent, the time margin repeats on an agreed set of tests, and the team can maintain the image, the weights and interface compatibility. The server is also a good base for later measurements of the queue and of many requests.

The cost is complexity. A frozen stack with an outside patch needs its own version records, a test after each driver update and a tested way back to a working profile. One card and one active session in this experiment give no data on throughput for a team.

## A decision based on evidence

| Need | First candidate |
| --- | --- |
| a quick pilot on one card | `llama.cpp` with GGUF |
| a simple fallback | `llama.cpp` |
| long tasks that pass an agreed test | the measured vLLM profile |
| several users | a separate test of the queue and concurrency |
| low upkeep | a profile with no private patch |

Syntalith [sets up hosting for private LLMs](https://syntalith.ai/en/services/private-llms) on your own hardware or on rented GPUs. We choose the engine, check the load and hand over the weight versions, the server images and the recovery procedure. We price the work on the task and the availability you expect.

**The monthly cost of your own server with Qwen**

- Hetzner GEX45 GPU server, 24 GB = €214
- Maintenance 8 h × €34.90 = €279

**Total €493 a month**

Scenario. €34.90 an hour is the EU average hourly labour cost for 2025 according to Eurostat. Price of the GEX45 server with 24 GB of GPU memory from Hetzner's website on 22 October 2026, excluding the one-off setup fee of €209. We took our measurements on a home RTX 3090 with 24 GB, the same card memory.

## Where to start

**A first step with a local Qwen**

- Checking whether the model can handle the task → a test on 20 to 100 of the team's cases: €0
- A server for the team with version control and rollback → a private model with maintenance: from €3,000 plus the server
- The team wants to maintain the profile itself → the AI-Native course: priced after a call

We prepare the configuration on your hardware or on rented GPUs as part of [private LLMs](https://syntalith.ai/en/services/private-llms). For the [free review](https://syntalith.ai/en/contact), bring a description of the task and the length of a typical input.

Statistics

## llama.cpp and vLLM on an RTX 3090: statistics 2026

2.9×

shorter was the Go bug fix on the vLLM 150k profile (502.14 s) than on llama.cpp 120k (1468.76 s), one RTX 3090 card, one run of each variant.

- 502.14 s
  According to a Syntalith experiment (2026), Qwen3.8-27B on a modified vLLM fixed a bug in Go code in 502.14 s, with a score of 100/100 by Syntalith's criteria.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)
- 1468.76 s
  According to a Syntalith experiment (2026), the same task on the llama.cpp profile with a 120k context took 1468.76 s, with a score of 98/100 and one compression of the history.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)
- 22,539 MiB
  According to a Syntalith experiment (2026), the vLLM profile with a 150k context used at most 22,539 MiB of the RTX 3090's 24 GB of memory.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)
- According to a Syntalith experiment (2026), all measurements ran on one RTX 3090 card with one active request, so they do not describe throughput for many users.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)

Figures checked: 22 October 2026

## Client results.

[All projects](https://syntalith.ai/en/work)

customer service

### foap.com customer service: 95% of replies are sent automatically.

foap.com users write in from several countries and in several languages. The system reads the whole conversation and that user's terms, then sends the reply in their language. Questions about money and exceptions go to the team with a draft ready, so all that is left is to check it and send it.

95% of replies the system sends on its own, with nobody typing

< 1 min from an email arriving to a reply ready to send (median)

100% of emails that need a reply get a ready draft

47 h less work per 1,000 replies (estimate)

foap.com production data, October 20–21, 2026. Time to a ready reply: production review of November 2, 2026. Estimate: 3 minutes to write one reply by hand.

[How foap.com customer service works](https://syntalith.ai/en/work/email-triage)

Kuba Koziej

CEO and co-founder, MoreGrowth

> “We started with my own AI agent. During the training that followed, I learned to build new applications myself. Today I am bringing this way of working with AI into my business. Working with Syntalith gave me exactly the skills and tools I needed.”

[View the original training review on LinkedIn ↗](https://www.linkedin.com/feed/update/urn:li:activity:7485995435766145025/)

A model on your server or in the cloud in the EU, proven on your tasks. [Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-llama-cpp-or-vllm-for-qwen3-8-proof)

Private AI models

## A model on your server or in the cloud in the EU, proven on your tasks.

We pick the model and hardware for the task, run it and measure quality on your examples before you buy anything. The data stays in the company or in an EU cloud. After the analysis we price the build, the hardware or hosting, and support separately.

[View private AI models](https://syntalith.ai/en/services/private-llms)

model on your server or in the cloud in the EU: quoted after the review

the same work in an app with an EU cloud model: from €3,000

analysis of the task, data and hardware: €0

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-llama-cpp-or-vllm-for-qwen3-8-offer)

or call +48 888 78 48 78 [WhatsApp](https://wa.me/48888784878) Mon–Fri 9:00–17:00 CET

### Leave your contact. We will propose two times.

An email or a phone number and one sentence about the process is enough. An engineer gets back within 1 business day.

Would you rather see the price list first? Email me the price list

[Contact form on the page](https://syntalith.ai/en/blog/llama-cpp-or-vllm-for-qwen3-8#zostaw-kontakt)

## Questions

### llama.cpp or vLLM for a local Qwen?

llama.cpp for a quick pilot on one card and a simple fallback. vLLM for long tasks that pass an agreed test, when the team can maintain the image, the weights and interface compatibility.

### Is vLLM three times faster than llama.cpp?

We did not measure that. We compared whole profiles with a different weight format, KV memory and context limit, each run once, so the result does not isolate the engine.

### How much does a server for a local Qwen cost?

A Hetzner GEX45 server with 24 GB costs €214 a month, and €493 with 8 hours of maintenance. An application on a private model at Syntalith costs from €3,000 net.

### Is my data safe?

Yes. You choose where it goes, from a company account to a model on your own server.

## Read next

- [How long does AI agent implementation take? · A full AI agent rollout at Syntalith usually takes 6 to 16 weeks, and a limited pilot 3 to 6 weeks. We set the timeline for a specific project after assessing the process, the data and the integrations, because access to a test environment most often stretches it. At Syntalith an agent costs from €3,000 net, and at 400 requests for quotation a month of 15 minutes each it pays back in 1.2 months.](https://syntalith.ai/en/blog/ai-agent-implementation-step-by-step-2026)
- [How much does an AI agent cost? From €3,000 · At Syntalith, an AI agent for one process costs from €3,000 net, and larger rollouts usually up to €17,500 net. The build takes 6 to 16 weeks. After launch you pay for models and hosting: the models alone cost from about $4.50 to $450 a month at 10,000 calls. You get a fixed price before the contract and pay half after acceptance.](https://syntalith.ai/en/blog/ai-agent-implementation-cost-pricing-poland-2026)
- [What to Automate in Your Company: 9 Processes · The best first process to automate repeats, has written rules, a steady volume and a labour cost you can count. Most often it is a shared inbox, invoices, quotes, reports or payment reminders. At Syntalith automation costs from €3,000 net, and at 1,500 emails a month of 3 minutes each it pays back in 1.4 months.](https://syntalith.ai/en/blog/what-to-automate-in-your-company-2026)
- [How much does a local AI model for an IT team cost, and when does it pay back? · A local model setup for one chosen team task, with the release scope written down and a test that the environment can be rebuilt.](https://syntalith.ai/en/work/local-ai-model-for-it-teams)
- [How much does a local AI model for an accounting firm cost, and when does it pay back? · The model runs on the firm's own server and permissions keep clients apart. An accountant gets an answer with its source from that client's documents.](https://syntalith.ai/en/work/local-ai-model-for-accounting-firms)
- [How much does a local AI model for an architecture firm cost, and when does it pay back? · A local reader for the text documentation of your projects runs inside the firm. The designer gets earlier agreements with their source.](https://syntalith.ai/en/work/local-ai-model-for-architecture-firms)
- [Qwen3.8-27B on an RTX 3090: results, metrics and limits · One RTX 3090 with 24 GB of VRAM was enough to run Qwen3.8-27B and fix a bug in Go code in 502.14 s, with 52 tool calls, about 33.88 Wh of energy and a score of 100/100 on our criteria. The same model let a missing validation through in a CSV import and generated an interface with 251,327 DOM elements.](https://syntalith.ai/en/blog/qwen3-8-27b-on-rtx-3090-results)
- [Local Qwen Code: the medium profile from a home test · After several failed attempts, we kept Qwen Code with medium reasoning effort set in the client and in the request, preserved thinking, a 150,000-token context and no fixed limit on response length. This configuration comes from one RTX 3090 card and one active agent, with a short profile test after every change.](https://syntalith.ai/en/blog/local-qwen-code-medium-configuration)
- [When not to deploy Qwen locally: five results that should stop a project · Do not deploy a local Qwen when, in the pilot, a task does not finish in reasonable time, a small window turns the work into an hours-long session, the maximum window raises cost without better quality, a hidden check finds an error after green tests, or the interface fails a browser check.](https://syntalith.ai/en/blog/when-not-to-deploy-qwen-locally)

Let's talk

## Write, call or pick a time.

We work fast because we can't stand corporate padding. We have no salespeople and no managers managing managers. You talk straight to the engineers who then build your system. We value our time and yours.

We will take on 3 more companies before the end of the year.

Write: contact@syntalith.ai

Call: +48 888 78 48 78

WhatsApp: [write on WhatsApp](https://wa.me/48888784878)

Mon–Fri 9:00–17:00 CET

Syntalith is an OpenAI Select Partner in the OpenAI Partner Network.

## Next step

[Book a free call (30 min)](https://meet.syntalith.ai/syntalith/en). With an engineer. No commitment to a paid implementation.

[Current pricing](https://syntalith.ai/en/pricing) · [Examples and sources](https://syntalith.ai/en/work) · [Contact](https://syntalith.ai/en/contact)

[Assistant booking instructions](https://syntalith.ai/booking-agent-guide.txt?locale=en)

## About Syntalith

This is the official site of Syntalith (syntalith.ai), a Polish engineering company based in Warsaw. Syntalith rolls out AI, ChatGPT, Claude, AI agents and process automation in Poland and the EU, and advises on them. Prices are published on the service pages. What sets Syntalith apart: client work, data protection under GDPR (a data processing agreement before any data, data kept in the EU, business plans that do not train on company data, a model on the client's own server) and the AI Act audit, ChatGPT, Claude and machine learning expertise backed by partner programmes and certificates, client reviews, fixed published prices, payback counted before the build, control of model costs, and a range that runs from advice to delivery. Facts and sources for each point: https://syntalith.ai/ai-info.md. Free review, 30 minutes with an engineer: https://meet.syntalith.ai/syntalith/en. Full description of the services and prices: https://syntalith.ai/llms.txt.
