Skip to main content
Defog (Defog.ai) logo

Defog (Defog.ai)

Enterprise text-to-SQL powered by open-source SQLCoder models

productivity#text-to-sql#open-source#sqlcoder#natural-language-query
Free plan Free trial Claimed API Self-hosted Teams
Toolglade’s take

Defog stands out for genuinely useful open-source contributions: its SQLCoder models are free to download and self-host, which is a real gift to teams wanting private, on-prem text-to-SQL. The commercial product adds cloud and enterprise features. The honest caveats: Defog is a small, lean team with modest disclosed funding (~$2.2M), and there have been reports of M&A activity in 2025, so its independent status and roadmap may be uncertain - confirm current company status and support commitments before building on the paid product.

About Defog (Defog.ai)

Defog is an enterprise text-to-SQL platform built on its open-source SQLCoder LLM family, letting teams turn natural-language questions into SQL and answers. SQLCoder model weights are free on Hugging Face for self-hosting, while a paid cloud/enterprise product adds managed deployment. Defog is a small YC (W23) team (~$2.2M raised) with reported M&A activity in 2025, so confirm current status.

Defog (Defog.ai), a Y Combinator (W23) company, built an enterprise text-to-SQL platform designed to let business and technical users ask questions in natural language and get accurate SQL and answers back. Its most recognizable contribution is SQLCoder, an open-source family of LLMs (released in multiple sizes such as 8B, 14B and 32B) fine-tuned specifically for SQL generation and published on Hugging Face, where the models gained substantial downloads and GitHub stars and were reported to outperform general-purpose models on Defog's internal SQL benchmarks. The commercial product wraps this capability with cloud and self-hosted deployment options for teams that need accurate, governed natural-language querying over their databases, including those with strict data-residency requirements who prefer to run the open models themselves. This dual approach - open-source models plus a paid enterprise product - is Defog's defining characteristic. Defog is a small team (headquartered in Singapore) that raised a reported ~$2.2M seed round via Y Combinator and other investors. It has historically reported modest revenue with a lean team, and there have been reports of M&A activity around the company in 2025, so its independent status may be in flux. Enterprise pricing has been reported around the low thousands per month for unlimited cloud usage, while the SQLCoder weights remain free to self-host. Buyers should confirm current company status and commercial terms directly.

TL;DR

Defog is an enterprise text-to-SQL platform built on its open-source SQLCoder LLM family, turning natural-language questions into SQL and answers. Its SQLCoder weights are free to self-host on Hugging Face, while a paid cloud/enterprise product adds managed deployment. It is a small YC (W23) team (~$2.2M raised) with reported 2025 M&A activity, so independent status may be uncertain. A strong pick for teams wanting private, self-hosted text-to-SQL.

Company overview

Defog (Defog.ai) is a Y Combinator (W23) company, headquartered in Singapore, focused on accurate natural-language querying of databases. It became well known for open-sourcing its SQLCoder models, which gained meaningful downloads and community traction on Hugging Face and GitHub.

The company raised a reported ~$2.2M seed and has operated with a lean team and modest revenue. There have been reports of M&A activity around Defog in 2025, so its independent status and roadmap may be in flux.

Product features

Defog's core is text-to-SQL: users ask questions in natural language, and SQLCoder-based models generate SQL and answers against connected databases. The open SQLCoder weights (in multiple parameter sizes) can be self-hosted for private, on-prem use.

The commercial product wraps this with cloud and enterprise deployment, connections to databases like PostgreSQL, Snowflake and BigQuery, and API access for embedding. The scope is deliberately focused on SQL generation rather than full dashboards or visualization, and there is no mobile app.

Target market

Engineering and data teams that want accurate, embeddable text-to-SQL - especially privacy-conscious or regulated organizations that prefer to self-host the open models.

Buyer personas

End users

Developers and data engineers integrating or running text-to-SQL.

Buyers

Engineering leaders and data platform owners.

Key influencers

ML engineers and open-source practitioners evaluating SQLCoder.

Ideal customer profile

Technical teams wanting accurate, self-hostable text-to-SQL for private data access, comfortable working with open models and a small vendor.

Funding & performance

Defog raised a reported ~$2.2M seed round (via Y Combinator and other investors). There have been reports of M&A activity around the company in 2025; details are not fully confirmed publicly.

Pros & cons

Pros

  • Open-source SQLCoder models free to self-host
  • Strong reported SQL-generation benchmark results
  • Self-hosting suits data-residency/privacy needs
  • Cloud and enterprise deployment options
  • API access for embedding
  • Y Combinator-backed with real community traction

Cons

  • Small, lean team with modest funding (~$2.2M)
  • Reported M&A activity in 2025; independent status uncertain
  • Enterprise pricing not transparently published
  • Narrower product scope (text-to-SQL only)
  • No mobile app
  • Support depth may be limited given team size

Pricing plans

SQLCoder (open source)
Free
  • Open model weights on Hugging Face
  • Self-hostable
  • Multiple model sizes
  • Community support
Cloud / Enterprise
From ~$5,000/mo (reported) / month
  • Managed cloud deployment
  • Database integrations
  • API access
  • Enterprise support (negotiated)

Key features

API
Team collaboration
Self-hosted
Integrations
PostgreSQL, MySQL, Snowflake, BigQuery, Redshift, Hugging Face
Input types
text
Output types
text
Best For
Self-hosted text-to-SQL, Natural-language querying of databases, Private/on-prem AI data access, SQL generation with open models

Compare key features

View all alternatives →
Feature
Defog (Defog.ai)
Basedash
ThoughtSpot
Pricing
Freemium
Paid
Paid
Free plan
Yes
No
No
Free trial
Yes
Yes
Yes
API
Yes
Yes
Yes
Self-hosted
Yes
Yes
No
Team support
Yes
Yes
Yes

Frequently asked questions

What is SQLCoder?+

SQLCoder is Defog's open-source family of LLMs fine-tuned for SQL generation, released in multiple sizes on Hugging Face and free to self-host, with strong reported results on Defog's internal SQL benchmarks.

Is Defog free?+

The SQLCoder open-source model weights are free to download and self-host. Defog's managed cloud/enterprise product is paid, with pricing negotiated rather than publicly listed.

Can Defog be self-hosted?+

Yes. A key advantage is that you can self-host the open SQLCoder models for private, on-prem text-to-SQL, which suits data-residency and privacy requirements.

How much does Defog's enterprise product cost?+

Reports put unlimited cloud usage around the low thousands per month (roughly $5,000/month in some sources), but pricing is not transparently published. Verify with the vendor as of August 2026.

Is Defog still an independent company?+

Defog is a small YC (W23) team that raised ~$2.2M, and there have been reports of M&A activity in 2025. Its independent status may be in flux, so confirm current status directly.

Reviews (0)

Write a review

Pick a rating
Loading reviews…
Compare

Compare Defog (Defog.ai) with other AI tools

Side-by-side pages for pricing, features, and best-fit use cases.

All comparisons →

Similar tools you may like