<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Calculator on Melchi</title><link>https://melchi.me/tags/calculator/</link><description>Recent content in Calculator on Melchi</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 20 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://melchi.me/tags/calculator/index.xml" rel="self" type="application/rss+xml"/><item><title>KV Cache Calculator</title><link>https://melchi.me/tools/kv-cache-calculator/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><guid>https://melchi.me/tools/kv-cache-calculator/</guid><description>&lt;p&gt;This calculator estimates how much GPU memory you need to serve a large language model. It accounts for &lt;strong&gt;model weights&lt;/strong&gt;, the &lt;strong&gt;KV cache&lt;/strong&gt; (the part most people under-budget), activation/runtime overhead, and the nominal memory capacity of common current and announced accelerators. GPU presets compare memory only; they do not validate framework, precision, interconnect, or sharding support, and Preview capacities can change.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s intended to pair with the &lt;a href="https://melchi.me/posts/kv-cache/" rel=""&gt;KV Cache blog post&lt;/a&gt;
. All math runs in your browser — nothing is sent to a server. Paste a Hugging Face model id (e.g. &lt;code&gt;Qwen/Qwen2.5-7B-Instruct&lt;/code&gt;) to auto-fill the architecture from the model&amp;rsquo;s &lt;code&gt;config.json&lt;/code&gt; — only metadata is fetched, never weights — or pick a curated preset, then tweak any field in &lt;strong&gt;Advanced options&lt;/strong&gt; to override.&lt;/p&gt;</description></item></channel></rss>