# dbt Semantic Layer vs MetricFlow

> The dbt Semantic Layer is the hosted service on top of MetricFlow: the same YAML definitions, plus JDBC and GraphQL APIs, BI and spreadsheet integrations, an MCP server and caching on Enterprise. MetricFlow is free under Apache 2.0 and queried from the command line; the Semantic Layer needs a dbt plan from $100 per user a month.

Source: https://toolsfordata.com/compare/dbt-semantic-layer-vs-metricflow/ · Updated 2026-12-02

My recommendation: Define metrics in MetricFlow from day one; pay for the dbt Semantic Layer once Tableau, Sheets or agents need to query them.

- Choose dbt Semantic Layer if BI tools, spreadsheets or agents must query the metrics.
- Choose MetricFlow if you want metric definitions tested in the dbt project and nobody queries them from BI tools yet.

## At a glance

| | dbt Semantic Layer | MetricFlow |
|---|---|---|
| Category | Semantic layer | Semantic layer |
| Price | From $100/user/month (Starter, 5,000 queried metrics/month) | Free, open source |
| Free option | Open-source edition: MetricFlow (Apache 2.0) | Open source |
| Deployment | SaaS (dbt platform) | Self-hosted with the dbt project |
| Features supported (of 42) | 28 | 12 |
| Integrations | 31 | 7 |

Tool pages: https://toolsfordata.com/tools/dbt-semantic-layer/ · https://toolsfordata.com/tools/metricflow/

## Differences

### Workflows

- SQL API: dbt Semantic Layer Yes, MetricFlow No
- REST / GraphQL API: dbt Semantic Layer Yes, MetricFlow No
- BI Tool Integrations: dbt Semantic Layer Yes, MetricFlow No
- Spreadsheet Integration: dbt Semantic Layer Yes, MetricFlow No

### AI & Agents

- MCP Server: dbt Semantic Layer Yes, MetricFlow No
- Natural Language Query: dbt Semantic Layer Yes, MetricFlow No

### Query Optimizations

- Pre-Aggregations: dbt Semantic Layer Yes, MetricFlow No

### DataOps

- Orchestration Integration: dbt Semantic Layer Yes, MetricFlow No

### Data Governance

- Data Lineage: dbt Semantic Layer Yes, MetricFlow Unknown

### Security

- SSO: dbt Semantic Layer Yes, MetricFlow No
- RBAC: dbt Semantic Layer Yes, MetricFlow No
- Audit Log: dbt Semantic Layer Yes, MetricFlow No
- Compliance Certifications: dbt Semantic Layer Yes, MetricFlow Unknown
- SCIM Provisioning: dbt Semantic Layer Yes, MetricFlow No
- Private Networking: dbt Semantic Layer Yes, MetricFlow Unknown

### Deployment

- Multi-Environment Support: dbt Semantic Layer Yes, MetricFlow Unknown
- SaaS Deployment: dbt Semantic Layer Yes, MetricFlow No
- Self-Hosted Deployment: dbt Semantic Layer No, MetricFlow Yes

## Both support

- Semantic Models: Metrics & Dimensions, Joins & Relationships, Calculated & Derived Metrics, Multi-Fact Models, Definitions as Code
- Portability: Model Import, Apache Ossie Support
- Workflows: Multi-Warehouse Support, dbt Integration
- AI & Agents: AI-Assisted Modeling
- DataOps: Model Testing & Validation

## Integrations

- Both: Snowflake, Google BigQuery, Amazon Redshift, Databricks, PostgreSQL, dbt, Apache Ossie
- Only dbt Semantic Layer: Trino, Tableau, Omni, Hex, Klipfolio PowerMetrics, Mode, Steep, Google Sheets, Microsoft Excel, Dot, Push.ai, Claude, Cursor, Databricks Agents, Gemini Enterprise, Snowflake Cortex, VS Code, Apache Airflow, Okta, Microsoft Entra ID, Google Workspace, SAML, Power BI, Sigma
- Only MetricFlow: none
