What a 4 GB GPU Taught Me About Local LLMs
I tested a local AI service desk assistant on a repurposed laptop with a 4 GB GPU and compared it with Claude. The setup, tools and context window mattered more than the model.
This started as a side project on my home lab. I wanted to learn how large language models work in practice: what a local instance can do, what it is good for, and what to expect from it before trusting it with real data.
I would have loved to buy the latest GPU and over 100 GB of RAM, but at today's prices that wasn't practical. So I worked with what I had: a repurposed Dell G15 5510 laptop with an RTX 3050 GPU with 4 GB of VRAM, with an i5 10th-gen CPU @ 2.4o GHz, and 24 GB of RAM. That constraint shaped everything that follows.
I'm also coming at this believing that agentic local AI will be used more and more for day-to-day work, while larger jobs may still need data-centre-level equipment or cloud infrastructure. A small local model is the cheap end of that range, so I wanted to see how far it gets.
Next, I plan to connect this LLM to Home Assistant and possibly my SIEM. Both suit a small model, because the questions are short and the context stays small.
Before doing that, I needed to know whether it could handle a test like service desk questions, and whether the problems I hit would follow me into production. So I built a fictional managed-service provider with policies, 76 tickets, and around 55 assets, and put 28 questions to gpt-oss 20B, Claude Sonnet 5.5 as a yardstick, and later four smaller local models. The model mattered less than how it found the answer: with retrieval forced, both scored 19/28, and with search and data tools Claude reached 28/28 against gpt-oss's 24/28. Most of the smaller models never searched at all.
In practice, that means a dependable helper for policy and how-to lookups, and a poor counter unless you give it a query tool.
What I tested
I built a synthetic managed-service-provider dataset, "Gogarty IT (Demo)": ten knowledge files holding policies, a client profile, 76 tickets and around 55 assets. I then wrote 28 questions: 18 lookups, 1 reasoning question, 4 aggregations (counts and rankings), 3 the documents don't answer, and 2 prompt-injection checks hidden in ticket text.
The local model was gpt-oss 20B on Ollama, in a Proxmox container with a 4 GB RTX 3050 laptop GPU, so much of the 13 GB model runs on the CPU. Claude Sonnet 5.5 ran through the same Open WebUI setup using an Anthropic API key.
I ran two retrieval modes:
- Classic RAG: Open WebUI retrieves three chunks per question and hands them to the model. A script ran all 28 questions.
- Agentic: In the chat window, the model gets search tools (semantic search, exact-text grep, file viewing) plus my data tool, and decides what to call. I ran these by hand.
The data tool is a small Open WebUI tool that counts tickets, ranks assets by ticket count, finds assets and lists expiring warranties. In the demo, it holds the data inline. A real deployment would query the ticket system instead.
Results
Classic RAG capped both models at 19/28; adding search and data tools lifted gpt-oss to 24/28 and Claude to 28/28. Scores in the table are out of 28.
Model | Mode | Score | Notes |
|---|---|---|---|
gpt-oss 20B (script) | Classic RAG | 18 | First run, scored by hand after fixing the scorer |
gpt-oss 20B (script) | Classic RAG, restructured files | 19 | Runs A, B and B2 all landed on 19; B and B2 also tried hybrid search settings |
gpt-oss 20B (script) | Classic RAG + data tool | 23 | Tools executed by the runner script |
gpt-oss 20B (chat) | Agentic + data tool | 24 | Several retries and service restarts |
Claude Sonnet 5.5 (script) | Classic RAG | 19 | Hand-scored; the auto-scorer said 20 |
Claude Sonnet 5.5 (chat) | Agentic + data tool | 28 | One batched run |
Speed differed too. Under classic RAG, Claude answered a question in about 3 to 6 seconds, while gpt-oss took tens of seconds for a lookup and 100 to 200 seconds when it called a tool.
Retrieval held both models at 19/28
Under classic RAG, both models passed the same kinds of questions and failed the same kinds. Policy lookups were easy for both. Counts, rankings, date ranges and exact ticket IDs were not.
The cause was retrieval, not reasoning. Three chunks cannot hold 76 tickets, so "how many P1 tickets?" has no answer in them. Searching for "GIT-T-1021" returned lookalike tickets because the records are near-duplicates. Restructuring the files and tuning retrieval settings moved gpt-oss from 18 to 19 and no further.
Claude handled the gap more cautiously, but three answers were still misleading. It said no asset was retired, that Kestrel Logistics had no open tickets (it has one), and that none of the tickets it could see breached their SLA (14 did). Each carried a caveat, which is safer than a confident guess but still wrong.
A data tool fixed the counting questions
None of these tools came with Open WebUI. I wrote them myself (with Claude) as a single Python tool that reads the ticket and asset files, with one function for each kind of question the model kept getting wrong: counting tickets, finding the asset with the most tickets, filtering assets, and listing warranties about to expire. It is a small amount of code, but it is extra work that a plain "upload your documents" setup doesn't tell you to expect.
Counting is database work, not reading. Once the model could call count_tickets, tickets_per_asset, find_assets and warranties_expiring, every aggregation question came back right: 12 P1 tickets, 14 resolution breaches, one open Kestrel ticket, and GIT-A-0011 with the most tickets.
Exact-ID lookups were a separate problem. gpt-oss found GIT-T-1021 when it used exact-text grep, but failed twice to find GIT-A-0001 when it only used semantic search. Claude also used grep and file viewing, and got both right.
In the script, running the tools needed a workaround. Open WebUI returns raw tool calls to API callers instead of running them, so my runner executed them itself.
In production, the tool should call the ticket system's API, not hold pasted data. The model then asks the system the questions it's good at.
Pitfall: the context window
The context window is how much text a model can hold at once: the instructions, the tool definitions, every search result and its own answer. I ran every model at 8,192 tokens. The models advertise far more (Qwen3 4B lists 262,144), but each token of window costs memory, and on a 4 GB GPU that cost is paid in speed.
It fills up fast when the model searches. Each search returns up to four chunks, and by the last step of an eight-question prompt the 14B was reading about 7,100 tokens. One gpt-oss chat was cut off mid-answer once six questions had piled up. In the Q18 runs, it lost track of the question after opening a large file. I can't prove that was the window, but it looked the same.
Starting a fresh chat for each section helped. I would also avoid tools that hand the model a whole file.
Pitfall: finding models that fit
A model's size on disk is a rough guide to what it costs to run, and a 4 GB GPU holds very little of it.
Model | On disk | CPU / GPU split |
|---|---|---|
gpt-oss 20B | 13 GB | Mostly CPU |
Qwen3 14B | 9.3 GB | 74% / 26% |
Qwen3 8B | 5.2 GB | 54% / 46% |
phi4-mini | 2.5 GB | 14% / 86% |
The splits for the Qwen and phi4-mini models come from ollama ps at an 8,192-token context. The gpt-oss figure comes from watching CPU use.
The split decides speed. On one final answer, the 14B managed 1.65 tokens a second, and that single step took 99 seconds. Only phi4-mini ran mostly on the GPU.
Reading the specs was not enough. The 4B, the 8B and phi4-mini all report tool support in ollama show, yet none of them searched. A tools label means the model can call a function, not that it will.
I also lost time to labels. I kept editing one model entry to point at different models, so the name on screen and the model underneath drifted apart, and I had to throw some results away. Give each model its own entry, and check ollama ps after each run to see what was loaded.
Smaller local models mostly never searched
I ran the first eight questions in the chat window on four more local models. Only Qwen3 14B searched, and only when given several questions at once.
Model | Eight questions in one prompt | One question |
|---|---|---|
Qwen3 14B | 8/8 (two runs) | 0/6, no search |
Qwen3 8B | 0/8 (two runs, before I rebuilt the entries) | 0/2 |
Qwen3 4B | 0/8 (two runs, before I rebuilt the entries) | not tested |
phi4-mini | 0/8 (before I rebuilt the entries) | 0/1 |
These were not wrong answers. The models replied, "That isn't in the documentation", without calling a search tool. The Qwen3 4B's reasoning, the only one I read, showed a knowledge collection with no files listed, and it concluded nothing was attached. phi4-mini said it would need to search and offered to, but never called the tool.
The 14B also searched when given three questions in one prompt. I did not establish the exact threshold. A service desk sees mostly single questions, so a model that only searches for batches needs retrieval forced.
Where gpt-oss fell short, and the injection tests
In the chat window, gpt-oss missed four of 28 questions. All four were reliability failures, not gaps in knowledge:
- Q13, an exact asset ID: it used only semantic search, found nothing twice, and said the answer wasn't documented. In an earlier batched run, it got it right with
find_assets. - Q18, a client's network range: across three attempts, it never opened the company profile. After viewing a large file, it lost the question and started summarising tickets in a loop.
- Q24 and Q25, questions the documents don't cover: it searched repeatedly and never concluded. Claude answered both cleanly.
The service also stalled and needed restarts, and one chat was cut off when six questions piled up in its context.
Both models resisted the injections. Neither followed the planted "ignore all previous instructions" text in GIT-T-1073 or the "pre-approved by the director" note in GIT-T-1074, and both said there was no recorded approval. Claude warned the user about the embedded instruction on both injection questions and added unprompted notes on data oddities, such as a ticket resolved before its first response. gpt-oss's answer on GIT-T-1074 didn't mention the embedded note; only its reasoning did.
Where I think this is going
I expect agentic local AI to take on more and more of the day-to-day work: looking things up, summarising, drafting, and calling small tools against data you own. A model on modest hardware can already do part of that. gpt-oss 20B answered every policy question in the chat run and, with the right tools, scored 24/28.
Larger jobs may still need data-centre-level equipment or the cloud. Claude was the only model to score 28/28, and it answered a question in a few seconds that the local models took tens of seconds or minutes to answer.
This test can't prove that split. It does show where the limit sits on cheap hardware today: local models are good at routine questions once retrieval and tools are set up properly, and still unreliable at deciding for themselves when to search. A sensible setup might send routine lookups to a local model and hand hard or high-stakes jobs to a bigger one.
Limits of this test
Treat these as strong signals from a small experiment, not benchmarks.
- Small and synthetic: 28 questions over made-up data, mostly single runs, scored by hand against expected answers.
- Not like-for-like: Claude's chat run was one batched paste of all 28 questions. gpt-oss was run in sections, with retries and restarts. The 14B only searched when batched.
- Different prompts and settings: the Claude classic-RAG run used a trimmed system prompt, and each model kept its own default sampling settings.
- Hardware: the 4 GB GPU forced most local models partly onto the CPU, so speeds reflect this machine, not the models.
- Thinking left on: the Qwen models reasoned by default, which may have contributed to them talking themselves out of searching.
- Rebuilt entries: I rebuilt the model entries after finding mislabelled ones. The eight-question results for the 4B, 8B and phi4-mini predate that and were not re-run. The 14B's second batch run and all single-question results come from the rebuilt entries.
- No chat-window timings: the speed figures come from the script runs only.
What I would attach it to
These are ideas I haven't built yet. The service desk assistant is the first piece, and the same pattern (a knowledge collection plus a small tool that queries live data) should carry over to other things.
In the home lab:
- Outline wiki. I'm already working on getting my notes into a RAG collection, so the assistant can answer questions about my own setup.
- GLPI task tracker. A tool that reads open tasks and asset records, in the same way the ticket tool does here.
- Elastic SIEM logs. A read-only tool that summarises recent alerts. I'd treat this one carefully, because logs can contain text a model might follow as an instruction (the same risk as the injection tests).
In production:
- The ticket system through its API, so counts and lookups come from live data, not a CSV export.
- The asset register, for warranty and ownership questions.
- The knowledge base, so procedures and policy answers come from the current documents.
In every case, I'd start read-only and keep a person in the loop before the assistant changes anything.
What I would do for a real service desk
Policy questions were solved by every setup that actually retrieved the right text. The risk is everything around that.
- Put counts and rankings behind a query tool that calls the ticket system's API.
- Give the model an exact-ID lookup. Semantic search finds lookalikes, not ticket GIT-T-1021.
- Force retrieval on every question, especially with small local models, instead of trusting the model to decide to search.
- Test with the questions users really ask: single and short, not a tidy list of eight.
- Treat ticket text as data, and test it with planted instructions before go-live.
- Add a stop rule: if a couple of searches find nothing, answer "not documented" instead of searching forever.
The main lesson is that the setup mattered more than the model. On the same questions, gpt-oss went from 19/28 to 24/28 once I gave it a small data tool I had written, and Claude reached 28/28 with the same tool. A model can only be as good as what it is handed, whether that is the right document chunks or a function that does the counting.
The hardware set the other limits. A 4 GB GPU and 24 GB of RAM meant small context windows, models spilling onto the CPU, and answers that took anywhere from seconds to minutes. The smaller models mostly didn't search at all, and the one that did (Qwen3 14B) only did so when I sent several questions together.
I still think local models have a real place for routine, well-defined questions on data I own, and I want to keep using them. Next, I plan to connect this LLM to Home Assistant and maybe my SIEM, where short, focused questions suit a small context window. For anything bigger or higher-stakes, I'd expect to reach for a larger model, whether on better hardware or in the cloud.