5 prompts that fixed my local LLM before I ever downloaded a bigger model

5 prompts that fixed my local LLM before I ever downloaded a bigger model

Published Dec 5, 2026, 6:00 AM EST Korbin is a Linux system administrator who spends most of his time in a terminal figuring out how things actually work. Over the last decade he's written hundreds of articles about Linux configuration, troubleshooting weird problems, and using open-source tools in the real world. He also works a lot with Windows systems and networking, especially in mixed environments where things don't always behave the way the documentation says they should. Writing things down is how he makes sense of it all and hopefully saves someone else a few hours. I used to instinctively reach for a bigger model whenever a local LLM gave me a bad answer. If the 9B model fumbled the question, surely the 26B version would do better. That was my thought process at the time, and it was consistently proven wrong. It's so easy to download a bigger model. Even easier than taking the time to write a more thorough prompt. So, that's what I'd do. And the bigger model would usually give me about the same answer, only better written. Without a doubt, sometimes a bigger model is the answer. But more often than not, the better solution is to simply get better at prompting. Here are the five prompts I resort to before giving up and moving to a bigger model. I tell it what I'm running Context leads to helpful answers Credit: My website is a single Node app behind an Nginx reverse proxy on an Ubuntu server. I need help configuring it from the terminal. If I had to recommend only one way to tune a prompt to get better responses, it's to add context. The LLM only really knows what you tell it. The more you can say about your environment and what kind of tools you're working with, the better advice you'll get. Without enough context, the LLM will make assumptions about your setup and situation. Even the most robust model isn't going to improve the response. A single sentence will go a long way, but responses get even better with more context. I ask it to lead with the answer I'm not here for a friendly chat Give me an answer to my question first, then explain it afterward. I hate glancing back at the chat to check the model's response and seeing a giant wall of text. It's all too common that I have to sift through the whole reply to find the only pertinent sentence I actually needed. Having the model lead with the answer means I know right where to look for the relevant part. If I feel that further elaboration is beneficial, then I can keep reading. If not, I can glean the answer in a few seconds and move on. I have it ask clarifying questions It's a lot better than letting it assume For non-trivial tasks, ask up to three clarifying questions before answering. Answer simple questions directly. Sometimes, it's hard to think of all the context a model might expect to tailor a response. Allowing it to ask clarifying questions gives it a chance to gather additional information about the task and give a more helpful reply. It's especially important on complex tasks with multiple steps, or on jobs where things need to be approached a particular way. Reminding it to ask follow-up questions only when necessary is an important caveat, or it'll get annoyed quickly on basic prompts. I let it admit when it doesn't know A non-answer beats a wrong one If you aren't sure about an answer, say so. State your assumptions and say how certain you are of them. There's a recurring weakness with local LLMs and AI in general where it'll sometimes give an outright incorrect answer with the utmost confidence. Seeing that level of confidence in the response is pretty convincing, even if you know that what it's saying can't be right. Instead of leaving your LLM feeling like it has to give an acceptable answer, give it a simple out. I have my models specify when an answer is an assumption, and estimate how certain they are of that assumption being correct. I make it say when it's out of its depth This helps identify when a bigger model is needed If a task needs more reasoning power than you're capable of providing, say so instead of attempting it. A bigger model isn't always the fix. But sometimes it is. Using this prompt lets the LLM help you identify when a bigger model is actually justified. If the smaller model can't reliably complete the task given its limitations, it'll let you know. This isn't foolproof, but in my experience, it's better to have the model concede than to try and fail. If the bigger model can't tackle it either, then your prompt needs tweaking, or it's time to resort to a cloud model. Brief the smaller model before upgrading All of these prompts are worth trying on a smaller model before pulling the trigger on a bigger one. On Ollama, you can add them all to a Modelfile's SYSTEM block, then run ollama create my-assistant -f Modelfile to get them permanently baked in. If the LLM still fails after these five prompts, it's safe to conclude it's time to upgrade. For me, though, the biggest upgrade to my local LLMs came from my own prompts. Once I began providing more context, answering clarifying questions, and giving models a way to admit when they don't know the answer, I started getting responses that were immensely more useful.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.