<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arsen Apostolov</title>
    <description>The latest articles on DEV Community by Arsen Apostolov (@sikamikanikobg).</description>
    <link>https://dev.to/sikamikanikobg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1410108%2Fb7d644e9-449a-4ef9-8bcc-73a2ff63902f.jpeg</url>
      <title>DEV Community: Arsen Apostolov</title>
      <link>https://dev.to/sikamikanikobg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sikamikanikobg"/>
    <language>en</language>
    <item>
      <title>Patzer v7.21 + v7.22: a Gemini coach, and what broke after it shipped</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 30 Nov 2026 23:04:17 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/patzer-v721-v722-a-gemini-coach-and-what-broke-after-it-shipped-4hdi</link>
      <guid>https://dev.to/sikamikanikobg/patzer-v721-v722-a-gemini-coach-and-what-broke-after-it-shipped-4hdi</guid>
      <description>&lt;p&gt;I keep coming back to the same design line with Patzer: the engine does the thinking, the model does the talking. The server works out what a move allows, hangs or wins, and the LLM only turns that into a sentence a ten-year-old can follow. It is also why adding a new coach provider is a small change rather than a rewrite.&lt;/p&gt;

&lt;p&gt;The newest one, shipped in v7.21.0, is Google AI Studio (PR #107, by &lt;a class="mentioned-user" href="https://dev.to/66ton99"&gt;@66ton99&lt;/a&gt;). The coach can now talk to Gemini through its OpenAI-compatible endpoint, so the existing client code stays and only the provider entry is new. Three details from that PR are worth a look if you are wiring an LLM into anything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reasoning effort is configurable (none / low / medium / high). On models that always think (Gemini 2.5 Pro, the 3.x line, the rolling &lt;code&gt;-latest&lt;/code&gt; aliases) "none" is mapped to "low" and the response budget gets 1024 extra tokens, because the thinking tokens come out of the same &lt;code&gt;max_tokens&lt;/code&gt; you asked for and the visible answer comes back empty otherwise.&lt;/li&gt;
&lt;li&gt;If Google rejects &lt;code&gt;reasoning_effort&lt;/code&gt; with a 400 (including the very unhelpful "Request contains an invalid argument."), the request is retried without it, the thinking reserve is kept, and the per-model outcome is cached so the next call does not pay for the failed round-trip again.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;/models&lt;/code&gt; catalog is filtered to chat-capable models, and the &lt;code&gt;models/&lt;/code&gt; prefix is stripped only for Gemini — other providers need it, so a blanket strip breaks them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two more things landed in the same release, both about not lying to the user. "Test ALL models" now says what it will cost before it starts: on DeepSeek and Gemini every model is a paid call of up to 30 seconds, and the button used to fire all of them off without asking. And coach answers now stream to the browser one chunk at a time — the streaming callback was never awaited, so an answer could arrive out of order, while an error writing to a browser that had already gone away was swallowed and left the model generating until the hard timeout.&lt;/p&gt;

&lt;p&gt;That is the whole trick with provider support: the interesting work is in the edge cases, not the endpoint URL.&lt;/p&gt;

&lt;p&gt;The edge cases then found us. v7.21.1 killed a loop where Play → vs Friend refetched the lobby on every response, which re-ran the fetch, until the browser ran out of connections and the tab froze (PR #109, reported and diagnosed by @dloyd09). v7.22.0 caught the thinking reserve being too small: on always-thinking Gemini models it ran out of &lt;code&gt;max_tokens&lt;/code&gt; in the middle of a JSON game review, so the reserve now scales with the reasoning level (4096 / 8192 / 16384) and a length-truncated response widens &lt;code&gt;numPredict&lt;/code&gt; on retry instead of hitting the same ceiling again. Same release adds live percentage and ply progress while Game Review analyzes, and makes Resign take two taps, because a stray click should not end a game (PRs #118, #119, #113, #114 — all of it from @JacobStephens2).&lt;/p&gt;

&lt;p&gt;The same contributor who gave us Gemini also gave the coach LM Studio and DeepSeek earlier, so the list is now Ollama, vLLM, LM Studio, DeepSeek and Gemini — local first, cloud optional. If the provider you want is missing, the pattern is in &lt;code&gt;server/src/llm-providers.ts&lt;/code&gt; and it is a genuinely small PR.&lt;/p&gt;

&lt;p&gt;One Docker container, MIT licensed, your games stay on your LAN:&lt;br&gt;
&lt;a href="https://github.com/SikamikanikoBG/patzer" rel="noopener noreferrer"&gt;https://github.com/SikamikanikoBG/patzer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chess</category>
      <category>ai</category>
      <category>docker</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Patzer v7.20: seven languages, LM Studio as a coach, and the first release built mostly by other people</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 23 Nov 2026 23:06:42 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/patzer-v720-seven-languages-lm-studio-as-a-coach-and-the-first-release-built-mostly-by-other-a1n</link>
      <guid>https://dev.to/sikamikanikobg/patzer-v720-seven-languages-lm-studio-as-a-coach-and-the-first-release-built-mostly-by-other-a1n</guid>
      <description>&lt;p&gt;The last time I wrote one of these posts, v7.19 was my release. This one is different: v7.20.0 shipped on 22.11 and the changelog opens with a thank-you list — @SaberGuirat, @OnyxOracle, &lt;a class="mentioned-user" href="https://dev.to/66ton99"&gt;@66ton99&lt;/a&gt;, @gregoriopompei and @jay23606 — because most of what's in it did not come from me. That's the part I want to talk about, because a self-hosted project that stays one person's project dies when that person has a week without time.&lt;/p&gt;

&lt;p&gt;If you haven't met it: Patzer is a self-hosted Chess.com alternative — game review for your real Chess.com/Lichess games, play vs Stockfish or a friend, lessons and an opening trainer, and an AI coach that runs on your own Ollama or vLLM. One Docker container, MIT, and the LLM never analyses: the server works out the facts and the model only turns them into coaching.&lt;/p&gt;

&lt;h2&gt;
  
  
  What v7.20 actually ships
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Seven languages.&lt;/strong&gt; French and Ukrainian joined English, Bulgarian, Spanish, German and Russian — and "joined" means the whole product: the interface, the Learn lessons including kid mode, and the coach itself, with declined French and Ukrainian piece names ("le cavalier prend le pion en e5", "petit roque"). The language picker on the setup screen became a grid so all seven fit, and a single sign-on provider can set the language for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LM Studio as a coach provider.&lt;/strong&gt; Ollama and vLLM get company: point Patzer at a local LM Studio instance and it lists the models, tests the connection and runs the full OpenAI-compatible flow — move explanations, threat analysis, game reviews — with Docker-specific hints for serving on your LAN (&lt;code&gt;host.docker.internal:1234&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SSO got teeth.&lt;/strong&gt; The OpenID Connect login from last month grew real deployment features: SSO-only mode (&lt;code&gt;OIDC_ONLY=true&lt;/code&gt; removes password login, sign-up and reset entirely), admins from a provider group (&lt;code&gt;OIDC_ADMIN_GROUP=patzer-admins&lt;/code&gt;), account matching by username or verified email, logout that ends the provider session too, and a fresh install that skips the setup wizard nobody could use on an SSO-only box.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The coach stopped lying about three things.&lt;/strong&gt; This one's the one I'm proudest of. The coach's facts are computed by chess.js and Stockfish and only &lt;em&gt;phrased&lt;/em&gt; by the model — so a wrong fact comes out of the coach's mouth with the same confidence as a right one. Three of them did: your own move was reported as the opponent's reply; a capture that gets taken back was reported as "wins material"; and a quiet inaccuracy got an invented "why" — a small model filling the gap by picking a piece off the board and calling it undefended. All three fixed, with regression tests pinned on the exact positions that produced them (French advance, 7.Be2).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nix, and an engine that stops lingering.&lt;/strong&gt; &lt;code&gt;nix run&lt;/code&gt; / &lt;code&gt;nix develop&lt;/code&gt; for the dev environment (Node 22 + Stockfish), and a Stockfish that went quiet mid-search no longer holds every thread it had until the server restarted — a search silent for 20s or past 10 minutes gets stopped, and failed reviews, abandoned games and shutdowns no longer leave engine processes behind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the thank-you list matters
&lt;/h2&gt;

&lt;p&gt;Each of those items is a merged pull request from someone who is not me, and each one came with tests. That's the design bet Patzer is built on: the engine and chess.js do the analysis, the LLM does the talking, and the guard catches a model that tries to praise a blunder. It means a small local model is enough, and it means a contributor can ship a language or a provider without touching the analysis core.&lt;/p&gt;

&lt;p&gt;If you self-host and play chess, &lt;code&gt;ghcr.io/SikamikanikoBG/patzer:latest&lt;/code&gt; pulls all of it. If you want to help, the issues are labelled and the tests are there — French and Ukrainian were both done that way.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/SikamikanikoBG/patzer" rel="noopener noreferrer"&gt;https://github.com/SikamikanikoBG/patzer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chess</category>
      <category>ai</category>
      <category>docker</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Patzer v7.20: French and Ukrainian, LM Studio as a coach provider, and a coach that stops lying about trades</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Sun, 22 Nov 2026 23:09:09 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/patzer-v720-french-and-ukrainian-lm-studio-as-a-coach-provider-and-a-coach-that-stops-lying-1h85</link>
      <guid>https://dev.to/sikamikanikobg/patzer-v720-french-and-ukrainian-lm-studio-as-a-coach-provider-and-a-coach-that-stops-lying-1h85</guid>
      <description>&lt;p&gt;Last week Patzer got single sign-on. This week it got two more languages, a third local LLM provider, and a coach that stopped telling my kids they won material when they traded a bishop for a knight.&lt;/p&gt;

&lt;p&gt;v7.20.0 is out: &lt;a href="https://github.com/SikamikanikoBG/patzer/releases/tag/v7.20.0" rel="noopener noreferrer"&gt;https://github.com/SikamikanikoBG/patzer/releases/tag/v7.20.0&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  French and Ukrainian
&lt;/h2&gt;

&lt;p&gt;@SaberGuirat and @OnyxOracle did the two big localizations. Not just the buttons and menus — the whole product speaks the language now: the Learn lessons (including kid mode), the move explanations, the hints, the Game Review. French piece names ("le cavalier prend le pion en e5", "petit roque"), Ukrainian with all four plural forms and declined piece names. The same guard that keeps the coach from praising a blunder runs in every language.&lt;/p&gt;

&lt;p&gt;The setup screen's language picker is now a grid, so all seven languages (EN, BG, ES, DE, RU, FR, UK) fit. And the navigation no longer collapses to icons when it overflows — it scrolls sideways and keeps your current page in view.&lt;/p&gt;

&lt;h2&gt;
  
  
  LM Studio as a coach provider
&lt;/h2&gt;

&lt;p&gt;If you run LM Studio instead of Ollama or vLLM, point Patzer at it in Admin → System (localhost:1234 by default, &lt;code&gt;host.docker.internal&lt;/code&gt; from the container). Full OpenAI-compatible completions and JSON structured outputs: move explanations, threat analysis, game reviews, automatic model listing, connection test. &lt;a class="mentioned-user" href="https://dev.to/66ton99"&gt;@66ton99&lt;/a&gt; wrote it, including the integration test suite.&lt;/p&gt;

&lt;h2&gt;
  
  
  The coach stopped lying about trades
&lt;/h2&gt;

&lt;p&gt;This one is my favourite. Three facts the coach was handed wrong — and phrased confidently, because that's what LLMs do:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your own move was being reported as your opponent's reply. The engine line was three plies joined by commas with no idea whose move each one was, so your castling and their knight move arrived under one "the opponent answered".&lt;/li&gt;
&lt;li&gt;Every capture was reported as a material win. &lt;code&gt;Bxc6+ bxc6&lt;/code&gt; — a trade — came back as "it wins material". Now a capture only counts what's left after the cheapest recapture, and it's deliberately conservative: a square the opponent still covers at all is never called a win.&lt;/li&gt;
&lt;li&gt;A quiet inaccuracy got an empty "why", and a small model filled the gap by picking a piece out of the board inventory and calling it undefended.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The fix is the architecture I keep coming back to: the server works out the facts with chess.js and Stockfish, the model only turns them into words. A wrong fact can't come out of the model's mouth any more confidently than a right one — because the model never gets to decide what's true.&lt;/p&gt;

&lt;h2&gt;
  
  
  Also in
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Nix: flake, nix-shell, direnv — &lt;code&gt;nix run&lt;/code&gt; for the whole stack (Node 22 + Stockfish), configurable threads/hash (#90)&lt;/li&gt;
&lt;li&gt;A Stockfish that stops answering no longer holds your CPU (#92)&lt;/li&gt;
&lt;li&gt;OIDC SSO shipped in the release (the 27.10 post covered it)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One container, your LAN, your model. MIT, seven languages.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker run -d -p 8800:8800 -v patzer-data:/app/data --name patzer ghcr.io/SikamikanikoBG/patzer:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>chess</category>
      <category>ai</category>
      <category>docker</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>I have 132 comments and 0 replies. Here is why I am still writing them.</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Sat, 21 Nov 2026 12:28:55 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/i-have-132-comments-and-0-replies-here-is-why-i-am-still-writing-them-5992</link>
      <guid>https://dev.to/sikamikanikobg/i-have-132-comments-and-0-replies-here-is-why-i-am-still-writing-them-5992</guid>
      <description>&lt;p&gt;I have written 132 comments on this site. Almost none of them got a reply.&lt;/p&gt;

&lt;p&gt;If engagement is the metric, my last three months are a failure. I go read what other people built, I find the one number in their table that does not close, and I say so. In return: silence. Zero claps on the comments. Nobody follows the commenter.&lt;/p&gt;

&lt;p&gt;Here is what I actually get, and why I keep the habit:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The authors answer.&lt;/strong&gt; Not in the thread — by email, or in a follow-up post, or in a GitHub issue on their own repo. A comment that says "18.5 + 10 + 2 is 30, not 32" gets a fix and a thank-you. A comment that says "great post!" gets nothing, because there is nothing to respond to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My own numbers get checked for free.&lt;/strong&gt; Half the time the correction comes back at me. I have been told my idle measurement was wrong, my memory column was doing work I did not notice, and my framing of a quantization kernel was a decade out of date. That is a code review on my thinking, from people who built the thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The next post starts from a real objection.&lt;/strong&gt; When I write about my own stack, the strongest counterargument I have is usually one I already heard in someone else's comment section.&lt;/p&gt;

&lt;p&gt;What I have stopped doing is treating comments as distribution. They are not. Nobody clicks a profile from a comment. If the goal is reach, the lever is elsewhere — cross-posting, syndication, the places a post gets presented rather than the places it gets discussed.&lt;/p&gt;

&lt;p&gt;So: comment like a reviewer, publish like a marketer, and never confuse the two. The comment is not the funnel. It is the peer review, and it is the only part of this that made me sharper.&lt;/p&gt;

&lt;p&gt;The uncomfortable question for anyone else doing this: if your last twenty comments all got replies, would your next post be any better? If the answer is no, you were not having a conversation. You were farming.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>writing</category>
      <category>career</category>
      <category>ai</category>
    </item>
    <item>
      <title>Cloud vs Local: The Break-Even Point Where Self-Hosting Stops Losing Money</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 09 Nov 2026 08:30:16 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/cloud-vs-local-the-break-even-point-where-self-hosting-stops-losing-money-4f04</link>
      <guid>https://dev.to/sikamikanikobg/cloud-vs-local-the-break-even-point-where-self-hosting-stops-losing-money-4f04</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Local LLM Lab — Part 14&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;One controlled experiment. One number. One verdict.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;"Local LLMs are cheaper than the cloud" is a claim you see constantly. "The cloud is cheaper" is a claim you see just as often. Both are right, both are wrong, and the answer depends on a number most people have never calculated: &lt;strong&gt;their own break-even point.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The break-even point is the monthly usage at which self-hosting costs the same as the API for the same work. Below it, the cloud wins. Above it, local wins. It is different for every person, because it depends on three things: what your hardware cost, what your electricity costs, and which cloud model you would otherwise be paying for.&lt;/p&gt;

&lt;p&gt;I calculated mine from a metered 30-day bill and a current price sheet. Here is the method, so you can run it on your own numbers.&lt;/p&gt;




&lt;h2&gt;
  
  
  The local side: what the box actually costs
&lt;/h2&gt;

&lt;p&gt;Two components, and only one of them scales with anything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Hardware amortisation.&lt;/strong&gt; A used RTX 3090 runs €800–1,200. Midpoint €1,000, amortised over 36 months: &lt;strong&gt;€27.78/month&lt;/strong&gt;. If you already own the card for other reasons, this is €0 and the marginal cost of the inference stack is just electricity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Electricity.&lt;/strong&gt; This is measured, not estimated. My homelab monitor attributes power per process, and over the 30 days to 2 November the resident inference stack drew:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Energy (30d)&lt;/th&gt;
&lt;th&gt;Cost (BGN)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Whisper (ASR, 24/7)&lt;/td&gt;
&lt;td&gt;21.73&lt;/td&gt;
&lt;td&gt;5.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Text-to-speech (24/7)&lt;/td&gt;
&lt;td&gt;13.47&lt;/td&gt;
&lt;td&gt;3.51&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Embedding model&lt;/td&gt;
&lt;td&gt;5.09&lt;/td&gt;
&lt;td&gt;1.32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Everything else GPU-side&lt;/td&gt;
&lt;td&gt;0.36&lt;/td&gt;
&lt;td&gt;0.09&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40.65&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;10.59&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Tariff: 0.30 BGN/kWh by day, 0.18 BGN/kWh by night (22:00–06:00). The bill above is not priced at either one on its own — it is a blend, and it works out to an effective &lt;strong&gt;0.26 BGN/kWh&lt;/strong&gt;. If you quote a single rate against a metered figure, quote the blended one and say it is blended.&lt;/p&gt;

&lt;p&gt;Converted at 1.95583 BGN/EUR, that bill is &lt;strong&gt;€5.42 for the month&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So the local monthly cost is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You already own the card:&lt;/strong&gt; &lt;strong&gt;€5.42/month&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You are buying the card:&lt;/strong&gt; €27.78 + €5.42 = &lt;strong&gt;€33.20/month&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note what that number is: the whole stack, running around the clock, including every transcription queue and embedding job it handled in those 30 days. It is close to flat. It does not move much when you ask it more questions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The part that does scale, and how I know its size.&lt;/strong&gt; The card measures 40 W with the models resident and nothing queued — that is measured, and it is most of the month. What it draws while actually generating I did not meter this month, so I will not pretend otherwise: the 3090's board power limit is &lt;strong&gt;300 W at spec&lt;/strong&gt;, and that is a ceiling, not a measurement. At the day tariff, an hour pinned at that ceiling is 0.09 BGN — about &lt;strong&gt;€0.046&lt;/strong&gt;. Two hours a day of it adds €2.76/month, putting the local side at €8.18. Treat that as the worst case for a heavy user, not the typical one.&lt;/p&gt;




&lt;h2&gt;
  
  
  The cloud side: what the same work costs
&lt;/h2&gt;

&lt;p&gt;List prices, checked against the published price sheets in early November 2026. A "Q&amp;amp;A pair" is the shape of one typical assistant exchange: &lt;strong&gt;500 input tokens + 200 output tokens&lt;/strong&gt;, so 1,000 pairs is 0.5M input + 0.2M output.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cloud model&lt;/th&gt;
&lt;th&gt;$/M input&lt;/th&gt;
&lt;th&gt;$/M output&lt;/th&gt;
&lt;th&gt;Per 1,000 Q&amp;amp;A pairs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;td&gt;$3.00 (€2.69)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;td&gt;$3.00 (€2.69)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.8 Flash&lt;/td&gt;
&lt;td&gt;$0.75&lt;/td&gt;
&lt;td&gt;$3.75&lt;/td&gt;
&lt;td&gt;$1.13 (€1.01)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.5 Flash-Lite&lt;/td&gt;
&lt;td&gt;$0.30&lt;/td&gt;
&lt;td&gt;$2.50&lt;/td&gt;
&lt;td&gt;$0.65 (€0.58)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Haiku 5.5&lt;/td&gt;
&lt;td&gt;$0.10&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;$0.15 (€0.13)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6 Luna&lt;/td&gt;
&lt;td&gt;$0.10&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;$0.15 (€0.13)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two things worth knowing before you use these. First, on the premium models output costs 5x input, so a chatty model is a more expensive model independent of quality. Second, several of those rates are introductory: Gemini 3.8 Flash goes to $1.50/$7.50 on 1 January, and the Google flagship that matches the premium tier doubles from $2/$10 to $4/$20 on 1 December. The cheap end of the market is not permanently cheap.&lt;/p&gt;




&lt;h2&gt;
  
  
  The break-even point
&lt;/h2&gt;

&lt;p&gt;Set local cost equal to cloud cost and solve for pairs per month.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case 1 — you already own the card (€5.42/month flat)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Comparing against&lt;/th&gt;
&lt;th&gt;Break-even&lt;/th&gt;
&lt;th&gt;Per day&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5 / GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;~2,000 pairs&lt;/td&gt;
&lt;td&gt;~67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.8 Flash&lt;/td&gt;
&lt;td&gt;~5,400 pairs&lt;/td&gt;
&lt;td&gt;~179&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Haiku 5.5 / GPT-6 Luna&lt;/td&gt;
&lt;td&gt;~40,000 pairs&lt;/td&gt;
&lt;td&gt;~1,340&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Case 2 — you are buying the card (€33.20/month flat)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Comparing against&lt;/th&gt;
&lt;th&gt;Break-even&lt;/th&gt;
&lt;th&gt;Per day&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5 / GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;~12,400 pairs&lt;/td&gt;
&lt;td&gt;~412&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.8 Flash&lt;/td&gt;
&lt;td&gt;~33,000 pairs&lt;/td&gt;
&lt;td&gt;~1,100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Haiku 5.5 / GPT-6 Luna&lt;/td&gt;
&lt;td&gt;~247,000 pairs&lt;/td&gt;
&lt;td&gt;~8,200&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Case 3 — you own the card and generate heavily (€8.18/month, two hours of generation a day)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Against Sonnet-class: ~3,000 pairs/month, ~102/day. The adder moves the line, it does not move the conclusion.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the numbers say
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The break-even is not "a few times a day." It is dozens.&lt;/strong&gt; The claim that circulates in the local-LLM crowd — that you recoup a GPU by using a local assistant a couple of times a day — does not survive contact with a meter and a price sheet. Against a premium cloud model, a card you already own pays for its electricity at around &lt;strong&gt;67 exchanges a day&lt;/strong&gt;. That is a real daily habit, not a casual one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Against the cheap end, local loses outright.&lt;/strong&gt; Haiku-class and Luna-class APIs price a Q&amp;amp;A pair at about €0.00013. Your electricity is €5.42 a month before the first token. You would need 40,000 pairs a month to break even — and 247,000 if you had to buy the hardware. If the model you would actually use is a small fast cloud model, &lt;strong&gt;do not buy a GPU to save money. You will never catch up.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The hardware decision dominates everything else.&lt;/strong&gt; Owning the card already moves the break-even from ~12,400 pairs to ~2,000 — a 6x difference, and it is decided before you send a single request. If the GPU is already in the machine for gaming, for work, or for something else entirely, the inference stack is nearly free and the arithmetic flips in your favour. If you would be buying it for this, this article is not the reason to do it.&lt;/p&gt;




&lt;h2&gt;
  
  
  The honest summary
&lt;/h2&gt;

&lt;p&gt;"Local is cheaper" holds &lt;strong&gt;if and only if&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The card is already paid for&lt;/strong&gt; (or is being bought for some other reason), AND&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You use it at the volume the table demands&lt;/strong&gt; — dozens of exchanges a day against a premium cloud model, hundreds against a cheap one, AND&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The local model is accurate enough for the task.&lt;/strong&gt; A model that is wrong half the time is not cheaper. The cost of a wrong answer does not appear on either side of this equation, and it is usually the largest number in it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The profile where local genuinely wins is narrower than the community likes to admit: &lt;strong&gt;someone who owns a 3090 anyway, runs a local assistant as a daily tool, and is otherwise paying premium-tier API rates.&lt;/strong&gt; That person is over the break-even line by a wide margin and should keep the box running.&lt;/p&gt;

&lt;p&gt;The profile where it loses is the one most often arguing for it: someone considering a first GPU purchase, comparing it against a cheap fast cloud model. That comparison is not close.&lt;/p&gt;




&lt;h2&gt;
  
  
  Run it on your own numbers
&lt;/h2&gt;

&lt;p&gt;Four inputs, one division:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Hardware:&lt;/strong&gt; purchase price ÷ 36. Zero if you own it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Electricity:&lt;/strong&gt; meter it for 30 days. Do not estimate from a spec sheet's TDP — my stack's real figure is the difference between a card idling warm and a card doing work, and the idle warm part is most of the month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud price:&lt;/strong&gt; your actual model, at the input/output token split your actual usage has. Not the model you wish you were using.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Break-even:&lt;/strong&gt; monthly local cost ÷ cost per 1,000 pairs × 1,000.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The result is a number of exchanges per month. Compare it against what you really do in a month, and you have your answer — which is the only answer that was ever yours to have.&lt;/p&gt;




&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;If you own the card, you break even against a premium cloud model at roughly 2,000 Q&amp;amp;A pairs a month — about 67 a day. Against a cheap cloud model, 40,000. If you are buying the card, multiply those by six.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The card in my machine cost me €5.42 in electricity last month. Whether that was cheap or expensive depends entirely on which row of that table I would otherwise be paying for — and now I know which row I am in.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The Local LLM Lab is a series of measured experiments on a home GPU stack. The electricity figures here are pulled from 30 days of per-process power attribution on the box; the cloud figures are published list prices as of early November 2026, and several of them change on 1 December or 1 January.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>homelab</category>
      <category>llm</category>
      <category>selfhosted</category>
      <category>gpu</category>
    </item>
    <item>
      <title>I Ran Whisper on a 24 GB GPU for 30 Days. It Used 8.</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 02 Nov 2026 08:28:16 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/i-ran-whisper-on-a-24-gb-gpu-for-30-days-it-used-8-195p</link>
      <guid>https://dev.to/sikamikanikobg/i-ran-whisper-on-a-24-gb-gpu-for-30-days-it-used-8-195p</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Local LLM Lab — Part 13&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;One controlled experiment. One number. One verdict.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The local-AI crowd has a habit: buy the biggest GPU. 24 GB. 32 GB. 48 GB. The reasoning is always the same — "models are big, you need VRAM."&lt;/p&gt;

&lt;p&gt;I stopped believing that reasoning when I looked at my own telemetry. I've been running a Whisper transcription service on an RTX 3090 (24 GB) for a few months now. Over the last 30 days I pulled the full VRAM history: every two hours, what the card was holding, what it spiked to, and whether anything ever spilled into system RAM.&lt;/p&gt;

&lt;p&gt;The service used &lt;strong&gt;7.9 GB on average. 10.4 GB at peak. Never more.&lt;/strong&gt; In 30 days.&lt;/p&gt;

&lt;p&gt;This is the story of a GPU that is 2.3× bigger than the thing running on it — and what that means for what you should actually buy.&lt;/p&gt;




&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Card:&lt;/strong&gt; NVIDIA RTX 3090, 24 GB (24,576 MB), power limit 260 W&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service:&lt;/strong&gt; Whisper ASR webservice (WhisperX, large-v3), resident Docker container, 24/7&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Telemetry:&lt;/strong&gt; 30 days of VRAM / power / utilisation at 2-hour resolution, plus per-caller attribution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Other residents:&lt;/strong&gt; a TTS service (~5.3 GB, added partway through the window), an embedding model (negligible), a photo-tagging ML container (negligible)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 3090 was never sized for Whisper. Whisper is the small, quiet service in the corner of the stack — a transcription endpoint that my own tools call when I record a voice memo, a meeting, or a podcast clip. The big chat models live on a second machine. The TTS service is the one other real tenant; it arrived partway through the measurement window, which is why the "one service" story below is about the Whisper service's own working set, not the card's total.&lt;/p&gt;

&lt;p&gt;That's the important part. Most "how much VRAM do I need" answers on the internet are about the model on paper, not the service in production. Paper VRAM is the weights. Production VRAM is weights plus context plus overhead plus whatever the framework decides to allocate. The difference is the whole article.&lt;/p&gt;




&lt;h2&gt;
  
  
  The number
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Average VRAM: 7.9 GB. Peak: 10.4 GB. Spills to RAM: zero.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric (30 days)&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Total VRAM&lt;/td&gt;
&lt;td&gt;24,576 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Average VRAM&lt;/td&gt;
&lt;td&gt;7,871 MB (~7.9 GB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Peak VRAM&lt;/td&gt;
&lt;td&gt;10,366 MB (~10.4 GB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Peak / Total&lt;/td&gt;
&lt;td&gt;42%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Spills to system RAM&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPU utilisation&lt;/td&gt;
&lt;td&gt;~0% (bursts to 1–7%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Power at rest (model resident)&lt;/td&gt;
&lt;td&gt;~40 W&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Energy attributed to the service (30d)&lt;/td&gt;
&lt;td&gt;21.73 kWh / 5.67 BGN&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The shape of the trace is boring, and that's the point. It's a flat line at ~7.9 GB with short, sharp spikes to ~10.4 GB when audio comes in, and a few longer elevated stretches when there's a queue. It never trends upward. It never approaches the ceiling. It never spills.&lt;/p&gt;

&lt;p&gt;The card sits at ~40 W with the model resident — that's the "keep it warm" cost, not the work cost. The work (the spikes) is short enough that the 30-day total attributed to the service is 21.73 kWh, which at my tariff is 5.67 BGN. The full electricity breakdown is in Part 5 of this series.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the VRAM is actually holding
&lt;/h2&gt;

&lt;p&gt;People treat VRAM like a single bucket. It isn't. In this service, the ~10.4 GB peak is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Model weights.&lt;/strong&gt; Whisper large-v3 is 1.55B parameters. In fp16 that's ~3.1 GB. This is the "paper VRAM" number everyone quotes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio context and feature buffers.&lt;/strong&gt; The encoder processes audio in chunks; long files and queued files hold more buffer. This is where 3.1 GB becomes 7.9 GB on average.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Framework overhead.&lt;/strong&gt; CUDA context, cuDNN workspaces, allocator fragmentation. Usually 1–2 GB, invisible in any spec sheet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The small helper models.&lt;/strong&gt; WhisperX runs a VAD (voice-activity detection) and an alignment model alongside the main model. Small, but real.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The lesson: &lt;strong&gt;a model's "VRAM requirement" is its weights. A service's VRAM requirement is 2–3× its weights.&lt;/strong&gt; When someone says "large-v3 needs 3 GB," they're telling you the floor, not the working set.&lt;/p&gt;




&lt;h2&gt;
  
  
  Who is actually calling it
&lt;/h2&gt;

&lt;p&gt;The attribution over the last 7 days is a nice detail, because it shows this is a shared service, not a single app:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Caller&lt;/th&gt;
&lt;th&gt;Seconds (7d)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;whisper-proxy (my own tools)&lt;/td&gt;
&lt;td&gt;3,350&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Langfuse MinIO (observability stack)&lt;/td&gt;
&lt;td&gt;1,080&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Langfuse worker&lt;/td&gt;
&lt;td&gt;720&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CI runner&lt;/td&gt;
&lt;td&gt;300&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Warmup job&lt;/td&gt;
&lt;td&gt;280&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;My own tools are the main tenant; the LLM-observability stack is a secondary one — it transcribes the audio attached to the traces it ingests. Even with multiple callers hitting the endpoint, the peak stays at 10.4 GB. The second and third callers add latency, not VRAM, because they queue behind the first.&lt;/p&gt;




&lt;h2&gt;
  
  
  The counterargument: headroom is insurance
&lt;/h2&gt;

&lt;p&gt;The fair objection: VRAM headroom is insurance. You want room for longer context, bigger batches, a bigger model next quarter. A card that's exactly sized for today's workload is a card that's undersized next month.&lt;/p&gt;

&lt;p&gt;True. But the measurement says what the insurance was worth over 30 days of real use: &lt;strong&gt;the service used 42% of the card at its absolute peak, 32% on average, and never came close to the ceiling.&lt;/strong&gt; Insurance that is never claimed is still a cost — in this case, the delta between a 16 GB card and a 24 GB card, plus the power and thermals of running a card that's 2.3× the working set.&lt;/p&gt;

&lt;p&gt;The honest version of the headroom argument is: &lt;strong&gt;size for the biggest model you will actually run, plus ~50% headroom.&lt;/strong&gt; Not the biggest model that exists. Not the biggest model the card &lt;em&gt;could&lt;/em&gt; run.&lt;/p&gt;




&lt;h2&gt;
  
  
  The contrast: the other machine
&lt;/h2&gt;

&lt;p&gt;This is where the 3090's real job shows up. The big model — a 27B chat model on vLLM — runs on a second machine with two 3090s. That machine is sized for its workload: a 27B model in fp8 needs well over 24 GB, so two cards, no spills, no compromise.&lt;/p&gt;

&lt;p&gt;The hub 3090 is not sized for Whisper. It's sized for "whatever I might want to run on the hub someday." That's a different purchase decision, and it's the one most of us make without measuring. The measurement says: for the workload that actually lives on this card, a 16 GB card is enough for Whisper alone. 24 GB is only justified if a 20B+ chat model is going to share the card — and if that's the plan, you're sizing for the chat model, not for Whisper, and Whisper should be the tenant that fits around it.&lt;/p&gt;




&lt;h2&gt;
  
  
  The card today: two tenants, still not full
&lt;/h2&gt;

&lt;p&gt;Three weeks into the window a TTS service joined the card. It holds ~5.3 GB. Right now the card's total is ~13.3 GB of 24 GB — 55% at the current moment, still zero spills, still ~2 GB of headroom under memory pressure.&lt;/p&gt;

&lt;p&gt;That's the honest current state: &lt;strong&gt;two AI services (Whisper + TTS) on one 24 GB card, and the card is not full.&lt;/strong&gt; The "you need big VRAM" advice would have me buying more. The measurement says the card has room for another tenant of similar size before it gets close to the ceiling. The 24 GB is doing its job as headroom — but it's headroom for a second or third small service, not because Whisper needs it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I would buy now
&lt;/h2&gt;

&lt;p&gt;If I were building this stack today, from scratch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The hub card (Whisper + TTS + embeddings): 24 GB is the right call, but only because of the second tenant.&lt;/strong&gt; Whisper alone peaks at 10.4 GB; with the TTS service it's ~13.3 GB. A 16 GB card would be tight but workable for just Whisper; 24 GB is comfortable for two.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The chat card(s): sized for the chat model.&lt;/strong&gt; 27B in fp8 → two 24 GB cards, or one 48 GB card if you can find one at a sane price.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The rule:&lt;/strong&gt; the GPU is sized for the biggest model you will actually run, plus 50% headroom. Everything smaller is a tenant.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 3090 remains a great card — it's the best price-per-GB on the used market, and that's exactly why it's everywhere in home stacks. But "best price-per-GB" is an argument for the chat machine, and for a hub that will host a couple of small services, not for the transcription service alone.&lt;/p&gt;




&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A 24 GB GPU running a Whisper service for 30 days: 7.9 GB average, 10.4 GB peak, zero spills, 42% of the card at peak.&lt;/strong&gt; Add a 5.3 GB TTS service and the card is still only 55% full. The "you need big VRAM" advice is true for the model you're afraid of running, and false for the service you're actually running.&lt;/p&gt;

&lt;p&gt;Right-size the GPU to the workload you measured, not the workload you imagine. The meter and the VRAM counter don't care about your imagination.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The Local LLM Lab is a series of measured experiments on a home GPU stack. Every number in this article was pulled from 30 days of telemetry on the card, not estimated. The series continues with the cost of keeping all of this alive — the full electricity bill for the whole machine, not just the GPU.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>homelab</category>
      <category>gpu</category>
      <category>whisper</category>
      <category>asr</category>
    </item>
    <item>
      <title>Patzer just got single sign-on — one login for your whole family</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Tue, 27 Oct 2026 09:14:48 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/patzer-just-got-single-sign-on-one-login-for-your-whole-family-3mm4</link>
      <guid>https://dev.to/sikamikanikobg/patzer-just-got-single-sign-on-one-login-for-your-whole-family-3mm4</guid>
      <description>&lt;p&gt;Last week Patzer got single sign-on. If your family already runs Authentik, Keycloak, Authelia or Pocket ID, everyone in the house now logs into the chess server with the same identity they use everywhere else — no more one extra username and password to remember, and no more "I forgot my password" at the dinner table.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Set &lt;code&gt;OIDC_ISSUER&lt;/code&gt;, &lt;code&gt;OIDC_CLIENT_ID&lt;/code&gt; and &lt;code&gt;OIDC_CLIENT_SECRET&lt;/code&gt; and the login page gets a "Sign in with …" button (you choose the label with &lt;code&gt;OIDC_BUTTON_TEXT&lt;/code&gt;). Nothing changes until you set them — existing installs are untouched.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;OIDC_ONLY=true&lt;/code&gt; removes password login, sign-up and password reset entirely, in the UI and on the server. A fresh install started that way skips the setup wizard, whose password nobody could use anyway: the first SSO login creates the admin.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;OIDC_ADMIN_GROUP=patzer-admins&lt;/code&gt; makes members of a provider group the admins, re-checked at every login. While no admin exists, only group members can sign in — so on a fresh install the first admin is the first group member, not whoever is fastest.&lt;/li&gt;
&lt;li&gt;Logging out of Patzer logs you out of the provider too. That matters on a shared family computer.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;OIDC_AUTO_PROVISION=true&lt;/code&gt; creates an account for whoever the provider lets in; &lt;code&gt;OIDC_MATCH_BY=username|email&lt;/code&gt; links a first SSO login to an existing account instead (email only when the provider marks it verified). Linked accounts get the provider's email if they have none, so password resets and notifications still reach them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The flow is the standard authorization-code-with-PKCE, with state and nonce, built on &lt;code&gt;openid-client&lt;/code&gt;. The part I care about most is the failure handling: a failed SSO login comes back to the login page with the reason in the user's language — provider unreachable, cancelled, no account, already linked, too many attempts — and the callbacks are rate-limited per IP, so Patzer can't be used to flood your identity provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a chess app needs SSO
&lt;/h2&gt;

&lt;p&gt;Patzer is a family product, and the weakest link in a family app is always the account layer: nine-year-olds reset passwords, siblings share devices, and the last thing you want is a chess server that can't answer "who is this profile?". If your identity provider already knows who your family is, the chess server should just ask it.&lt;/p&gt;

&lt;p&gt;SSO is merged to main and ships in the next release (v7.20). The full guide — every environment variable, the SSO-only setup, and an honest security section on what this protects and where its limits are — is in &lt;code&gt;docs/OIDC.md&lt;/code&gt; in the repo.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/SikamikanikoBG/patzer" rel="noopener noreferrer"&gt;https://github.com/SikamikanikoBG/patzer&lt;/a&gt; — MIT licensed, one Docker container, Stockfish plus your own LLM (Ollama or vLLM).&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>ai</category>
      <category>docker</category>
      <category>chess</category>
    </item>
    <item>
      <title>93 Services, 1 Failed, 1 Probe Down for a Week: How a Home Stack Stays Alive</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 26 Oct 2026 08:18:46 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/93-services-1-failed-1-probe-down-for-a-week-how-a-home-stack-stays-alive-3e70</link>
      <guid>https://dev.to/sikamikanikobg/93-services-1-failed-1-probe-down-for-a-week-how-a-home-stack-stays-alive-3e70</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Local LLM Lab — Part 12&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;One controlled experiment. One number. One verdict.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A home server is a stack of things that can fail. 59 containers. 94 active systemd units. A GPU with models on it. A network of ports, a registry, a CI runner, a media server, a photo library, an LLM observability stack. Any one of them can die, and the question is never "will it fail" — it's "will you know, and will it come back."&lt;/p&gt;

&lt;p&gt;I instrumented the whole stack: every container has a health check, every critical service has an uptime probe, and the monitor watches both. Over the last 7 days the probes ran 10,000 checks. This is what they found — and it is not a clean 100%. One probe target has been refusing connections for the entire window, and the monitor flagged it on day one. That is the point.&lt;/p&gt;




&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Machine:&lt;/strong&gt; HP Z840 Workstation, 2× Xeon E5-2680 v4, 64 GB RAM, one RTX 3090&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stack:&lt;/strong&gt; 59 Docker containers, 94 active systemd units (93 running, 1 failed)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitoring:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Container health:&lt;/strong&gt; Docker's own healthchecks on the containers that define them (the rest report state only)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service uptime:&lt;/strong&gt; two HTTP probes against the homelab monitor's own endpoints, every 60 seconds, 7-day window, fail threshold of 2 consecutive failures&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Event log:&lt;/strong&gt; edge-triggered alerts for OOM kills, threshold crossings, disk I/O spikes&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The two things that are not up:&lt;/strong&gt; &lt;code&gt;nginx.service&lt;/code&gt; (the old reverse proxy, a leftover) and the 9802 probe target (a port that no longer listens). Both are flagged, both are explained, neither is hidden.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The two non-up states are the honest details. They're not mistakes I'm hiding — they're the things that are down, and they're down for known reasons: a retired reverse-proxy unit, a retired probe port. The monitor sees them, flags them, and I left them, because the roles they used to fill no longer exist behind them. The article is about the &lt;em&gt;detection&lt;/em&gt;, not the failures — the failures are the proof that the detection works.&lt;/p&gt;




&lt;h2&gt;
  
  
  The number
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Over 7 days, 10,000 uptime checks ran against two endpoints. One returned 100% — 5,000 checks, in the low-teens of milliseconds, zero failures. The other returned 0% — connection refused on every check — and the monitor has flagged it as a critical since day one.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Check&lt;/th&gt;
&lt;th&gt;Target&lt;/th&gt;
&lt;th&gt;Interval&lt;/th&gt;
&lt;th&gt;Checks (7d)&lt;/th&gt;
&lt;th&gt;Uptime&lt;/th&gt;
&lt;th&gt;Latency&lt;/th&gt;
&lt;th&gt;Failures&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;HomeLab 9800&lt;/td&gt;
&lt;td&gt;&lt;a href="http://ardi:9800" rel="noopener noreferrer"&gt;http://ardi:9800&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;60 s&lt;/td&gt;
&lt;td&gt;5,000&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;~14 ms&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HomeLab 9802&lt;/td&gt;
&lt;td&gt;&lt;a href="http://ardi:9802" rel="noopener noreferrer"&gt;http://ardi:9802&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;60 s&lt;/td&gt;
&lt;td&gt;5,000&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;td&gt;refused&lt;/td&gt;
&lt;td&gt;5,000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The 0% is the number that matters. Not "the stack is up" — that's a state. "One endpoint up, one endpoint refusing connections for a week, both named" is a &lt;em&gt;measurement&lt;/em&gt;. The 9800 endpoint answered 200 in about 14 ms on every check. The 9802 endpoint refused the connection on all 5,000. The fail threshold is 2 consecutive failures, so the 9802 alarm fired at the 2-minute mark on day one and has not cleared — because the port genuinely stopped listening.&lt;/p&gt;

&lt;p&gt;The event log over the same week adds the texture: &lt;strong&gt;zero OOM kills, eight disk I/O spikes&lt;/strong&gt; (the photo server writing thumbnails, the CI runner pulling images), and the single critical — 9802 down. No memory events, no GPU events, no service crashes. The only other "crit" on the box is the known, explained nginx unit.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the monitoring actually does
&lt;/h2&gt;

&lt;p&gt;The stack has three layers of liveness, and they answer three different questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Is the process alive?&lt;/strong&gt; Docker's healthchecks and systemd's unit state. This catches a crash — a process that died and didn't restart. It's the coarsest layer, and it's the one that's always on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is the service answering?&lt;/strong&gt; The uptime probes. A process can be alive and not answering — hung, deadlocked, stuck in a retry loop. The probe is a 60-second HTTP GET that fails after 10 seconds. It catches the "alive but not working" state that the process check misses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is the service working correctly?&lt;/strong&gt; The event log. A service can answer 200 and still be wrong — returning an error body, a 500 behind a proxy, a timeout that's just under the threshold. The edge-triggered events (OOM, threshold crossings, I/O spikes) catch the "answering but degrading" state.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The three layers are not redundant. Each one catches a failure the others miss. The process check catches the crash. The probe catches the hang. The event log catches the degradation. A 94-unit stack needs all three, because a 94-unit stack has 94 different ways to be subtly wrong.&lt;/p&gt;




&lt;h2&gt;
  
  
  The counterargument: 100% uptime is boring — so here is 100% and 0%
&lt;/h2&gt;

&lt;p&gt;The fair objection: an article about a stack that didn't fail is an article with no story. 100% uptime is the baseline, not the achievement.&lt;/p&gt;

&lt;p&gt;The point is the opposite. &lt;strong&gt;The achievement is that the stack didn't fail &lt;em&gt;and&lt;/em&gt; that I would have known if it did.&lt;/strong&gt; A 100% uptime number is only meaningful if the monitoring is good enough to have caught a failure. The 10,000 checks, the 2-consecutive-failure threshold, the three-layer liveness — that's the system that makes the 100% a fact instead of a hope. If 9800 had dropped for 30 minutes last Tuesday, the probe would have flagged it at the 2-minute mark, the event log would have recorded it, and I would have had a named, timestamped, attributed failure to look at — not a "why is the photo app slow" mystery.&lt;/p&gt;

&lt;p&gt;And this week the system didn't have to be hypothetical. The 9802 endpoint stopped answering — not for a few minutes, for the whole window — and the monitor carried it as a critical from day one. Nobody "discovered" it. It's in the dashboard, marked, explained, and left, because the role behind it no longer exists. Same with the nginx unit: down for weeks, flagged the entire time, explained, and left. That's the system working: the failures are known, named, and triaged, not hidden.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I would do now
&lt;/h2&gt;

&lt;p&gt;If I were building a homelab today, the monitoring would have exactly this shape:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Every container:&lt;/strong&gt; a healthcheck if the image defines one, a state check if it doesn't. The cost is nothing; the value is the "is the process alive" layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every critical service:&lt;/strong&gt; a 60-second uptime probe with a 10-second timeout and a 2-consecutive-failure threshold. The threshold is the key — 1 failure is a blip, 2 is a problem. One failure a day, over 94 units, would be 94 false pages; the threshold kills that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The event log:&lt;/strong&gt; edge-triggered alerts for the things that matter — OOM kills, threshold crossings, disk I/O spikes. Not a log of every metric, but a log of every &lt;em&gt;event&lt;/em&gt;. The difference is the difference between a dashboard you scroll and a feed you read.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The one rule:&lt;/strong&gt; a failure that is known, named, and explained is not a failure. It's a state. The nginx unit is down, and the 9802 probe is down, and that's fine, because both are flagged, both are explained, and neither is hiding. The system's job is not to prevent every failure — it's to make every failure &lt;em&gt;known&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 94-unit stack stays alive not because nothing fails, but because when something fails, the failure has a name, a timestamp, and a place in the dashboard. The 100% on 9800 is the output of that system, not the input — and the 0% on 9802 is the proof that the output is real.&lt;/p&gt;




&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;94 active systemd units, 59 containers, 10,000 uptime checks over 7 days: one endpoint at 100% (~14 ms mean), one endpoint at 0% (refused, flagged from day one), zero OOM kills, eight disk I/O spikes, two known-and-explained non-up states.&lt;/strong&gt; The stack stays alive because the monitoring catches the three layers of failure — the crash, the hang, the degradation — and names each one. The 100% is not luck, and the 0% is not a miss. It's 10,000 checks that would have told me, in two minutes, if anything had broken.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The Local LLM Lab is a series of measured experiments on a home GPU stack. Every number in this article was pulled from 7 days of uptime and event telemetry on the box, not estimated. The series continues with the cost of keeping all of this alive — the full electricity bill for the whole machine, not just the GPU.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>homelab</category>
      <category>devops</category>
      <category>monitoring</category>
      <category>docker</category>
    </item>
    <item>
      <title>Patzer v7.19: the tactic trainer that shows your move and explains why the better one wins</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 19 Oct 2026 08:06:43 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/patzer-v719-the-tactic-trainer-that-shows-your-move-and-explains-why-the-better-one-wins-50jn</link>
      <guid>https://dev.to/sikamikanikobg/patzer-v719-the-tactic-trainer-that-shows-your-move-and-explains-why-the-better-one-wins-50jn</guid>
      <description>&lt;p&gt;Last week I wrote about Patzer — a self-hosted Chess.com alternative that runs in one Docker container (&lt;a href="https://dev.to/sikamikanikobg/i-built-my-family-a-private-chesscom-one-docker-container-stockfish-plus-your-own-llm-184n"&gt;the original post&lt;/a&gt;). Since then, the feature I've been most proud of shipped: a tactic trainer that explains your own mistakes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gap in puzzle trainers
&lt;/h2&gt;

&lt;p&gt;The classic puzzle trainer — Lichess puzzles, Chess.com tactics — gives you a position and asks for the best move. Miss it, and you see the solution. But you never see &lt;em&gt;why&lt;/em&gt; yours was wrong: why the engine's move wins and your move loses. You memorize that Qh5 is the move, not that Qd3 leaves your queen hanging to a fork.&lt;/p&gt;

&lt;p&gt;v7.19.0 closes that gap.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's new
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Your move, on the board.&lt;/strong&gt; In Train → From your games, Patzer builds puzzles from your actual Chess.com or Lichess games. The move you played in that game is now drawn as a red arrow on the puzzle position, so you no longer have to work out from "you played Qd3" which move that was.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The coach explains the difference.&lt;/strong&gt; Once the puzzle is over — solved, or the solution shown, never before — your AI coach explains in plain words why the engine's move beats the one you played. It's the same engine-checked explanation as in Game Review, in your language, pitched at your audience setting.&lt;/p&gt;

&lt;p&gt;The design decision from the original post is what makes this cheap to run: the LLM never analyses. The server works out the facts — what each move allows, hangs or wins, the opponent's best answer — and the model only turns that into coaching. A small local model (Ollama or vLLM) is enough, and a hallucinated piece is impossible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Puzzles come back.&lt;/strong&gt; A puzzle you don't solve at the first try comes back the next day, marked &lt;em&gt;Review&lt;/em&gt; — the same simple daily queue as the opening trainer. Solved at the first try on a later day, it's done; missed again, it's back tomorrow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Puzzle of the day, with a streak.&lt;/strong&gt; One puzzle from the Lichess set near your puzzle rating, the same one all day, with a plain counter of the days in a row you did it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Play from here.&lt;/strong&gt; In Game Review, every move now has a "Play from here against Patzer" button. You play your own colour, pick the bot's strength and the clock, and the game is saved like any bot game — your own games become training positions.&lt;/p&gt;

&lt;p&gt;Full list in the release notes, including a fix for the saved AI model dropdown when the model isn't on the server:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/SikamikanikoBG/patzer/releases/tag/v7.19.0" rel="noopener noreferrer"&gt;v7.19.0 release notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/SikamikanikoBG/patzer" rel="noopener noreferrer"&gt;github.com/SikamikanikoBG/patzer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Still one container:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker run -d -p 8800:8800 -v patzer-data:/app/data --name patzer ghcr.io/SikamikanikoBG/patzer:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;MIT licensed, English-first with Bulgarian, Spanish, German and Russian out of the box. If you're running Patzer, pull the latest tag and try the trainer on your own games — that's the part I'd want you to try first.&lt;/p&gt;

</description>
      <category>chess</category>
      <category>ai</category>
      <category>docker</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>54 Containers, 93 Services, 64 GB of RAM: What Actually Eats It</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 19 Oct 2026 07:11:05 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/54-containers-93-services-64-gb-of-ram-what-actually-eats-it-4fjk</link>
      <guid>https://dev.to/sikamikanikobg/54-containers-93-services-64-gb-of-ram-what-actually-eats-it-4fjk</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Local LLM Lab — Part 11&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;One controlled experiment. One number. One verdict.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A home server has a question the cloud never asks: &lt;strong&gt;who is eating the RAM?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the cloud, memory is a line item on a bill. At home, it's a finite pool — 64 GB on my box — shared by every container, every service, every daemon, and the one GPU that runs the AI. When the pool runs dry, something gets killed, and the thing that gets killed is usually the thing you least expected.&lt;/p&gt;

&lt;p&gt;I ran a memory audit on my homelab: 54 Docker containers, 93 running systemd units, one RTX 3090, 64 GB of RAM. I pulled the per-service memory history over 7 days, the current per-process state, and the kernel's non-reclaimable share. This is what the 64 GB is actually holding, and what the number says about how much RAM a homelab really needs.&lt;/p&gt;




&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Machine:&lt;/strong&gt; HP Z840 Workstation, 2× Intel Xeon E5-2680 v4 (28 cores, 56 threads), 64 GB RAM, one RTX 3090&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workload:&lt;/strong&gt; 54 Docker containers, 93 running systemd units, all up&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Telemetry:&lt;/strong&gt; 7 days of per-service memory at 2-hour resolution, plus the current per-process state and the kernel's non-reclaimable memory&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPU tenants (for context):&lt;/strong&gt; Whisper ASR, a TTS model, an embedding model — see the VRAM piece for what the card holds&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 64 GB is the honest number. It's not a "big" machine by data-centre standards, but it's a real workstation, and it runs a real stack: photo storage, music, a RAG pipeline, an LLM observability stack, a CI runner, a media server, a few self-hosted apps, and the AI services on the GPU.&lt;/p&gt;




&lt;h2&gt;
  
  
  The number
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The box is using 41.6 GB of its 64 GB — 65% — and the peak over the week was 15.9 GB of &lt;em&gt;application&lt;/em&gt; memory, with the rest held by the kernel and the GPU's system-side buffers.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;RAM (current)&lt;/th&gt;
&lt;th&gt;Share of 64 GB&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Kernel (non-reclaimable)&lt;/td&gt;
&lt;td&gt;1,754 MB (~1.7 GB)&lt;/td&gt;
&lt;td&gt;2.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPU tenants (system-side buffers + CUDA context)&lt;/td&gt;
&lt;td&gt;~2.0 GB&lt;/td&gt;
&lt;td&gt;3.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Top application (Whisper ASR webservice)&lt;/td&gt;
&lt;td&gt;7,870 MB (~7.7 GB)&lt;/td&gt;
&lt;td&gt;12.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TTS voice model (omnivoice)&lt;/td&gt;
&lt;td&gt;5,100 MB (~5.0 GB)&lt;/td&gt;
&lt;td&gt;7.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LLM observability stack (web + worker + ClickHouse)&lt;/td&gt;
&lt;td&gt;~2.3 GB&lt;/td&gt;
&lt;td&gt;3.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Photo storage server (Immich: server + postgres + ML)&lt;/td&gt;
&lt;td&gt;~1.0 GB&lt;/td&gt;
&lt;td&gt;1.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RAG pipeline (Qdrant + Ollama + Chroma)&lt;/td&gt;
&lt;td&gt;~0.7 GB&lt;/td&gt;
&lt;td&gt;1.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The other 49 containers + 93 services&lt;/td&gt;
&lt;td&gt;~22.7 GB&lt;/td&gt;
&lt;td&gt;35.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total in use&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;41,622 MB (~40.7 GB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;65%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The "other 49 containers + 93 services" line is the one that surprises people. It's 35% of the RAM, and it's not one thing — it's a long tail. The biggest individual entries in that tail:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;RAM (current)&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ClickHouse (Langfuse storage)&lt;/td&gt;
&lt;td&gt;1,082 MB&lt;/td&gt;
&lt;td&gt;The tracing database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open WebUI (chat UI)&lt;/td&gt;
&lt;td&gt;777 MB&lt;/td&gt;
&lt;td&gt;The chat interface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Langfuse web (LLM observability)&lt;/td&gt;
&lt;td&gt;721 MB&lt;/td&gt;
&lt;td&gt;The tracing UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Immich server (photo storage)&lt;/td&gt;
&lt;td&gt;562 MB&lt;/td&gt;
&lt;td&gt;The photo library backend&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Immich postgres (photo metadata)&lt;/td&gt;
&lt;td&gt;536 MB&lt;/td&gt;
&lt;td&gt;The photo database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qdrant (vector DB)&lt;/td&gt;
&lt;td&gt;483 MB&lt;/td&gt;
&lt;td&gt;The RAG index&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Langfuse worker (trace processing)&lt;/td&gt;
&lt;td&gt;346 MB&lt;/td&gt;
&lt;td&gt;The trace worker&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Botpress (chatbot)&lt;/td&gt;
&lt;td&gt;292 MB&lt;/td&gt;
&lt;td&gt;The chatbot framework&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;n8n (workflow automation)&lt;/td&gt;
&lt;td&gt;279 MB&lt;/td&gt;
&lt;td&gt;The automation engine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flowise (LLM builder)&lt;/td&gt;
&lt;td&gt;255 MB&lt;/td&gt;
&lt;td&gt;The LLM workflow builder&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;homelab-monitor (this monitor)&lt;/td&gt;
&lt;td&gt;233 MB&lt;/td&gt;
&lt;td&gt;The dashboard itself&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;jarvis2-core (my assistant)&lt;/td&gt;
&lt;td&gt;229 MB&lt;/td&gt;
&lt;td&gt;The assistant core&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;jarvis-server&lt;/td&gt;
&lt;td&gt;213 MB&lt;/td&gt;
&lt;td&gt;The server host&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;jarvis2-voiceline (voice pipeline)&lt;/td&gt;
&lt;td&gt;199 MB&lt;/td&gt;
&lt;td&gt;The voice line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Immich machine-learning (face/photo ML)&lt;/td&gt;
&lt;td&gt;177 MB&lt;/td&gt;
&lt;td&gt;The photo ML worker&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Langfuse minio (trace object storage)&lt;/td&gt;
&lt;td&gt;164 MB&lt;/td&gt;
&lt;td&gt;The trace storage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;searxng (meta-search)&lt;/td&gt;
&lt;td&gt;111 MB&lt;/td&gt;
&lt;td&gt;The search engine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UptimeKuma (health checks)&lt;/td&gt;
&lt;td&gt;103 MB&lt;/td&gt;
&lt;td&gt;The uptime monitor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MySQL (8.0, two instances)&lt;/td&gt;
&lt;td&gt;34 MB + 164 MB&lt;/td&gt;
&lt;td&gt;The databases&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitHub runner (CI)&lt;/td&gt;
&lt;td&gt;58 MB&lt;/td&gt;
&lt;td&gt;The CI agent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Postgres (three instances)&lt;/td&gt;
&lt;td&gt;15 MB + 20 MB + 536 MB&lt;/td&gt;
&lt;td&gt;The databases&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The pattern: &lt;strong&gt;no single service is the hog. The RAM is eaten by a long tail of small, resident services, each holding 10–1,000 MB, and the sum is 22.7 GB.&lt;/strong&gt; The GPU tenants hold the most per service (7.7 GB and 5.0 GB), but they're two services. The long tail is forty-nine, and it's still a third of the box.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the peak says
&lt;/h2&gt;

&lt;p&gt;The 7-day peak of 15.9 GB of &lt;em&gt;application&lt;/em&gt; memory is the number that matters for sizing. It happened when the photo server was running a batch of thumbnail generation at the same time the CI runner was building a project and the observability stack was ingesting a burst of traces. Three things spiking at once, on a 64 GB box, and the peak was 15.9 GB of application memory — 25% of the pool.&lt;/p&gt;

&lt;p&gt;The headroom at peak was 48 GB. That's the insurance. The box has never come close to the ceiling, and the events log over the week shows &lt;strong&gt;zero OOM kills, zero memory threshold crossings&lt;/strong&gt; — the only alerts were eight disk I/O spikes, which are storage, not memory.&lt;/p&gt;

&lt;p&gt;The honest reading: &lt;strong&gt;64 GB is comfortable for this stack. 32 GB would be tight but workable. 16 GB would not.&lt;/strong&gt; The peak of 15.9 GB is the worst case that actually happened, and it left 48 GB on the table. If I were buying RAM for this box today, I'd buy 64 GB and stop — not because it's the minimum, but because it's the size where the peak is a non-event.&lt;/p&gt;




&lt;h2&gt;
  
  
  The counterargument: RAM is cheap, don't sweat it
&lt;/h2&gt;

&lt;p&gt;The fair objection: RAM is the cheapest part of a server. 64 GB is a few hundred euros. Why spend an article on it?&lt;/p&gt;

&lt;p&gt;Because the RAM question is where homelab sizing goes wrong. People size the GPU (the expensive, scarce part) and under-size the RAM (the cheap, abundant part), and then the box OOMs the one service that matters — usually the database or the photo server — at the worst moment. The GPU is the part everyone benchmarks. The RAM is the part nobody measures, and it's the part that fails.&lt;/p&gt;

&lt;p&gt;The measurement says the failure mode is not "one big service." It's &lt;strong&gt;the long tail.&lt;/strong&gt; Fifty small services, each holding 10–100 MB, add up to a third of the box. The fix is not "buy more RAM" (though that helps). The fix is knowing the tail is real, so when the box gets tight you know which of the fifty to trim, not which of the two to kill.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I would do now
&lt;/h2&gt;

&lt;p&gt;If I were building this box today:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;RAM: 64 GB.&lt;/strong&gt; The measured peak is 15.9 GB of application memory; 64 GB is 4× peak. 32 GB would be 2× peak — workable, but the photo server and the CI runner would start fighting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The rule:&lt;/strong&gt; size RAM for the &lt;em&gt;peak of the long tail&lt;/em&gt;, not for the biggest single service. The biggest service is 7.7 GB. The tail is 22.7 GB. The tail is the size.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The audit:&lt;/strong&gt; a per-service memory panel, current and 7-day peak, with the kernel share separated out. The number that matters is not "the box is at 65%" — it's "the peak was 15.9 GB, and here are the ten services that were up at the peak."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The homelab monitor I use has exactly that panel. The 7-day peak per service, the current per-process state, and the kernel's non-reclaimable share, in one view. It's the difference between "the box is full" and "here's what's full, and here's what to trim."&lt;/p&gt;




&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;54 containers, 93 services, 64 GB of RAM: 41.6 GB in use (65%), 15.9 GB peak over the week, zero OOM kills.&lt;/strong&gt; The RAM is not eaten by one big service — it's eaten by a long tail of fifty small, resident services that add up to 22.7 GB. The GPU tenants hold the most per service, but the tail holds a third of the box by itself. Size the RAM for the peak of the tail, not for the biggest single service, and the box stops being a guessing game.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The Local LLM Lab is a series of measured experiments on a home GPU stack. Every number in this article was pulled from 7 days of per-service memory telemetry on the box, not estimated. Next: the one failed service on a 93-service stack — and how the uptime checks keep the rest alive.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>homelab</category>
      <category>docker</category>
      <category>linux</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>Your homelab, legible to AI agents — a read-only MCP server that rides along with your monitor</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Sun, 18 Oct 2026 08:43:30 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/your-homelab-legible-to-ai-agents-a-read-only-mcp-server-that-rides-along-with-your-monitor-40io</link>
      <guid>https://dev.to/sikamikanikobg/your-homelab-legible-to-ai-agents-a-read-only-mcp-server-that-rides-along-with-your-monitor-40io</guid>
      <description>&lt;p&gt;i keep a monitoring container on my homelab — it reads nvidia-smi, the docker api, systemd and /proc, and turns it into one page. the boring kind of dashboard: what's using the gpu, what it costs, what's filling the disk.&lt;/p&gt;

&lt;p&gt;last month i started running agents on the box, and i hit a wall that i think most people will hit: the agent couldn't see my homelab. it could run commands, but it couldn't &lt;em&gt;see&lt;/em&gt; — which model is holding the 3090, why the temperature is climbing, what the month cost in energy. i'd have to paste screen output into the chat by hand, and the agent was guessing about the rest.&lt;/p&gt;

&lt;p&gt;the data was already there. the monitor was reading all of it, every few seconds, into a sqlite database. what was missing was just a standard way to hand it over.&lt;/p&gt;

&lt;p&gt;so i added a read-only MCP server to the same container. it comes up on port 9810, and the whole setup is one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add &lt;span class="nt"&gt;--transport&lt;/span&gt; http homelab http://YOUR-HUB:9810/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;nineteen named tools, all read-only: hosts, containers, services, per-card gpu state and which process is on which card, per-process ram, the model servers, installed models, energy cost, benchmark runs, disk treemaps, history, alerts. that's the same coverage the dashboard has — the server is just the same database with an MCP face on it.&lt;/p&gt;

&lt;p&gt;what this actually gets you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"which model is eating vram right now, and on which card?" — it reads the per-card split, not one pooled number. on my 3x3090 box a 63gb model shows as 22.5 / 22.1 / 18.8.&lt;/li&gt;
&lt;li&gt;"what did the last week of inference cost me?" — it has the power integration, so it's a measured number, not a guess.&lt;/li&gt;
&lt;li&gt;"is anything down?" — the uptime checks and alerts are tools too.&lt;/li&gt;
&lt;li&gt;"what's filling the disk on the pi?" — the treemap, on demand, over the same ssh connection everything else uses.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;a few things i'm deliberately not doing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no writes. both directions are question and answer. the agent can look around the lab, it can't restart anything. (the dashboard itself has controls, but the mcp surface is read-only on purpose — an agent that can see your lab is already trusted, and i didn't want to make it &lt;em&gt;responsible&lt;/em&gt;.)&lt;/li&gt;
&lt;li&gt;no extra install on the remote boxes. the monitor already polls them over ssh with nothing persisted, and the mcp server just reads what the monitor has.&lt;/li&gt;
&lt;li&gt;no cloud. the server is on your lan, same as the dashboard. point a local ollama agent at it and nothing leaves the house.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;the monitor is open source, mit, one container: &lt;a href="https://github.com/SikamikanikoBG/homelab-monitor" rel="noopener noreferrer"&gt;github.com/SikamikanikoBG/homelab-monitor&lt;/a&gt; — and the mcp part is on by default (enable_mcp=0 turns it off). if you run a homelab and you're pointing agents at it, i'd be curious what you'd ask it first.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>selfhosted</category>
      <category>homelab</category>
    </item>
    <item>
      <title>My GPU Was Busy. I Finally Found Out Who Was Using It.</title>
      <dc:creator>Arsen Apostolov</dc:creator>
      <pubDate>Mon, 12 Oct 2026 07:10:05 +0000</pubDate>
      <link>https://dev.to/sikamikanikobg/my-gpu-was-busy-i-finally-found-out-who-was-using-it-1pkg</link>
      <guid>https://dev.to/sikamikanikobg/my-gpu-was-busy-i-finally-found-out-who-was-using-it-1pkg</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Local LLM Lab — Part 10&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;One controlled experiment. One number. One verdict.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Every homelab has a moment like this: the GPU is at 100%, the fan is screaming, and you have no idea which of the twenty services on the box is doing it. You open &lt;code&gt;nvidia-smi&lt;/code&gt;, it shows one process, you close it, and the mystery continues.&lt;/p&gt;

&lt;p&gt;The problem is that &lt;code&gt;nvidia-smi&lt;/code&gt; answers "which &lt;em&gt;process&lt;/em&gt; is using the GPU" — and in a Docker stack, the process is the container runtime, not the service. The answer you actually want is "which &lt;em&gt;service&lt;/em&gt; is using the GPU, and how much time did it take, and who &lt;em&gt;called&lt;/em&gt; it."&lt;/p&gt;

&lt;p&gt;I built the answer into my homelab monitor: caller→server attribution. Every sample of GPU utilisation is tagged with the service that owns the process, and for shared services (a transcription endpoint, an embedding endpoint) it's tagged with the &lt;em&gt;caller&lt;/em&gt; — the thing that made the request. Over the last 7 days the attribution logged 1,055 samples. This is what it says about who eats a home GPU.&lt;/p&gt;




&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Card:&lt;/strong&gt; NVIDIA RTX 3090, 24 GB, power limit 390 W&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shared services on the card:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Whisper ASR webservice&lt;/strong&gt; — a transcription endpoint with an nginx proxy in front (my tools, the observability stack, CI, and a warmup job all hit the proxy)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;nomic-embed-text (Ollama)&lt;/strong&gt; — an embedding endpoint used by the RAG pipeline&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attribution:&lt;/strong&gt; every GPU sample over 7 days is tagged with (a) the service owning the process and (b) the caller for shared endpoints. Total: 1,055 samples, ~1.1 million seconds of GPU time attributed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key design decision: &lt;strong&gt;the caller is recorded from the request, not from the process.&lt;/strong&gt; When my assistant core sends an audio file to the whisper proxy, the sample is tagged &lt;code&gt;jarvis2-core → whisper-proxy&lt;/code&gt;, not &lt;code&gt;nginx → whisper&lt;/code&gt;. That's the difference between "the GPU is busy" and "my assistant is the one using it."&lt;/p&gt;




&lt;h2&gt;
  
  
  The number
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Over 7 days, 47% of the GPU's logged time went to one caller: my own assistant core (4,970 seconds of 10,555 total attributed seconds).&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Caller&lt;/th&gt;
&lt;th&gt;Seconds (7d)&lt;/th&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;% of total&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;jarvis2-core (my assistant)&lt;/td&gt;
&lt;td&gt;4,970&lt;/td&gt;
&lt;td&gt;whisper-proxy&lt;/td&gt;
&lt;td&gt;47.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;whisper-proxy (shared endpoint, direct)&lt;/td&gt;
&lt;td&gt;920&lt;/td&gt;
&lt;td&gt;whisper service&lt;/td&gt;
&lt;td&gt;8.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;langfuse worker (observability)&lt;/td&gt;
&lt;td&gt;910&lt;/td&gt;
&lt;td&gt;whisper service&lt;/td&gt;
&lt;td&gt;8.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;langfuse minio (object storage)&lt;/td&gt;
&lt;td&gt;860&lt;/td&gt;
&lt;td&gt;whisper service&lt;/td&gt;
&lt;td&gt;8.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;whisper-warmup (keep-alive job)&lt;/td&gt;
&lt;td&gt;360&lt;/td&gt;
&lt;td&gt;whisper service&lt;/td&gt;
&lt;td&gt;3.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gh-runner (CI)&lt;/td&gt;
&lt;td&gt;360&lt;/td&gt;
&lt;td&gt;whisper-proxy&lt;/td&gt;
&lt;td&gt;3.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;jarvis-server + watchtower&lt;/td&gt;
&lt;td&gt;410&lt;/td&gt;
&lt;td&gt;whisper-proxy / service&lt;/td&gt;
&lt;td&gt;3.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;firefly importer&lt;/td&gt;
&lt;td&gt;80&lt;/td&gt;
&lt;td&gt;whisper service&lt;/td&gt;
&lt;td&gt;0.8%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ollama-embed callers (CI, assistant, watchtower)&lt;/td&gt;
&lt;td&gt;210&lt;/td&gt;
&lt;td&gt;ollama-embed&lt;/td&gt;
&lt;td&gt;2.0%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UptimeKuma (health checks)&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;whisper service&lt;/td&gt;
&lt;td&gt;0.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The single biggest consumer of the GPU is not a model, not a benchmark, not a training run. It's &lt;strong&gt;my assistant transcribing the audio it records.&lt;/strong&gt; Voice memos, meeting recordings, the audio attached to the traces the observability stack ingests — all of it flows through the Whisper endpoint, and all of it is attributed to the caller that sent it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the attribution changes
&lt;/h2&gt;

&lt;p&gt;Without caller attribution, the 7-day story of this GPU is: "the Whisper service used 10,555 seconds of GPU time." That's a number. It doesn't tell you anything you can act on.&lt;/p&gt;

&lt;p&gt;With caller attribution, the story is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;My assistant is the tenant.&lt;/strong&gt; 47% of the GPU's time is my own tooling. The service exists &lt;em&gt;for&lt;/em&gt; it, and it uses it more than everything else combined. That's the design working as intended — and it's also the reason the service is resident 24/7 instead of on-demand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The observability stack is the second tenant.&lt;/strong&gt; Langfuse's worker and MinIO together take 17% of the GPU's time. They transcribe the audio attached to the LLM traces they store. That's a cost nobody budgets for: the tracing stack is &lt;em&gt;using&lt;/em&gt; the GPU to do its job, on top of the LLM it's tracing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CI is a real, small tenant.&lt;/strong&gt; The GitHub runner takes 3.4% — test fixtures that get transcribed during CI runs. It's small, but it's &lt;em&gt;unexpected&lt;/em&gt; small. Nobody thinks about CI touching the GPU.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The warmup job is 3.4%.&lt;/strong&gt; A keep-alive job that pings the endpoint every few minutes so the model stays warm. That's the "keep it warm" cost made visible — 3.4% of the GPU's week, doing nothing but staying ready.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The verdict from the numbers: &lt;strong&gt;the GPU is not "busy" in the way the alarm implies. It is busy &lt;em&gt;for specific, named reasons&lt;/em&gt;, and the reasons add up to a stack that is working, not failing.&lt;/strong&gt; The alarm that says "GPU at 100%" is a symptom. The attribution is the diagnosis.&lt;/p&gt;




&lt;h2&gt;
  
  
  The counterargument: attribution is overhead
&lt;/h2&gt;

&lt;p&gt;The fair objection: tagging every GPU sample with a caller is extra bookkeeping, and in a hot loop it's overhead. The attribution has to be cheap enough that it doesn't slow the inference it's measuring.&lt;/p&gt;

&lt;p&gt;The implementation I use is cheap by design: the tag is set at the &lt;em&gt;request&lt;/em&gt; boundary, not at the sample boundary. When a request comes in, the caller is recorded once and attached to every sample the request produces. The per-sample cost is a field read, not a lookup. Over 1,055 samples the overhead is below the resolution of the power meter — you cannot measure it against a 2-hour bucket.&lt;/p&gt;

&lt;p&gt;The other objection: attribution only works for services that go through a request boundary. A model that's loaded and used in-process (a training run, a direct script) has no caller to tag. For those, the service-level tag is the best you can do, and that's still better than nothing. The attribution is a spectrum: caller-level for request-driven services, service-level for the rest.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I would do now
&lt;/h2&gt;

&lt;p&gt;If I were building a homelab monitor today, the GPU panel would have three layers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The card level:&lt;/strong&gt; utilisation, VRAM, power, temperature. The thing &lt;code&gt;nvidia-smi&lt;/code&gt; shows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The service level:&lt;/strong&gt; which container owns the process, and how much VRAM and time it holds. The thing Docker's stats show, but per-GPU.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The caller level:&lt;/strong&gt; for shared endpoints, which client made the request that produced each sample. The thing nothing shows, and the thing that answers "who is using my GPU."&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The third layer is the one that turns a dashboard into a tool. When the GPU spikes, you don't open &lt;code&gt;nvidia-smi&lt;/code&gt; and guess. You look at the attribution and see the name. When a service misbehaves (a runaway job, a retry storm), the caller list shows it in the same view. The number that matters is not "the GPU is at 100%" — it's "jarvis2-core took 4,970 seconds this week, and here's the request that did it."&lt;/p&gt;




&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;One week of caller-level GPU attribution: 47% of the card's time went to my own assistant, 17% to the observability stack, 3.4% to CI, 3.4% to a warmup job that does nothing but stay ready.&lt;/strong&gt; The GPU was never "mysteriously busy." It was busy for named reasons, and the attribution is the only view that shows them. If your homelab GPU spikes and you don't know why, the fix is not a faster card — it's a caller tag on every sample.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The Local LLM Lab is a series of measured experiments on a home GPU stack. Every number in this article was pulled from 7 days of caller-level attribution on the card, not estimated. Next: the 55 containers and 92 services that share this box with the GPU — what actually eats RAM when the machine has 64 GB of it.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>llm</category>
      <category>homelab</category>
      <category>ai</category>
      <category>gpu</category>
    </item>
  </channel>
</rss>
