Llama-3.1-8B-Instruct vs sqlcoder-7b-2

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

meta-llama · A · Open weights
Params
8.0 B
Context
—
30d
4.9 M
llama3.1 licence · conditional
defog · B · Open weights
Params
6.7 B
Context
16,384
30d
214 K

Specification comparison

Differences are highlighted; identical values are muted.

Specification Llama-3.1-8B-Instruct sqlcoder-7b-2
Deployment Open weights · also via API Open weights
Parameters 8.0 B 6.7 B
Architecture LlamaForCausalLM LlamaForCausalLM
Context length 131,072 16,384
Licence llama3.1 cc-by-sa-4.0
Commercial use Conditional Unknown
Languages 8 —
Downloads 30d 4,880,965 214,124
Downloads all time 191.2 M 1.9 M
Quantizations on the Hub SAFETENSORS GGUF, SAFETENSORS
Gated Yes — accept licence No
First seen on the Hub 2024-07-18 2024-02-05
API input price / 1M tokens $0.05 not on OpenRouter
API output price / 1M tokens $0.08 not on OpenRouter
Est. cost per 1M input + 1M output tokens $0.13 not on OpenRouter
Cached input / 1M tokens $0.025 not on OpenRouter
AA Intelligence Index 6.9 not on OpenRouter
AA Coding Index 5.4 not on OpenRouter
AA Agentic Index — not on OpenRouter
Max output tokens 117,964 not on OpenRouter
API providers 5 not on OpenRouter
Tool calling Yes not on OpenRouter
Reasoning mode No not on OpenRouter

API cost

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

Llama-3.1-8B-Instruct $0.13

Download trend

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

8.0 M161 K
Llama-3.1-8B-Instruct 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
Llama-3.1-8B-Instruct · fp16 19.4 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons