SQLCoder 7B

Defog

Defog SQL generation model, beats GPT-4 on SQL

Text Generation Local Latest SQLCoder Family
Parameters
7B
params
Context Window
8K
tokens
Max Output
-
tokens
Input Price
-
per 1M tokens
Output Price
-
per 1M tokens

Capabilities

👁️
Vision
Function Calling
📋
JSON Mode
🌊
Streaming
💬
System Prompt
🖥️
Code Execution
🔍
Web Search
🔌
MCP Support

Local Model Specs

Quantization
Q4_K_M
Runtime
ollama

Details

Release Date
January 8, 2024
Knowledge Cutoff
September 1, 2023
Source
Local
License
Apache 2.0
Model ID
sqlcoder-7b
Last updated: November 26, 2025