LLMBOTTLENECK.COM
DeepSeek / llama

deepseek-coder-6.7b-instruct

6.74 billion parameters.

Open in the calculator →

Architecturepublished data
Quick answer
deepseek-coder-6.7b-instruct needs about 9.18 GB at Q4_K_M — the format most people download — with 8,192 tokens of context. It fits entirely on 18 of 18 common devices, starting with the NVIDIA GeForce RTX 5070 (12 GB). What else fits in 12 GB. No hardware for it? Rent a GPU that runs it, priced live.

Sized at 8,192 tokens of context with the whole model in device memory, across 18 common devices. Speeds are estimates, not benchmarks.

Weight-file size by format

FormatSizeRangeBasis
FP1613.5 GB13.2 GB – 13.6 GBreconstructed size
Q8_07.16 GB7.02 GB – 7.20 GBreconstructed size
Q6_K5.53 GB5.42 GB – 5.56 GBreconstructed size
Q5_K_M4.79 GB4.68 GB – 4.81 GBreconstructed size
Q5_04.65 GB4.54 GB – 4.68 GBreconstructed size
Q4_K_M4.08 GB3.97 GB – 4.12 GBreconstructed size
Q4_03.83 GB3.72 GB – 3.86 GBreconstructed size
Q3_K_M3.34 GB3.10 GB – 3.57 GBreconstructed size
Q2_K2.48 GB2.37 GB – 2.58 GBreconstructed size

A file size is not the memory a run needs: the KV cache and the runtime reserve come on top, and the calculator adds both.

What the labels mean
published data
Read from a published source — a file's byte count, a model's configuration or a manufacturer's specification — or exact arithmetic on such values. Not a measurement on a machine.
reconstructed size
Weight size reconstructed from the pinned architecture, because no published file exists.
size range
Only a lower and an upper bound are claimed for this weight size.

Hardware ladder

Q4_K_M at 8,192 tokens · 18 of 18 devices hold it entirely
DeviceMemoryVerdictDecodeCalculator
NVIDIA GeForce RTX 50709.18 GB of 12 GBfits~55 tok/sOpen →
AMD Radeon™ RX 9070 XT9.18 GB of 16 GBfits~60 tok/sOpen →
NVIDIA GeForce RTX 40809.18 GB of 16 GBfits~59 tok/sOpen →
NVIDIA GeForce RTX 50809.18 GB of 16 GBfits~79 tok/sOpen →
NVIDIA GeForce RTX 5070 Ti9.18 GB of 16 GBfits~73 tok/sOpen →
NVIDIA GeForce RTX 5060 Ti 16GB9.18 GB of 16 GBfits~37 tok/sOpen →
NVIDIA GeForce RTX 40909.18 GB of 24 GBfits~82 tok/sOpen →
AMD Radeon™ RX 7900 XTX9.18 GB of 24 GBfits~90 tok/sOpen →
NVIDIA GeForce RTX 30909.18 GB of 24 GBfits~77 tok/sOpen →
NVIDIA GeForce RTX 50909.18 GB of 32 GBfits~147 tok/sOpen →
NVIDIA RTX 6000 Ada Generation9.18 GB of 48 GBfits~79 tok/sOpen →
Apple M4 Pro9.18 GB of 64 GBfits~26 tok/sAbout reading paceOpen →
Apple M5 Pro9.18 GB of 64 GBfits~29 tok/sAbout reading paceOpen →
AMD Ryzen AI Max+ 395 with Radeon 8060S9.18 GB of 128 GBfits~24 tok/sAbout reading paceOpen →
Apple M3 Max9.18 GB of 128 GBfits~36 tok/sOpen →
Apple M4 Max9.18 GB of 128 GBfits~46 tok/sOpen →
NVIDIA DGX Spark9.18 GB of 128 GBfits~22 tok/sAbout reading paceOpen →
Apple M2 Ultra9.18 GB of 192 GBfits~60 tok/sOpen →

Decode is a calibrated estimate from the published calibration; capacity is the manufacturer's published ceiling, not guaranteed free memory. Fitting in memory is not the same as loading: whether the runtime and version you have supports this architecture and format on that machine has not been tested here. Offloaded rows assume there is enough system RAM for the overflow — the calculator checks that against the RAM you declare. Each “Open” link keeps this model, format and context.

Run it in the cloud

Rent a GPU that runs deepseek-coder-6.7b-instruct

Every rentable machine that holds the whole model, from Vast.ai and RunPod, with this site's speed estimate for each and the provider's own price, read live. Cheapest first; sort by cost per token or speed instead, or switch the format.

