<?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: Signal &amp; Silicon</title>
    <description>The latest articles on DEV Community by Signal &amp; Silicon (@signalsilicon).</description>
    <link>https://dev.to/signalsilicon</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%2F4282185%2F7cdea562-195b-4d08-bb4c-bc442f97e908.jpg</url>
      <title>DEV Community: Signal &amp; Silicon</title>
      <link>https://dev.to/signalsilicon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/signalsilicon"/>
    <language>en</language>
    <item>
      <title>The Rounding Tax: What GitHub Actions Minutes Really Cost in Late 2026</title>
      <dc:creator>Signal &amp; Silicon</dc:creator>
      <pubDate>Sat, 05 Dec 2026 00:27:50 +0000</pubDate>
      <link>https://dev.to/signalsilicon/the-rounding-tax-what-github-actions-minutes-really-cost-in-late-2026-10j4</link>
      <guid>https://dev.to/signalsilicon/the-rounding-tax-what-github-actions-minutes-really-cost-in-late-2026-10j4</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcchhe47sh2obnfqg7892.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcchhe47sh2obnfqg7892.jpg" alt="Punched time slots on a dark card, the last slot of each row left empty" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On 1 January 2026, GitHub cut the price of its hosted runners by up to 39 percent. A standard Linux 2-core minute fell from $0.008 to $0.006, and a Windows minute from $0.016 to $0.010. Most coverage treated that as CI getting cheaper, and for plenty of private repositories it did.&lt;/p&gt;

&lt;p&gt;But the per-minute rate is only one of three rules that produce the invoice. The other two are quoted far less: you pay by the core, and every job rounds up to a whole minute. A team that watches only the rate can cut it by a third and still see a bill that barely moves, because the shape of its workflows sets the invoice.&lt;/p&gt;

&lt;p&gt;This post prices one ordinary pull request job by job, works out how much faster a bigger runner has to be to pay for itself, and finds where self-hosting actually crosses over. Every rate was read from the providers' own pages on 2026-12-05.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At a glance&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Who this is for:&lt;/strong&gt; teams running private repositories on GitHub Actions, roughly 10,000 to 150,000 billed minutes a month, with a mix of short checks and one long end-to-end job.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What it costs:&lt;/strong&gt; $0.006 per Linux 2-core minute. The six-job pull request below bills 47 minutes for 41 minutes of work, or $0.28; at 600 pull requests a month, $169 before storage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When the rate moved:&lt;/strong&gt; the hosted cut landed on 1 January 2026. A planned $0.002 per-minute charge on self-hosted runners was postponed the next day with no new date, which is why self-hosting is back on the table.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The caveat:&lt;/strong&gt; self-hosted hardware pays for itself at 1,765 minutes a month, but an engineer's hour costs more than 12,500 hosted minutes. Add the hour and the cross-over moves past 16,000.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The three rules that set the bill
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The minute is priced by the core
&lt;/h3&gt;

&lt;p&gt;GitHub's rate card is a list of machine sizes, and the price rises with the core count almost in a straight line. The 4-core Linux runner is $0.012 a minute, exactly twice the 2-core. The 8-core is $0.022, or 3.67 times. From there the per-core price barely moves: $0.00263 at 16 cores, $0.00253 at 64.&lt;/p&gt;

&lt;p&gt;That is the whole of the volume discount. Doubling the hardware does not halve the bill; it doubles the rate and bets that the job finishes twice as fast. The useful exceptions run the other way. A 1-core Linux runner is $0.002, a third of the default, and an arm64 2-core runner is $0.005, 17 percent below x64. Windows costs 1.7 times Linux and macOS 10.3 times, which is why iOS pipelines dominate so many CI budgets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table 1. What each GitHub-hosted runner bills, and what it is good for&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;Runner&lt;/th&gt;
&lt;th&gt;Per minute&lt;/th&gt;
&lt;th&gt;Per core-minute&lt;/th&gt;
&lt;th&gt;Billed in&lt;/th&gt;
&lt;th&gt;Use it when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Linux 1-core (x64)&lt;/td&gt;
&lt;td&gt;$0.002&lt;/td&gt;
&lt;td&gt;$0.00200&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;Single-threaded checks: lint, format, schema diff&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux 2-core (arm64)&lt;/td&gt;
&lt;td&gt;$0.005&lt;/td&gt;
&lt;td&gt;$0.00250&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;Images already build for arm64 and nothing needs x86&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux 2-core (x64)&lt;/td&gt;
&lt;td&gt;$0.006&lt;/td&gt;
&lt;td&gt;$0.00300&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;The default. Price every other option against it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Windows 2-core&lt;/td&gt;
&lt;td&gt;$0.010&lt;/td&gt;
&lt;td&gt;$0.00500&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;Only work that genuinely needs Windows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux 4-core&lt;/td&gt;
&lt;td&gt;$0.012&lt;/td&gt;
&lt;td&gt;$0.00300&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;A job that provably finishes more than twice as fast&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux 8-core&lt;/td&gt;
&lt;td&gt;$0.022&lt;/td&gt;
&lt;td&gt;$0.00275&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;Long end-to-end suites, if they scale past 3.7x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;macOS 4-core&lt;/td&gt;
&lt;td&gt;$0.062&lt;/td&gt;
&lt;td&gt;$0.01550&lt;/td&gt;
&lt;td&gt;Whole minutes&lt;/td&gt;
&lt;td&gt;iOS and macOS builds, where there is no substitute&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two footnotes the table cannot hold. The 4-core and larger x64 runners exist only on Team and Enterprise Cloud plans, and are billed in public repositories too. The 1-core slim runner is the cheapest line GitHub sells, and almost nobody writes about it.&lt;/p&gt;

&lt;h3&gt;
  
  
  The job is rounded up
&lt;/h3&gt;

&lt;p&gt;Every job's duration is rounded up to the next whole minute, per job rather than per run. A 25-second bundle-size check bills one minute. A 65-second lint job bills two. The same 41 minutes of work bills 44, 47 or 52 depending on how you slice it into jobs.&lt;/p&gt;

&lt;p&gt;This is the rule that makes splitting work feel cheaper than it is. Four test shards of 4 minutes 10 seconds are four jobs, so each rounds separately: 20 billed minutes for 16 minutes 40 seconds of work, a 20 percent overhead. Run the identical suite as one job and it bills 17 minutes, a 2 percent overhead. Sharding buys wall-clock time and pays for it in rounding.&lt;/p&gt;

&lt;h3&gt;
  
  
  The included amount is dollars, not minutes
&lt;/h3&gt;

&lt;p&gt;Your plan's included usage is expressed as money, and that dollar figure is what resets each month: $12 on Free (about 2,000 Linux minutes), $18 on Pro and Team, $300 on Enterprise Cloud. Nothing rolls over, and Windows or macOS draws the same balance down faster.&lt;/p&gt;

&lt;p&gt;Storage is a separate balance. The Actions cache gets 10 GB per repository free, entries untouched for seven days are evicted, and anything above the limit bills at $0.07 per GB-month; artifacts and packages share $0.25. It is a small line for most teams, but 200 GB of cache in a monorepo is $13 a month that never appears in a runner comparison.&lt;/p&gt;

&lt;h2&gt;
  
  
  What one pull request actually costs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  A six-job sample
&lt;/h3&gt;

&lt;p&gt;Take a common shape for a JavaScript monorepo: lint, a type check, unit tests in four shards, a build, a Playwright end-to-end run and a bundle-size check, all on the standard 2-core runner.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table 2. One pull request, job by job, on the 2-core Linux runner&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;Job&lt;/th&gt;
&lt;th&gt;Wall time&lt;/th&gt;
&lt;th&gt;Billed&lt;/th&gt;
&lt;th&gt;Rounding overhead&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;th&gt;What to do with it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Lint&lt;/td&gt;
&lt;td&gt;0m 42s&lt;/td&gt;
&lt;td&gt;1 min&lt;/td&gt;
&lt;td&gt;43%&lt;/td&gt;
&lt;td&gt;$0.006&lt;/td&gt;
&lt;td&gt;Move to the 1-core runner, or fold into type check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Type check&lt;/td&gt;
&lt;td&gt;2m 40s&lt;/td&gt;
&lt;td&gt;3 min&lt;/td&gt;
&lt;td&gt;13%&lt;/td&gt;
&lt;td&gt;$0.018&lt;/td&gt;
&lt;td&gt;Keep; one of the best ratios in the pipeline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unit tests, 4 shards&lt;/td&gt;
&lt;td&gt;4m 10s each&lt;/td&gt;
&lt;td&gt;20 min&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;$0.120&lt;/td&gt;
&lt;td&gt;The biggest line. Shard only while it buys wall-clock&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build&lt;/td&gt;
&lt;td&gt;6m 30s&lt;/td&gt;
&lt;td&gt;7 min&lt;/td&gt;
&lt;td&gt;8%&lt;/td&gt;
&lt;td&gt;$0.042&lt;/td&gt;
&lt;td&gt;Keep; caching saves more here than cores do&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;End-to-end, Playwright&lt;/td&gt;
&lt;td&gt;14m 20s&lt;/td&gt;
&lt;td&gt;15 min&lt;/td&gt;
&lt;td&gt;5%&lt;/td&gt;
&lt;td&gt;$0.090&lt;/td&gt;
&lt;td&gt;Rarely cheaper on bigger cores. See below&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bundle size&lt;/td&gt;
&lt;td&gt;0m 25s&lt;/td&gt;
&lt;td&gt;1 min&lt;/td&gt;
&lt;td&gt;140%&lt;/td&gt;
&lt;td&gt;$0.006&lt;/td&gt;
&lt;td&gt;Merge with lint; it pays for a minute it uses 42% of&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;41m 17s&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;47 min&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;+14%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.282&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Billed minutes, not wall-clock, are the budget&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;At 600 pull requests a month, that pipeline bills 28,200 minutes and $169.20 against the Free plan's $12 allowance. One flaky end-to-end rerun adds 15 minutes, or 32 percent, for a single pull request, because retries are billed from the minute they start, including the five-minute failed attempt before the missing dependency was noticed.&lt;/p&gt;

&lt;h3&gt;
  
  
  The rounding tax by duration
&lt;/h3&gt;

&lt;p&gt;The shorter the job, the worse the rounding. A 10-second job bills a full minute, 500 percent more than it used. At 25 seconds the overhead is 140 percent, at 42 seconds 43 percent. Cross the one-minute mark and it can nearly double again: 65 seconds bills two minutes, 85 percent over. By 14 minutes rounding is a rounding error, 4.7 percent.&lt;/p&gt;

&lt;p&gt;The practical rule is not to make jobs longer for its own sake. It is to stop splitting a job that finishes in seconds into two, and to run companion checks inside the job that follows them. The bundle-size check above is 25 seconds billed as a minute; a 10-second schema diff is the same. Attach both to the next job and the minute is spent once.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much faster a bigger runner must be
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The speedup each size must deliver
&lt;/h3&gt;

&lt;p&gt;Because price rises with cores, a bigger runner saves money only if the job finishes faster by more than the price multiple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;4-core at $0.012: must finish more than &lt;strong&gt;2x&lt;/strong&gt; faster.&lt;/li&gt;
&lt;li&gt;8-core at $0.022: more than &lt;strong&gt;3.7x&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;16-core at $0.042: more than &lt;strong&gt;7x&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;32-core at $0.082: more than &lt;strong&gt;13.7x&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;64-core at $0.162: more than &lt;strong&gt;27x&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Almost no test suite scales like that. Setup, package install, fixture seeding and browser boot are single-threaded, so the curve flattens long before the core count stops rising.&lt;/p&gt;

&lt;p&gt;The end-to-end job in the sample makes it concrete. At 14 minutes 20 seconds on two cores it bills 15 minutes and $0.090. On the 4-core runner with perfect 2x scaling it lands at 7 minutes 10 seconds, rounds to 8, and costs $0.096: 7 percent more, because 7:10 falls ten seconds past the 7:00 that would have tied. Perfect scaling is the good case, and it only just fails to break even.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F73rvk7m15lbgoftq3mdt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F73rvk7m15lbgoftq3mdt.jpg" alt="Figure 1. The same 14m 20s end-to-end job across five runner sizes, under perfect linear scaling and under a more realistic 1.6x speedup per doubling of cores. Perfect scaling holds the bill roughly flat; real scaling raises it to 2.7 times the 2-core cost." width="799" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Where parallelism fails
&lt;/h3&gt;

&lt;p&gt;Under a realistic 1.6x speedup per doubling, the same job costs $0.108 on 4 cores, $0.132 on 8, $0.168 on 16 and $0.246 on 32. That is 2.7 times the 2-core price for work that finishes sooner. The gap between the two curves is the part of the marketing claim that does not survive contact with a real repository.&lt;/p&gt;

&lt;p&gt;None of this makes bigger runners wrong. It means you are buying latency, not money, and should say so in the change description. Halving a 14-minute gate for 7 percent more per run is often the best purchase a team makes, because the constraint is developer waiting time.&lt;/p&gt;

&lt;p&gt;The logic works in reverse for the 1-core runner. At a third of the price it can run up to three times slower and still win, and lint, format and schema checks rarely saturate two cores. The arm64 2-core runner is the milder version of that trade: 17 percent cheaper, provided the job runs on arm.&lt;/p&gt;

&lt;h2&gt;
  
  
  When self-hosting wins
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The engineering hour is the break-even
&lt;/h3&gt;

