# Cube vs dbt Semantic Layer

> Cube is a semantic layer with its own analytics, embedding and AI agent; the dbt Semantic Layer is the metrics layer of the dbt platform, defined next to the models. Cube has pre-aggregations, a DAX API and row rules on its paid plans from $40 per developer a month; dbt's needs a $100-per-user Starter plan and caches only on Enterprise.

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

- Choose Cube if you need pre-aggregations on every plan, a DAX API for Power BI, embedded analytics, or row-level rules.
- Choose dbt Semantic Layer if your models live in dbt and you want metrics in the same pull requests and CI.

## At a glance

| | Cube | dbt Semantic Layer |
|---|---|---|
| Category | Semantic layer | Semantic layer |
| Price | From $40/developer/month (Starter), plus compute | From $100/user/month (Starter, 5,000 queried metrics/month) |
| Free option | Free plan | Open-source edition: MetricFlow (Apache 2.0) |
| Deployment | SaaS, dedicated, or bring your own cloud | SaaS (dbt platform) |
| Features supported (of 42) | 39 | 28 |
| Integrations | 61 | 31 |

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

## Differences

### Semantic Models

- Hierarchies: Cube Yes, dbt Semantic Layer No

### Portability

- Model Export: Cube Yes, dbt Semantic Layer No

### Workflows

- MDX / DAX API: Cube Yes, dbt Semantic Layer No
- Embedded Analytics: Cube Yes, dbt Semantic Layer No

### AI & Agents

- AI Metadata & Synonyms: Cube Yes, dbt Semantic Layer No
- Verified Queries: Cube Yes, dbt Semantic Layer No
- AI Memory: Cube Yes, dbt Semantic Layer No
- Agent Evaluation: Cube Yes, dbt Semantic Layer No

### Query Optimizations

- Query Caching: Cube Yes, dbt Semantic Layer No

### DataOps

- Observability & Monitoring: Cube Yes, dbt Semantic Layer No

### Data Governance

- Row & Column-Level Security: Cube Yes, dbt Semantic Layer No
- Data Lineage: Cube No, dbt Semantic Layer Yes

### Deployment

- Self-Hosted Deployment: Cube Yes, dbt Semantic Layer No

## Both support

- Semantic Models: Metrics & Dimensions, Joins & Relationships, Calculated & Derived Metrics, Multi-Fact Models, Definitions as Code
- Portability: Model Import, Apache Ossie Support
- Workflows: SQL API, REST / GraphQL API, BI Tool Integrations, Spreadsheet Integration, Multi-Warehouse Support, dbt Integration
- AI & Agents: MCP Server, Natural Language Query, AI-Assisted Modeling
- Query Optimizations: Pre-Aggregations
- DataOps: Model Testing & Validation, Orchestration Integration
- Security: SSO, RBAC, Audit Log, Compliance Certifications, SCIM Provisioning, Private Networking
- Deployment: Multi-Environment Support, SaaS Deployment

## Integrations

- Both: Amazon Redshift, Google BigQuery, Snowflake, PostgreSQL, Trino, Databricks, Tableau, Power BI, Microsoft Excel, Google Sheets, Claude, Cursor, dbt, Apache Airflow, Okta, Microsoft Entra ID, Google Workspace, Apache Ossie
- Only Cube: ClickHouse, DuckDB, SingleStore, OpenText Analytics Database (Vertica), Firebolt, Apache Druid, Apache Pinot, Microsoft SQL Server, MongoDB, MySQL, Oracle DB, QuestDB, SQLite, Amazon Athena, Presto, Microsoft Fabric, ksqlDB, Materialize, RisingWave, ChatGPT, OpenAI Codex, Anthropic, OpenAI, Amazon Bedrock, Google Vertex AI, Databricks Model Serving, Snowflake Cortex LLMs, Dagster, Prefect, Auth0, Amazon Cognito, GitHub, GitLab, Bitbucket, Datadog, Grafana Cloud, New Relic, Amazon CloudWatch, Slack, LookML, Snowflake Semantic Views, Databricks Metric Views, Microsoft Copilot
- Only dbt Semantic Layer: Omni, Hex, Klipfolio PowerMetrics, Mode, Steep, Dot, Push.ai, Databricks Agents, Gemini Enterprise, Snowflake Cortex, VS Code, SAML, Sigma
