
Defog
defog.ai
Open-source text-to-SQL models and tooling.
Quick Information
- Category:
- Data & Analytics
- Pricing:
- Free
- Platforms:
- Python, Docker, Self-hosted
- Free Plan:
- Yes
- API Available:
- Yes
- Last Verified:
- October 2026
What Is Defog?
Defog.ai builds open-source text-to-SQL models and tooling, best known for SQLCoder. The GitHub repo says the code is Apache 2.0 while the model weights are under CC BY-SA 4.0. The licence summary says you can use and modify the model for any purpose including commercial use, but modified weights, such as fine-tuned ones, must be open-sourced under the same licence terms. The SQLCoder-70B model card lists CC-BY-SA-4.0, and says it was developed by Defog, Inc, fine-tuned from CodeLlama-70B, and the Llama-3 8B variant is also CC-BY-SA-4.0. A 2026 comparison describes SQLCoder-7B-2 the same way and flags that fine-tunes must be re-shared, and I found no evidence Defog has changed these terms.
No official Defog pricing for SQLCoder turned up. The only cost figure is from a third-party host: Replicate estimates about $0.00098 per run, and notes the model can also run on your own computer with Docker. Most sources date from 2023 to 2024, so the commercial offering, if any, was not verified. Check defog.ai for hosted products or support.
Defog suits teams that want to run text-to-SQL privately on their own hardware, avoiding sending schema and data to a third-party API. The share-alike licence on weights is the thing to review with your legal team if you plan to fine-tune. Compare Vanna, AI2sql and AskYourDatabase. Browse the Data & Analytics tools directory for more.
What Can You Use Defog For?
Private text-to-SQL
Run models locally.
Research and fine-tuning
Open weights.
Defog Features
- SQLCoder models — 7B, 34B and 70B variants.
- Share-alike weights — CC BY-SA 4.0.
- Local deployment — Docker.
Who Is Defog For?
- Privacy-conscious teams — Run on own hardware.
- ML engineers — Open weights.
Defog Pros & Limitations
What We Like
- Open models
- Commercial use allowed
- Run locally
Limitations
- Share-alike on modified weights
- Most sources date from 2023-2024
- No official pricing found
Defog Pricing
| Plan | Price | Main Features |
|---|---|---|
| Open-source models | Free | Code Apache 2.0; weights CC BY-SA 4.0; fine-tunes must be re-shared |
| Hosted inference (third-party) | About $0.00098 per run on Replicate | Estimate |
Pricing was last verified October 2026. Check the official website for the latest pricing.
AI Listing Jungle Ranking
- Global Rank:
- #738
- Overall Score:
- 56.0/100
- Monthly Users:
- –
- Rank Change:
- ▼ 191
This ranking reflects AI Listing Jungle's own independent scoring methodology and is not an endorsement by Defog or its company. How Our Rankings Work
Frequently Asked Questions
Is SQLCoder free?
Yes, code is Apache 2.0 and weights CC BY-SA 4.0.
Can I use it commercially?
Yes, per the licence summary.
Must I share fine-tunes?
Yes, under the same licence.
Can I run it locally?
Yes, for example with Docker.
Our Take
Defog gives teams a private text-to-SQL option.
Check the share-alike terms.
Defog Alternatives
Defog Comparisons
Ready to try Defog?
Visit the official website to get started.
Visit Official WebsiteAI Listing Jungle is an independent AI tools directory. Product names, logos, and trademarks belong to their respective owners.



