Choose a model

The install guide starts everyone on Qwen 3.5 4B: small, a short download, and the likeliest to run. Once Puri works, a smarter model is a few lines away, if your computer has the memory for it.

Qwen or Ornith

Both ran the same 35 tasks of the kind Puri gets, three times each, through Puri's own instructions and tools, against a made-up person's mail, calendar and documents. Both think before they answer, which the config turns on: with its thinking off, Qwen did 63 %.

Qwen 3.5 4BOrnith 1.5
Tasks done right76 %92 %
A mail saying a firm's bank account had changedalmost always passed the new account on as realwarned every time
Download3–4 GBabout 23 GB
Memory, with Puri's 64K contextmost of an 8 GB cardabout 32 GB
A turn on integrated graphics (Radeon 890M), median33 s24 s
Speed on an 8 GB card (RTX 4060)2.4–2.9× faster than integrated graphics (50–60 tokens a second)doesn't fit

Ornith is a much bigger model, but it uses only about 3 billion of its 35 billion parameters for each token, about as many as Qwen has in all, so where it fits, it isn't slower. With Qwen, check any payment details in your mail yourself.

Which computer runs which

  • A graphics card with 8 GB: Qwen, and quickly.
  • A graphics card with 12 or 16 GB: Qwen; or, as an experiment, Qwen 3.6 35B through Strata.
  • A graphics card with about 32 GB: Ornith, all of it on the card.
  • Integrated graphics and 48 GB of memory or more: Ornith, which there is both better and faster than Qwen, once the graphics may use enough of that memory (below).
  • Integrated graphics and less memory: Qwen.
  • No graphics card at all: Qwen, very slowly (below).
  • A computer at home with more memory than this one: run the model there, on a home server.

Ornith needs about 32 GB for itself, so a computer with exactly 32 GB has nothing left for GNOME, Thunderbird and your browser: hence the 48.

The model stays loaded while Puri runs, so it holds that memory all day, and on a laptop every answer costs battery, Ornith's most of all. Running it on this computer is the quickest way to try Puri. For daily use, a desktop PC or a small server at home is the better place for the model, with Puri on your laptop reaching it over your own network: see a home server.

Switching to Ornith

Download Ornith, about 23 GB, as the install guide's step 3 downloads Qwen:

Terminal
$ hf download ornith-ai/Ornith-1.5-35B-A3B-GGUF Ornith-1.5-35B-Q4_K_M.gguf

Once it has finished, put these in ~/.config/puri/config.toml in place of the two Qwen [[llm]] tables and the [titler] under them, the settings from Ornith's model card:

[[llm]]
name   = "Ornith 1.5"
server = "local"
model  = "ornith-ai/Ornith-1.5-35B-A3B-GGUF:Q4_K_M"
[llm.params]
temperature = 0.6
top_p       = 0.95
top_k       = 20

[[llm]]
name   = "Ornith 1.5, no thinking"
server = "local"
model  = "ornith-ai/Ornith-1.5-35B-A3B-GGUF:Q4_K_M"
[llm.params]
temperature = 0.6
top_p       = 0.95
top_k       = 20
chat_template_kwargs = { enable_thinking = false }

[titler]
llm = "Ornith 1.5, no thinking"

Quit Puri with Ctrl+Q and press Super+Alt+Space: Puri now runs Ornith. Qwen stays in ~/.cache/huggingface/hub until you delete its folder there, models--ggml-org--Qwen3.5-4B-GGUF.

Check: Puri answers again, after a few seconds more the first time while Ornith loads. If Ornith won't start, ~/.local/state/puri/llama-server.log says why; too little memory for the graphics is the usual reason, below.

Ornith on integrated graphics

Integrated graphics share the computer's memory, but may use only part of it: a share set in the firmware, plus what the kernel lends them. Ornith needs about 32 GB of it. Your BIOS setup may have a setting for the graphics' share; if it doesn't, or it can't give enough, the kernel can lend more.

On an AMD Radeon, that's two kernel options, both set to the gigabytes the graphics may use times 262144, which is the number of 4 KiB pages in a gigabyte. On a 64 GB computer, 48 GB is 12582912. Add them to the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub, after quiet splash:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ttm.pages_limit=12582912 ttm.page_pool_size=12582912"

Then apply it and restart the computer:

Terminal
$ sudo update-grub

Check: after the restart, cat /proc/cmdline shows both options.

Intel graphics have settings of their own: look up your model's.

A 12 or 16 GB card: Qwen 3.6 35B through Strata

Experimental. Nobody has run Puri this way at its full context yet.

Strata runs large models on graphics cards too small to hold them. On it, Qwen 3.6 35B, a model of Ornith's size, has done well in pikuri's own apps, which Puri is built on; Strata probably has no Ornith.

The catch is the context. Puri's instructions alone are about 10,000 tokens. An 8 GB card held an 8K context through Strata, too small; a 12 GB card may hold 32K or even 64K, but that hasn't been checked.

Strata comes from its own releases, not from Ubuntu's archive: an AppImage that downloads its engine for your card, or an install script. That's the kind of install the install guide avoids, so it's your call, and this page doesn't vouch for it. Its own instructions cover setting it up.

It serves the same kind of API as llama-server. Put the address Strata gives in url under [[server]], and its model's name in each [[llm]]'s model. With a url there, Puri runs no model of its own, so the card is Strata's alone.