&lt;p&gt;A dedicated runner starts with a cheap server. Hetzner's CX33 gives four shared vCPUs and 8 GB for €8.99 a month plus €0.50 for the IPv4 address, around $10.6 at early-December rates; DigitalOcean's 4 vCPU and 8 GB droplet is $48, billed per second since 1 January 2026. Against $0.006 a minute, the Hetzner box pays for itself at 1,765 minutes a month, under an hour of CI a day. That is why the spreadsheet always says self-host is cheaper.&lt;/p&gt;

&lt;p&gt;Then add the person. One hour of platform engineering at $90 covers 15,000 hosted minutes; at $75 it covers 12,500. A single monthly hour moves the Hetzner break-over to 16,765 minutes, two hours to 31,765. The $48 droplet starts at 8,000 minutes on hardware alone, 23,000 with one hour and 38,000 with two.&lt;/p&gt;

&lt;p&gt;This is the number most self-hosting analyses leave out, and it decides the answer. A CI machine that needs an hour of patching and autoscaler debugging a month is not competing with $10.59 of hosted minutes. It is competing with 12,500 of them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Duty cycle, not volume
&lt;/h3&gt;

&lt;p&gt;A two-slot server running continuously offers 87,600 slot-minutes a month. At 10,000 minutes of work it is 11 percent utilized; at 50,000, 57 percent. Below half, the server sits mostly idle and the effective cost per used minute climbs toward its full price.&lt;/p&gt;

&lt;p&gt;Peak concurrency sizes the fleet, not the monthly total. A nightly suite that occupies eight runners for 90 minutes needs eight slots, and those slots idle for the other 22 and a half hours. Autoscaling with the Actions Runner Controller removes the idle capacity and replaces it with cold starts of 30 to 90 seconds on every burst, the CI version of the storage-versus-restart trade in the &lt;a href="https://www.vervebrief.com/2026/12/rent-gpu-by-second-vllm-runbook-with.html" rel="noopener noreferrer"&gt;GPU runbook&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table 3. Three paths at three volumes, monthly USD, including $180 of engineering time on the self-hosted rows&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;Path&lt;/th&gt;
&lt;th&gt;10,000 min&lt;/th&gt;
&lt;th&gt;50,000 min&lt;/th&gt;
&lt;th&gt;150,000 min&lt;/th&gt;
&lt;th&gt;What decides it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GitHub-hosted, 2-core (Free, $12 included)&lt;/td&gt;
&lt;td&gt;$48&lt;/td&gt;
&lt;td&gt;$288&lt;/td&gt;
&lt;td&gt;$888&lt;/td&gt;
&lt;td&gt;The floor while your minutes fit the model&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitHub-hosted, 4-core&lt;/td&gt;
&lt;td&gt;$120&lt;/td&gt;
&lt;td&gt;$600&lt;/td&gt;
&lt;td&gt;$1,800&lt;/td&gt;
&lt;td&gt;Latency, not savings. Needs 2x on every job&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blacksmith, 2 vCPU ($0.004, 3,000 free)&lt;/td&gt;
&lt;td&gt;$28&lt;/td&gt;
&lt;td&gt;$188&lt;/td&gt;
&lt;td&gt;$588&lt;/td&gt;
&lt;td&gt;Cheapest per minute; a vendor dependency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted, DigitalOcean 4 vCPU + 2 hours&lt;/td&gt;
&lt;td&gt;$228&lt;/td&gt;
&lt;td&gt;$228&lt;/td&gt;
&lt;td&gt;$276&lt;/td&gt;
&lt;td&gt;Fixed cost. Wins above about 38,000 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted, Hetzner CX33 + 2 hours&lt;/td&gt;
&lt;td&gt;$191&lt;/td&gt;
&lt;td&gt;$191&lt;/td&gt;
&lt;td&gt;$201&lt;/td&gt;
&lt;td&gt;Wins above about 32,000 min, if in stock&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  The fee that has not arrived
&lt;/h3&gt;

&lt;p&gt;The comparison would look different if GitHub's postponed charge had landed. Announced on 16 December 2025, it would have added $0.002 per minute to self-hosted usage in private repositories from 1 March 2026. GitHub postponed it the next day, said it had "missed the mark", and has published no new date. Its billing documentation, read today, still lists self-hosted runners as free usage that does not draw down the included compute.&lt;/p&gt;

&lt;p&gt;Two things follow. Self-hosted minutes are free at the platform layer right now, which is why the hardware comparison above works. And the fee is postponed, not cancelled: GitHub's stated reason was the real cost of running the Actions control plane, so something like it is likely to return. At 57 percent duty the server's marginal cost is about $0.001 a minute, and a $0.002 fee would triple that line. A three-minute job would go from roughly $0.004 to $0.011 all in. Still below $0.018, but no longer the margin you modelled.&lt;/p&gt;

&lt;h2&gt;
  
  
  Seven checks before you switch
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Measure billed minutes, not wall-clock.&lt;/strong&gt; Pull the usage report per workflow and sum the ceiling of each job's duration. The run list shows duration; the bill sees rounding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count jobs per pull request.&lt;/strong&gt; Every new job adds its own rounding, checkout and setup. A pipeline that grew from four jobs to twelve did not get 3x faster; it got more expensive at the edges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time the bigger runner on the same commit.&lt;/strong&gt; Compare against the price multiple, not the vendor's headline. If 4 cores beat 2 cores by 1.8x, the bill goes up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put your own hourly rate on maintenance.&lt;/strong&gt; At $90 an hour, one hour a month equals 15,000 hosted minutes. That is the bar a self-hosted fleet has to clear.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Size self-hosted capacity on peak concurrency, not monthly minutes.&lt;/strong&gt; Eight parallel jobs for 90 minutes a night is an eight-slot fleet, whatever the monthly total says.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add the lines that are not runners.&lt;/strong&gt; Cache above 10 GB at $0.07 per GB-month, artifacts at $0.25, reruns after flakes, and the queue wait at your plan's concurrency ceiling: 20 jobs on Free, 40 on Pro, 60 on Team, 500 on Enterprise, with macOS capped at five below Enterprise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write the exit condition.&lt;/strong&gt; Note the monthly minute count at which you would move back to hosted, and the date you will check it. Self-hosting decisions rarely get revisited otherwise.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What to do this quarter
&lt;/h2&gt;

&lt;p&gt;Three moves, in order of return. Move lint, format and schema jobs to the 1-core runner, or to arm64 where the images allow it; that is a third off the cheapest jobs without touching application code. Stop sharding suites whose shards finish in under five minutes, unless the wall-clock saving is worth the rounding. Then set a budget alert at 90 percent of included usage and read the usage line for a month, because you cannot optimise a number you have never looked at.&lt;/p&gt;

&lt;p&gt;Above roughly 40,000 minutes a month with steady daytime load, price one self-hosted server against it, with the engineer's hour in the fixed column and a stock check on the server. The Hetzner CX33 was listed as sold out in all three German and Finnish locations on 4 December 2026, which is its own kind of break-even problem.&lt;/p&gt;

&lt;p&gt;The same fixed-plus-marginal shape decides managed Redis and cache tiers, which I priced in &lt;a href="https://www.vervebrief.com/2026/12/managed-redis-cost-upstash-vs.html" rel="noopener noreferrer"&gt;the 13th post&lt;/a&gt;, and the per-unit rounding here is the arithmetic behind why a &lt;a href="https://www.vervebrief.com/2026/12/the-sampling-rate-decides-bill-agent.html" rel="noopener noreferrer"&gt;sampled evaluation bill&lt;/a&gt; jumps when you raise the sample rate. If the queue is your symptom rather than the cost, the drain model in the &lt;a href="https://www.vervebrief.com/2026/12/n8n-in-production-queue-mode-misfires.html" rel="noopener noreferrer"&gt;n8n production post&lt;/a&gt; applies almost unchanged.&lt;/p&gt;

&lt;p&gt;To run these numbers at your own volumes, the free &lt;a href="https://www.vervebrief.com/p/free-ai-cloud-cost-calculators-gpu.html" rel="noopener noreferrer"&gt;AI and cloud cost calculators&lt;/a&gt; include GPU and Redis tabs, and the &lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;playbook&lt;/a&gt; collects the rate cards and guardrails behind these posts in one PDF, with the &lt;a href="https://bgvortex6.gumroad.com/l/ai-infra-master-bundle" rel="noopener noreferrer"&gt;master bundle&lt;/a&gt; at $39 covering all four. The &lt;a href="https://signalsilicon.substack.com" rel="noopener noreferrer"&gt;newsletter&lt;/a&gt; carries the next cost breakdown by email, free.&lt;/p&gt;

&lt;h2&gt;
  
  
  Source notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub, Actions runner pricing (per-minute rates, whole-minute rounding, larger-runner table) — &lt;a href="https://docs.github.com/en/billing/reference/actions-runner-pricing" rel="noopener noreferrer"&gt;https://docs.github.com/en/billing/reference/actions-runner-pricing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub, GitHub Actions billing (included compute as dollars, storage rates, public-repository and self-hosted exemptions) — &lt;a href="https://docs.github.com/en/billing/concepts/product-billing/github-actions" rel="noopener noreferrer"&gt;https://docs.github.com/en/billing/concepts/product-billing/github-actions&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub, Actions limits (job concurrency by plan, execution limits, cache rate limits) — &lt;a href="https://docs.github.com/en/actions/reference/limits" rel="noopener noreferrer"&gt;https://docs.github.com/en/actions/reference/limits&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub, Dependency caching reference (10 GB default per repository, seven-day eviction, $0.07 per GB-month) — &lt;a href="https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching" rel="noopener noreferrer"&gt;https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub Changelog, Update to GitHub Actions pricing (16 December 2025: up-to-39% hosted cut on 1 January 2026; $0.002 self-hosted charge postponed) — &lt;a href="https://blog.github.com/changelog/2025-12-16-coming-soon-simpler-pricing-and-a-better-experience-for-github-actions/" rel="noopener noreferrer"&gt;https://blog.github.com/changelog/2025-12-16-coming-soon-simpler-pricing-and-a-better-experience-for-github-actions/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub, Roadmap item 1196 (before-and-after hosted rates: Linux 2-core $0.008 to $0.006, Windows $0.016 to $0.010) — &lt;a href="https://github.com/github/roadmap/issues/1196" rel="noopener noreferrer"&gt;https://github.com/github/roadmap/issues/1196&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;DigitalOcean, Droplet pricing (4 vCPU / 8 GB at $0.07143 an hour, $48 a month; per-second billing from 1 January 2026) — &lt;a href="https://www.digitalocean.com/pricing/droplets" rel="noopener noreferrer"&gt;https://www.digitalocean.com/pricing/droplets&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hetzner Cloud price list, CX33 (4 shared vCPU, 8 GB, €8.99 a month plus €0.50 IPv4; sold out in FSN1, HEL1 and NBG1 on 4 December 2026) — &lt;a href="https://compute.info/vm/hetzner-cloud/cx33/" rel="noopener noreferrer"&gt;https://compute.info/vm/hetzner-cloud/cx33/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Blacksmith, Pricing (Ubuntu x64 2 vCPU at $0.004 a minute, 3,000 free minutes a month; vendor's own 2x speed and 33% cost claims) — &lt;a href="https://www.blacksmith.sh/pricing" rel="noopener noreferrer"&gt;https://www.blacksmith.sh/pricing&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Prices checked: 2026-12-05. Engineering time is modelled at $90 an hour loaded, which is an assumption, not a published rate; the break-even figures scale linearly with it. DigitalOcean and Hetzner figures exclude tax. No provider paid for this post and it contains no affiliate links.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Cross-posted from &lt;a href="https://www.vervebrief.com/2026/12/the-rounding-tax-what-github-actions.html" rel="noopener noreferrer"&gt;Signal &amp;amp; Silicon&lt;/a&gt;, where the tables and source links are kept up to date. Free &lt;a href="https://www.vervebrief.com/p/free-ai-cloud-cost-calculators-gpu.html" rel="noopener noreferrer"&gt;AI and cloud cost calculators&lt;/a&gt;, the &lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;2026 cost playbook&lt;/a&gt;, the &lt;a href="https://bgvortex6.gumroad.com/l/ai-infra-master-bundle" rel="noopener noreferrer"&gt;$39 master bundle&lt;/a&gt;, and the &lt;a href="https://signalsilicon.substack.com" rel="noopener noreferrer"&gt;newsletter&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>devops</category>
      <category>cloud</category>
      <category>testing</category>
    </item>
    <item>
      <title>Managed Redis Cost: Upstash vs ElastiCache vs Self-Hosted in Late 2026</title>
      <dc:creator>Signal &amp; Silicon</dc:creator>
      <pubDate>Fri, 04 Dec 2026 13:37:01 +0000</pubDate>
      <link>https://dev.to/signalsilicon/managed-redis-cost-upstash-vs-elasticache-vs-self-hosted-in-late-2026-43oc</link>
      <guid>https://dev.to/signalsilicon/managed-redis-cost-upstash-vs-elasticache-vs-self-hosted-in-late-2026-43oc</guid>
      <description>&lt;p&gt;A cache is usually the cheapest line on a bill, which is exactly why nobody checks it. Then traffic grows, the invoice multiplies by forty, and the per-command price you compared in January turns out to have been the least important number on the page.&lt;/p&gt;

