Simon Willison highlighted a new 27B-parameter Qwen release (source). Here’s a compact, hands-on playbook for trying models of this size locally and in the cloud—without wasting time or budget.
What’s new and why it matters
~27B models often land in a sweet spot: stronger reasoning than 7B–13B, while still workable on a single high-end GPU via 4-bit quantization. They’re great for evaluations, prototypes, and selective production tasks.
Quick ways to run a 27B model
- Easiest local (GUI/CLI): Ollama with GGUF quantized weights. Plan for a modern NVIDIA GPU; 4-bit can fit on consumer cards, CPU-only works but is slower.
- Fast local/server API: vLLM for high-throughput serving, or TGI for stable text-generation APIs. Pull the model from Hugging Face and serve over HTTP.
- No setup (hosted): Together AI, Replicate, or HF Inference Endpoints if you just need to evaluate capability, latency, and cost quickly.
Quantization cheatsheet
- GGUF (int4/int8): For llama.cpp and Ollama. Easiest cross‑platform option.
- AWQ/GPTQ (int4): Popular for NVIDIA GPUs, often strong quality/latency trade‑offs for 20B–30B models.
- BF16/FP16: Highest quality if your GPU VRAM allows; consider multi‑GPU sharding if needed.
Benchmark and sanity‑check quickly
- Automated evals: Use lm‑evaluation‑harness with small suites (e.g., MMLU‑lite, ARC‑c, HellaSwag) to get first‑pass signals.
- Practical probes: Try short tasks: multi‑step reasoning, function calling/tool use stubs, long‑context recall, and harmlessness/refusal edge cases.
- Latency/throughput: Measure tokens/sec for 128/512/1k token generations with and without streaming. Watch GPU utilization and memory headroom.
- Compare baselines: Keep a 13B and a 70B reference handy to see where 27B wins or falls short for your use case.
Prompt format matters
Qwen‑family chat models often expect a ChatML‑style prompt. Always check the model card for the exact template and stop tokens.
- Confirm system/instruction tags and role markers on the Qwen model hub.
- Keep temperature modest (0.2–0.7) while evaluating reasoning; test higher values for creative tasks.
- Log prompts, seeds, and decoding params so results are comparable across runs.
Cost‑aware cloud tips
- Target GPUs like L4, A10G, A100, or H100 depending on latency/throughput goals. Use spot/preemptible where possible.
- Cap max tokens and enable streaming to cut tail latency in user‑facing apps.
- Batch requests with vLLM for higher tokens/sec if you’re serving multiple users.
Licensing and safety checks
- Verify the model’s license and any usage restrictions on its Hugging Face card before production use.
- Don’t paste secrets into prompts. Add output filters and rate limits before exposing endpoints.
Key takeaway
Treat any “new hot” 27B release as a candidate, not a conclusion. Use this loop—spin up fast, quantize, sanity‑check, benchmark, compare—to decide if it fits your stack.
Want more bite‑size, practical AI briefings? Subscribe to The AI Nuggets newsletter.

