Set up Ollama (local AI)
Run the analysis on your own machine with no API key.
Ollama runs an open model on your own computer, so the analysis pass sends no transcript text to a cloud provider and needs no account, no API key and no per-run payment. It is the right choice when a policy, a client contract or the sensitivity of a study means transcript text must not leave the machine.
It costs time and some quality. On the study measured below, Gemma 4 E4B took nearly twice as long as Claude and Gemma 4 26B three times as long; both kept quotes close to the transcript, but grouped them into fewer, broader themes, which leaves more of the synthesis to you. Llama 3.2 3B, the smallest model tried, did not produce a report you can use. For how the two compare in general, see Cloud or local AI.
What you give up
- Time. A study that takes minutes with a cloud provider takes two to three times as long with a capable local model, and much longer with a larger one. The computer is busy while it runs.
- Some synthesis. The local models measured found as many quotes as Claude or more, nearly all word for word, but grouped them into fewer, broader themes and fewer sections by screen. Expect to regroup themes by hand.
- Some features. AutoCode, the written explanations on signal cards, and re-applying a codebook need a cloud provider. They are skipped when Ollama is the provider.
- Memory and disk. The model has to fit in memory alongside everything else you have open, and the download is several gigabytes. See What your computer needs.
Two things still go online: installing Ollama, and downloading a model once. After that, the analysis runs offline. Transcription is always local, whichever provider you use.
The trade-offs, measured
One study on one computer, so treat these as a single data point, not a forecast of your own times.
- Study: three moderated interviews of 18, 36 and 38 minutes (13,255 words of transcript), the public test study used on this site.
- Computer: a Mac with an Apple M2 Max and 32 GB of memory, macOS 27.0.
- Ollama: 0.40.18 from Homebrew, with its service settings (flash attention on, a compact
q8_0memory cache), and a context length of 32,768. - Date: 27 and 28 November 2026.
- Bristlenose: a development build. The local models ran at commits
5fdce3f24to63dbc8274, between which the analysis code did not change; Claude ran atb61ec183a, and Llama 3.2 3B at19b8117a8. The rows marked “0.48.0 and earlier” were measured before the local-model fixes and behave as those versions do.
Time
| Three interviews | Notes | |
|---|---|---|
| Claude (Sonnet 4.6) | 5 min 10 s | API cost for this run: US$0.95 |
| Gemma 4 E4B | 9 min 22 s | Every step finished; the Discussion tab was built in part |
| Gemma 4 26B | 15 min 45 s | Every step finished |
| Gemma 4 12B | 43 min 42 s | Three quote requests reached Bristlenose’s time limit and were split and retried |
| Qwen 3.8 27B (4-bit) | 63 min 41 s | Four quote requests reached the time limit and were split and retried; nothing was lost |
| Gemma 4 E4B, 0.48.0 and earlier | 37 min 19 s | With an earlier download of the model; the version a Mac downloads today doesn’t run with Ollama from Homebrew (see the note below) |
| Llama 3.2 3B, 0.48.0 and earlier | Did not finish | Stopped after 89 minutes, and again after 81 minutes when run one request at a time |
| Llama 3.2 3B on the 18-minute interview alone, 0.48.0 and earlier | 1 min 30 s | Finished; see quality below |
Bristlenose’s time limit is 9½ minutes for each quote request. A model that keeps reaching it on your computer loses whole interviews: see “Also tried” below.
Quality
“Word for word” means every part of the quote was found in the transcript; “joined” means turns joined across a short interjection; “altered” means words that differ from the transcript; “made up” means mostly not in the transcript. Filler words a quote may drop (um, you know) are ignored. The check matches against the whole transcript, so a moderator’s words counted as found.
| Quotes | Word for word / joined / altered / made up | Themes, not counting “Uncategorised” | Quotes left uncategorised | Sections by screen | |
|---|---|---|---|---|---|
| Claude | 85 | 75 / 8 / 2 / 0 | 7 | 2 | 13 |
| Gemma 4 E4B | 103 | 99 / 2 / 2 / 0 | 5 | 2 | 7 |
| Gemma 4 26B | 96 | 89 / 3 / 4 / 0 | 4 | 1 | 8 |
| Gemma 4 12B | 127 | 120 / 5 / 2 / 0 | 5 | 6 | 6 |
| Qwen 3.8 27B (4-bit) | 133 | 133 / 0 / 0 / 0 | 9 | 4 | 7 |
| Gemma 4 E4B, 0.48.0 and earlier | 95 | 71 / 18 / 6 / 0 | 5, one a catch-all | 2 | 6 |
| Llama 3.2 3B, 18-minute interview, 0.48.0 and earlier | 15 | 8 / 4 / 0 / 3 | None | 1 | 1 |
What that looks like in the report:
- Claude gave themes a researcher would keep: objects with a family history, the tension between form and function, the forced route through the store, shopping as a family ritual. Its 13 sections followed the screens of the shopping task, and the Discussion tab placed every quote under the question that prompted it.
- Gemma 4 E4B kept quotes closest to the transcript of the fast models. Its themes were broad (“IKEA experience dynamics”, 16 quotes; “Digital/in-store experience friction”, 14), so the story of a study is there to find but not drawn out. The Discussion tab was built in part: about one turn in six of the conversation was left unlabelled.
- Gemma 4 26B had four broad themes, such as “Aesthetic and functional balance” and “Physical retail experiences”, and a complete Discussion tab.
- Gemma 4 12B found more quotes than the 26B but took almost three times as long, left 6 quotes uncategorised, and built the Discussion tab in part. On this Mac it gave no reason to prefer it over the 26B.
- Qwen 3.8 27B gave the report closest to Claude’s: every quote word for word, nine themes as specific as “Emotional and nostalgic connections to objects” and “In-store expertise versus self-service”, and a complete Discussion tab. It took 12 times as long as Claude, 9 of its quotes were repeats, and its quote requests ran close to the time limit; on a slower chip they would pass it.
- Gemma 4 E4B with 0.48.0 and earlier filed the inherited-kettle story under product customisation, put four quotes under two themes each, and kept some housekeeping as quotes (“How do I unmute? … Can you hear me?”).
- Llama 3.2 3B is not suitable for analysis. On the 18-minute interview every quote was timed at 0:00, so its link to the transcript goes to the start; the first quote was the moderator’s opening words, attributed to the participant; one quote appeared three times, joined to words that aren’t in the transcript; and 14 of its 15 quotes went into one section. On the three interviews, some of its replies ran on for thousands of words until they timed out, and Bristlenose stopped.
Also tried, not recommended (same study and computer):
- Qwen 3.5 9B: 24 min 45 s, 104 quotes, 3 themes; the Discussion tab was built in part. Another heavy job was running on the Mac during part of this run, so its time may be high.
- Qwen 3.5 4B: 18 min 31 s, but only 49 quotes, about half as many as the others.
- Granite 4.2 8B: 31 min 8 s, 80 quotes, none with a sentiment.
- Bonsai 2 27B: 1 h 59 min, and no quotes from the second interview: its requests on it kept reaching the time limit. The run ended “Done with warnings … no quotes from s2”.
- Muse Glimmer 30B: 1 h 15 min, and no quotes from the second or third interview, for the same reason.
Larger Qwen models, and Llama 3.2 3B after the fixes, were not measured.
Memory and download
| Download | Memory in use while it ran (as Ollama reports it) | |
|---|---|---|
| Gemma 4 E4B | 9.5 GB | 10 to 12 GB |
| Gemma 4 12B | 7.7 GB | 10 to 12 GB |
| Gemma 4 26B | 19 GB | 16 to 18 GB |
| Qwen 3.8 27B (4-bit) | 18 GB | 18 to 21 GB |
These are at a context length of 32,768 with Ollama’s compact q8_0 memory cache, as the Homebrew service sets it; with Ollama’s own default the models use more. On a Mac, Ollama downloads a version of the Gemma models built for Apple silicon; Ollama’s registry lists a 6.6 GB version of Gemma 4 E4B for other systems, which was not measured here.
What your computer needs
Which model suits which computer, as of November 2026. The quality figures were measured on the 32 GB Mac above; no model was run on a Mac with another amount of memory, and every time on another chip is an estimate, scaled from the measured one by memory speed. Times are for the analysis only; transcription comes on top.
| Memory | What to use | What it rests on | Analysis time per interview |
|---|---|---|---|
| 8 GB | A cloud provider | No local model examined fits alongside macOS and a browser. | — |
| 16 GB | Gemma 4 E4B (a 9.5 GB download) | Measured above. It used 10 to 12 GB, which is tight on 16 GB: close other apps while it runs. | About 3 minutes on an M2 Max (measured); 5 to 10 on a base or Pro chip (estimate) |
| 32 GB | Gemma 4 26B (a 19 GB download) | Measured above: fewer themes than Claude, but quotes close to the transcript, a complete Discussion tab, and 16 to 18 GB in use. | About 5 minutes on an M2 Max (measured); 7 to 17 on a base or Pro chip (estimate) |
| 64 GB | Gemma 4 26B, the same model | More room for other apps while it runs. Qwen 3.8 27B gave the better report (see above), but its requests ran close to the time limit even on a Max chip. | About 5 minutes on a Max chip; about 8 on a Pro (estimate) |
With 128 GB you can run models such as Qwen 3.5 122B; at that size you’ll want to compare a few on your own interviews before trusting one.
For a study of 20 interviews, a run started at the end of the day should finish overnight with either Gemma model, by these estimates. Qwen 3.8 27B took about 21 minutes per interview on the Max chip, about 7 hours for 20 interviews; on a slower chip it would take longer and lose interviews to the time limit. A fanless MacBook Air may slow down over a run of many hours.
On this Mac, more model bought better themes, at the cost of time: Gemma 4 26B took 1.7 times as long as E4B and Qwen 3.8 27B 6.8 times as long. Above 32 GB, more memory mostly buys room for other apps; only at 128 GB does a much larger kind of model fit, which was not measured.
Context length. The context length is how much text the model reads at once. Ollama sets its default from your graphics memory: 4,096 tokens below 24 GB of graphics memory, 32,768 from 24 GB, and 262,144 from 48 GB. A Mac’s graphics memory is part of its total memory, so a Mac with 24 GB or less gets 4,096. A Bristlenose request on a 30-minute interview is 6,000 to 12,000 tokens.
- With Bristlenose 0.48.0 and earlier, Ollama’s default applies. At 4,096, Ollama keeps only the end of each request and doesn’t report an error; when the study above was run at 4,096 on purpose, Gemma 4 E4B lost most of each interview and the analysis stopped at the quotes step. On a Mac with 24 GB or less, raise Ollama’s context length before you run an analysis: in the Ollama app, use the context length slider in its settings; if you start Ollama another way, set
OLLAMA_CONTEXT_LENGTH=32768in its environment. - The development build measured above asks Ollama for 32,768 itself.
Running at 32,768 on a 16 GB Mac itself was not tested.
Memory. Leave headroom beyond the figures above for macOS, your other apps and Bristlenose: a model that only just fits slows the whole computer.
Gemma 4 with Ollama from Homebrew, on a Mac, with Bristlenose 0.48.0 and earlier. On Apple silicon, Ollama 0.40.18 downloads a version of Gemma 4 that needs a part Homebrew’s Ollama package leaves out, so it can’t return the structured replies these versions of Bristlenose ask for, and an analysis stops at its first step with “Local (Ollama) had a server error.” Ollama’s own build, the app from ollama.com, includes that part according to its build script; it was not tested with Bristlenose.
Set up
macOS app
- Open Settings (⌘,) and go to LLM Provider. Under On-Device AI, choose Ollama.
- Click the Model button. The list is chosen for your Mac’s memory: it marks the recommended model and dims models your Mac doesn’t have the memory for.
- Choose a model and click the Use button, which names the model you chose. Bristlenose switches to Ollama and gets the model ready.
- If Ollama isn’t installed, click Get Ollama…. It opens ollama.com in your browser: download Ollama for macOS, install it and open it. Bristlenose waits for it, then downloads the model. Progress shows under the Model row, and in the toolbar while the model downloads.
- With Bristlenose 0.48.0 and earlier on a Mac with 24 GB of memory or less, open the Ollama app’s settings and raise its context length (see What your computer needs).
The Mac app uses Ollama on the same Mac (localhost:11434).
Command line
- Install Ollama. With Bristlenose 0.48.0 and earlier on a Mac, use the app from ollama.com rather than Homebrew (see the note under What your computer needs). If Ollama isn’t installed,
bristlenose run … --llm localoffers to install it (through Homebrew, Snap, winget or Ollama’s installer), start it, and download Gemma 4 E4B (gemma4:e4b, a 9.5 GB download on a Mac). - To download the model yourself instead, run
ollama pull gemma4:e4b. To use a different model, pull it and tell Bristlenose to use it. With 32 GB of memory or more, usegemma4:26b(see What your computer needs):
ollama pull gemma4:26b
export BRISTLENOSE_LOCAL_MODEL=gemma4:26b
ollama pull gemma4:26b
$env:BRISTLENOSE_LOCAL_MODEL = "gemma4:26b"
- With Bristlenose 0.48.0 and earlier and 24 GB of graphics memory or less, start Ollama with
OLLAMA_CONTEXT_LENGTH=32768(see What your computer needs). - Run
bristlenose run interviews --llm local.
Without BRISTLENOSE_LOCAL_MODEL, Bristlenose uses gemma4:e4b. Set the variable in your environment or in a .env file in the folder you run from; in PowerShell, a $env: value lasts for that window only. It takes any model you have pulled. To reach Ollama on another computer, set BRISTLENOSE_LOCAL_URL (default http://localhost:11434/v1).
Gemma 4 is an open model from Google (Apache 2.0 licence). It runs on your computer; nothing is sent to Google.
Run an analysis covers starting a run and opening the report. Every quote links back to its moment in the transcript: check the ones you rely on.
Troubleshooting
| What you see | Cause and fix |
|---|---|
| “Couldn’t reach Local (Ollama). Check your network connection.” | Either Ollama isn’t running (open the Ollama app, or run ollama serve, then try again), or, if it is running, the model took too long to answer again and again. In this test that happened with Llama 3.2 3B on full-length interviews; Gemma 4 E4B and 26B finished. Use a larger model, or a cloud provider. |
| “Ollama doesn’t have the model …” | The model isn’t on this computer. Run ollama pull <model>, for example ollama pull gemma4:e4b. |
| “requires a newer version of Ollama” when pulling | Update Ollama, then pull again. |
| “Local (Ollama) had a server error” with “structured output is unavailable” | Gemma 4 with Ollama from Homebrew on a Mac. See the note under What your computer needs. |
| “All quote extraction calls failed”, or a message about the “model output cap” | The context length is too small for your interviews. Raise it (see What your computer needs). |
| “Done with warnings”, and the Discussion tab is missing or only partly built | The model’s replies for that tab didn’t match what Bristlenose expects. The rest of the report is complete. |
| “Done with warnings … no quotes from s2” (or another session) | The model took longer than Bristlenose’s time limit on that interview, again and again. The report leaves that interview out. Choose a faster model, such as Gemma 4 E4B or 26B, or a cloud provider. |
| The run is very slow, or the computer slows down | The model is large for your memory. Close other apps, or choose a smaller model. |
| Few themes, repeated quotes, or quotes at 0:00 | The model is too small for the analysis. Choose a larger model, or use a cloud provider. |
Run bristlenose doctor to check Ollama, the model and the rest of your setup in one step.
For what each option sends to a provider, see Cloud or local AI and Privacy and data.