Home / use case

Paperless AI on an 8 GB RTX 3060 Ti shared with Frigate

At a glance
Hardware
GPU: NVIDIA RTX 3060 Ti 8 GB (shared with Frigate and occasionally Plex)
Models & engines
Paperless-ngx v3.0.2, built-in AI via Ollama
LLM: Gemma 3 4B (gemma3:latest); embeddings: embeddinggemma
Key gotcha
Qwen3 8B was partly offloaded to CPU on the limited VRAM and was significantly slower

What they built

Replying to a user whose Paperless AI wasn't triggering, u/dpy22101 shared a working setup: Paperless-ngx 3.0.2's built-in AI running locally through Ollama on a modest, shared GPU.

Setup

  • Paperless-ngx v3.0.2, built-in AI via Ollama
  • GPU: NVIDIA RTX 3060 Ti 8 GB (shared with Frigate and occasionally Plex)
  • LLM: Gemma 3 4B (gemma3:latest); embeddings: embeddinggemma
  • Context size 8,192 tokens

Results & numbers

  • Library: 1,318 documents / 7,892 pages
  • Response time ~5.4 s median, ~6.1 s average
  • LLM VRAM use ~2.7 GB, fully GPU-resident

Gotchas

  • Qwen3 8B was partly offloaded to CPU on the limited VRAM and was significantly slower

Do it yourself

  1. Pick a small model that fits entirely in your free VRAM (here Gemma 3 4B)
  2. Pull an embedding model too (embeddinggemma)
  3. Set the Paperless AI backend to Ollama with an 8k context
  4. Check that the model stays 100% on GPU when other services share the card
Source: Reddit r/Paperlessngx · Published 2026-07-27 · Added 2026-10-18. This write-up summarizes the original source; see it for full details.

Similar setups

A local contract and invoice agent whose citations are checked by code

Gonzalo Blasco built a laptop-only agent that answers questions about contracts and invoices and only accepts a citation if its quote literally appears in the retrieved chunk; Gemma 4 12B got 18 of 18 of his test questions right.

DEV Community (Gonzalo Blasco) · 2026-11-21

A €200 mini PC as an offline AI box: a week with Gemma and Qwen

Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.

Diogo Soares (DEV Community) · 2026-10-30

How much RAM a local LLM needs on a Mac: measurements on a 16 GB MacBook M5

Kirill Lukyanov measured three models in Ollama on a 16 GB MacBook M5 with short prompts and 10- and 45-page documents, then built a sizing table for what fits on Macs from 16 to 128 GB.

Kirill Lukyanov (DEV Community) · 2026-10-28

Receipt Box: Gemma 3 4B in Ollama sorts a freelancer's receipts and VAT on the laptop

E. Smith built Receipt Box, a receipt and invoice sorter for freelancers where Gemma 3 4B with vision, running in Ollama on the user's own machine, reads vendor, date, total, VAT, currency and category from photos and PDFs.

E. Smith (DEV Community) · 2026-10-28