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.

69 real examples, each linked to its original source.

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.

DEV Community (MediBlackSand) · 2026-11-30

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.

Theo Dufort (blog) · 2026-11-28

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.

DEV Community (Davidrs) · 2026-11-27

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.

DEV Community (maruhana) · 2026-11-27

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.

DEV Community (xbill) · 2026-11-26

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.

DEV Community (Davidrs) · 2026-11-26

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.

DEV Community (Elena Guan) · 2026-11-26

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.

WiseProbe Blog · 2026-11-25

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.

DEV Community (metis atelier) · 2026-11-24

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.

DEV Community (Charles-Antoine Fournel) · 2026-11-22

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.

DEV Community (maruhana) · 2026-11-22

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.

DEV Community (Nerav Doshi) · 2026-11-22

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.

DEV Community (Gary Stow) · 2026-11-21

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

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.

Show HN: Yogurt (Hacker News) · 2026-11-14

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.

DEV Community · 2026-11-09

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.

flaviocopes.com · 2026-11-08

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.

Christian / Frigade (Hob) via Show HN · 2026-11-05

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.

mr-tinkerer (homelab notes) · 2026-11-04

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.

Oleg Che (DEV Community) · 2026-11-04

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.

grkadam7 (DEV Community) · 2026-11-04

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.

razorbill (DEV Community) · 2026-11-03

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.

DavidMC (Google AI Developers Forum) · 2026-11-02

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.

Niraj Khetre (DEV Community) · 2026-11-01

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.

Cliff K (DEV Community) · 2026-11-01

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.

Toyyib Olamilekan (DEV Community) · 2026-10-31

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.

Abdul AmberNeel (DEV Community) · 2026-10-31

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.

xbill (DEV Community) · 2026-10-31

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.

Jessica Doering (DEV Community) · 2026-10-31

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.

Clivin John (DEV Community) · 2026-10-31

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.

Fahad Irshad (DEV Community) · 2026-10-31

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

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.

Waleed Shamhan (DEV Community) · 2026-10-30

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.

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

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.

Francisco Grandón (DEV Community) · 2026-10-28

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

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.

hongpengtan0-max (DEV Community) · 2026-10-28

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.

Night Clerk (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

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.

Jeffrey Turov (DEV Community) · 2026-10-27

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.

Tanya Mott (DEV Community) · 2026-10-27

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.

Rahul Kumar (DEV Community) · 2026-10-27

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.

Aman Kumar (DEV Community) · 2026-10-27

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.

Muhammad Murtuza Hussain (DEV Community) · 2026-10-26

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.

Rohit Purkait (DEV Community) · 2026-10-26

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.

Benny (DEV Community) · 2026-10-26

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.

Bipul Chamoli (DEV Community) · 2026-10-26

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.

Waleed Shamhan (DEV Community) · 2026-10-25

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.

dongwei-polyred (DEV Community) · 2026-10-25

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.

Cody Topp (DEV Community) · 2026-10-24

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.

Rajan Mishra (DEV Community) · 2026-10-24

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.

Jesus Manuel Garcia Torres (DEV Community) · 2026-10-24

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.

chiragmangaldev3112 (DEV Community) · 2026-10-23

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.

CodersAcademy006 (DEV Community) · 2026-10-23

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.

Shashwat Sinha (DEV Community) · 2026-10-23

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.

xbill (DEV Community) · 2026-10-22

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.

Damiano (DEV Community) · 2026-10-22

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.

Varun Pratap Singh (DEV Community / opennvr.org) · 2026-10-21

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.

xbill (DEV Community) · 2026-10-21

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.

Cody Topp (DEV Community) · 2026-10-21

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.

Soumyabrata Mukherjee (DEV Community) · 2026-10-20

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.

DEV Community (Hacktoberfest Build for a Friend) · 2026-10-20

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.

ajaypraneeth15 (DEV Community) · 2026-10-19

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.

Ground Bounce · 2026-10-18

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.

peira.dev · 2026-10-18

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.

Reddit r/Paperlessngx · 2026-10-18

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.

orellazri.com · 2026-10-18

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.

n8n templates · 2026-10-18

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.

GitHub · 2026-10-18