&lt;p&gt;Three providers meter the same Redis-compatible store three different ways. Upstash sells commands, ElastiCache Serverless sells gigabyte-hours stored plus processing units per request, and nodes, flat plans and a $12 droplet sell memory and time. Run one ordinary workload through all of them, a gigabyte of resident data at 231 commands a second, and the monthly totals land between $12 and $1,200. Prices checked: 2026-12-04, from each provider's own pricing page, US regions; every rate is a snapshot and the arithmetic is printed so you can redo it at today's numbers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At a glance&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Who this is for: teams running Redis or Valkey for sessions, rate limits, queues, or a semantic cache in front of an LLM.&lt;/li&gt;
&lt;li&gt;What it costs: 1 GB and 600 million commands a month is $1,200.25 on Upstash pay-as-you-go, $62.70 on ElastiCache Serverless, $15 to $18.69 on the flat managed plans, and $12 on a self-run droplet.&lt;/li&gt;
&lt;li&gt;When each wins: per-command pricing is right below about 10 million commands a month, flat plans from roughly 4 commands a second, and serverless when the resident set stays under about 300 MB or the traffic per gigabyte is high.&lt;/li&gt;
&lt;li&gt;The caveat that reorders the table: production guarantees are sold separately. Upstash's Prod Pack adds $200 a month per database, high availability doubles node counts, and Redis Cloud's plan size includes the replica, so 1 GB of usable data needs a 2 GB plan.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What each meter actually bills
&lt;/h2&gt;

&lt;p&gt;Four meters exist, and only one behaves like a utility bill. Commands scale with traffic, gigabytes with what you keep warm, node-hours with what you reserve whether you use it or not, and flat plans with a tier picked in advance.&lt;/p&gt;

&lt;h3&gt;
  
  
  Commands and gigabytes
&lt;/h3&gt;

&lt;p&gt;Upstash charges $0.20 per 100,000 commands, which is $2.00 per million, plus $0.25 per GB-month of storage, with egress free to 200 GB and $0.03 per GB after that. An idle database costs nothing, because the store scales to zero, and the free tier covers 250 MB and 500,000 commands.&lt;/p&gt;

&lt;p&gt;Two details change that rate. Reads and writes cost the same, and a global database counts every replicated write again, so one primary and one read region doubles the cost of each write. The budget cap matters more: set a ceiling and the database is rate limited there rather than billed past it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Gigabyte-hours and processing units
&lt;/h3&gt;

&lt;p&gt;ElastiCache Serverless for Valkey bills $0.084 per GB-hour stored and $0.0023 per million ElastiCache Processing Units. One GET or SET of up to a kilobyte is one ECPU, and larger values consume proportionally more; the minimum billed data is 100 MB, so the floor is $6.13 a month.&lt;/p&gt;

&lt;p&gt;Read those together and the shape of the product appears. A resident gigabyte costs $61.32 a month before the first command, while a million small commands cost about a fifth of a cent. Per gigabyte this is the most expensive memory here. Per command nothing is close: roughly 870 times cheaper than Upstash's rate.&lt;/p&gt;

&lt;h3&gt;
  
  
  Node-hours and flat plans
&lt;/h3&gt;

&lt;p&gt;Everything else sells memory by the hour or by the tier. In us-east-1 on Valkey, &lt;code&gt;cache.t4g.small&lt;/code&gt; at 1.37 GiB is $0.0256 an hour, $18.69 a month; &lt;code&gt;cache.t4g.medium&lt;/code&gt; at 3.09 GiB is $37.96; &lt;code&gt;cache.r7g.large&lt;/code&gt; at 13.07 GiB is $127.90. Redis Cloud Essentials runs $5 for 250 MB, $18 for 1 GB and $216 for 12 GB. DigitalOcean's managed Valkey is $15 for a 1 GiB node, flat in every region, and a 2 GiB Droplet that runs Redis itself is $12.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;What is metered&lt;/th&gt;
&lt;th&gt;Published unit price&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Upstash, pay as you go&lt;/td&gt;
&lt;td&gt;commands, GB stored, egress&lt;/td&gt;
&lt;td&gt;$2.00 per 1M commands; $0.25 per GB-month; free to 200 GB egress&lt;/td&gt;
&lt;td&gt;Buy it when the cache sleeps most of the month.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upstash, Fixed 1 GB&lt;/td&gt;
&lt;td&gt;a flat tier, no per-command billing&lt;/td&gt;
&lt;td&gt;$20 a month, 10,000 commands/s, 100 GB bandwidth&lt;/td&gt;
&lt;td&gt;Buy it once steady traffic passes 3.8 commands a second.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upstash Prod Pack&lt;/td&gt;
&lt;td&gt;an add-on per database&lt;/td&gt;
&lt;td&gt;$200 a month&lt;/td&gt;
&lt;td&gt;The number that turns $20 into $220 when someone asks about the SLA.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache Serverless, Valkey&lt;/td&gt;
&lt;td&gt;GB-hours stored plus ECPUs&lt;/td&gt;
&lt;td&gt;$0.084 per GB-hour; $0.0023 per 1M ECPU; 100 MB minimum&lt;/td&gt;
&lt;td&gt;Buy it for command-heavy, memory-light caches, or data that swings hour to hour.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache node, &lt;code&gt;cache.t4g.small&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;node-hours&lt;/td&gt;
&lt;td&gt;$0.0256 an hour, $18.69 a month&lt;/td&gt;
&lt;td&gt;Buy it when 1.3 GiB is genuinely enough.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Redis Cloud Essentials&lt;/td&gt;
&lt;td&gt;provisioned memory tier&lt;/td&gt;
&lt;td&gt;$5 for 250 MB, $18 for 1 GB, $216 for 12 GB&lt;/td&gt;
&lt;td&gt;Buy it for the lowest published flat price at small sizes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DigitalOcean managed Valkey&lt;/td&gt;
&lt;td&gt;node-months&lt;/td&gt;
&lt;td&gt;$15 for 1 GiB; $30 per 2 GiB HA primary plus a $30 standby&lt;/td&gt;
&lt;td&gt;Buy it when the bill must be identical in every region.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted on a Droplet&lt;/td&gt;
&lt;td&gt;server-hours plus attention&lt;/td&gt;
&lt;td&gt;$12 a month for 2 GiB&lt;/td&gt;
&lt;td&gt;Buy it when a failover at 3 a.m. is something you enjoy.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  One gigabyte, 600 million commands
&lt;/h2&gt;

&lt;p&gt;Take a cache holding a gigabyte of sessions and rate-limit counters, serving 600 million commands a month, which is 231 a second on average. The data fits on the smallest node anywhere; the traffic is the variable, and it produces a 100-fold spread between the cheapest and dearest way to serve it.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Commands&lt;/th&gt;
&lt;th&gt;Memory&lt;/th&gt;
&lt;th&gt;Month total&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Upstash, pay as you go&lt;/td&gt;
&lt;td&gt;$1,200.00&lt;/td&gt;
&lt;td&gt;$0.25&lt;/td&gt;
&lt;td&gt;$1,200.25&lt;/td&gt;
&lt;td&gt;Correct only while traffic stays under 10 million commands.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upstash, Fixed 1 GB&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$20.00&lt;/td&gt;
&lt;td&gt;60 times cheaper here, but 10,000 commands/s is a ceiling.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache Serverless, Valkey&lt;/td&gt;
&lt;td&gt;$1.38&lt;/td&gt;
&lt;td&gt;$61.32&lt;/td&gt;
&lt;td&gt;$62.70&lt;/td&gt;
&lt;td&gt;Storage sets the bill; 600 million commands are almost free.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache &lt;code&gt;cache.t4g.medium&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$37.96&lt;/td&gt;
&lt;td&gt;$37.96&lt;/td&gt;
&lt;td&gt;Cheapest managed option that is a real cluster with room to grow.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache &lt;code&gt;cache.r7g.large&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$127.90&lt;/td&gt;
&lt;td&gt;$127.90&lt;/td&gt;
&lt;td&gt;You are paying for 12 GiB you will not use at this size.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Redis Cloud Essentials 1 GB&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$18.00&lt;/td&gt;
&lt;td&gt;$18.00&lt;/td&gt;
&lt;td&gt;Lowest published 1 GB price, but 2,000 ops/s is the hard stop.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DigitalOcean managed Valkey 1 GiB&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$15.00&lt;/td&gt;
&lt;td&gt;$15.00&lt;/td&gt;
&lt;td&gt;Cheapest managed 1 GiB, single node, no replica behind it.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted, 2 GiB Droplet&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$12.00&lt;/td&gt;
&lt;td&gt;$12.00&lt;/td&gt;
&lt;td&gt;Add the cost of the person who patches it.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Why the per-command price loses
&lt;/h3&gt;

&lt;p&gt;The pay-as-you-go rate is not a mistake; it is insurance against emptiness. At 231 commands a second you pay for burst capacity you never touch, and the same provider's flat plan does identical work for $20 because it stops counting commands. What you trade is the ceiling: 10,000 a second is roughly 864 million a day, which this workload clears by a factor of forty, but a spike that trips it gets queued rather than served.&lt;/p&gt;

&lt;p&gt;The two flat plans under $20 deserve a second look. Redis Cloud's 1 GB tier lists at $18 and caps throughput at 2,000 operations a second, which is not a billing limit but a promise the platform holds you to. DigitalOcean's 1 GiB node is $15 and identical in every region it sells.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where the lines cross
&lt;/h3&gt;

&lt;p&gt;Plot the same gigabyte against command rate and the crossings are the decision. Pay-as-you-go meets Upstash's own $20 plan at 9.88 million commands a month, or 3.8 a second. It meets serverless storage at 30.5 million, or 11.8 a second. Below the first crossing per-command billing is cheapest; between the two a flat plan is; above the second serverless has undercut both.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEhC96N6YrxBqKacckZQODc9qVSvNradC6WQI9-Q5cb_ryKkBXC6FFJcevTzQcvJeY_V4xky3hwl-ZoXGlK0Okf50V0Jz4Wf7zYvLFicHiCTkNK40qrX1NcDLLtLHPGVc6qTYoncFzl7q29WswCWxk5GwVGdA94nfHbg5AMdlmD27TGkUYP9Nv2hUxQ4xn1%2Fs1600%2Fvervebrief-chart.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEhC96N6YrxBqKacckZQODc9qVSvNradC6WQI9-Q5cb_ryKkBXC6FFJcevTzQcvJeY_V4xky3hwl-ZoXGlK0Okf50V0Jz4Wf7zYvLFicHiCTkNK40qrX1NcDLLtLHPGVc6qTYoncFzl7q29WswCWxk5GwVGdA94nfHbg5AMdlmD27TGkUYP9Nv2hUxQ4xn1%2Fs1600%2Fvervebrief-chart.jpg" alt="Figure 1. Monthly cost of a 1 GB cache as steady command rate rises, on a log scale. The pay-as-you-go line crosses the $20 flat plan at 3.8 commands a second and serverless storage at 11.8; the node and managed plans stay level." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The flat lines do not move, because memory reserved is memory billed. The &lt;a href="https://www.vervebrief.com/2026/12/the-index-is-bill-managed-postgres-and.html" rel="noopener noreferrer"&gt;managed Postgres piece&lt;/a&gt; reached the same conclusion from the database side: the line item you can predict is rarely the one that decides.&lt;/p&gt;

&lt;h2&gt;
  
  
  The crossover is commands per gigabyte
&lt;/h2&gt;

&lt;p&gt;Dividing traffic by data gives a ratio that survives resizing, and it turns a spreadsheet into a sentence. Upstash pay-as-you-go is $0.25 per GB-month plus $2.00 per million commands. Serverless is $61.32 per GB-month plus $0.0023 per million commands at a kilobyte each. Set them equal and the storage premium of $61.07 is repaid by 30.5 million commands per gigabyte.&lt;/p&gt;

&lt;p&gt;So the question is never how much traffic you have, but how many commands per gigabyte. A 1 GB session store doing 600 million commands sits at 600 per GB and belongs on serverless. An 8 GB answer cache doing 6 million lookups sits at 0.75 and belongs on pay-as-you-go, where those eight gigabytes cost $2.00 a month in storage instead of $490.56.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where serverless actually wins
&lt;/h3&gt;

&lt;p&gt;Three shapes, in order of frequency. The first is a small average resident set: serverless beats the smallest node, &lt;code&gt;cache.t4g.small&lt;/code&gt; at $18.69, only below 305 MB of average hourly data, and &lt;code&gt;cache.r7g.large&lt;/code&gt; only below 2.09 GB. That means an almost-empty cache or a very spiky one.&lt;/p&gt;

&lt;p&gt;The second is a peak far above the daily average, which is the case AWS builds its own example around: 10 GB at rest most of the day, 100 GB for two hours. Billing averages data per hour, so the quiet 22 hours pay for the loud two, a discount no node offers. The third is command volume with small values, where the ECPU line stays a rounding error: 200 million one-kilobyte gets on a gigabyte adds $0.46 to a $61.32 storage bill.&lt;/p&gt;

&lt;p&gt;Value size matters less than it sounds. A 4 KB command consumes four ECPUs, which quadruples a command half of a bill that storage already dominates, so the 30.5 million figure moves by about half a percent.&lt;/p&gt;

&lt;h3&gt;
  
  
  Eight gigabytes of answers is a different problem
&lt;/h3&gt;

