<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c" -->

---
title: I check these 4 numbers before downloading a local AI...
description: A practical checklist for evaluating local AI models before downloading them, focusing on four often-overlooked numbers: KV cache overhead (which grows with...
canonical: https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I check these 4 numbers before downloading a local AI model, and tokens per second is dead last | daily.dev
og:description: A practical checklist for evaluating local AI models before downloading them, focusing on four often-overlooked numbers: KV cache overhead (which grows with...
og:url: https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c
og:image: https://api.daily.dev/og/posts/mGj7rZ04c.png
og:image:alt: I check these 4 numbers before downloading a local AI model, and tokens per second is dead last
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I check these 4 numbers before downloading a local AI model, and tokens per second is dead last

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 4 min read · 1 upvotes · 0 comments

## Summary

A practical checklist for evaluating local AI models before downloading them, focusing on four often-overlooked numbers: KV cache overhead (which grows with context and can be halved via Q8 quantization), the exact quant suffix (Q4_K_M vs Q4_0 behaves differently even at similar file sizes), active parameters in Mixture-of-Experts models (like Qwen 30B-A3B routing through ~3B active params per token), and native training context versus inflated advertised context windows achieved through RoPE scaling or YaRN. The piece argues tokens-per-second, the metric most beginners fixate on, matters least compared to these four factors.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/x-numbers-i-check-before-downloading-a-local-model-and-tokens-per-second-isnt-the-important-one>

## Questions this post answers

### Why does a model at Q8_0 quantization fail to fit on my GPU when the same model at Q4_K_M loads fine?

Q8 quantization roughly doubles the VRAM cost compared to Q4 for the same model weights, so a 24B model that fits comfortably at Q4_K_M with room for KV cache can fail to fit at Q8_0 on a 16GB card. The quant suffix also matters: K-quants keep precision-sensitive layers at higher bit depth, so Q4_K_M performs better than a flat Q4_0 of similar file size.

_daily.dev surfaces practical VRAM and quantization tradeoffs for anyone sizing local models to their GPU._

### Why does my local LLM slow down or run out of memory when I paste in a long document?

The slowdown comes from KV cache growth, not the model weights. The KV cache is the running memory bill for everything held in the current conversation, and it grows proportional to context length, causing VRAM spillover on long inputs. Checking whether the runtime supports cache quantization helps, since dropping the cache to Q8 roughly halves its memory cost.

_Developers tuning local inference performance track KV cache behavior like this on daily.dev._

### Does a model's advertised 128K context length mean it was trained on that much context?

No, an advertised context window like 128K often does not match what the model was actually trained on. Many models reach large advertised context lengths by scaling rotary position embeddings after pretraining or stretching them further with YaRN, while the underlying model was trained on a much shorter native context, which can hurt long-context recall.

_Anyone choosing a model for long-document tasks can weigh native versus advertised context via daily.dev._

## Similar posts on daily.dev

- [My local LLM setup got faster after I stopped obsessing over parameter count](https://daily.dev/posts/my-local-llm-setup-got-faster-after-i-stopped-obsessing-over-parameter-count-py8knxbbm) · XDA Developers · 0 upvotes · 0 comments
- [Rethinking AI TCO: Why Cost per Token Is the Only Metric That Matters](https://daily.dev/posts/rethinking-ai-tco-why-cost-per-token-is-the-only-metric-that-matters-ln9ruso0u) · NVIDIA · 2 upvotes · 0 comments
- [Agentic AI: How to Save on Tokens](https://daily.dev/posts/agentic-ai-how-to-save-on-tokens-vjqsrml8b) · Towards Data Science · 2 upvotes · 0 comments
- [How to Run a Big Model on Cheap Hardware?](https://daily.dev/posts/how-to-run-a-big-model-on-cheap-hardware--iioc2g4gh) · ByteByteGo · 0 upvotes · 0 comments

---

Tags: [#data-science](https://daily.dev/tags/data-science), [#ai-inference](https://daily.dev/tags/ai-inference), [#local-ai](https://daily.dev/tags/local-ai), [#mixture-of-experts](https://daily.dev/tags/mixture-of-experts)

[View this post on daily.dev](https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I check these 4 numbers before downloading a local AI model, and tokens per second is dead last","url":"https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c"},"datePublished":"2026-09-20T23:03:56.412Z","dateModified":"2026-09-20T23:08:14.027Z","description":"A practical checklist for evaluating local AI models before downloading them, focusing on four often-overlooked numbers: KV cache overhead (which grows with...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e4f21e5fb00ed7f0df02435b6004bf8e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e4f21e5fb00ed7f0df02435b6004bf8e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"data-science,ai-inference,local-ai,mixture-of-experts","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"I check these 4 numbers before downloading a local AI model, and tokens per second is dead last"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-check-these-4-numbers-before-downloading-a-local-ai-model-and-tokens-per-second-is-dead-last-mgj7rz04c#faq","mainEntity":[{"@type":"Question","name":"Why does a model at Q8_0 quantization fail to fit on my GPU when the same model at Q4_K_M loads fine?","acceptedAnswer":{"@type":"Answer","text":"Q8 quantization roughly doubles the VRAM cost compared to Q4 for the same model weights, so a 24B model that fits comfortably at Q4_K_M with room for KV cache can fail to fit at Q8_0 on a 16GB card. The quant suffix also matters: K-quants keep precision-sensitive layers at higher bit depth, so Q4_K_M performs better than a flat Q4_0 of similar file size. daily.dev surfaces practical VRAM and quantization tradeoffs for anyone sizing local models to their GPU."}},{"@type":"Question","name":"Why does my local LLM slow down or run out of memory when I paste in a long document?","acceptedAnswer":{"@type":"Answer","text":"The slowdown comes from KV cache growth, not the model weights. The KV cache is the running memory bill for everything held in the current conversation, and it grows proportional to context length, causing VRAM spillover on long inputs. Checking whether the runtime supports cache quantization helps, since dropping the cache to Q8 roughly halves its memory cost. Developers tuning local inference performance track KV cache behavior like this on daily.dev."}},{"@type":"Question","name":"Does a model's advertised 128K context length mean it was trained on that much context?","acceptedAnswer":{"@type":"Answer","text":"No, an advertised context window like 128K often does not match what the model was actually trained on. Many models reach large advertised context lengths by scaling rotary position embeddings after pretraining or stretching them further with YaRN, while the underlying model was trained on a much shorter native context, which can hurt long-context recall. Anyone choosing a model for long-document tasks can weigh native versus advertised context via daily.dev."}}]}
```

