50 models7 providersprices scraped nightly — no estimates
Head to headMay 27, 2026

Qwen 2.5 Coder 7B Instruct vs Stable Code Instruct 3B

Side-by-side on verified pricing, benchmarks, and provider availability.

DimensionQwen 2.5 Coder 7B InstructStable Code Instruct 3B
Cheapest $/1M out
Cheapest $/1M in
Cheapest provider
Capabilities
Context window131K16K
Parameters7B3B
Licenseqwenstability-ai-nc-community
Released2024-11-122024-01-11
Verdict

Stable Code Instruct 3B is one of the cheapest deployable code models at roughly $0.01–0.02/M tokens, while [Qwen 2.5 Coder 7B](/models/alibaba--qwen-2.5-coder-7b-instruct) runs at $0.03–0.05/M — a 2–3× cost premium. That premium buys a meaningful accuracy jump: Qwen 2.5 Coder 7B scores around 73% on HumanEval pass@1 versus approximately 52% for a 3B-class model, a 21-point gap that translates directly into fewer fallback calls in production pipelines.

On raw throughput, [Stable Code Instruct 3B](/models/stability-ai--stable-code-instruct-3b) is fast — small enough to run on a single A10G at 60+ tokens/sec, making it viable for on-device or edge deployments where memory is under 8 GB. If you're building a self-hosted assistant for an air-gapped environment or targeting consumer-grade GPUs, the 3B fits where 7B won't.

Qwen 2.5 Coder 7B handles multi-line completions, docstring generation, and instruction-following prompts with noticeably better consistency. It also maintains quality across longer contexts (4K–8K tokens), whereas 3B models tend to degrade on files exceeding 500 lines.

Pick Stable Code Instruct 3B if memory budget is the hard constraint — edge deployment, CI runners with limited VRAM, or extreme cost optimization where 52% pass@1 is acceptable. Pick Qwen 2.5 Coder 7B if you need reliable instruction-following and multi-line synthesis at moderate scale, and can absorb a 2–3× token cost increase.

Sample workload

5M in + 2M out / month — cheapest provider each

Qwen 2.5 Coder 7B Instruct
Stable Code Instruct 3B

What changes at scale

$/mo estimate

Output tokens dominate cost above a 1:3 input/output ratio. Below 1:1, input dominates and cheaper-input providers win regardless of headline price.

1M in · 250K out ·
5M in · 2M out ·
20M in · 10M out ·
100M in · 60M out ·
Calculate cost for your workload

Compare total monthly cost across providers for Qwen 2.5 Coder 7B Instruct and Stable Code Instruct 3B using your own input/output token mix.

Open workload calculator →
Full model details