# Qwen3.8-27B: 60k, 120k, 150k or 250k context?

Canonical URL: https://syntalith.ai/en/blog/qwen-context-60k-120k-150k-250k

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

Short answer

Qwen3.8-27B found the three facts asked for in both a 50,059-token and a 230,085-token input, and the shorter run took 59.3 s while the longer took 563.4 s. You size the context window to the 95th percentile of real input length plus a margin, because a bigger window costs time without a better answer.

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-qwen-context-60k-120k-150k-250k-hero)

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

5 min read

The full measurements are in the [public JSON summary](https://syntalith.ai/blog/qwen38/benchmark-summary.json) and the [fact retrieval results](https://syntalith.ai/blog/qwen38/long-context-fact-retrieval.json).

**How to size the window in a company**

- Measure the package: instructions, tools, documents, history and margin
- Take the 95th percentile of length with a safe margin
- Start an independent task with a fresh context
- For company knowledge, compare a long window with retrieval

## The official 262k and our local Qwen context configurations

[Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) has a native window of 262,144 tokens. The model card also describes an extension to a million tokens through YaRN. We did not run the million-token variant on the RTX 3090, so that extension is not part of the experiment's result.

In the `llama.cpp` path we used three practical configurations:

| Local configuration | Weights | Context limit | KV cache | `batch` / `ubatch` |
| --- | --- | ---: | --- | --- |
| 60k | Q5_K_M | 65,536 | Q8 | 2048 / 512 |
| 120k | Q4_K_M | 131,072 | Q8 | 2048 / 512 |
| 250k | Q4_K_M | 250,000 | Q4 | 128 / 64 |

This comparison answers the question of what fits on one 24 GB card. It does not isolate the context limit alone, because the configurations differ in weight format, KV cache precision and batch size. We chose these parameters together to run every variant on the same GPU.

## Finding facts in a long input

In synthetic material we placed exact values near the beginning, the middle and the end. The task required returning all three values. “Facts returned” in the table is the number of values reproduced correctly out of three, and `3/3` means this particular retrieval run succeeded. Such a result shows that the prepared facts were found. It does not say how the model will handle any long document.

| Configuration | Input tokens | Input processing, tok/s | Generation, tok/s | Total time | Max VRAM | Facts returned |
| --- | ---: | ---: | ---: | ---: | ---: | --- |
| 60k | 50,059 | 890.7 | 49.24 | 59.3 s | 22,287 MiB | 3/3 |
| 120k | 115,074 | 681.6 | 40.46 | 172.6 s | 22,649 MiB | 3/3 |
| 250k | 230,085 | 412.4 | 28.05 | 563.4 s | 23,623 MiB | 3/3 |

“Input tokens” is the number of tokens before the answer. Input processing measures how fast this material is prepared, generation measures how fast the answer is written, and total time covers the whole run. Max VRAM is the highest card memory use observed. The 250k variant had 4.6 times more tokens than 60k, took 9.5 times longer and used 23,623 MiB of the 24 GB.

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-qwen-context-60k-120k-150k-250k-inline)

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

## What history compression changes in an agent's work

A long programming task can fill the window faster than the size of the repository suggests. The agent's history includes system instructions, tool definitions, calls, their results and the answers. Once the useful limit is passed, the system compresses the earlier run, and the agent may read files again and rebuild dependencies.

In one recorded agent run, Codex gave 87 of 100 points on Syntalith's criteria: for correctness, regression tests, compatibility, scope discipline, verification and documentation. The assessment pointed to a significant, non-deterministic flaw in the fallback path. This is the result of one piece of work against specific criteria and is no percentage of the model's reliability. Compression alone does not decide the error; the cost appears when the same context has to be rebuilt many times.

## Why 250k does not settle the choice

In the retrieval test every configuration returned 3/3 of the prepared facts. The longest configuration, though, reached 28.05 tok/s of generation and 563.4 s of total time, against 49.24 tok/s and 59.3 s at 60k. Beyond this test we did not measure answer quality on arbitrary documents, so the result does not support the claim that a bigger window improves engineering quality.

A bigger window can also raise the cost of searching the history. Continue a session when the earlier reasoning is needed, and start an independent task with a fresh context.

