1× RTX 3060
$0.036per hour
- Speed
- ~41 tok/sFaster than you read
- Per million tokens
- $0.24
Vast.ai · Marketplace · 99.8% reliable
Rent on Vast.aiLowest cost per token at 20+ tok/s
LLM//BOTTLENECK
IT FITS
Yes. 9 of 9 formats evaluated fit in 24 GB, the largest Apple M3 configuration, at 8,192 tokens. 5 of them are sized from a published file; the rest are rebuilt from the pinned architecture. The best quality that fits is FP16, needing 18.4 GB and running at an estimated 6 tokens per second.
Fitting in memory is not the same as loading. Whether the runtime and version you have supports this architecture and format on this machine has not been tested here.
Find the Apple M3: Amazon ↗ · eBay (new and used) ↗Store links may pay us a commission. They never decide which card is suggested — the memory arithmetic does.
The Apple M3 only holds it at FP16, at an estimated ~5.6 tokens per second. A rented card runs a better format at full speed, billed by the second.
$0.036per hour
Vast.ai · Marketplace · 99.8% reliable
Rent on Vast.aiLowest cost per token at 20+ tok/s
$0.082per hour
Vast.ai · Marketplace · 98.3% reliable
Rent on Vast.aiCheapest at 1.6× the speed or more
$7.89per hour
RunPod · Secure Cloud
Rent on RunPodHighest speed estimate
Compare all 28 rentable configurations →
Here the rented card is as cheap as the API or cheaper per token ($0.24 per million), and it keeps your data on a machine you control. The API is still the easier start: nothing to set up and nothing to switch off.
ghcr.io/ggml-org/llama.cpp:server-cuda -hf Qwen/Qwen3-8B-GGUF:Q4_K_M -c 8192 -ngl 999 --host 0.0.0.0 --port 8080 8080 — an OpenAI-compatible API at /v1Starting from a saved llama.cpp template instead? Leave the arguments empty and set these variables — only the first two change between models:
LLAMA_ARG_HF_REPO=Qwen/Qwen3-8B-GGUF:Q4_K_M
LLAMA_ARG_CTX_SIZE=8192
LLAMA_ARG_N_GPU_LAYERS=999
LLAMA_ARG_HOST=0.0.0.0
LLAMA_ARG_PORT=8080Already have the runtime? llama-server -hf Qwen/Qwen3-8B-GGUF:Q4_K_M -c 8192 -ngl 999 --host 0.0.0.0 --port 8080. Weights: Qwen/Qwen3-8B-GGUF. The CUDA image is for NVIDIA cards; an AMD machine needs llama.cpp's ROCm build.
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
The models nearest to Qwen3-8B — same lab first, then closest in size — that the Apple M3 holds whole at the standard format and runs at a usable speed. Nearest in size is not the same as equally good; compare them on the task you care about.
How long a conversation. At FP16, this pair holds 40,960 tokens of context — roughly 30,720 words — needing 23.2 GB. That is Qwen's own configured maximum of 40,960 tokens, not the card running out. A larger device does not extend it; a documented RoPE or YaRN extension might, and is a separate question from this one. The nearest round setting below it is 32,768.
The Apple M3 is sold with 8, 16 or 24 GB of unified memory, and the amount decides the fit. Each row is the best format that fits in that much at 8,192 tokens, whole model resident.
5 of them are sized from a published file; the rest are rebuilt from the pinned architecture. The Basis column says which is which for each row. Decode and first-token figures are calibrated estimates, not runs on this card.
| Format | Needs | Of 24 GB | Fits | Decode | First token | Basis |
|---|---|---|---|---|---|---|
| FP16 | 18.4 GB | 77% | yes | ~5.6 tok/sSlow | no comparable peak | reconstructed size |
| Q8_0 | 10.7 GB | 45% | yes | ~9.5 tok/sSlow | no comparable peak | published data |
| Q6_K | 8.73 GB | 36% | yes | ~12 tok/sAbout reading pace | no comparable peak | published data |
| Q5_K_M | 7.86 GB | 33% | yes | ~13 tok/sAbout reading pace | no comparable peak | published data |
| Q5_0 | 7.73 GB | 32% | yes | ~13 tok/sAbout reading pace | no comparable peak | published data |
| Q4_K_M | 7.04 GB | 29% | yes | ~15 tok/sAbout reading pace | no comparable peak | published data |
| Q4_0 | 6.78 GB | 28% | yes | ~15 tok/sAbout reading pace | no comparable peak | reconstructed size |
| Q3_K_M | 6.16 GB | 26% | yes | ~17 tok/sAbout reading pace | no comparable peak | reconstructed size |
| Q2_K | 5.21 GB | 22% | yes | ~20 tok/sAbout reading pace | no comparable peak | reconstructed size |
Sized at 8,192 tokens of context with the whole model resident — weights, the KV cache and the runtime reserve, offload off. Speed is only quoted for a format that fits: a rate for a configuration that cannot load is not a fact about anything.
First token is modelled from the arithmetic the prompt requires, and that count does not change with the weight format — which is why it reads the same on every row. Real prefill does vary by format, because a quantized matmul is a different kernel; this model does not capture that, and the figure should be read as an order of magnitude rather than a ranking between formats.
This page fixes the context at 8,192 tokens and one device. Batch, concurrent users, KV-cache format, clusters and rental cost are all in the calculator, already set to this pairing.
Open in the calculator →Everything the Apple M3 runsBest models for 24 GB
Qwen3-8B’s architecture is read from its publisher’s own config.json at a pinned revision, and the Apple M3’s 24 GB and 100 GB/s come from the manufacturer’s specification. How far each figure can be trusted is published, per format and worst case included, on the accuracy scorecard.
Building this into your own product? A free API key returns exactly these figures, and the widget puts this answer on a product page with one script tag.
curl -s https://llmbottleneck.com/v1/analyze \
-H "Authorization: Bearer $LLMB_KEY" -H "content-type: application/json" \
-d '{"model":"qwen-qwen3-8b","quantization":"FP16","context":8192,"hardware":"apple-m3"}'Same engine, same evidence, every field sourced. Free key in one step →
<script src="https://llmbottleneck.com/widget.js" data-model="qwen-qwen3-8b" data-quantization="FP16" data-hardware="apple-m3" data-context="8192"></script>
No key needed. Unbranded, with your own buy button, on Pro and Business →