&lt;p&gt;Semantic caches hold whole answers, and answers are large. Two million 4 KB responses occupy 8 GB and might serve six million lookups a month. Run that through the same options and the ranking inverts.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Lookups&lt;/th&gt;
&lt;th&gt;Memory&lt;/th&gt;
&lt;th&gt;Month total&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Upstash, pay as you go&lt;/td&gt;
&lt;td&gt;$12.00&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$14.00&lt;/td&gt;
&lt;td&gt;Cheapest by 35 times at this density; 6 million commands is nothing.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted, 16 GiB memory-optimized Droplet&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$84.00&lt;/td&gt;
&lt;td&gt;$84.00&lt;/td&gt;
&lt;td&gt;Holds 16 GiB for less than the managed 8 GB tiers.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upstash, Fixed 10 GB&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$200.00&lt;/td&gt;
&lt;td&gt;$200.00&lt;/td&gt;
&lt;td&gt;The smallest flat tier that fits 8 GB, whether you use it or not.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Redis Cloud Essentials 12 GB&lt;/td&gt;
&lt;td&gt;included&lt;/td&gt;
&lt;td&gt;$216.00&lt;/td&gt;
&lt;td&gt;$216.00&lt;/td&gt;
&lt;td&gt;Same trap one tier up: you buy the bucket.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache Serverless, Valkey&lt;/td&gt;
&lt;td&gt;$0.06&lt;/td&gt;
&lt;td&gt;$490.56&lt;/td&gt;
&lt;td&gt;$490.62&lt;/td&gt;
&lt;td&gt;The storage meter runs at $61.32 per GB-month, so 8 GB is the whole bill.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The lesson is uncomfortable for anyone who picked a provider by its per-command rate. At low command density memory is the product; at high density the opposite holds, and the ratio tells you which side you are on before you open a pricing page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Production doubles everything
&lt;/h2&gt;

&lt;p&gt;Everything above is a single node without a replica, which is fine for a cache and unacceptable for a system that pages you. High availability is where the honest comparison starts, and it reorders the table again.&lt;/p&gt;

&lt;p&gt;ElastiCache Serverless has no node count to double, so $62.70 stands. A &lt;code&gt;cache.t4g.medium&lt;/code&gt; pair is $75.92 and an &lt;code&gt;r7g.large&lt;/code&gt; pair $255.79. DigitalOcean's high availability cluster starts with a $30 primary and a matching $30 standby for $60. Redis Cloud's plan size includes replication, so 1 GB of usable data means a 2 GB plan, and the 1 GB Essentials tier ships without a replica at all. Upstash adds $200 a month per database for the Prod Pack, which brings multi-zone high availability, an uptime SLA, encryption at rest and SOC 2 access.&lt;/p&gt;

&lt;p&gt;The $20 plan and the $220 plan are the same data in the same service; the difference is a promise about zone failure, not speed. A cache that loses every session key on a restart is not cheap, it is a queue of angry users with a small invoice. Rehearsing that failover also costs engineering time, and a cold cache turns the first minute of traffic into a read storm against your primary.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cache in front of the model
&lt;/h2&gt;

&lt;p&gt;Now the reason Redis appears in AI budgets. A semantic cache sits between application and model, returns a stored answer when a new question is close enough to an old one, and pays for itself at a hit rate smaller than most teams expect.&lt;/p&gt;

&lt;p&gt;Take two million chat requests a month at 1,800 input and 350 output tokens, served by &lt;code&gt;gpt-6-sol&lt;/code&gt; at $2 and $10 per million. That is $14,200 of model spend. The cache serving it needs about a gigabyte for the answers worth keeping and six million lookups for hits, rechecks and inserts. On ElastiCache Serverless that cache costs $61.38, so it breaks even at a 0.43% hit rate, one request in 232. On Upstash's $20 plan, one in 710.&lt;/p&gt;

&lt;p&gt;The model matters more than the cache. Run the same traffic on &lt;code&gt;gpt-6-luna&lt;/code&gt; at $0.10 and $0.50 and monthly spend falls to $710. Now the $61.38 cache needs an 8.6% hit rate to justify itself, and the $20 plan needs 2.8%. Cheap models make caching a strategy question instead of an obvious yes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Work out your own break-even hit rate
&lt;/h3&gt;

&lt;p&gt;The formula is short enough to keep: required hit rate equals monthly cache cost divided by monthly model spend. The saving per hit is the whole request you did not send, so the answer moves with token counts and model choice, and it drops if your prompts already hit the provider's prompt cache, where cached input is billed at 10% of the normal input rate. On the same two million requests a fully cached prefix cuts &lt;code&gt;gpt-6-sol&lt;/code&gt; spend to $7,720, lifting the serverless break-even to 0.79%.&lt;/p&gt;

&lt;p&gt;Two costs are easy to forget and both are small next to the model bill. Embedding each query for the similarity lookup costs $1.20 a month at 30 tokens per query. A wrong hit, by contrast, costs a retry plus whatever the bad answer did to someone's trust, which is why the hit rate is the wrong goal on its own.&lt;/p&gt;

&lt;p&gt;The other end of the AI stack meters memory too. ElastiCache's distributed KV caching, on Valkey 9.1 with &lt;code&gt;cache.i8ge.48xlarge&lt;/code&gt; nodes, lets any GPU server reuse KV state another one computed, which AWS describes as cutting cost by up to 40% and time to first token by up to 80%, at no charge beyond the node-hours. If you run your own inference, that is &lt;a href="https://www.vervebrief.com/2026/12/rent-gpu-by-second-vllm-runbook-with.html" rel="noopener noreferrer"&gt;the GPU runbook&lt;/a&gt; moved one layer down.&lt;/p&gt;

&lt;p&gt;Before you pick a plan, measure the three numbers everything above depends on. Redis reports them itself, and the hit rate is usually lower than the dashboard implied.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;redis-cli INFO stats | grep -E 'keyspace_hits|keyspace_misses|total_commands_processed'
redis-cli INFO memory | grep -E 'used_memory_human|maxmemory_human|maxmemory_policy'
redis-cli --bigkeys
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Divide hits by hits plus misses for the real hit rate, and &lt;code&gt;used_memory&lt;/code&gt; by the key count for the average entry size. Those two figures, multiplied by traffic, are the workload in every table here.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decide in ten minutes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Write down three numbers: average resident gigabytes, commands per month, peak commands per second.&lt;/li&gt;
&lt;li&gt;Divide commands by gigabytes. Under 30 million per GB points at pay-as-you-go or a flat tier; above it points at serverless.&lt;/li&gt;
&lt;li&gt;If the cache is empty most of the day, start on pay-as-you-go and let an idle month cost zero.&lt;/li&gt;
&lt;li&gt;Past 9.9 million commands a month, move to the flat plan and check its throughput ceiling first.&lt;/li&gt;
&lt;li&gt;Add the high availability column before comparing: a second node, a standby, the Prod Pack, or a doubled plan size.&lt;/li&gt;
&lt;li&gt;Price your own hour. If a 3 a.m. failover costs more than the ~$200 gap between self-hosting and managed, stop self-hosting.&lt;/li&gt;
&lt;li&gt;For a semantic cache, compare the measured hit rate against the break-even for the model you actually use.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The rate cards and formulas here get rebuilt every time a project changes shape. The &lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;playbook&lt;/a&gt; keeps them in one place with the assumptions attached, the &lt;a href="https://bgvortex6.gumroad.com/l/llm-infra-guardrails-kit" rel="noopener noreferrer"&gt;infra guardrails kit&lt;/a&gt; includes the spend-cap and sizing scripts, and the &lt;a href="https://signalsilicon.substack.com" rel="noopener noreferrer"&gt;newsletter&lt;/a&gt; carries the short version when a rate card changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.vervebrief.com/2026/12/the-index-is-bill-managed-postgres-and.html" rel="noopener noreferrer"&gt;The Index Is the Bill: Managed Postgres and pgvector Costs in Late 2026&lt;/a&gt;, the same break-even logic applied to database memory.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.vervebrief.com/2026/12/the-sampling-rate-decides-bill-agent.html" rel="noopener noreferrer"&gt;The Sampling Rate Decides the Bill: Agent Tracing and Evaluation Costs&lt;/a&gt;, where the hidden meter is the judge model rather than the store.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.vervebrief.com/2026/12/rent-gpu-by-second-vllm-runbook-with.html" rel="noopener noreferrer"&gt;Rent a GPU by the Second: A vLLM Runbook With a Hard Spend Ceiling&lt;/a&gt;, for the inference side of the same memory question.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Source notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Upstash Redis pricing, read 2026-12-04: &lt;a href="https://upstash.com/pricing/redis" rel="noopener noreferrer"&gt;https://upstash.com/pricing/redis&lt;/a&gt; (pay-as-you-go $0.20 per 100K commands, $0.25 per GB-month, 200 GB free egress then $0.03 per GB, Fixed plans $10 to $1,500, Prod Pack $200 per database per month, 10,000 commands/s on Fixed tiers).&lt;/li&gt;
&lt;li&gt;Upstash scale-to-zero documentation, read 2026-12-04: &lt;a href="https://upstash.com/docs/common/concepts/scale-to-zero" rel="noopener noreferrer"&gt;https://upstash.com/docs/common/concepts/scale-to-zero&lt;/a&gt; (idle databases cost nothing on pay-as-you-go; fixed plans bill a flat price with unlimited commands).&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Amazon ElastiCache pricing, read 2026-12-04: &lt;a href="https://aws.amazon.com/elasticache/pricing/" rel="noopener noreferrer"&gt;https://aws.amazon.com/elasticache/pricing/&lt;/a&gt; (Serverless for Valkey $0.084 per GB-hour and $0.0023 per million ECPU, 100 MB minimum data storage, 1 ECPU per KB transferred, distributed KV caching on Valkey 9.1 &lt;code&gt;cache.i8ge.48xlarge&lt;/code&gt; claiming up to 40% lower cost and 80% lower TTFT, no cross-AZ transfer charge inside a zone).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ElastiCache node rates used here, us-east-1 on-demand Valkey: &lt;code&gt;cache.t4g.small&lt;/code&gt; $0.0256, &lt;code&gt;cache.t4g.medium&lt;/code&gt; $0.052, &lt;code&gt;cache.r7g.large&lt;/code&gt; $0.1752, &lt;code&gt;cache.r7g.xlarge&lt;/code&gt; $0.3496 per hour, cross-checked on 2026-12-04 against &lt;a href="https://cloudconsole.dev/aws-pricing/elasticache-pricing" rel="noopener noreferrer"&gt;https://cloudconsole.dev/aws-pricing/elasticache-pricing&lt;/a&gt; and &lt;a href="https://acemq.com/blogs/aws-elasticache-pricing/" rel="noopener noreferrer"&gt;https://acemq.com/blogs/aws-elasticache-pricing/&lt;/a&gt;, both of which read the AWS Price List file published 2026-11-13.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Redis Cloud pricing, read 2026-12-04: &lt;a href="https://redis.io/pricing/" rel="noopener noreferrer"&gt;https://redis.io/pricing/&lt;/a&gt; and Essentials plan details &lt;a href="https://redis.io/docs/latest/operate/rc/subscriptions/view-essentials-subscription/essentials-plan-details/" rel="noopener noreferrer"&gt;https://redis.io/docs/latest/operate/rc/subscriptions/view-essentials-subscription/essentials-plan-details/&lt;/a&gt; (250 MB $5, 1 GB $18, 12 GB $216 in the current calculator; 1 GB tier 2,000 ops/s and 200 GB bandwidth at 1 KiB requests; plan size includes replication).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DigitalOcean managed Valkey pricing, verified 11 May 2026: &lt;a href="https://docs.digitalocean.com/products/databases/valkey/details/pricing/" rel="noopener noreferrer"&gt;https://docs.digitalocean.com/products/databases/valkey/details/pricing/&lt;/a&gt; ($15 for a 1 GiB single node, high availability from a $30 2 GiB primary plus a $30 standby, single node clusters not highly available).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DigitalOcean Droplet pricing, read 2026-12-04: &lt;a href="https://www.digitalocean.com/pricing/droplets" rel="noopener noreferrer"&gt;https://www.digitalocean.com/pricing/droplets&lt;/a&gt; (2 GiB / 1 vCPU $12, 16 GiB memory-optimized $84 per month).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;OpenAI API pricing and model pages, read 2026-12-04: &lt;a href="https://developers.openai.com/api/docs/pricing" rel="noopener noreferrer"&gt;https://developers.openai.com/api/docs/pricing&lt;/a&gt;, &lt;code&gt;gpt-6-sol&lt;/code&gt; $2 input and $10 output with cached input at $0.20, &lt;code&gt;gpt-6-luna&lt;/code&gt; $0.10 and $0.50, &lt;code&gt;text-embedding-3-small&lt;/code&gt; $0.02 per million tokens, cached input billed at 10% of the uncached rate and batch at 50%.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Cross-posted from &lt;a href="https://www.vervebrief.com/2026/12/managed-redis-cost-upstash-vs.html" rel="noopener noreferrer"&gt;Managed Redis Cost: Upstash vs ElastiCache vs Self-Hosted in Late 2026&lt;/a&gt;.&lt;/strong&gt; Signal &amp;amp; Silicon publishes one numbers-first cost breakdown a week: the arithmetic behind GPU rental, managed databases and agent infrastructure, priced at your own volume.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;The 2026 AI Workflow &amp;amp; GPU Cost Playbook&lt;/a&gt; - the run-cost and break-even models from this site with an editable TCO calculator, $15.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://bgvortex6.gumroad.com/l/llm-infra-guardrails-kit" rel="noopener noreferrer"&gt;Production LLM Infra Guardrails Kit&lt;/a&gt; - a hard spend cap for vLLM, a pgvector index sizer and an evaluation sampling budget, 15 pages and three runnable scripts, $19.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://signalsilicon.substack.com" rel="noopener noreferrer"&gt;The newsletter&lt;/a&gt; - one email a week with the new breakdown and the numbers behind it.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>redis</category>
      <category>aws</category>
      <category>cloud</category>
      <category>database</category>
    </item>
    <item>
      <title>Rent a GPU by the Second: A vLLM Runbook With a Hard Spend Ceiling (2026)</title>
      <dc:creator>Signal &amp; Silicon</dc:creator>
      <pubDate>Fri, 04 Dec 2026 09:22:46 +0000</pubDate>
      <link>https://dev.to/signalsilicon/rent-a-gpu-by-the-second-a-vllm-runbook-with-a-hard-spend-ceiling-2026-1hca</link>
      <guid>https://dev.to/signalsilicon/rent-a-gpu-by-the-second-a-vllm-runbook-with-a-hard-spend-ceiling-2026-1hca</guid>
      <description>&lt;p&gt;Inference on rented GPUs has a billing shape most tutorials leave out, and it is not the per-second meter. What empties an account is the instance that keeps existing while nobody serves anything: stopped overnight, paused after an outbid, cached and forgotten for a month.&lt;/p&gt;

