Data & AI Infrastructure
Ollama
Run language models locally and connect to them through a command line or API.
- Product Hunt rating
- Pricing
- Local inference
- US$0 from Ollama
- Cloud Pro
- US$20/month or US$200/year
- Cloud Max
- US$100/month
- Cloud Team
- From US$500/month
- Pay as you go
- Model-specific token rates
- Best for
- Developers testing small or medium local models without building an inference server from scratch.
Video tutorial
Learn Ollama in 15 Minutes - Run LLM Models Locally for FREE · Tech With Tim · Watch on YouTube ↗
What is Ollama?
Ollama gives developers a way to download and run models and call them from local applications. Use a test that measures output quality, speed, and memory on the hardware you plan to use. A run that works on a single short prompt is a good starting point, with more measurement needed for larger workloads.
A model tag, quantization, and hardware environment determine how an evaluation behaves. Document them so another person can reproduce the results.
Set up and test a real workflow
Pull an Ollama model you have permission to use and pin the exact tag in a local test record. Use the default local endpoint for the exercise. Send POST /api/generate with model, prompt, and stream set to false to read one JSON object. Keep the model, options, and prompt fixed when comparing runs. Record the first-load time separately from later responses.
What to look for in the result
Before adding a real app, send the instruction Return the reference code, or UNKNOWN when absent, with the input Box B-17 is tagged for return. Read the response field and expect B-17, then change the input to say no reference is available and check that it can report an unknown rather than guessing. Log total_duration and load_duration for the first and second calls, and note if the machine begins paging.
| Problem | What to check | What to change |
|---|---|---|
| Your JSON client reports trailing data | Check whether /api/generate is streaming its default sequence of JSON lines | Set stream to false for the fixture or use a newline-delimited parser for incremental output |
| The first request is much slower than subsequent requests | Compare load_duration with total_duration and record the tested model tag | Report cold and warm performance separately before deciding whether the model suits interactive use |
Try it: Compare two local models on a fixed input set
Use a machine where you can measure latency and memory safely.
Return one of “order”, “support”, or “unknown” for each input. Test “Please invoice me for 3 adapters”, “The adapter overheated”, and “hello”. Keep the answer to one category.
- Download a compatible model using official guidance and confirm it can run on the target computer.
- Run the three inputs and record each model tag, output, latency, and observed memory.
- Try a second compatible model with the same inputs. Compare correctness and repeatability before connecting it to an app.
What a usable result looks like
Each input receives a recognizable category within acceptable local resource use.
| Check | What you might see | What to do next |
|---|---|---|
| Order | Invoice request returns order. | Check exact output parsing. |
| Support | Failure report returns support. | Try a simple paraphrase. |
| Unknown | Greeting does not become a forced category. | Retain an unknown-case test. |
What to save from the trial
A repeatable local benchmark and notes on the preferred model.
Another scenario
Repeat with longer input before using the model to summarize documents on that machine.
Use cases and what to check
| Use case | How to try it | What to check |
|---|---|---|
| Local classification | Classify fictional short notes with a known answer. | Verify category accuracy and duration. |
| Development API | Connect a test app to the local server. | Check service reachability and request timeout behavior. |
Which plan should you try?
| Plan | Price | Who should consider it |
|---|---|---|
| Local inference | US$0 from Ollama | Hardware, power, and model terms are separate. |
| Cloud Pro | US$20/month or US$200/year | Includes US$60 of cloud usage credits per month. |
| Cloud Max | US$100/month | Includes US$300 of cloud usage credits per month. |
| Cloud Team | From US$500/month | Includes US$1,000 of usage credits shared across a team. |
| Pay as you go | Model-specific token rates | Look up input, cached input, and output rates for the exact model. |
Compare hardware and maintenance with actual cloud charges before making a deployment decision.
Provider pricing and access ↗ · Checked
What people say about Ollama
1 featured user review.
Local models and memory
Found the command line easy for trying local models and called out GPU memory planning as a challenge with larger models.
4.5/5 · April 25, 2026 · G2 ↗ · Paraphrased
Limits to check
Local operation requires enough memory and storage, and the model licence still applies.
When to choose it
Ollama is useful when the model can run on your hardware and you want a repeatable local HTTP interface. Compare realistic cold-start times and memory use before relying on it for several people or long requests.
Common questions
- Does a local server need public access?
- Keep it bound to an appropriate local interface and add security controls before network exposure.
- How do I compare model performance?
- Use the same prompts, hardware, configuration, and expectations.
Community posts
-
Unload a running Ollama model without deleting it ↗
The issue discusses how to release a local model from memory while preserving its downloaded files, and distinguishes unloading from removing a model.
Ollama GitHub Issues