Prices · 18:30 UTC, 22 Sept
28 configurations in stock · 5 out of stock
MachineSpeedPer hourPer M tokensWhereRent
1× RTX 306012 GBrecommendedcheapestbest value~29 tok/sAbout reading pace$0.036$0.34Vast.aiMarketplace · 99.8% reliableRent on Vast.ai
1× RTX 308010 GB~62 tok/sFaster than you read$0.082$0.37Vast.aiMarketplace · 98.3% reliableRent on Vast.ai
1× RTX 4060 Ti 16GB16 GB~23 tok/sAbout reading pace$0.090$1.05Vast.aiMarketplace · 99.4% reliableRent on Vast.ai
1× RTX 407012 GB~41 tok/sFaster than you read$0.096$0.64Vast.aiMarketplace · 99.8% reliableRent on Vast.ai
1× RTX 309024 GB~76 tok/sFaster than you read$0.12$0.44Vast.aiMarketplace · 99.5% reliableRunPod $0.50/h Rent on Vast.ai
1× RTX 5060 Ti 16GB16 GB~36 tok/sFaster than you read$0.12$0.92Vast.aiMarketplace · 99.1% reliableRent on Vast.ai
1× RTX 3080 Ti12 GB~74 tok/sFaster than you read$0.14$0.50Vast.aiMarketplace · 99.9% reliableRent on Vast.ai
1× RTX 507012 GB~55 tok/sFaster than you read$0.18$0.89Vast.aiMarketplace · 98.3% reliableRent on Vast.ai

First time renting a GPU? How it works, in four steps
  1. Create an account and add credit. Both providers are prepaid: $10 is enough to try any card on this page for hours. A new RunPod account that arrives through a referral link gets a one-time $5 credit when it first adds $10.
  2. Pick the card and the count shown here, and a template: llama.cpp or vLLM for an OpenAI-compatible API, or one with a web chat if you only want to talk to the model. “How to launch it” below gives the exact image and command.
  3. Wait for the download. The weights are fetched on the machine; tens of gigabytes take a few minutes on a data-centre connection. You pay by the second from the moment it starts.
  4. Stop it when you are done. A running machine bills even when idle. A stopped one costs nothing per hour, though its disk is usually still billed until you delete it.
How to launch it

No Q4_K_M file of deepseek-coder-6.7b-instruct is catalogued here, so there is no exact command to vouch for. Start the machine from the llama.cpp server image ghcr.io/ggml-org/llama.cpp:server-cuda and point -hf at a Q4_K_M build from the publisher or a quantizer you trust — search Hugging Face for one. Check its file size against the memory figure on this page before you rent.

Every machine holds the whole model at Q4_K_M and 8,192 tokens of context, no offload. Speeds are this site’s single-stream decode estimates; prices are what each provider’s own API quoted, on-demand, for the whole machine. Vast hosts below 98% measured reliability are left out.

Referral links Vast.ai, RunPod and Novita pay us a share of what you spend if you sign up through these buttons. It costs you nothing, and it never decides an order or a recommendation: both are computed from the live price and the speed, and options that pay us nothing are listed and recommended on the same terms. How we rank

Buying a card instead, or paying by the token? Compare a year of deepseek-coder-6.7b-instruct three ways →

Under the hood

Architecture, read from the publisher’s file

The numbers every figure above is computed from, with the file they came from.

Architecture

✓ Architecture read from the published config.json

Retrieved 2026-09-01 at pinned commit e5d64addd26a; parameter count from the safetensors index at the same revision.

Architecture
llama
Layers
32
Hidden size
4,096
Attention heads
32
KV heads
32
Feed-forward width
11,008
Vocabulary
32,256
Context ceiling
16,384
RoPE theta
100,000

Where the memory goes

tokenembedding× 32 decoder blocksMulti-head attention32 query · 32 KV headsfull contextFeed-forwardone networkall activeoutputprojectiongrows with contextfixed per token

Every attention head caches its own keys and values, so the KV cache grows at the full multi-head rate with context.

More from DeepSeek

Use this answer in your own product

As JSON, from the API
curl -s https://llmbottleneck.com/v1/analyze \
  -H "Authorization: Bearer $LLMB_KEY" -H "content-type: application/json" \
  -d '{"model":"deepseek-ai-deepseek-coder-6-7b-instruct","quantization":"Q4_K_M","context":8192,"hardware":"nvidia-geforce-rtx-4090"}'

Same engine, same evidence, every field sourced. Free key in one step →

On your page, as a widget
<script src="https://llmbottleneck.com/widget.js"
  data-model="deepseek-ai-deepseek-coder-6-7b-instruct" data-quantization="Q4_K_M"
  data-hardware="nvidia-geforce-rtx-4090" data-context="8192"></script>

No key needed. Unbranded, with your own buy button, on Pro and Business →

Citing this page

LLM Bottleneck. “deepseek-coder-6.7b-instruct VRAM and hardware requirements.” Architecture from deepseek-ai/deepseek-coder-6.7b-instruct at revision e5d64addd26a, retrieved 2026-09-01. https://llmbottleneck.com/models/deepseek-ai-deepseek-coder-6-7b-instruct

Every figure above is either the published value or a reconstruction whose measured error is on the accuracy page.

llmbottleneck
catalogue 2026-10-03models 327devices 135