&lt;p&gt;This runbook stands up a private, OpenAI-compatible endpoint on Vast.ai with vLLM 0.34, points an ordinary OpenAI client at it, and then puts a ceiling on the bill from outside the box. Request limits go inside, a watchdog with a dollar figure goes somewhere else, and one rule decides whether "off" means stop or destroy. Prices checked: 2026-12-04 from the marketplace's own search API; every rate is a snapshot that can move within hours, and the arithmetic is printed so you can redo it at today's rate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At a glance&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Who this is for: engineers who need a model behind a stable API without a $1,200-a-month reservation, and who can live with a cold start measured in minutes.&lt;/li&gt;
&lt;li&gt;What it costs: one 80 GB card ran $0.20 to $4.67 an hour in the 2026-12-04 sample. A 65 GB model that bursts twice a day came to about $81 a month; the same model left running came to $1,287.&lt;/li&gt;
&lt;li&gt;When it pays: spiky or internal traffic, and any case where per-token API pricing cannot be capped per customer.&lt;/li&gt;
&lt;li&gt;The caveat that decides everything: storage bills while an instance is stopped. On a host that charges $0.664 per GB-month, doing nothing with a 100 GB disk costs $66 a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What you are actually renting
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://vast.ai/?ref_id=887688" rel="noopener noreferrer"&gt;Vast.ai&lt;/a&gt; is a marketplace, not a cloud. Hosts set their own rates on three products: on-demand with fixed pricing and guaranteed resources, reserved with prepayment and up to a 50% discount, and interruptible with a bidding system the documentation describes as often 50% or more cheaper, at the cost of being paused when someone outbids you or an on-demand customer wants the machine. You cannot convert an interruptible instance to on-demand later; you rent a new one. A paused instance keeps its data and stops working, which is worth remembering when you read your bill next month.&lt;/p&gt;

&lt;p&gt;That structure is why the offer card shows six numbers where other providers show one. Four of them decide your month.&lt;/p&gt;

&lt;h3&gt;
  
  
  Four numbers on every offer card
&lt;/h3&gt;

&lt;p&gt;The hourly rate is the one everyone sorts by, and it is the least interesting of the four. The other three decide what happens between working sessions, which for most private endpoints is most of the time.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Number on the card&lt;/th&gt;
&lt;th&gt;What it bills&lt;/th&gt;
&lt;th&gt;What the 2026-12-04 sample showed&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;dph_total&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;every second the instance is active&lt;/td&gt;
&lt;td&gt;$0.202 to $4.667 an hour for one 80 GB card; H100 SXM on-demand median $3.668, interruptible median $1.829&lt;/td&gt;
&lt;td&gt;Multiply by the hours you will actually run. Never by 730 by default.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;disk_bw&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;nothing directly, but it sets every reload&lt;/td&gt;
&lt;td&gt;179 to 10,342 MB/s across the same card class&lt;/td&gt;
&lt;td&gt;Below about 1,000 MB/s, a 65 GB reload stops being a restart and becomes a coffee break.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;storage_cost&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;every second the instance exists, stopped included&lt;/td&gt;
&lt;td&gt;$0.040 to $0.867 per GB-month&lt;/td&gt;
&lt;td&gt;At 100 GB that is $4 to $87 a month for an instance that serves nothing.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;inet_down_cost&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;every byte pulled to the box, weights included&lt;/td&gt;
&lt;td&gt;$2.6 to $15.4 per TB, and never free in this sample&lt;/td&gt;
&lt;td&gt;A full 65 GB re-download costs $0.17 to $1.00, which is the price of a destroy.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  The two halves of the meter
&lt;/h3&gt;

&lt;p&gt;Compute is the easy half: Vast bills it per second for the time an instance is active, so a 40-minute burst is charged as 40 minutes. The second half is what surprises people: storage is charged for every second an instance exists and is online, in every state except offline. Stopping an instance does not stop that charge. Destroying it does, and takes the model cache with it.&lt;/p&gt;

&lt;p&gt;Bandwidth is the third, smaller line: inbound ran $2.6 to $15.4 per TB depending on the host, which makes a fresh 65 GB download a $0.17 to $1.00 event. That number is the exact price of the decision this piece is really about.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the 2026-12-04 sample looked like
&lt;/h3&gt;

&lt;p&gt;Filter for the shape of card you need, then read the four numbers together instead of sorting on rate. The public search endpoint returned 64 verified offers with at least 75 GB of VRAM in one pull, and 57 reported CUDA 13.0 or newer, the requirement for the current vLLM image. Every row below is a real offer from that pull. The reference model is a 65 GB mixture-of-experts checkpoint such as &lt;code&gt;openai/gpt-oss-120b&lt;/code&gt;, which fits on one 80 GB card.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Offer, one 80 GB card&lt;/th&gt;
&lt;th&gt;$/hour&lt;/th&gt;
&lt;th&gt;Disk read&lt;/th&gt;
&lt;th&gt;Storage $/GB-mo&lt;/th&gt;
&lt;th&gt;Cold start, 65 GB&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A100 SXM4, on-demand, US&lt;/td&gt;
&lt;td&gt;$0.423&lt;/td&gt;
&lt;td&gt;650 MB/s&lt;/td&gt;
&lt;td&gt;$0.867&lt;/td&gt;
&lt;td&gt;3 min 20 s&lt;/td&gt;
&lt;td&gt;Cheapest hour on the list and the worst place to keep anything.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A100 SXM4, on-demand, New York&lt;/td&gt;
&lt;td&gt;$0.430&lt;/td&gt;
&lt;td&gt;4,855 MB/s&lt;/td&gt;
&lt;td&gt;$0.267&lt;/td&gt;
&lt;td&gt;1 min 53 s&lt;/td&gt;
&lt;td&gt;Best all-round buy for a single 65 GB model.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A100 SXM4, interruptible, Iowa&lt;/td&gt;
&lt;td&gt;$0.202&lt;/td&gt;
&lt;td&gt;179 MB/s&lt;/td&gt;
&lt;td&gt;$0.200&lt;/td&gt;
&lt;td&gt;7 min 44 s&lt;/td&gt;
&lt;td&gt;Fine for overnight batch, painful for anything a person waits on.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;H100 SXM, interruptible, Czechia&lt;/td&gt;
&lt;td&gt;$0.661&lt;/td&gt;
&lt;td&gt;10,342 MB/s&lt;/td&gt;
&lt;td&gt;$0.664&lt;/td&gt;
&lt;td&gt;1 min 46 s&lt;/td&gt;
&lt;td&gt;Fastest reload here, most expensive shelf on the list.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;H100 SXM, on-demand, US&lt;/td&gt;
&lt;td&gt;$4.667&lt;/td&gt;
&lt;td&gt;3,806 MB/s&lt;/td&gt;
&lt;td&gt;$0.040&lt;/td&gt;
&lt;td&gt;1 min 57 s&lt;/td&gt;
&lt;td&gt;The one to keep warm if traffic is continuous.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Cold start in that column is weights read plus engine init, and the init half is not a guess. A published Vast.ai deployment of a 30B FP8 model showed 146 seconds from container start to a serving endpoint with the weights already on disk, and 198 seconds on a first run that still had to download them.&lt;/p&gt;

&lt;h3&gt;
  
  
  The cheapest hour is not the cheapest month
&lt;/h3&gt;

&lt;p&gt;Take the two extremes. The $0.423 host charges $0.867 per GB-month for storage, so a 100 GB disk costs $86.70 whether the GPU runs or not; the $4.667 host charges $0.040, so the same disk costs $4.00. If the cheap host sits stopped for a month, its shelf bill alone is worth 50 idle GPU-hours at $1.736 an hour. The expensive host has to run 55 hours a month before its hourly rate costs more than the cheap host's storage.&lt;/p&gt;

&lt;p&gt;For a bursty workload the answer is not "pick the expensive host". It is to destroy the instance between sessions and pay the re-download, so the only question is how often that is worth it. A month of storage divided by $0.17 per re-download gives the break-even: 118 relaunches at the median $0.200 rate, about four a day; 391 at $0.664, thirteen a day. Below that frequency, destroying is cheaper than keeping the disk.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa3dru48a0n7kssi8br7r.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa3dru48a0n7kssi8br7r.jpg" alt="Figure 1. Monthly cost of the two policies as the relaunch frequency rises, on the reference H100 SXM interruptible offer. Below the crossing at 3.7 a day, destroying and re-downloading costs less than keeping a stopped disk alive." width="800" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want the per-token comparison against API pricing before you commit, &lt;a href="https://www.vervebrief.com/2026/12/gpu-cloud-rental-and-inference-break_4.html" rel="noopener noreferrer"&gt;the GPU rental break-even piece&lt;/a&gt; does that math on the same cards.&lt;/p&gt;

&lt;h2&gt;
  
  
  Launch the instance
&lt;/h2&gt;

&lt;p&gt;Vast's CLI and REST API are the fast path, and the API key is worth scoping before you write an automation. A default key has full account access, including billing; one limited to instance management covers everything here, and it is what the watchdog should hold.&lt;/p&gt;

&lt;h3&gt;
  
  
  Install the CLI, scope the key, and rent
&lt;/h3&gt;

&lt;p&gt;The query language is field-operator-value, and the useful filters are boring ones: enough disk, a fast enough disk, a modern driver, and a reliability score above 0.99. Three offers in the sample reported CUDA 12.0, so the driver filter is not decorative.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install vastai
vastai set api-key "$VAST_API_KEY"     # stored at ~/.config/vastai/vast_api_key
vastai show user                        # confirms the key and the balance
vastai create api-key --name ci-watchdog \
  --permissions '{"manage_instances": true, "manage_billing": false}'

vastai search offers 'gpu_name=H100_SXM num_gpus=1 gpu_ram&amp;gt;=75 \
  disk_space&amp;gt;120 reliability&amp;gt;0.99 cuda_vers&amp;gt;=13.0 rentable=True' \
  -o 'dph_total-' --type bid --storage 100

vastai create instance OFFER_ID \
  --image vllm/vllm-openai:v0.34.0 \
  --disk 100 \
  --bid_price 1.85 \
  --onstart-cmd 'echo ready'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Two details cost people real money. &lt;code&gt;--disk 100&lt;/code&gt; is what the storage line bills every second, so size it to the model plus page cache. And &lt;code&gt;--bid_price&lt;/code&gt; is a standing bid, not a price guarantee: if the market moves past it the instance pauses instead of ending, and the storage meter keeps running. This is where the &lt;a href="https://www.vervebrief.com/2026/11/self-host-llm-or-pay-per-token-2026-gpu.html?ref_id=887688" rel="noopener noreferrer"&gt;cheapest way to rent a GPU for inference&lt;/a&gt; turns into a monthly number rather than an hourly one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Publish the port without publishing the model
&lt;/h3&gt;

&lt;p&gt;The container reaches the internet on a mapped host port, and the instances endpoint reports it: &lt;code&gt;curl -H "Authorization: Bearer $VAST_API_KEY" https://console.vast.ai/api/v1/instances/&lt;/code&gt; returns &lt;code&gt;public_ipaddr&lt;/code&gt; and &lt;code&gt;ports&lt;/code&gt; for each instance, and the entry for container port 8000 is your base URL. Resist the urge to hand that address out.&lt;/p&gt;

&lt;p&gt;Bind vLLM to &lt;code&gt;127.0.0.1&lt;/code&gt; inside the container and reach it through an SSH tunnel, or terminate TLS in a proxy that also adds rate limits you control. A mapped port on a marketplace host is plain HTTP, and the next section explains why the API key is not the lock most people assume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Serve the model
&lt;/h2&gt;

&lt;p&gt;The current image is &lt;code&gt;vllm/vllm-openai:v0.34.0&lt;/code&gt;, built on CUDA 13.0, which needs an R580 or newer host driver. That is not a footnote on a marketplace: three of the 64 offers in the sample reported CUDA 12.0, and 57 reported 13.0 or newer. On an older driver, vLLM's compatibility libraries cover R535 and R570 on datacenter cards via &lt;code&gt;VLLM_ENABLE_CUDA_COMPATIBILITY=1&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The serve command that fits an 80 GB card
&lt;/h3&gt;

&lt;p&gt;Version 0.34 changed the memory defaults: the extensible KV cache is on by default and sizes itself from the memory free after warmup, so leave &lt;code&gt;--gpu-memory-utilization&lt;/code&gt; out unless another process shares the card. On one 80 GB GPU with a 65 GB checkpoint that leaves roughly 8 GB for cache, activations and graphs: enough for a handful of long conversations, not dozens.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vllm serve openai/gpt-oss-120b \
  --served-model-name gpt-oss-120b \
  --download-dir /workspace/models \
  --host 127.0.0.1 --port 8000 \
  --api-key "$VLLM_API_KEY" \
  --max-model-len 32768 \
  --max-num-seqs 16 \
  --max-num-batched-tokens 2048 \
  --enable-prefix-caching
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;code&gt;--max-model-len&lt;/code&gt; is the first real ceiling in this design. Left unset, vLLM takes the model's advertised maximum, which for a 128K-context model means the cache must hold 128K tokens for one sequence before it will start. The suffix parser is worth memorizing: &lt;code&gt;16k&lt;/code&gt; is 16,000 tokens and &lt;code&gt;16K&lt;/code&gt; is 16,384. &lt;code&gt;--download-dir&lt;/code&gt; points the cache at the big disk, which is what lets a stop-and-restart skip the download.&lt;/p&gt;