A computer with no graphics card

With no graphics to run on, the model runs on the processor alone. Everything stays just as private, but it is slow. This is Qwen 3.5 4B on eight cores of an AMD Ryzen AI 9 HX 370, a fast laptop processor, set against the same chip's integrated graphics, a Radeon 890M:

  • 12× slower to start (over three minutes, where the graphics take 16 seconds): before its first answer after the model starts, it reads Puri's instructions. Later questions start sooner, since the model keeps what it has read.
  • 2.4× slower as it writes (about 9 tokens a second). Qwen thinks before it answers, so one answer can take a minute or more, and each mail or document it reads slows it down again.
  • About 7 GB of memory for as long as it runs, so a computer with 8 GB has almost nothing left for your desktop.

A slower processor takes longer still. For a Puri that answers in seconds, run the model on another computer of yours that has a graphics card, a desktop PC or a home server, and Puri on this one, as below.

A home server over Tailscale

One computer at home runs both servers, the model and dictation, and Tailscale carries them over HTTPS to each computer you run Puri on: one name, port 443, the model at /llama and dictation at /whisper.

On the server

The server runs the model and dictation as services of your own, rather than inside Puri. Install the two from Ubuntu's archive:

Terminal
$ sudo apt install llama.cpp-tools libggml0-backend-vulkan whisper.cpp wget

Give the model server a key: a file only you can read, which llama-server reads with --api-key-file.

Terminal
$ mkdir -p ~/.config/llama-server
$ (umask 077; openssl rand -hex 32 > ~/.config/llama-server/api-key)

The model's service. Its first start downloads the model into ~/.cache/huggingface/hub: put the one your server can hold in place of Qwen, such as ornith-ai/Ornith-1.5-35B-A3B-GGUF:Q4_K_M.

Terminal
$ mkdir -p ~/.config/systemd/user
$ cat > ~/.config/systemd/user/llama-server.service <<'EOF'
[Unit]
Description=llama-server, the model Puri talks to

[Service]
ExecStart=/usr/bin/llama-server -ngl 99 -c 65536 --api-key-file %h/.config/llama-server/api-key -hf ggml-org/Qwen3.5-4B-GGUF:Q4_K_M
Restart=on-failure

[Install]
WantedBy=default.target
EOF

-ngl 99 puts the whole model on the graphics card, and -c 65536 gives it the 64K context Puri needs. Dictation's service, with Whisper's model downloaded first, about 470 MB:

Terminal
$ mkdir -p ~/.local/share/whisper
$ wget -P ~/.local/share/whisper https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.bin
$ cat > ~/.config/systemd/user/whisper-server.service <<'EOF'
[Unit]
Description=whisper-server, Puri's dictation

[Service]
ExecStart=/usr/bin/whisper-server -m %h/.local/share/whisper/ggml-small.bin --port 8081 --inference-path /v1/audio/transcriptions -l auto
Restart=on-failure

[Install]
WantedBy=default.target
EOF

Start both, and let them start at boot rather than when you log in. Both listen only on the server itself.

Terminal
$ systemctl --user daemon-reload
$ systemctl --user enable --now llama-server whisper-server
$ sudo loginctl enable-linger $USER
$ journalctl --user -fu llama-server

Check: once the model has downloaded, the log says the server is listening, and systemctl --user is-active whisper-server prints active. Ctrl+C stops watching the log.

The key matters even inside your tailnet: Tailscale lets in every device on it, the virtual machines on them and everyone logged into one, and checks no key of its own. llama-server's web page still opens without the key, but nothing on it works, as it should be.

Tailscale

Tailscale comes as a snap that Canonical publishes, the way Ubuntu's Thunderbird does. Install it on the server and on each computer that runs Puri, and log them all into one tailnet; tailscale up prints the link to log in with:

Terminal
$ sudo snap install tailscale
$ sudo tailscale up

In Tailscale's admin console, on the DNS page, turn on MagicDNS, then HTTPS Certificates. That publishes your computers' names and your tailnet's in a public ledger of certificates, so give the server a name that says nothing. Then, on the server:

Terminal
$ sudo tailscale serve --bg --https=443 --set-path=/llama   http://127.0.0.1:8080
$ sudo tailscale serve --bg --https=443 --set-path=/whisper http://127.0.0.1:8081
$ tailscale serve status

--bg keeps both across restarts, and status prints the server's name, box.tailXXXX.ts.net here.

Check: from your laptop, https://box.tailXXXX.ts.net/llama/health answers in the browser.

On each computer that runs Puri

Point Puri's config at the server: put these in place of its [[server]] and [dictation] tables, with the key from the server's ~/.config/llama-server/api-key. The id stays local: it's only a name the [[llm]] tables use. With a url, Puri runs no model of its own.

[[server]]
id      = "local"
url     = "https://box.tailXXXX.ts.net/llama"
api_key = "the key"

[dictation]
url = "https://box.tailXXXX.ts.net/whisper"

Keep the key yours alone to read, then quit Puri with Ctrl+Q and press Super+Alt+Space. The models in this computer's ~/.cache/huggingface/hub are no longer used; delete them to free the space.

Terminal
$ chmod 600 ~/.config/puri/config.toml

whisper-server takes no key yet (whisper.cpp#4197), so whoever reaches the server can transcribe on it. If others share your tailnet, a grant in its access policy can keep their devices off the server's port 443.