Ollama model too slow or inaccurate? Compare exact tags
gist Compare a few exact model tags with saved prompts, clear pass conditions and a waiting-time limit before choosing a default.
You stopped about in. Jump back
contents
If your Ollama model is too slow or misses your task requirements, shortlist exact tags, check their capabilities and license, then compare the same prompts locally.
I run Ollama on my Unraid box with Qwen, gpt-oss and Gemma models. Those are model families, and a family name alone leaves the size, quantization and supported features unclear. Record an exact tag before comparing candidates.
Step 1: Define what a useful answer looks like
Pick three to five tasks you do often. Give each one a clear pass condition.
| Task | Pass condition |
|---|---|
| Rewrite text | Keeps every fact and follows the requested tone and length |
| Summarize a document | Includes the main points without adding unsupported claims |
| Write code | Passes relevant tests and handles the stated edge cases |
| Extract fields | Returns the expected values in the required format |
| Answer from supplied text | Uses the text and identifies missing answers |
Set a waiting-time limit too. Record both correctness and response time so you can make the tradeoff explicit.
Prepare the same prompts and input files for every candidate. Use fresh conversations so earlier answers do not affect later ones.
Step 2: Match the model to the task
Read the exact variant’s model card and license before downloading. Check whether its terms allow your intended use.
- Chat and writing: check language support and instruction following.
- Coding: compare answers against tests and the libraries you use.
- Vision: check that the variant accepts images. Ollama’s vision documentation describes image input.
- Embeddings: choose a model that produces search vectors. Use the same embedding model for indexing and queries, as the embedding documentation advises.
- Tools: check support in both the model and your application. The application must execute requested tools and return their results. Ollama’s tool-calling documentation shows that exchange.
For embeddings, compare whether searches return known relevant documents. Chat answer quality is a different check.
Step 3: Inspect the exact model tag
Have Ollama installed and running, with the model already downloaded for local inspection.
Inspect this documented tag:
ollama show gemma3:4b-it-q4_K_M
Review the reported architecture, parameters, quantization, context limit and capabilities. Read the model card and license too.
The official tag page lists Q4_K_M quantization and text and image input.
Record the exact tag and model ID with your comparison notes. Avoid recording only “Gemma” or “Qwen”, since that leaves the variant unclear.
Step 4: Leave room for context and runtime memory
Parameter count and download size cannot establish hardware fit by themselves. Account for weights, quantization, the KV cache used for context, runtime overhead and other applications.
Start with a smaller quantized candidate that supports your task. Check system RAM and GPU memory during your intended workload before trying a larger candidate.
Longer context needs more memory. Choose enough for your input, conversation history and expected output. A model card’s maximum context does not show how much Ollama has allocated. See the context documentation.
Ollama supports OLLAMA_CONTEXT_LENGTH at server startup and num_ctx in API request options. Parallel requests also increase context memory requirements. Check your settings before changing them. These controls are covered in the FAQ.
While a model is loaded, inspect it with:
ollama ps
Read PROCESSOR for CPU/GPU placement and CONTEXT for allocated context. The context documentation shows these columns. ollama ps lists loaded models, not your computer’s total available RAM.
Step 5: Compare quality and waiting time
Choose two or three candidates that meet your requirements.
For each candidate:
- Use the same prompts, files and requested answer length.
- Keep context and generation settings consistent where supported.
- Record time until the first answer text and time until completion.
- Record initial model loading separately from requests made while loaded.
- Check correctness against the pass conditions from Step 1.
- Repeat the prompts to check consistency.
Keep other heavy work quiet during the comparison. Start with one request at a time. If your normal workload includes parallel jobs, compare that workload separately afterward.
| Candidate | Exact tag and ID | Context | Correctness | First answer | Completion |
|---|---|---|---|---|---|
| A | Record locally | Record locally | Passes and failures | Measured time | Measured time |
| B | Record locally | Record locally | Passes and failures | Measured time | Measured time |
For code, verify behavior in an isolated test project. For summaries, check each claim against the input. For tool use, check the requested tool and arguments as well as the final answer.
Step 6: Keep a default and revisit specific failures
Use the recorded pass conditions and waiting-time limit to choose a default. If no candidate meets both, try a smaller model, a specialist or a cloud option. To keep apps pointed at one address while you switch models, see one API endpoint with LiteLLM.
Save the chosen tag, model ID, settings and prompt set. Revisit the choice when a recurring failure or missing capability gives you a reason. Run the saved prompts before replacing your default.
| Option | When to consider it | What to compare |
|---|---|---|
| Another suitable local model | Your current model misses a capability or fails a recurring task | License, memory, correctness and response time |
| Cloud API | Your local candidates miss your quality or waiting-time targets | Cost, data handling, network dependence and the same task checks |
| Smaller task-specific model | You repeatedly do a narrow job, such as embeddings or extraction | Accuracy on that job and application compatibility |
If inputs must stay local, check the selected model’s execution location and any connected tools. Ollama’s FAQ distinguishes local processing from cloud processing.
Common questions
Which Ollama model should I choose for general use?
Compare two or three exact tags using your everyday prompts. Set pass conditions and a waiting-time limit first. Choose from the results you record, and keep a specialist only for a task your default fails.
How much RAM does an Ollama model need?
Check memory during your intended workload. Include weights, quantization, context, runtime overhead and parallel requests. Use ollama ps alongside your system’s memory monitor to check placement and allocated context.
Does a model’s download size equal its memory use?
No. Download size describes stored files. Running the model also needs context memory and other allocations. Check memory during use.
Can Ollama run models without a GPU?
Yes. Ollama supports CPU operation. Its FAQ explains the 100% CPU placement value in ollama ps. Compare waiting time on your machine before choosing a default.
Should I always use the largest context window?
Use enough context for your task, then check memory and response time. Increasing context needs more memory.
Can one model handle chat, images, tools and embeddings?
Check each capability on the exact variant. Chat support alone does not establish image input, tool support or embedding support. Match the model to the features your application needs.
Related: local AI guides · all guides.
../local-ai/ every Local AI guide