&lt;h3&gt;
  
  
  Check it the way your client will
&lt;/h3&gt;

&lt;p&gt;Two checks are enough before wiring an application to it: one confirms the served name, the other a real generation, and both expose the metrics you will want later.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -s http://127.0.0.1:8000/v1/models -H "Authorization: Bearer $VLLM_API_KEY"
curl -s http://127.0.0.1:8000/v1/chat/completions \
  -H "Authorization: Bearer $VLLM_API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"gpt-oss-120b","max_tokens":64,"messages":[{"role":"user","content":"one line: what is a KV cache?"}]}'
curl -s http://127.0.0.1:8000/metrics | grep -E 'num_requests_(running|waiting)|kv_cache_usage_perc'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;From Python it is the ordinary client with the base URL swapped, which is the point of the exercise: &lt;code&gt;OpenAI(base_url="http://127.0.0.1:8000/v1", api_key=...)&lt;/code&gt;, and the rest of your code stays as it is.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the API key does not protect
&lt;/h3&gt;

&lt;p&gt;vLLM's own documentation is blunt about this. &lt;code&gt;--api-key&lt;/code&gt; authenticates endpoints under &lt;code&gt;/v1&lt;/code&gt;, &lt;code&gt;/v2&lt;/code&gt;, &lt;code&gt;/inference&lt;/code&gt; and &lt;code&gt;/cohere&lt;/code&gt;, and other endpoints on the same process stay open, including &lt;code&gt;/invocations&lt;/code&gt;, which exposes the same inference capability as &lt;code&gt;/v1&lt;/code&gt;. It also does nothing about transport encryption. On a rented host the key is a speed bump, not a wall.&lt;/p&gt;

&lt;p&gt;Treat &lt;code&gt;127.0.0.1&lt;/code&gt; plus a tunnel or reverse proxy as the boundary, and the API key as the second layer. That architecture solves a second problem: the proxy is where per-customer rate limits belong, which is how you cap what one client can cost you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put a ceiling on the bill
&lt;/h2&gt;

&lt;p&gt;Three layers, in order of what they cost to build: configuration, thirty lines of Python, and a decision you make once per workload.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer one: request ceilings
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;--max-model-len&lt;/code&gt; caps what one request can consume, and &lt;code&gt;--max-num-seqs&lt;/code&gt; caps how many can run at once, which bounds the KV cache and the worst case a spike can produce. On the client side, set &lt;code&gt;max_tokens&lt;/code&gt; and a timeout, because a client that retries a 4,000-token generation three times turns one call into three. The metric to watch is &lt;code&gt;vllm:admission_rejections&lt;/code&gt;: a rising count means the ceiling is working, not that something broke.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer two: the watchdog that lives elsewhere
&lt;/h3&gt;

&lt;p&gt;A spend guard cannot run on the instance it guards. Put it on a laptop cron, a GitHub Action, or the cheapest box you already pay for, with the key that has no billing access.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#!/usr/bin/env python3
# budget_kill.py: destroy the instance once it has burned through CAP_USD.
import os, subprocess, time
CAP   = float(os.environ.get("CAP_USD", "5.00"))
ID    = os.environ["VAST_INSTANCE_ID"]
DPH   = float(os.environ["VAST_DPH"])          # dph_total from the offer
START = float(os.environ["VAST_STARTED_AT"])   # epoch seconds, written at launch

hours = (time.time() - START) / 3600
spend = hours * DPH
if spend &amp;gt;= CAP:
    subprocess.run(["vastai", "destroy", "instance", ID], check=True)
    print(f"destroyed {ID} at ${spend:.2f}")
else:
    print(f"{ID}: ${spend:.2f} of ${CAP:.2f}")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The script's second job is a status check, because a paused instance is the quietest way to waste money: it serves nothing, keeps its data, and still bills storage. Compare &lt;code&gt;actual_status&lt;/code&gt; from &lt;code&gt;vastai show instances --raw&lt;/code&gt; against what you expect and alert when an interruptible instance stops reporting &lt;code&gt;running&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer three: decide what "off" means
&lt;/h3&gt;

&lt;p&gt;This is where the arithmetic from section one becomes a policy. The reference box is the H100 SXM interruptible offer at $1.736 an hour with $0.200 storage, running one 65 GB model on a 100 GB disk.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operating pattern, 30-day month&lt;/th&gt;
&lt;th&gt;GPU hours&lt;/th&gt;
&lt;th&gt;Compute&lt;/th&gt;
&lt;th&gt;Storage and re-downloads&lt;/th&gt;
&lt;th&gt;Month total&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Always on&lt;/td&gt;
&lt;td&gt;730&lt;/td&gt;
&lt;td&gt;$1,267.28&lt;/td&gt;
&lt;td&gt;$20.00&lt;/td&gt;
&lt;td&gt;$1,287.28&lt;/td&gt;
&lt;td&gt;Only if the endpoint has to answer on the first try, all day.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weekday business hours, stopped at night and weekends&lt;/td&gt;
&lt;td&gt;220&lt;/td&gt;
&lt;td&gt;$381.92&lt;/td&gt;
&lt;td&gt;$20.00&lt;/td&gt;
&lt;td&gt;$401.92&lt;/td&gt;
&lt;td&gt;The natural fit for an internal tool, and stopping still costs $20.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Two 40-minute bursts a day, destroyed between&lt;/td&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;td&gt;$69.44&lt;/td&gt;
&lt;td&gt;$11.27&lt;/td&gt;
&lt;td&gt;$80.71&lt;/td&gt;
&lt;td&gt;The default for batch and evaluation work.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;One 3-hour evaluation run a week, destroyed after&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;$20.83&lt;/td&gt;
&lt;td&gt;$1.01&lt;/td&gt;
&lt;td&gt;$21.84&lt;/td&gt;
&lt;td&gt;The floor: if you can wait 2 minutes, this is the bill.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One number in that table is worth staring at. A cold start costs two to fifteen cents of compute, so the meter barely notices it; your users do. The 100 seconds to 7 minutes of unavailability is the real price, which is why the decision is about who is waiting.&lt;/p&gt;

&lt;h2&gt;
  
  
  What breaks on the second day
&lt;/h2&gt;

&lt;p&gt;The failures that show up after the first successful request are predictable, and none are exotic.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A host driver older than R580 silently rules out the current image. Filter &lt;code&gt;cuda_vers&amp;gt;=13.0&lt;/code&gt; in the search and keep &lt;code&gt;VLLM_ENABLE_CUDA_COMPATIBILITY=1&lt;/code&gt; in reserve for datacenter cards on R535 or R570.&lt;/li&gt;
&lt;li&gt;A cheap card with 179 MB/s of disk read turns every restart into eight minutes. &lt;code&gt;disk_bw&lt;/code&gt; is a first-class selection filter, not a tiebreaker.&lt;/li&gt;
&lt;li&gt;Destroying takes the Hugging Face cache with it: $0.17 to $1.00 per launch, which is why the break-even above is counted in relaunches.&lt;/li&gt;
&lt;li&gt;An outbid instance pauses mid-generation. Requests fail, the client retries, and the storage meter keeps ticking on a box that serves nothing.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--api-key&lt;/code&gt; leaves &lt;code&gt;/invocations&lt;/code&gt; open and all traffic in plain HTTP. The tunnel is the boundary, and &lt;a href="https://www.vervebrief.com/2026/11/the-hidden-tax-of-multi-region-ai-what.html" rel="noopener noreferrer"&gt;egress between regions&lt;/a&gt; is the other line nobody reads until it is large.&lt;/li&gt;
&lt;li&gt;KV cache at 1.0 means queueing, not scaling. &lt;code&gt;vllm:num_requests_waiting&lt;/code&gt; climbing while &lt;code&gt;kv_cache_usage_perc&lt;/code&gt; sits at 1.0 is the signal to add a second box, not to raise &lt;code&gt;max_tokens&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A model that dies on the first long prompt usually met a context length the cache cannot hold. The engine prints the cache size and maximum concurrency it settled on at startup, and that log line beats any planning estimate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point is a pattern this blog keeps running into: the failure that never alerts is the expensive one, whether it is a workflow engine with a green checkmark or an instance that is paused and billing. &lt;a href="https://www.vervebrief.com/2026/12/n8n-in-production-queue-mode-misfires.html" rel="noopener noreferrer"&gt;The n8n production piece&lt;/a&gt; tells the same story in a different stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five-minute decision
&lt;/h2&gt;

&lt;p&gt;If the endpoint must answer on the first try and traffic is continuous, rent on-demand and keep it warm. If people wait, but only during working hours, run an interruptible instance on a fast-disk, cheap-shelf host and stop it at night. If only a machine waits, or nothing does, destroy it and pay the re-download.&lt;/p&gt;

&lt;p&gt;The ceiling in one line: a request limit inside, a scoped-key watchdog outside, and a policy that says destroy rather than stop unless you relaunch more than four times a day. Every rate card here is priced at your own volume, with the break-even charts, in the &lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;AI Automation and GPU Cost Playbook&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Source notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vast.ai, instance types (on-demand, reserved, interruptible, pause behaviour): &lt;a href="https://docs.vast.ai/guides/instances/instance-types" rel="noopener noreferrer"&gt;https://docs.vast.ai/guides/instances/instance-types&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai, billing (per-second compute, storage in all non-offline states, bandwidth per byte): &lt;a href="https://docs.vast.ai/guides/reference/billing" rel="noopener noreferrer"&gt;https://docs.vast.ai/guides/reference/billing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai, pricing components and instance-type discounts: &lt;a href="https://docs.vast.ai/guides/instances/pricing" rel="noopener noreferrer"&gt;https://docs.vast.ai/guides/instances/pricing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai, API keys and scoped permissions: &lt;a href="https://docs.vast.ai/guides/reference/api-keys" rel="noopener noreferrer"&gt;https://docs.vast.ai/guides/reference/api-keys&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai CLI, &lt;code&gt;search offers&lt;/code&gt; query syntax and fields: &lt;a href="https://docs.vast.ai/cli/reference/search-instances" rel="noopener noreferrer"&gt;https://docs.vast.ai/cli/reference/search-instances&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai CLI, &lt;code&gt;create instance&lt;/code&gt; options including &lt;code&gt;--bid_price&lt;/code&gt;, &lt;code&gt;--disk&lt;/code&gt;, &lt;code&gt;--onstart-cmd&lt;/code&gt;: &lt;a href="https://docs.vast.ai/cli/reference/create-instance" rel="noopener noreferrer"&gt;https://docs.vast.ai/cli/reference/create-instance&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai CLI, &lt;code&gt;destroy instance&lt;/code&gt;: &lt;a href="https://docs.vast.ai/cli/reference/destroy-instance" rel="noopener noreferrer"&gt;https://docs.vast.ai/cli/reference/destroy-instance&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vast.ai marketplace snapshot used for every hourly, storage, bandwidth and disk-read figure above: &lt;a href="https://console.vast.ai/api/v0/bundles" rel="noopener noreferrer"&gt;https://console.vast.ai/api/v0/bundles&lt;/a&gt;, queried 2026-12-04, 64 verified single-GPU offers with at least 75 GB of VRAM&lt;/li&gt;
&lt;li&gt;vLLM 0.34.0 release notes (extensible KV cache default, CUDA 13.0 image, block size 64): &lt;a href="https://github.com/vllm-project/vllm/releases/tag/v0.34.0" rel="noopener noreferrer"&gt;https://github.com/vllm-project/vllm/releases/tag/v0.34.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;vLLM, Docker deployment and CUDA compatibility mode: &lt;a href="https://docs.vllm.ai/en/v0.34.0/deployment/docker/" rel="noopener noreferrer"&gt;https://docs.vllm.ai/en/v0.34.0/deployment/docker/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;vLLM, OpenAI-compatible server and the API key limitation on &lt;code&gt;/invocations&lt;/code&gt;: &lt;a href="https://docs.vllm.ai/en/latest/serving/online_serving/openai_compatible_server/" rel="noopener noreferrer"&gt;https://docs.vllm.ai/en/latest/serving/online_serving/openai_compatible_server/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;vLLM, engine arguments (&lt;code&gt;--max-model-len&lt;/code&gt; suffixes, &lt;code&gt;--download-dir&lt;/code&gt;, &lt;code&gt;--enable-prefix-caching&lt;/code&gt;): &lt;a href="https://docs.vllm.ai/en/stable/configuration/engine_args/" rel="noopener noreferrer"&gt;https://docs.vllm.ai/en/stable/configuration/engine_args/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;vLLM, production metrics (&lt;code&gt;vllm:kv_cache_usage_perc&lt;/code&gt;, &lt;code&gt;vllm:num_requests_waiting&lt;/code&gt;, &lt;code&gt;vllm:admission_rejections&lt;/code&gt;): &lt;a href="https://docs.vllm.ai/en/stable/usage/metrics/" rel="noopener noreferrer"&gt;https://docs.vllm.ai/en/stable/usage/metrics/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;vLLM recipe for gpt-oss-120b (single 80 GB card, MXFP4, TP1 note): &lt;a href="https://recipes.vllm.ai/openai/gpt-oss-120b" rel="noopener noreferrer"&gt;https://recipes.vllm.ai/openai/gpt-oss-120b&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;OpenAI, gpt-oss model sizes and 128K context: &lt;a href="https://openai.com/index/introducing-gpt-oss/" rel="noopener noreferrer"&gt;https://openai.com/index/introducing-gpt-oss/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Checkpoint size (65.2 GB) and KV cache per token for gpt-oss-120b: &lt;a href="https://deploygpu.ai/models/gpt-oss" rel="noopener noreferrer"&gt;https://deploygpu.ai/models/gpt-oss&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Measured Vast.ai cold start (146 s and 198 s) for a 30B FP8 vLLM deployment: &lt;a href="https://githubhelp.com/anqorithm/vast-coding-llm" rel="noopener noreferrer"&gt;https://githubhelp.com/anqorithm/vast-coding-llm&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Related reading:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.vervebrief.com/2026/11/self-host-llm-or-pay-per-token-2026-gpu.html" rel="noopener noreferrer"&gt;Self-host an LLM or pay per token: the 2026 GPU rent math&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.vervebrief.com/2026/12/gpu-cloud-rental-and-inference-break_4.html" rel="noopener noreferrer"&gt;GPU cloud rental and inference break-even: Vast.ai vs RunPod vs AWS and GCP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.vervebrief.com/2026/12/the-sampling-rate-decides-bill-agent.html" rel="noopener noreferrer"&gt;The sampling rate decides the bill: agent tracing costs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Disclosure: this post contains affiliate links. If you rent a GPU through them, Signal &amp;amp; Silicon may earn a commission at no extra cost to you, and it does not change any rate quoted above. Rates were read from the marketplace on 2026-12-04 and will drift.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;strong&gt;Cross-posted from &lt;a href="https://www.vervebrief.com/2026/12/rent-gpu-by-second-vllm-runbook-with.html" rel="noopener noreferrer"&gt;Rent a GPU by the Second&lt;/a&gt;.&lt;/strong&gt; Signal &amp;amp; Silicon publishes one numbers-first cost breakdown a week: the arithmetic behind GPU rental, managed databases and agent infrastructure, priced at your own volume.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;The 2026 AI Workflow &amp;amp; GPU Cost Playbook&lt;/a&gt; — the run-cost and break-even models from this site with an editable TCO calculator, $15.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://signalsilicon.substack.com" rel="noopener noreferrer"&gt;The newsletter&lt;/a&gt; — one email a week with the new breakdown and the numbers behind it.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>cloud</category>
      <category>devops</category>
    </item>
    <item>
      <title>The Index Is the Bill: Managed Postgres and pgvector Costs in Late 2026</title>
      <dc:creator>Signal &amp; Silicon</dc:creator>
      <pubDate>Fri, 04 Dec 2026 08:47:43 +0000</pubDate>
      <link>https://dev.to/signalsilicon/the-index-is-the-bill-managed-postgres-and-pgvector-costs-in-late-2026-3e3o</link>
      <guid>https://dev.to/signalsilicon/the-index-is-the-bill-managed-postgres-and-pgvector-costs-in-late-2026-3e3o</guid>
      <description>&lt;p&gt;A year ago the demo ran on a $15 database. Ten million chunks later, the same application needs 36 GB of vector index in memory before a query returns in under 100 milliseconds, and the plan that used to cover it costs $984 a month. Nothing in the code changed; the data grew, and every managed Postgres prices RAM in tiers.&lt;/p&gt;

