Semantic & metrics layers · Malloy Data (a Series of LF Projects, LLC)

Malloy

Open-source modeling and query language that compiles to SQL, letting analysts define reusable metrics and explore data without repeating joins.

Malloy is an open-source language, created by the team behind Looker's LookML, for describing data relationships and querying them. Instead of writing repetitive SQL joins and aggregations, analysts define a semantic model once — sources, joins, and named measures/dimensions — and then write short, composable queries against it; Malloy compiles both the model and the query into standard SQL that runs on the underlying database. It ships as a VS Code extension, a CLI, and a JavaScript library, and supports BigQuery, Snowflake, DuckDB, MotherDuck, PostgreSQL, MySQL, Trino/Presto, and Databricks. Since 2025, governance of the project moved from Google directly to the Linux Foundation as an independent, vendor-neutral project. Malloy has no first-party hosted product; it is a language and toolchain that teams embed in notebooks, IDEs, or their own applications rather than a semantic-layer service with an API and access controls out of the box.

At a glance

Vendor Malloy Data (a Series of LF Projects, LLC)
Pricing model Open source + paid options
Free tier Yes
Deployment Self-hosted
Open source Yes (Apache-2.0)
Best for Analytics engineers who want reusable, DRY data models without adopting a full semantic-layer service.

Pricing

Malloy is a free, open-source language and toolchain with no vendor-hosted product or pricing page.

Pricing has not been verified yet — see the vendor's site.

Features

  • Reusable semantic models (sources, joins, named measures/dimensions)
  • Compiles to standard SQL for the target database
  • Concise, composable query syntax as a SQL alternative
  • VS Code extension for interactive data exploration
  • CLI and JavaScript library for embedding in applications
  • Broad SQL-engine support (BigQuery, Snowflake, DuckDB, Databricks, and more)

Integrations

Profile last reviewed September 21, 2026

Alternatives

Malloy in the index now

Terms to know

Related guides