# Cube Core vs MetricFlow

> Cube Core and MetricFlow are both free, Apache 2.0 metrics engines: Cube Core serves metrics over SQL, REST and GraphQL with pre-aggregations, MetricFlow compiles metrics in a dbt project and is queried from the command line. MetricFlow's APIs need the paid dbt platform; Cube Core's are included.

Source: https://toolsfordata.com/compare/cube-core-vs-metricflow/ · Updated 2026-12-02

- Choose Cube Core if applications and BI tools must query the metrics without a paid platform.
- Choose MetricFlow if your models are in dbt and you mainly want metric definitions reviewed and tested in CI.

## At a glance

| | Cube Core | MetricFlow |
|---|---|---|
| Category | Semantic layer | Semantic layer |
| Price | Free, open source | Free, open source |
| Free option | Open source | Open source |
| Deployment | Self-hosted with Docker | Self-hosted with the dbt project |
| Features supported (of 42) | 18 | 12 |
| Integrations | 31 | 7 |

Tool pages: https://toolsfordata.com/tools/cube-core/ · https://toolsfordata.com/tools/metricflow/

## Differences

### Semantic Models

- Hierarchies: Cube Core Yes, MetricFlow No

### Portability

- Apache Ossie Support: Cube Core Unknown, MetricFlow Yes

### Workflows

- SQL API: Cube Core Yes, MetricFlow No
- REST / GraphQL API: Cube Core Yes, MetricFlow No
- BI Tool Integrations: Cube Core Yes, MetricFlow No
- Embedded Analytics: Cube Core Yes, MetricFlow No

### AI & Agents

- AI-Assisted Modeling: Cube Core Unknown, MetricFlow Yes

### Query Optimizations

- Pre-Aggregations: Cube Core Yes, MetricFlow No
- Query Caching: Cube Core Yes, MetricFlow No

### DataOps

- Model Testing & Validation: Cube Core No, MetricFlow Yes
- Orchestration Integration: Cube Core Yes, MetricFlow No

### Data Governance

- Row & Column-Level Security: Cube Core Yes, MetricFlow No

## Both support

- Semantic Models: Metrics & Dimensions, Joins & Relationships, Calculated & Derived Metrics, Multi-Fact Models, Definitions as Code
- Portability: Model Import
- Workflows: Multi-Warehouse Support, dbt Integration
- Deployment: Self-Hosted Deployment

## Integrations

- Both: Amazon Redshift, Google BigQuery, Snowflake, PostgreSQL, Databricks, dbt
- Only Cube Core: ClickHouse, DuckDB, SingleStore, OpenText Analytics Database (Vertica), Firebolt, Apache Druid, Apache Pinot, Microsoft SQL Server, MongoDB, MySQL, Oracle DB, QuestDB, SQLite, Amazon Athena, Presto, Trino, ksqlDB, Materialize, RisingWave, Apache Airflow, Dagster, Prefect, Auth0, Amazon Cognito, LookML
- Only MetricFlow: Apache Ossie