&lt;p&gt;This is a comparison of four ways to run that workload in December 2026: Supabase, Neon, Amazon RDS for PostgreSQL, and a self-hosted Postgres on a rented droplet. I priced the same database at 20, 80 and 320 GB from published rate cards on December 3, then added the line item that quietly decides serverless architectures: connections.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At a glance&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Who&lt;/strong&gt; — teams running retrieval or semantic search on Postgres, from 20 GB of chunks to a few hundred, with traffic that never fully stops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost&lt;/strong&gt; — $84 to $6,270 a month for the same 80 GB-class workload, depending on the route and whether you buy a standby.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When&lt;/strong&gt; — before the next RAM upgrade, and before anyone signs a savings plan against the wrong shape of workload.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Caveat&lt;/strong&gt; — list prices and my arithmetic, not vendor quotes. Reserved instances and committed-use discounts move the RDS line by 30 percent or more.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Method note: every monthly total below is my calculation on the published rates in Source notes, at 730 hours per month. The sizing rule and the workload shape are stated in the text so you can substitute your own numbers.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why a vector workload prices differently from an ordinary app
&lt;/h2&gt;

&lt;p&gt;An HNSW index is a multilayer graph that has to sit in memory to answer quickly and in &lt;code&gt;maintenance_work_mem&lt;/code&gt; to build at a sane speed; pgvector's documentation warns when the graph stops fitting. An order table can live on disk for pennies. A vector table cannot.&lt;/p&gt;

&lt;h3&gt;
  
  
  The sizing rule I used
&lt;/h3&gt;

&lt;p&gt;A 1,024-dimension embedding stored as &lt;code&gt;halfvec&lt;/code&gt; takes 2 KB, the HNSW link list at the default &lt;code&gt;m = 16&lt;/code&gt; adds roughly 130 bytes per row, and the chunk text adds another 1.5 to 2 KB, so index and rows land near 2.2 KB per chunk with the graph a little under half. That gives the rule used throughout: RAM in GB equals 0.45 times the database size plus 6 GB for connections, sort buffers and the planner. It is blunt, and it decides which tier you buy.&lt;/p&gt;

&lt;h3&gt;
  
  
  Half vectors are not a rounding detail
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;halfvec&lt;/code&gt; stores each dimension in two bytes instead of four, and pgvector accepts 4,000 dimensions in that type against 2,000 for plain &lt;code&gt;vector&lt;/code&gt;. At ten million chunks the difference is about 20 GB of index: one column type decides whether 64 GB is enough or you buy 128 GB for a graph you could have halved.&lt;/p&gt;

&lt;h3&gt;
  
  
  Storage is the cheap part until it is the only part
&lt;/h3&gt;

&lt;p&gt;A terabyte of storage at list price costs $118 on RDS gp3, $127 on Supabase past the included 8 GB, $102 on a DigitalOcean volume, and $358 on Neon at $0.35/GB-month. At 20 GB that spread is noise; at 320 GB it is $290 a month before compute, which is why a per-CU-hour provider has to be cheaper somewhere else to win.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four rate cards, read on December 3
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Supabase: a flat plan plus a compute add-on
&lt;/h3&gt;

&lt;p&gt;Pro is $25 a month with $10 of compute credit, an 8 GB disk per project, 250 GB of egress and seven-day backups; the credit covers the 1 GB Micro instance, so $25 is the floor. Compute above that is a fixed monthly add-on: $110 for 8 GB with 2 dedicated vCPU, $410 for 32 GB, $960 for 64 GB, up to $3,730 for 256 GB. Disk past 8 GB is $0.125 per GB-month, egress past 250 GB is $0.09 per GB, and point-in-time recovery is its own $100 a month. Failover is not on the card: a standby means Team at $599 before compute.&lt;/p&gt;

&lt;h3&gt;
  
  
  Neon: CU-hours, with a cliff at 16 CU
&lt;/h3&gt;

&lt;p&gt;Neon bills compute by the CU-hour at $0.106 on Launch and $0.222 on Scale, where one CU is roughly 4 GB of RAM. Storage is $0.35 per GB-month, instant restore $0.20, egress 500 GB included then $0.09 per GB. The attractive half is scale-to-zero: a staging database running four hours a day costs about $5 a month with 5 GB of storage. The half that bites is the ceiling — autoscaling stops at 16 CU, or 64 GB, and past that fixed Scale sizes cost more than double the CU-hour rate.&lt;/p&gt;

&lt;h3&gt;
  
  
  RDS: instances by the hour, and a proxy you will end up buying
&lt;/h3&gt;

&lt;p&gt;RDS for PostgreSQL is priced per instance-hour in us-east-1 on Graviton: db.m7g.large at $0.168, db.m7g.xlarge at $0.337, db.r7g.2xlarge at $0.956, db.r7g.8xlarge at $3.824, single-AZ, and Multi-AZ doubles the line for a synchronous standby. Storage is $0.115 per GB-month on gp3, backups beyond provisioned size $0.095, and RDS Proxy $0.015 per vCPU-hour — $43.80 a month on 4 vCPU, $350 on 32.&lt;/p&gt;

&lt;h3&gt;
  
  
  Self-hosted: a droplet, a volume, and your Saturdays
&lt;/h3&gt;

&lt;p&gt;A DigitalOcean memory-optimized droplet with 64 GB of RAM, 8 vCPU and 200 GiB of NVMe is $336 a month; 192 GB and 24 vCPU is $1,008, and block storage is $0.10 per GB-month. Hetzner's dedicated cloud line starts at €36.99 a month excluding VAT. What no card shows is the pager: Patroni or repmgr, a WAL archive, a restore you have actually performed. That is the trade behind &lt;a href="https://www.vervebrief.com/2026/11/self-host-llm-or-pay-per-token-2026-gpu.html" rel="noopener noreferrer"&gt;self-hosting an LLM instead of paying per token&lt;/a&gt; — control bought with attention.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table 1. Rate card for four routes, list prices checked 2026-12-03.&lt;/strong&gt; Rows are ordered from most to least managed.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Compute&lt;/th&gt;
&lt;th&gt;Storage per GB-month&lt;/th&gt;
&lt;th&gt;Egress&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Supabase Pro plus add-on&lt;/td&gt;
&lt;td&gt;$10 to $3,730 per month, flat&lt;/td&gt;
&lt;td&gt;$0.125 after 8 GB&lt;/td&gt;
&lt;td&gt;250 GB included, then $0.09/GB&lt;/td&gt;
&lt;td&gt;Pick when you want auth, storage and a pooler on one invoice.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Neon Launch or Scale&lt;/td&gt;
&lt;td&gt;$0.106 or $0.222 per CU-hour&lt;/td&gt;
&lt;td&gt;$0.35&lt;/td&gt;
&lt;td&gt;500 GB included, then $0.09/GB&lt;/td&gt;
&lt;td&gt;Pick for many small, spiky or per-tenant databases.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RDS Single-AZ&lt;/td&gt;
&lt;td&gt;$0.168 to $3.824 per hour&lt;/td&gt;
&lt;td&gt;$0.115 on gp3&lt;/td&gt;
&lt;td&gt;100 GB free AWS-wide, then per GB&lt;/td&gt;
&lt;td&gt;Pick when the rest of the stack already lives on AWS.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RDS Multi-AZ&lt;/td&gt;
&lt;td&gt;Double the instance line&lt;/td&gt;
&lt;td&gt;$0.115 on gp3&lt;/td&gt;
&lt;td&gt;As above&lt;/td&gt;
&lt;td&gt;Pick when failover is a requirement, not a wish.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted Droplet&lt;/td&gt;
&lt;td&gt;$84 to $1,344 per month&lt;/td&gt;
&lt;td&gt;$0.10 on a volume&lt;/td&gt;
&lt;td&gt;4,000 GiB included&lt;/td&gt;
&lt;td&gt;Pick when someone on the team enjoys Postgres and has tested a restore.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The same database at 20, 80 and 320 GB
&lt;/h2&gt;

&lt;p&gt;Three sizes, one shape: always-on, ten chunks per query, one region, no reserved instances. At each size I took the cheapest tier that satisfies the RAM rule, then added disk, the proxy where needed, and the egress a RAG service generates — small, since a ten-chunk answer is 20 KB. The 80 GB case is where most teams land after a year of indexing, so it is worth walking through.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Supabase.&lt;/strong&gt; The 64 GB, 16 vCPU 4XL instance is $960, minus the $10 credit, plus the $25 plan, plus 72 GB of disk, for $984 a month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Neon.&lt;/strong&gt; Eleven CU at $0.106 for 730 hours is $851, plus 80 GB at $0.35 is $28, for $879.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RDS.&lt;/strong&gt; db.r7g.2xlarge at $0.956 for 730 hours is $698, plus 80 GB of gp3 is $9, plus RDS Proxy on eight vCPU is $88, for $795.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosted.&lt;/strong&gt; A 64 GB droplet with 200 GiB of local NVMe is $336, disk included.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Table 2. Monthly list cost for the same workload at three sizes (my calculation).&lt;/strong&gt; The parenthetical is the tier each route had to buy; the difference between those tiers is most of the price difference.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Case&lt;/th&gt;
&lt;th&gt;Supabase&lt;/th&gt;
&lt;th&gt;Neon&lt;/th&gt;
&lt;th&gt;RDS Single-AZ&lt;/th&gt;
&lt;th&gt;RDS Multi-AZ&lt;/th&gt;
&lt;th&gt;Self-hosted&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;20 GB, 9 GB of index&lt;/td&gt;
&lt;td&gt;$226 (XL, 16 GB)&lt;/td&gt;
&lt;td&gt;$317 (4 CU)&lt;/td&gt;
&lt;td&gt;$199 (r7g.large)&lt;/td&gt;
&lt;td&gt;$373&lt;/td&gt;
&lt;td&gt;$84&lt;/td&gt;
&lt;td&gt;Every route works; choose on features and on who answers the pager.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;80 GB, 36 GB of index&lt;/td&gt;
&lt;td&gt;$984 (4XL, 64 GB)&lt;/td&gt;
&lt;td&gt;$879 (11 CU)&lt;/td&gt;
&lt;td&gt;$795 (r7g.2xlarge)&lt;/td&gt;
&lt;td&gt;$1,493&lt;/td&gt;
&lt;td&gt;$336&lt;/td&gt;
&lt;td&gt;You pay for RAM you cannot fill in half of these tiers; compare the tier edge, not the plan.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;320 GB, 144 GB of index&lt;/td&gt;
&lt;td&gt;$2,854 (12XL, 192 GB)&lt;/td&gt;
&lt;td&gt;$6,270 (38 CU, Scale)&lt;/td&gt;
&lt;td&gt;$3,179 (r7g.8xlarge)&lt;/td&gt;
&lt;td&gt;$5,970&lt;/td&gt;
&lt;td&gt;$1,008&lt;/td&gt;
&lt;td&gt;Per-CU billing is twice the flat-fee route; buy flat or self-host.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx4b159yb33ntgj97w89d.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx4b159yb33ntgj97w89d.jpg" alt="Figure 1. Monthly list cost for an always-on RAG database as it grows, using the cheapest tier that fits the RAM rule in each case (my calculation from the rates below)." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What the 80 GB case shows
&lt;/h3&gt;

