gpt-oss-20b vs sqlcoder-7b-2

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

openai · A · Open weights
Params
21.5 B
Context
131,072
30d
5.8 M
apache-2.0 · commercial OK
defog · B · Open weights
Params
6.7 B
Context
16,384
30d
214 K

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt-oss-20b sqlcoder-7b-2
Deployment Open weights · also via API Open weights
Parameters 21.5 B 6.7 B
Architecture GptOssForCausalLM LlamaForCausalLM
Context length 131,072 16,384
Licence apache-2.0 cc-by-sa-4.0
Commercial use Allowed Unknown
Languages — —
Downloads 30d 5,764,154 214,124
Downloads all time 105.3 M 1.9 M
Quantizations on the Hub SAFETENSORS GGUF, SAFETENSORS
Gated No No
First seen on the Hub 2025-08-04 2024-02-05
API input price / 1M tokens $0.018 not on OpenRouter
API output price / 1M tokens $0.09 not on OpenRouter
Est. cost per 1M input + 1M output tokens $0.11 not on OpenRouter
Cached input / 1M tokens $0.009 not on OpenRouter
AA Intelligence Index 10 not on OpenRouter
AA Coding Index — not on OpenRouter
AA Agentic Index — not on OpenRouter
Max output tokens 32,768 not on OpenRouter
API providers 10 not on OpenRouter
Tool calling Yes not on OpenRouter
Reasoning mode Yes not on OpenRouter

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

gpt-oss-20b $0.11

Download trend

Daily snapshots, last 90 days (28 Jul – 25 Oct)

8.6 M161 K
gpt-oss-20b sqlcoder-7b-2

VRAM side by side

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

sqlcoder-7b-2 · fp16 16.3 GB / 24 GB
✅ Runs comfortably
gpt-oss-20b · fp16 @ 128K ctx 82.4 GB / 24 GB
❌ Won’t fit

Adjacent comparisons