In models that stay inside, the gateway stops pointing at a vendor. Product still calls one endpoint. A route marked internal may only resolve to a model that runs inside. This note is that resolution, for one model.
The logical name in that note, summarise-internal, is Qwen3.8-27B on a used RTX 3090. What follows is the file that fits, the tokens per second the card actually does, and the month in which the route is cheaper than the API it replaces. If the text may still leave, you do not need this note: the gateway, with a budget, is enough.
Why the internal route is not DeepSeek
The first thing people try to put behind summarise-internal is DeepSeek. The search “self host LLM cost” lands there, and the number that goes around for hosting it is on the order of $3 million a year. We are not going to defend that figure: it is not an invoice we can point at line by line. The invoice we can point at already stops the route from resolving.
DeepSeek-V4.1-Flash is a 510 GB checkpoint. vLLM’s recipe wants about 614 GB of VRAM. That is an 8× H200 node, or a four-GPU Blackwell tray. CoreWeave lists the 8× H200 at $50.44 an hour. At 8,760 hours that is about $442,000 a year, about €406,000, for one node, always on, before a spare and before the person who runs it. The 2024 “pair of H100s” does not fit. A twenty-person company does not approve that. Whoever quotes three million is counting the program — spare, commitment, people — on top of that floor. The floor is already too much.
So this note is not that purchase. It is the other one: a dense 27B model that, at 4-bit, lives on a 24 GB card you can buy used. Same question — does it beat the API, and when does it not? — with an object that fits on a desk.
The model that fits
The card is Qwen/Qwen3.8-27B . Alibaba, 14 August 2026, Apache 2.0. Dense: all 27 billion parameters fire on every token. There are no experts you can leave at home. Native vision (image and video). Native context 262,144, extensible to 1M with YaRN. Thinking on by default, with reasoning_effort at xhigh, medium or low. The official checkpoint is BF16, about 56 GB, and FP8, about 31 GB. Neither is the file you put on a 3090.
What fits is a Q4. The Q4_K_M GGUF is about 17.1 GB. That file is not from Qwen: it is a community conversion (Unsloth and others). Ollama ships the qwen3.8:27b tag at about 18 GB. 4-bit quality, not BF16. For an internal agent that is the product. For a paper benchmark, it is not.
Hardware Corner measured real usage on a Q4 build: 18 GB at 4k, 22 GB at 64k, 26 GB at 128k, 34 GB at 256k. On a 24 GB card the comfortable ceiling is 64k. The 262k on the model card does not fit there without KV tricks. A 16 GB card does not clear Q4 plus the runtime. A 12 GB card is on 3-bit or on offload, and offload turns the model into a batch job.
The sibling you must not download is Qwen3.8-Max, 2.4 trillion parameters, about 4.9 TB in BF16. That one is a cluster, and the licence is not the 27B’s Apache. If the slide says “Qwen 3.8” without the 27B, ask which of the two.
The speed of one card, not of a node
Dense means the limit is memory bandwidth, not a handful of active experts. Hardware Corner, llama.cpp, Q4, multi-token prediction off:
| Card | VRAM | tok/s at 4k | tok/s at 64k | What it is for |
|---|---|---|---|---|
| RTX 3090 | 24 GB | 40 | 34 | The buy. One agent, a small team that is not all generating at once. |
| RTX 4090 | 24 GB | 46 | 38 | About 15% more decode. The same context ceiling. It does not buy VRAM. |
| RTX 5090 | 32 GB | 75 | 26 | 128k measured. At long context it is not faster than the 3090. |
Forty tokens a second is faster than reading. It is not the 300 tok/s SLO that shows up on DeepSeek slides — and that DeepSeek’s own public API does not deliver either. If the product requires 300 tok/s per user, this card is not the product. If the product is an internal agent that answers while someone watches, it is.
There is a second number, and it is not day one. The checkpoint ships a multi-token prediction head. With that head, a quantized lm_head and a tuned server, the same 3090 goes from ~46 tok/s with speculation off to about 110 tok/s. That is a community repo, not the Ollama command. Count it as a ceiling you earn, not as the invoice.
Default thinking is xhigh. On local hardware that eats the budget: a prompt that takes a couple of minutes with reasoning off can take twenty with effort high. For the everyday path, low or medium. Save xhigh for the task that actually wants it.
The five differences, on this card
The previous note leaves five things to plan when inference stays inside. On summarise-internal they are these:
- The weights. The file you serve is 17 GB at Q4, not the 56 GB BF16 and not a 510 GB checkpoint. Cache it on disk. Downloading it on every start is still an outage; it is an outage of one file, not of a node.
- Scaling. A CPU HPA cannot see this card. The signal is whether a second request is waiting on the same 40 tok/s. Adding a pod does not fit: there is no second GPU.
- Concurrency. It lives inside the process, not in replicas. Batching raises aggregate tokens. It does not give every user their 40 tok/s at once. One 3090 is a shared seat.
- Scarcity. There is no node pool to taint. The scarce resource is the workstation. If a notebook and the agent fight over the GPU, whoever did not reserve the machine loses.
- The two latencies. On the 3090, prefill at 4k is about 1,300 tok/s: that is time to first token. Decode is 40 tok/s: that is what the person waiting feels. Measure them separately, as in the other note, and here they already have a number.
The card, in euros a month
Street price of a used RTX 3090 in 2026: about $1,550. A new 4090 sits around $3,000–$3,450. That is not the 2022 MSRP; memory is still expensive and 24 GB cards are holding their price. Accounting life: 36 months. If the card dies in year four, the error fits inside a month of API. Electricity: 250 W average while serving — the 3090’s TDP is 350 W; 250 W is a power limit these serves actually use — 730 hours, €0.20/kWh. That €0.20 is a working European assumption, not your tariff. In Spain the realistic band is nearby; substitute the number, not the question. Dollars to euros at $1 = €0.92, the same FX as in the 29% of your AWS bill. VAT on top.
| Line | Sum | € / month |
|---|---|---|
| Used RTX 3090, $1,550 / 36 months | $43.06 | €40 |
| Power, 250 W × 730 h × €0.20 | 183 kWh | €36 |
| PC you already have | — | €0 |
| Total, in a machine you have | €76 | |
| Dedicated box, ~€800 / 36 months, if there is no machine | +€22 |
The 4090 does not change which model fits. It changes decode by about 15% and almost doubles the amortisation. Buy it if it is already on the desk. Do not buy it for this card.
Turning it off at night cuts the power, not the amortisation. 8 h × 22 days at 250 W is about €9 of electricity. The €40 for the card is still there. Autoscaling to zero does not exist: the card is an object. It is there, or you sell it.
The same card against the APIs
Working month: 20 million output tokens and 80 million input. Four input for every one output — the prompt is the thread, the tools, the slice of the repo. At 40 tok/s, 20 million output tokens is about 139 hours of generation. A small team that actually uses the agent, not one person asking three times a day, and not a cluster at 300 tok/s around the clock.
Qwen international, Model Studio Singapore, pricing page, September 2026: $0.50 / 1M input, $3 / 1M output, implicit input cache at $0.10. Beijing is cheaper ($0.424 / $1.696) and is not the endpoint a European company uses. DeepSeek, OpenAI and Anthropic, the same lists we already cite. OpenAI EU data residency: +10% on models from 5 March 2026.
| Route | $ / month | ≈ € / month |
|---|---|---|
| DeepSeek Flash, off-peak, misses | 24 | €22 |
| RTX 3090, card + power | €76 | |
| Qwen3.8-27B, Singapore, misses | 100 | €92 |
| Claude Sonnet 5 | 360 | €331 |
| GPT-5.6 Terra | 400 | €368 |
| GPT-5.6 Terra, EU residency | 440 | €405 |
| GPT-5.6 Sol | 720 | €662 |
| Claude Opus 5 | 900 | €828 |
The card beats Qwen’s own API, and it beats Sonnet, Terra and Opus by a wide margin. It loses to DeepSeek off-peak. At this volume, if the text may leave and you only care about the invoice, call DeepSeek. €22 against €76. We will not torture the mix until the card wins that row.
The tie against Qwen sits a little lower. At 4:1 with no cache, each million output tokens in Singapore costs 4 × $0.50 + $3 = $5. The card is about $83 a month. Crossover falls around 16.5 million output tokens. Below that, even against Qwen, the API is cheaper — because the card bills the same when nobody is using it. Against DeepSeek the crossover is around 69 million output tokens a month. That is a team generating for many hours a day, or the tuned ~110 tok/s server actually busy. Against Sonnet 5 the crossover is about 4.6 million: almost any real internal use.
If half of Qwen’s input is a cache hit, the 20-million month drops from $100 to $84, about €77. A tie with the card. The system prefix you repeat on every call is exactly that discount. Locally, that prefix is KV inside the 24 GB, and at 64k you are already at the measured ceiling.
When you buy the card
- The text cannot leave. Residency, a contract, a repo legal does not want in Singapore or on DeepSeek’s API. Then €76 a month is the price of compliance. Next to a senior salary, it is not a line.
- The internal agent is already past ~15 million output tokens a month and you are paying Qwen’s API, Sonnet or GPT. The card pays for itself. Measure the month, not the peak of a demo.
- ~40 tok/s per person is enough, and not everyone generates at once. One 3090 is a seat, not a public service.
You do not buy it “in case we leave DeepSeek”. In case, when the text may leave, is the API with a cap on the gateway. An idle card is €76 wasted, which is not much, and it is also how a drawer fills up with GPUs nobody turns on.
Serving it behind the same name
Day one is Ollama or llama.cpp, not a vLLM node. The file is the Q4, cached on disk. Do not download it again on Friday. Product does not see any of this.
ollama pull qwen3.8:27b
ollama serve
llama-server -m Qwen3.8-27B-Q4_K_M.gguf -c 32768 --port 8000
# the same list as in "models that stay inside"
model_list:
- model_name: summarise-fast
litellm_params: { model: openai/gpt-4o-mini, api_key: os.environ/OPENAI_KEY }
- model_name: summarise-internal
litellm_params: { model: openai/qwen3.8-27b, api_base: http://llama.ai.svc:8000/v1 }
# a route marked internal may only resolve to summarise-internal
# that check belongs in CI, not in a wiki page
Product still asks for summarise-fast, or for the internal name if the route was born inside. The gateway changes the mapping. Default thinking spends the window on reasoning before the answer: if a call looks hung, look at the effort before you declare that the model does not answer.
What the €76 does not include
- High availability. One card is a single point of failure. A spare in the drawer is another €40 a month. A second server with on-call is no longer “consumer hardware”: it is a platform, and then you do need someone.
- The person, if the server becomes a service. An afternoon to put it behind the gateway is not an FTE. Operating it as production — watch the queue, rotate the file, rehearse the shutdown — does look like the job in hire a platform engineer, or outsource it. Do not put a senior into the €76 row to make the account come out.
- Long agent context. 64k is the measured ceiling on 24 GB. A thread that drags the whole repo along falls off it. There you either trim, or you step up to 32 GB, or you go back to an API with a 1M context and you pay tokens.
- Vision. The projector is about 1 GB on top of the Q4. It fits, and it spends the margin you were going to use on KV. If the work is text, do not load it.
Where this breaks in practice
- Downloading the 56 GB BF16 “because it is the official one” and finding it does not load. The official file is not the one you serve.
- Mixing up Qwen3.8-27B with Qwen3.8-Max. Max is the multi-terabyte object. It is not this note.
- Copying a 300 tok/s SLO from a node onto this card. It does ~40 on day one. 300 is a data-center number, and DeepSeek’s public API does not deliver it either.
- Leaving thinking on xhigh for everyday chat. You spend the card’s time on reasoning nobody reads.
- Putting the card’s model on a 16 GB laptop and calling the offload “slow”. It is not slow. It is going to system RAM. The model has left the GPU.
- Buying the 3090 the same week real use is 2 million tokens. At that volume Qwen’s API is about $10. The card is idle.
Do not hire us if
The list is explicit. If you are on it, the email is surplus.
- You want DeepSeek resident and a small-company budget. That is about €400,000 a year for one node, before people. It is not an engagement we will take on and make “cheap”.
- You want the 3090 to come out cheaper than DeepSeek’s API at 20 million tokens. It does not. The honest row is to call them.
- The text may leave and the use is one person. An afternoon with the API and a cap. Not a card.
- The problem is three teams with three keys. That is the previous note, the gateway, not a GPU.
If you already have the 3090, the Q4 on disk, and a measured month of tokens, do not call us to confirm the FX. If the slide says DeepSeek in-house and the budget has no node on it, that is a conversation — and the answer may be this card, or neither.
Send us the model, last month’s tokens, and whether the text may leave. Within 24h you get back whether the card wins, whether the API wins, or whether you are about to buy a node for a one-GPU problem. Sometimes the answer is: call DeepSeek, and do not call us. hola@pikas.systems