&lt;p&gt;Self-hosting is $336, RDS $795, Neon $879, Supabase $984, Multi-AZ RDS $1,493. The two flat-fee managed routes bracket the CU-hour one, and the cheapest managed option costs $459 a month more than the droplet — the price of an on-call rotation you do not run, an upgrade path you do not test, a database you cannot SSH into at 2 a.m. Fair for a small team, poor for one that already runs its own infrastructure.&lt;/p&gt;

&lt;h3&gt;
  
  
  At 320 GB the order turns over
&lt;/h3&gt;

&lt;p&gt;Neon's 38 CU at the Scale rate costs $6,270, more than double RDS single-AZ at $3,179 and nearly double Supabase's 192 GB instance at $2,854. Two things cause it: the CU-hour rate doubles above 16 CU, and storage alone is $112 a month. A workload that never idles cannot use the feature Neon is priced around.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connections: the line item that decides serverless
&lt;/h2&gt;

&lt;p&gt;Vector search is usually called from something elastic, and each instance keeps its own pool. At 200 concurrent instances with two connections each you need 400 backends before traffic is interesting.&lt;/p&gt;

&lt;p&gt;Supabase publishes both figures per compute size: Micro allows 60 direct connections and 200 through the pooler, Small 90 and 400, Large 160 and 800, XL 240 and 1,000, 4XL 480 and 3,000, so a 400-connection fan-out fits Small only through the pooler. Neon advertises up to 10,000 pooled connections per compute. RDS leaves it to RDS Proxy, and self-hosting leaves it to PgBouncer and to you.&lt;/p&gt;

&lt;p&gt;Transaction pooling is not free either: session state, &lt;code&gt;LISTEN&lt;/code&gt;, advisory locks held across statements and named prepared statements can break when a backend is reassigned. For a service issuing one &lt;code&gt;SELECT&lt;/code&gt; with an &lt;code&gt;ORDER BY embedding &amp;lt;=&amp;gt;&lt;/code&gt; per request the trade is invisible; for an ORM leaning on server-side prepared statements it is the bug that appears in week three.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table 3. What a connection budget costs on each route.&lt;/strong&gt; Count peak concurrent instances first; average traffic understates the pool by an order of magnitude.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Direct connections&lt;/th&gt;
&lt;th&gt;Pooled connections&lt;/th&gt;
&lt;th&gt;What it costs&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Supabase, Micro to 4XL&lt;/td&gt;
&lt;td&gt;60 to 480&lt;/td&gt;
&lt;td&gt;200 to 3,000&lt;/td&gt;
&lt;td&gt;Included in compute&lt;/td&gt;
&lt;td&gt;Size the pooler against peak fan-out, not average load.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Neon Launch or Scale&lt;/td&gt;
&lt;td&gt;Per compute, pooled by default&lt;/td&gt;
&lt;td&gt;Up to 10,000 per compute&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;td&gt;Best fit for one-branch-per-tenant designs.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RDS with Proxy&lt;/td&gt;
&lt;td&gt;Instance ceiling&lt;/td&gt;
&lt;td&gt;Proxy pins on demand&lt;/td&gt;
&lt;td&gt;$0.015 per vCPU-hour&lt;/td&gt;
&lt;td&gt;Add it the week the first Lambda pool appears.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted with PgBouncer&lt;/td&gt;
&lt;td&gt;Instance ceiling&lt;/td&gt;
&lt;td&gt;Your configuration&lt;/td&gt;
&lt;td&gt;Your time&lt;/td&gt;
&lt;td&gt;Only when someone owns the configuration file.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Where the break-evens actually sit
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Scale-to-zero pays until about 2.3 hours a day
&lt;/h3&gt;

&lt;p&gt;Supabase charges $10 a month for each project after the first on Micro compute, with 8 GB of disk. On Neon the same project costs $2.80 in storage plus $0.106 per CU-hour, breaking even at 68 CU-hours a month — about 2.3 hours a day at one CU. A preview environment that runs all day loses that race; a per-tenant database touched twice a week wins it threefold. The threshold moves fast with storage: at 32 GB, Neon storage alone is $11.20, more than the whole Supabase project.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-AZ doubles the bill, not the capacity
&lt;/h3&gt;

&lt;p&gt;Multi-AZ is the honest version of high availability — a synchronous standby, failover in about a minute, and double the instance line for no extra read capacity. At 320 GB that turns $3,179 into $5,970. Supabase's route to the same guarantee is Team at $599 plus a standby instance, near $1,500 at 80 GB: cheaper, and only if you were paying for Team anyway.&lt;/p&gt;

&lt;h3&gt;
  
  
  Egress rarely decides a database
&lt;/h3&gt;

&lt;p&gt;A RAG answer moves kilobytes: ten chunks is 20 KB per query, so a million queries a month is 20 GB, inside every allowance here. The exception is a workload that also serves files or whole documents; if that is you, the arithmetic is in &lt;a href="https://www.vervebrief.com/2026/11/the-hidden-tax-of-multi-region-ai-what.html" rel="noopener noreferrer"&gt;what multi-region egress actually costs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five checks, then a decision
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Measure the index.&lt;/strong&gt; Run &lt;code&gt;pg_relation_size&lt;/code&gt; on the index of a production-sized copy; no query tuning makes a 16 GB instance serve 36 GB in 100 milliseconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Price the tier, not the landing page.&lt;/strong&gt; Every route starts under $30 and none of the three cases here costs under $84.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count peak connections from real fan-out&lt;/strong&gt;, then compare against the pooler number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Price the restore, not the backup.&lt;/strong&gt; Seven-day PITR is $100 a month on Supabase, instant restore about $16 at 80 GB on Neon, included up to provisioned size on RDS, and whatever you built on a droplet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decide who answers the pager.&lt;/strong&gt; Self-hosting at 80 GB saves $459 a month and costs about six engineer hours a month to break even.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Under 50 GB the differences are under $150 a month and the choice belongs to whatever your team already logs into. At 80 GB always-on: RDS single-AZ if the stack is on AWS and you will buy the proxy, Supabase if you want auth and storage on one invoice, self-hosted if someone has run Postgres in production. At 320 GB, buy flat or run it yourself; per-CU billing punishes a database that never sleeps, which is what a vector index is.&lt;/p&gt;

&lt;p&gt;The pattern is the same one behind GPU rental: the bill tracks the capacity you keep warm, not the work you do with it, as the &lt;a href="https://www.vervebrief.com/2026/12/gpu-cloud-rental-and-inference-break_4.html" rel="noopener noreferrer"&gt;GPU break-even comparison&lt;/a&gt; finds from the other direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you want the arithmetic ready-made:&lt;/strong&gt; the 2026 AI Workflow &amp;amp; GPU Cost Playbook collects the run-cost and break-even models published on this site, with an editable calculator that takes your own volumes, for $15 on &lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;Gumroad&lt;/a&gt;. No vendor paid for its conclusions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.vervebrief.com/2026/12/gpu-cloud-rental-and-inference-break_4.html" rel="noopener noreferrer"&gt;GPU Cloud Rental and Inference Break-Even in Late 2026: Vast.ai vs. RunPod vs. AWS and GCP On-Demand&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.vervebrief.com/2026/11/the-hidden-tax-of-multi-region-ai-what.html" rel="noopener noreferrer"&gt;The Hidden Tax of Multi-Region AI: What Cloud Egress Actually Costs in Late 2026&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.vervebrief.com/2026/11/self-host-llm-or-pay-per-token-2026-gpu.html" rel="noopener noreferrer"&gt;Self-Host an LLM or Pay Per Token? The 2026 GPU Rent Math That Decides It&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Source notes
&lt;/h2&gt;

&lt;p&gt;Prices checked: 2026-12-03. Rates are the published list prices on that day, in US dollars, at 730 hours per month; no reserved instances, savings plans or committed-use discounts are applied. The 0.45 sizing factor and every monthly total are my calculation, not a vendor figure.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Supabase plans, compute add-on prices, included disk and egress, PITR, backup retention, MAU limits and the per-compute direct and pooler connection counts — &lt;a href="https://supabase.com/pricing" rel="noopener noreferrer"&gt;https://supabase.com/pricing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Supabase pgvector guide: enabling the &lt;code&gt;vector&lt;/code&gt; extension, HNSW and IVFFlat caveats with filtered queries — &lt;a href="https://supabase.com/docs/guides/database/extensions/pgvector" rel="noopener noreferrer"&gt;https://supabase.com/docs/guides/database/extensions/pgvector&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Neon plans: CU-hour rates $0.106 on Launch and $0.222 on Scale, storage $0.35/GB-month, instant restore $0.20/GB-month, 500 GB egress included, scale-to-zero, autoscaling to 16 CU and fixed sizes to 56 CU on Scale, 10,000 pooled connections per compute, typical-load table, page last updated 2026-12-01 — &lt;a href="https://neon.com/pricing" rel="noopener noreferrer"&gt;https://neon.com/pricing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;pgvector 0.8.7: &lt;code&gt;vector&lt;/code&gt; up to 2,000 dimensions, &lt;code&gt;halfvec&lt;/code&gt; up to 4,000, HNSW defaults &lt;code&gt;m = 16&lt;/code&gt; and &lt;code&gt;ef_construction = 64&lt;/code&gt;, &lt;code&gt;hnsw.ef_search&lt;/code&gt; default 40, the maintenance_work_mem notice — &lt;a href="https://github.com/pgvector/pgvector" rel="noopener noreferrer"&gt;https://github.com/pgvector/pgvector&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Amazon RDS for PostgreSQL on-demand instance hours, us-east-1, read from the published price list (publication date 2026-12-02): db.m7g.large $0.168 single-AZ and $0.337 Multi-AZ, db.m7g.xlarge $0.337, db.r7g.2xlarge $0.956 single-AZ and $1.348 Multi-AZ, db.r7g.8xlarge $3.824 — &lt;a href="https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/us-east-1/index.json" rel="noopener noreferrer"&gt;https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/us-east-1/index.json&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;RDS storage and proxy: gp3 $0.115 per GB-month, io2 $0.125 per GB-month plus $0.10 per IOPS-month, backup beyond the free allocation $0.095 per GB-month, RDS Proxy $0.015 per vCPU-hour — same price list&lt;/li&gt;
&lt;li&gt;AWS data transfer: 100 GB per month free to the internet, aggregated across services and Regions; rates per GB after that — &lt;a href="https://aws.amazon.com/ec2/pricing/on-demand/" rel="noopener noreferrer"&gt;https://aws.amazon.com/ec2/pricing/on-demand/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;RDS for PostgreSQL supported extensions, including pgvector — &lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-extensions.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-extensions.html&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;DigitalOcean managed PostgreSQL: 1 GiB $15.15, 2 GiB $30.45, 4 GiB with storage from 60 GiB $60.90, 8 GiB $122.10, 16 GiB $244.35, additional storage $0.215 per GiB-month — &lt;a href="https://www.digitalocean.com/pricing/managed-databases" rel="noopener noreferrer"&gt;https://www.digitalocean.com/pricing/managed-databases&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;DigitalOcean droplets: memory-optimized 64 GiB and 8 vCPU $336, 192 GiB and 24 vCPU $1,008, with 200 GiB and 600 GiB of SSD included — &lt;a href="https://www.digitalocean.com/pricing/droplets" rel="noopener noreferrer"&gt;https://www.digitalocean.com/pricing/droplets&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;DigitalOcean volumes: $10 for 100 GiB, $50 for 500 GiB, $100 for 1,000 GiB per month — &lt;a href="https://www.digitalocean.com/pricing/volumes" rel="noopener noreferrer"&gt;https://www.digitalocean.com/pricing/volumes&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hetzner Cloud: dedicated-resource plans starting at €36.99 per month excluding VAT, 99.9 percent SLA, included traffic — &lt;a href="https://www.hetzner.com/cloud/" rel="noopener noreferrer"&gt;https://www.hetzner.com/cloud/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Cross-posted from &lt;a href="https://www.vervebrief.com/2026/12/the-index-is-bill-managed-postgres-and.html" rel="noopener noreferrer"&gt;The Index Is the Bill&lt;/a&gt;.&lt;/strong&gt; Signal &amp;amp; Silicon publishes one numbers-first cost breakdown a week: the arithmetic behind GPU rental, managed databases and agent infrastructure, priced at your own volume.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.vervebrief.com/playbook" rel="noopener noreferrer"&gt;The 2026 AI Workflow &amp;amp; GPU Cost Playbook&lt;/a&gt; — the run-cost and break-even models from this site with an editable TCO calculator, $15.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://signalsilicon.substack.com" rel="noopener noreferrer"&gt;The newsletter&lt;/a&gt; — one email a week with the new breakdown and the numbers behind it.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Disclosure: this post contains no affiliate links. Some related posts on vervebrief.com link to vendors such as &lt;a href="https://vast.ai/?ref_id=887688" rel="noopener noreferrer"&gt;Vast.ai&lt;/a&gt;, and those links may earn a commission.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>database</category>
      <category>postgres</category>
      <category>aws</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
