dbt Semantic Layer vs MetricFlow

    By Ari Bajo - data engineer turned writer.

    Updated on December 2, 2026

    Summary

    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.

    My recommendation

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

    dbt Semantic Layer and MetricFlow differ on 18 of the 42 features in my semantic layer feature matrix and share 11.

    dbt Semantic Layer vs MetricFlow at a glance

    Criteriondbt Semantic LayerMetricFlow
    What it isdbt Semantic Layer is a metrics layer of the dbt platform, powered by the open-source MetricFlow engine, where metrics are defined next to dbt models and served to BI tools, spreadsheets, and AI agents through JDBC, GraphQL, and MCP.MetricFlow is a metrics engine behind the dbt Semantic Layer that compiles ratio, cumulative, and derived metrics defined in a dbt project into SQL. Apache 2.0; the APIs and BI integrations are part of the paid dbt platform.
    Best forAnalytics engineering teams whose models already live in dbt and who are on a paid dbt plan, which the APIs and integrations require.Dbt projects that want tested metric definitions in Git and can query them from the command line, without BI tools connected.
    CategorySemantic layerSemantic layer
    Core strengthMetrics next to dbt models, served through APIsOpen-source metrics engine inside dbt
    PricingFrom $100/user/month (Starter, 5,000 queried metrics/month)Free, open source
    Free optionOpen-source edition: MetricFlow (Apache 2.0)Open source
    DeploymentSaaS (dbt platform)Self-hosted with the dbt project
    Features28 of 42 tracked12 of 42 tracked
    Notable caveatCaching needs Enterprise; no Microsoft Fabric supportAPIs and BI integrations need the paid dbt platform

    Key differences between dbt Semantic Layer and MetricFlow

    The 18 features where only one of them is confirmed, by feature group. Each line says how the tool does it and links the source.

    Workflows

    • SQL API

      dbt Semantic Layer: A JDBC API over Arrow Flight SQL, on Starter and Enterprise plans (docs).

      MetricFlow: not supported.

    • REST / GraphQL API

      dbt Semantic Layer: A GraphQL API for metrics and dimensions, on Starter and Enterprise plans (docs).

      MetricFlow: not supported.

    • BI Tool Integrations

      dbt Semantic Layer: Tableau, Hex, Mode, Omni and others; Power BI and Sigma are in preview (docs).

      MetricFlow: not supported.

    • Spreadsheet Integration

      dbt Semantic Layer: Google Sheets and Microsoft Excel integrations (docs).

      MetricFlow: not supported.

    AI & Agents

    • MCP Server

      dbt Semantic Layer: The dbt MCP server lists, describes and queries metrics, hosted or self-hosted (docs).

      MetricFlow: not supported.

    • Natural Language Query

      dbt Semantic Layer: dbt Wizard turns questions about metrics into SQL with MetricFlow (docs).

      MetricFlow: not supported.

    Query Optimizations

    • Pre-Aggregations

      dbt Semantic Layer: Declarative caching pre-computes saved queries, on Enterprise plans; you choose which queries (docs).

      MetricFlow: not supported.

    DataOps

    • Orchestration Integration

      dbt Semantic Layer: Jobs run on the dbt scheduler or from Airflow and other orchestrators (docs).

      MetricFlow: not supported.

    Data Governance

    • Data Lineage

      dbt Semantic Layer: dbt Catalog shows the lineage of models and metrics (docs).

      MetricFlow: not confirmed.

    Security

    • SSO

      dbt Semantic Layer: SAML, Okta, Entra ID and Google Workspace for dbt accounts; not for semantic layer production credentials (docs).

      MetricFlow: not supported.

    • RBAC

      dbt Semantic Layer: Role-based access controls for projects and environments (docs).

      MetricFlow: not supported.

    • Audit Log

      dbt Semantic Layer: Audit log on Enterprise plans (docs).

      MetricFlow: not supported.

    • Compliance Certifications

      dbt Semantic Layer: SOC 2, ISO 27001, ISO 27701 and ISO 42001 on the security page (website).

      MetricFlow: not confirmed.

    • SCIM Provisioning

      dbt Semantic Layer: SCIM with Okta or Entra ID on Enterprise plans (docs).

      MetricFlow: not supported.

    • Private Networking

      dbt Semantic Layer: Private connections on AWS and Azure (docs).

      MetricFlow: not confirmed.

    Deployment

    • Multi-Environment Support

      dbt Semantic Layer: Separate development and deployment environments; the semantic layer queries deployment environments (docs).

      MetricFlow: not confirmed.

    • SaaS Deployment

      dbt Semantic Layer: The service layer and APIs run in the dbt platform (docs).

      MetricFlow: not supported.

    • Self-Hosted Deployment

      dbt Semantic Layer: not supported.

      MetricFlow: Runs wherever the dbt project runs (docs).

    dbt Semantic Layer or MetricFlow: which to choose

    Choose dbt Semantic Layer if

    BI tools, spreadsheets or agents must query the metrics.

    dbt Semantic Layer profile dbt Semantic Layer alternatives

    Choose MetricFlow if

    You want metric definitions tested in the dbt project and nobody queries them from BI tools yet.

    MetricFlow profile MetricFlow alternatives

    What both dbt Semantic Layer and MetricFlow do

    11 features supported by both
    • 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

    dbt Semantic Layer vs MetricFlow integrations

    dbt Semantic Layer lists 31 integrations and MetricFlow 7; 7 are on both lists. See the integrations matrix for all tools.

    dbt Semantic Layer vs MetricFlow FAQ

    Is dbt Semantic Layer or MetricFlow cheaper?

    dbt Semantic Layer: from $100/user/month (Starter, 5,000 queried metrics/month) (open-source edition: MetricFlow (Apache 2.0)). MetricFlow: Free, open source (open source). Prices come from each vendor's pricing page.

    Which has more features, dbt Semantic Layer or MetricFlow?

    dbt Semantic Layer supports 28 and MetricFlow 12 of the 42 features in my semantic layer feature matrix. They share 11 and differ on 18; only dbt Semantic Layer has SQL API, REST / GraphQL API and BI tool integrations; only MetricFlow has self-hosted deployment.

    Is MetricFlow open source?

    Yes. MetricFlow is open source; dbt Semantic Layer is commercial, with a free option.

    Can dbt Semantic Layer and MetricFlow be self-hosted?

    dbt Semantic Layer: SaaS (dbt platform). MetricFlow: Self-hosted with the dbt project.

    Data from my semantic layer feature matrix, checked against each vendor's docs, and pricing pages. For more options, see the best semantic layer tools.

    Evaluating data tools in 2026?

    I curate the most comprehensive lists of data tools, up-to-date comparison tables, and actionable market guides for data teams. More useful than a Gartner report. More reliable than asking AI. Next up: Data FinOps.