## Why we kept 150k for later trials

The chosen configuration of the modified vLLM accepted up to 150,000 tokens and used Qwen Code 0.21.13 at `medium`. In a task to fix two `json.Marshal` error-handling paths, it finished without compression in 502.14 s. OpenAI Codex scored the change 100 of 100 points on Syntalith's criteria: correctness 40/40, regression tests 20/20, compatibility 15/15, scope discipline 10/10, verification 10/10 and documentation 5/5. That means no deductions in this single assessment; it is no external audit and no measure of repeatability.

The same prompt and the same base on the `llama.cpp` 120k configuration got 98 of 100 points from Codex, ran one compression and took 1,468.76 s. Here we compare whole configurations: the engine, the weight format, the KV cache, the serving path and the context limit. It is a practical comparison of two ready stacks. It does not isolate the effect of moving from 120k to 150k.

## How to size the Qwen context window in a company

First measure the real input package:

```text
task context = system instructions
  + tool definitions
  + input documents or code
  + history of answers and tool results
  + margin for the answer
```

Choose the smallest window that covers the 95th percentile of package length plus a safe margin. Repeated document analysis may fit in 60k. A long change in a repository may need 120k or compression. A company knowledge system often gains more from retrieving a few relevant passages than from loading 250k for every question.

## What Syntalith measures

As part of a [private LLM deployment](https://syntalith.ai/en/services/private-llms), Syntalith checks the length of real inputs, the quality after the material is shortened and the waiting time in the queue. From that we choose the context window, the memory and the way documents are retrieved. Such a test lets you judge the hardware you need before you buy.

The full measurements of the experiment are in the [public JSON summary](https://syntalith.ai/blog/qwen38/benchmark-summary.json).

**Monthly cost of your own server with Qwen**

- Hetzner GEX45 GPU server, 24 GB = €214
- Upkeep 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 with 24 GB of GPU memory from Hetzner's website on 22 October 2026, without the one-off setup fee of €209. We ran our measurements on a home RTX 3090 with 24 GB, so with the same card memory.

## Where to start

**The 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 a way back → a private model with maintenance: from €3,000 plus the server
- The team wants to run the profile itself → the AI-Native course: priced after a call

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

Statistics

## Long context: statistics 2026

9.5×

longer to find the same 3 facts in 230,085 tokens (563.4 s) than in 50,059 tokens (59.3 s). One run on an RTX 3090.

60k, 50,059 tokens 59.3 s 120k, 115,074 tokens 172.6 s 250k, 230,085 tokens 563.4 s

- 59.3 s
  According to a Syntalith experiment (2026), Qwen3.8-27B returned 3 of 3 facts from a 50,059-token input in 59.3 s.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)
- 563.4 s
  According to a Syntalith experiment (2026), with a 230,085-token input Qwen3.8-27B also returned 3 of 3 facts, and took 563.4 s.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)
- 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 and scored 100/100 on Syntalith's criteria.
  Source: [Syntalith, Qwen3.8-27B measurements on an RTX 3090 (2026) ↗](https://syntalith.ai/blog/qwen38/benchmark-summary.json)
- 11 of 13
  According to the NoLiMa study (2025), at 32,000 tokens of context 11 of 13 models fall below half of the accuracy they reach with a short context.
  Source: [Modarressi et al., NoLiMa (ICML 2025) (2025) ↗](https://arxiv.org/abs/2502.05167)

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-qwen-context-60k-120k-150k-250k-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-qwen-context-60k-120k-150k-250k-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/qwen-context-60k-120k-150k-250k#zostaw-kontakt)

## Questions

### Which context window should you choose for a local Qwen?

The smallest one that covers the 95th percentile of real input length with room for the answer. Repeated document analysis may fit in 60k, and a long change in a repository may need 120k or compression.

### Does a bigger context give better answers?

In our test it did not. All configurations returned 3 of 3 facts, and the longest took 563.4 s against 59.3 s at 60k.

### How many tokens does Qwen3.8-27B handle?

The model card gives a native window of 262,144 tokens and an extension to a million through YaRN. On an RTX 3090 we tested configurations up to 250,000 tokens.

### 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.
