Qwen3-4B vs sqlcoder-7b-2

Specs, VRAM requirements and download trends — updated 26 October 2026.

Qwen · A · Open weights
Params
4.0 B
Context
40,960
30d
11.3 M
apache-2.0 · commercial OK
defog · B · Open weights
Params
6.7 B
Context
16,384
30d
235 K

Specification comparison

Differences are highlighted; identical values are muted.

Specification Qwen3-4B sqlcoder-7b-2
Parameters 4.0 B 6.7 B
Architecture Qwen3ForCausalLM LlamaForCausalLM
Context length 40,960 16,384
Licence apache-2.0 cc-by-sa-4.0
Commercial use Allowed Unknown
Languages — —
Downloads 30d 11,268,043 235,115
Downloads all time 93.0 M 1.9 M
Quantizations on the Hub SAFETENSORS GGUF, SAFETENSORS
Gated No No
First seen on the Hub 2025-04-27 2024-02-05

Download trend

Daily snapshots, last 90 days (29 Jul – 26 Oct)

12.6 M161 K
Qwen3-4B sqlcoder-7b-2

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

Qwen3-4B · fp16 10.0 GB / 24 GB
✅ Runs comfortably
sqlcoder-7b-2 · fp16 16.3 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons