Local AI use cases with Gemma
Gemma is Google's family of open-weight models. Small variants like Gemma 3 4B fit on modest GPUs and laptops, and some variants accept images.
A read-only Gemma 4 agent on Ollama that explains what fills a Mac's disk
A sysadmin's one-file Python agent lets Gemma 4 on Ollama dig through his home folder and write a Markdown report on disk usage, while code and a four-line macOS sandbox-exec profile make sure it can only look.
A self-hosted llama.cpp endpoint on three 16 GB GPUs with presets.ini and Docker
Theo Dufort shares the Compose file and 60-line presets.ini behind his private OpenAI-compatible endpoint: a 27B coding model at 132K context and a 26B MoE chat model.
Getting OpenCode to work with a local Ollama model by fixing the 4,096-token context
OpenCode on a local Ollama model ignored files, invented tasks or looped, because each ~23k-token request was silently cut to fit Ollama's default 4,096-token context on a 16 GB GPU.
llama.cpp 1.0 on a handheld PC's integrated GPU: 2x faster long prompts with flash attention
Before-and-after llama.cpp 1.0 tests on an MSI Claw's Intel Arc 140V found long prompts read about twice as fast only with flash attention on, and the new MoE cache lost to full GPU offload.
Choosing Gemma 4 settings for function calls on an 8 GB RTX 3050
xbill ran 840 Berkeley Function Calling Leaderboard problems through Gemma 4 E2B, E4B and 12B on one 8 GB RTX 3050 with llama.cpp, in four sampling and thinking settings, to pick what to serve for tool calls.
Fixing empty Ollama replies in a meeting-minutes-to-tasks script
A script that turned meeting minutes into a JSON task list with qwen3.5:9b on Ollama hung for a minute and returned nothing, because the model spent the whole 4,096-token context on hidden reasoning.
Talking out loud to local AI characters on Windows 11 with Ollama
Elena Guan built a Node.js web app on a 16 GB VRAM Windows 11 PC that lets her speak to AI characters and hear them answer, with local speech-to-text, Ollama for the character brain and local text-to-speech.
PatchPal TinyAgent: a coding agent on a 4B model and a 6GB laptop GPU
WiseProbe adapted its PatchPal coding agent to run Gemma 4 E4B or Qwen3.5 4B through Ollama on a 6GB RTX A1000, using handoff-note compaction and capped file reads to work inside a 16K or 32K window.
Switching two local GGUF models on a home server from Telegram
A personal assistant on a VPS uses a home server's RTX 3060 through llama.cpp, and its owner added a second local model and a Telegram /model switch, fixing OOM builds, GPU numbering and 64k context on the way.
Onira: on-device self-hypnosis scripts from a 2B model on Android
The Onira app writes 30-40 minute self-hypnosis sessions on a mid-range Android phone with a fine-tuned Gemma 4 E2B in llama.cpp, generating each block while the previous one is narrated and working in airplane mode.
Translating text in camera frames with TranslateGemma 4B in Ollama
A developer sent 1920x1080 images straight to TranslateGemma 4B in Ollama to translate English seen through XR glasses, and measured about 30 seconds per new image on a laptop CPU versus about 0.7 seconds on an NVIDIA GPU.
Breaking re-ranker ties with Gemma's own token probabilities on a Mac mini
A developer testing a local retrieval setup on an M4 Mac mini fixed tied re-ranker scores from gemma3:12b by reading the model's digit probabilities from Ollama, getting the right article first on 11 of 12 questions.
Wade: a home AI assistant on LM Studio with a 16 GB GPU
Gary Stow runs his own assistant, Wade, on LM Studio's local server with GPT-OSS 20B and Qwen models on a 16 GB card, using it for his website automation and project tasks with no token cost.
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.
Yogurt: private meeting notes on your own computer with whisper.cpp and a local llama.cpp model
Eric built Yogurt, a free MIT-licensed desktop app that records calls without a bot joining, transcribes them with whisper.cpp and writes summaries with a local open-weight model.
Re-benchmarking local GGUF models for a coding agent after a llama.cpp upgrade
Jordi Marçal re-ran his fixed coding-agent benchmark on seven local GGUF models after three weeks of llama.cpp updates, and found the harness's generation caps, not the models, explained a sudden score collapse.
Private blog-post descriptions and tags from a local Gemma model in Node.js
Flavio Copes built a dependency-free Node.js script that asks a local Ollama model to suggest a meta description and tag for his blog drafts, validates every answer, and falls back to a no-AI suggestion when the model fails.
Hob: an open-source desktop coworker that runs Gemma or gpt-oss locally with llama.cpp and works on your files
Christian at Frigade’s Show HN project Hob is a free MIT desktop app for Mac, Windows and Linux that picks an open-weight model for your hardware, runs it with llama.cpp, and can edit files, run sandboxed Python, search the web, and dictate — all on-device.
A homelab llama-server on Fedora that runs as a systemd service and swaps models on demand
A homelabber's notes on keeping llama.cpp's server running on a Fedora VM with a systemd user unit, a fixed LAN address and a models folder, with Open WebUI as the chat front end.
Local AI: a one-click Windows app that picks a model for your PC and sets up Ollama for friends
Tired of setting up local LLMs for friends, a developer built a free MIT-licensed Windows app that detects your GPU and RAM, installs Ollama without admin rights, pulls a fitting model and opens a private chat.
Ghost in the Machine: a fake 1998 terminal where a local Gemma 3 whispers back at every command
A Hacktoberfest entry in a single HTML file: you type into a simulated old shell and a presence called the tenant answers each command with one eerie line, streamed from Gemma 3 4B on Ollama.
rip: a local Gemma 2 2B writes epitaphs and revival ideas for your abandoned side projects
A Hacktoberfest CLI scans your folders for dormant projects and has Gemma 2 2B on Ollama write a witty obituary and a suggestion to revive each one, sending only metadata, never code.
All of Hacker News in 5.3 GB, searched by meaning on a laptop CPU with EmbeddingGemma 2
DavidMC packed all 49.3M Hacker News stories and comments into one 5.34 GB file that runs semantic and keyword search offline on a laptop, embedded entirely on the laptop's integrated GPU.
Haunted Inbox: a local Gemma 4 E2B finds the forgotten accounts in 12 years of email
Niraj Khetre built Haunted Inbox, which reads only email envelopes on his laptop, has Gemma 4 E2B in Ollama spot sign-up accounts, and lets plain code report breaches, saved cards and delete links.
Letting a coding agent tune llama.cpp on an 8 GB AMD GPU: 3x faster prompt reading for OpenCode
Cliff K had his coding agent benchmark llama.cpp backends and flags for a Qwen3.6 35B MoE on a Radeon RX 6600 XT, at the context depths OpenCode really uses, and turned the process into an open-source skill.
Death Diary: switching off a local Gemma 3 1B's neurons night by night on a plain CPU
Toyyib Olamilekan had Gemma 3 1B write a diary entry each night on his CPU while he zeroed out more of its neurons, measuring what it forgot and when, then restored the weights so it could read its own decline.
Link Séance: a local Gemma 3 writes grounded epitaphs for the dead links in your bookmarks
Abdul AmberNeel built a command-line tool that checks every link in a bookmarks file, finds the last living Wayback Machine snapshot of dead ones, and has a local Gemma 3 write a two-sentence epitaph only from what the archive kept.
Gemma 4 E2B quantization ladder on four GPUs, from a 4 GB GTX 1650 laptop to an RTX 3050
xbill ran nine quantizations of Gemma 4 E2B, BF16 down to Q2_K, through 250 GSM8K questions with llama.cpp on a 4 GB laptop GPU, an 8 GB desktop card and two cloud GPUs, and found Q5_K_M the best trade on every card.
Selective MoE offloading in llama.cpp on a 16 GB laptop GPU: faster for some models, much slower for others
Jessica Doering benchmarked five Mixture-of-Experts models too big for her 16 GB RTX 4090 laptop GPU, comparing llama.cpp's --n-cpu-moe expert offloading against plain layer offloading.
Séance: local Whisper and Gemma 4 turn a grandmother's Malayalam voice notes into a searchable family archive
Clivin John built Séance, which transcribes and translates his grandmother's voice notes on his laptop, has Gemma 4 write memory cards, and answers questions only with her exact, verified words.
Verso: Gemma 4 on an Android phone writes the back of old family photos without inventing names
Fahad Irshad built Verso, an Android app with no internet permission where Gemma 4 E2B writes a title and caption for an old photo from your answers, and asks a question instead of guessing when a fact is missing.
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.
Legacy Code Necromancer: a local Gemma 3 audit for old repos
Waleed Shamhan built a pure-Python CLI that scrubs secrets from old code, sends it only to a local Gemma 3 in Ollama for an audit, and keeps every raw reply so a human can check each finding.
Haunted Haiku: a local Gemma 3 poet that also designs the card
E. Smith built a small Dash app where a local Gemma 3 in Ollama writes an eerie haiku and picks its colours and emoji in one JSON reply, so the poem and its picture work with Wi-Fi off.
GitSéance: local Gemma 2B explains deleted code from git history and refuses to guess
Francisco Grandón built GitSéance, a Python tool that mines a repo's deleted functions from git log and has gemma2:2b in Ollama write a grounded epitaph for each, skipping the model entirely when the commit message is too vague.
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.
Ofrenda Keeper: local Gemma 3 makes a Día de los Muertos card from only what you said
hongpengtan0-max built Ofrenda Keeper, a local app where Gemma 3 4B in Ollama turns what you tell it about someone you miss into an altar card, and plain code removes any detail you didn't actually say.
The Dead Letter Office: Gemma in the browser helps you write to someone who died
Night Clerk built The Dead Letter Office, a static website where Gemma runs in your browser tab on WebGPU and only asks questions, while the letter itself is made word for word from your answers and never leaves your computer.
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.
Memoria: local Whisper and Gemma 3 4B turn a family voice memo into a keepsake
Jeffrey Turov built Memoria, an oral-history archivist that transcribes a family voice memo with Whisper and has Gemma 3 4B in llama.cpp pull out people, places, themes, verified quotes and follow-up questions, all on a local CPU.
Bookmark Buddy: Gemma 2 2B in the browser sorted 722 bookmarks into folders
Tanya Mott built Bookmark Buddy, a Chrome and Edge extension that runs Gemma 2 2B on the GPU through WebLLM to suggest folders, sort every bookmark and file new ones, without the bookmarks ever leaving the device.
Paper to Portfolio: local Gemma 4 reads an old share certificate, Python does the maths
Rahul Kumar built Paper to Portfolio, which uses gemma4:e4b in Ollama on a CPU-only laptop to read an old Indian share certificate and pick out bonuses, splits and mergers from pasted filings, while plain Python checks every quote and does all the arithmetic.
LectureAI: local Whisper and Gemma turn lecture recordings into notes
Aman Kumar built LectureAI, which transcribes Hindi, English or Hinglish lecture recordings with local Whisper and has Gemma in Ollama produce a summary, topic timeline, likely exam topics, notes, flashcards and deadlines.
Morning Sloth: Gemma 4 on an Arduino UNO Q triages Gmail overnight and shows one LED face
Muhammad Murtuza Hussain runs Gemma 4 E2B in llama.cpp on an Arduino UNO Q's own CPU to read his Gmail overnight and show whether anything needs him as a sloth face on the board's LED matrix.
Baad Mein: Gemma 4 in a browser tab sorts the WhatsApp chat you keep with yourself
Rohit Purkait built Baad Mein, which runs Gemma 4 E2B inside the browser via WebGPU to read an exported WhatsApp self-chat overnight and turn it into one card of tasks, money, shopping, secrets to delete and things to let go.
Couch Commander: an offline voice remote for YouTube that understands Pidgin
Benny built Couch Commander, which chains openWakeWord, Whisper and Gemma 4 E2B in Ollama on a Mac so spoken commands in English or Nigerian Pidgin control YouTube in Chrome with no internet.
Availazy: Gemma 4 E2B turns a week of volunteer chat messages into an availability sheet
Bipul Chamoli built Availazy, a local review tool where Gemma 4 E2B in Ollama copies the availability words from volunteer chat messages, plain Python works out the dates, and the coordinator accepts or rejects each suggestion.
Morning Digest: a local Gemma 3 agent that summarizes overnight Telegram group chats
Waleed Shamhan, a student in Yemen, built Morning Digest, a single Python script that reads a Telegram Desktop export and uses Gemma 3 via Ollama to write a short Arabic digest of the last 12 hours of group chats.
FollowUp Local: Gemma 3 on a laptop explains why a sales chat went quiet
FollowUp Local is a one-file Python tool for people who sell through chat: paste a customer conversation and Gemma 3 via Ollama names the stage it stalled at, the real concern, a quoted line of evidence and a draft follow-up.
Slothsort: a local Gemma 3 agent that renames and files a messy Downloads folder overnight
Cody Topp built Slothsort, which uses Gemma 3 4B via Ollama plus Tesseract OCR to give every loose file a searchable name and folder, with a plan page before moving anything and a full undo.
Hush: a local Gemma 2B notification filter that only interrupts for real emergencies
Rajan Mishra built Hush, which runs Gemma 2B via Ollama on-device to classify macOS notifications and IMAP email, batching everything into a four-line brief every three hours unless a scored emergency breaks through.
Turning clients' rambling WhatsApp voice notes into n8n workflow drafts with Whisper and Gemma 4
An n8n freelancer in Tabasco, Mexico runs Whisper and Gemma 4 E4B on a 16 GB laptop to turn Spanish client voice notes into an importable n8n workflow plus a WhatsApp reply listing the questions the client forgot to answer.
Torpor: an overnight inbox digest that runs on Qwen3 8B and local embeddings
A developer built Torpor, a command-line tool that reads a night's worth of messages, sorts out the few that need a human, and writes a short summary, all with Ollama models on a laptop and no internet.
OneGraph: local Gemma 4 explains PR risk from a real dependency graph
CodersAcademy006 built OneGraph, which builds a code dependency graph with tree-sitter and has Gemma 4 running locally in Ollama narrate the blast radius of a pull request as a PR-Agent comment, with all numbers computed by code.
Constraint Kitchen: a Gemma 3 1B DIY idea generator that refuses rather than lies
Shashwat Sinha built a local app that turns household junk into DIY project ideas and build guides with gemma3:1b on an 8 GB M3 Mac, and checks every answer in Python so it refuses when the model breaks your constraints.
Fine-tuning Gemma 4 E2B on an 8 GB RTX 3050 so it thinks less
xbill used one 8 GB RTX 3050 to have Gemma 4 E2B write its own training data, fine-tune itself through its served 4-bit weights and get graded on 250 held-out maths problems, the whole loop in 6 h 44 min.
Explaining Swiss administrative letters in plain Italian with a 1B Gemma on CPU
Damiano built a personal tool that explains Swiss administrative letters, like debt-collection payment orders, in plain Italian using a 1B Gemma on CPU through Ollama, with plain code extracting the deadline and amount so the model never has to.
OpenNVR benchmarks every model its camera agent uses on a 4-core CPU
The maintainer of OpenNVR, an open source video recorder with a built-in camera agent, tested its language, vision, speech and search models on 4 vCPUs with no GPU. Four defaults changed, and the bigger language model lost.
Running a 14.4 GB Gemma 4 26B MoE on an 8 GB RTX 3050 with llama.cpp
A step-by-step llama.cpp setup that serves Gemma 4 26B A4B from an 8 GB RTX 3050 by keeping most expert layers in system RAM, reaching 131,072 tokens of context and scores level with the 12B that fits the card.
ShelfReady: a private Amazon KDP listing studio running Gemma 3 4B on a CPU
A designer and colouring-book publisher built ShelfReady to draft Amazon KDP titles, keywords and descriptions with Gemma 3 4B in Ollama, then check every field against KDP's rules in code, on an ordinary 8-core CPU with no GPU.
PromptCI: regression-testing LLM prompts offline against Ollama
Soumyabrata Mukherjee built PromptCI so freelancers can catch prompt changes that silently break client workflows, running YAML-defined pipelines and output checks against open-weight models on a laptop, with no API keys or cloud bills.
Gist: an offline exam-prep partner that mines past papers with Ollama
A student built Gist so a friend could study from lecture PDFs and three-plus years of past exam papers without uploading copyrighted course material anywhere; parsing, embeddings, search and the LLM all run on the laptop with Wi-Fi off.
Offline menu description writer for small restaurants with Gemma 3 4B
A one-button Streamlit app where a tea shop or restaurant owner types a dish name in English and Tamil plus a short note, and Gemma 3 4B in Ollama writes a two-sentence English menu description in about 20 seconds, with no internet.
Home RAG assistant for embedded-systems docs on Proxmox
Ollama, llama.cpp, Open WebUI, BGE-M3 and SearXNG in a GPU-passthrough VM. Moving from 6 GB to 16 GB of VRAM changed which models could run.
Self-hosted bookmarks that tag themselves with local AI (Karakeep)
Karakeep (formerly Hoarder) runs on a Debian LXC, and gemma3:4b in Ollama tags each bookmark. Getting reliable tags from a small model takes one key setting.
Paperless AI on an 8 GB RTX 3060 Ti shared with Frigate
Gemma 3 4B with embeddinggemma answers over 1,318 documents in about 5 seconds, on a GPU that's also running Frigate and Plex.
mdrag: a Rust CLI to chat with an Obsidian vault
A self-contained RAG tool built on SQLite with sqlite-vec and gemma3:1b. It answers 'how did I fix that Git submodule issue?' from your own notes.
Email triage and morning digest with a local Ollama model (n8n)
Classifies each email as URGENT, REPLY_TODAY, FYI or JUNK using gemma4:e4b, sends urgent alerts and builds a grouped morning digest.
Offline chat on desktop or Android via Termux with Prefrontal
A privacy-first chat UI that works with Ollama on desktop or llama.cpp anywhere, including Android through Termux. No telemetry, no subscriptions.