Overview

Snowflake Cortex is a fully managed AI development platform embedded within the Snowflake Data Cloud, offering capabilities for building and deploying generative AI and machine learning features directly alongside organizational data. The platform aims to streamline the integration of AI into data pipelines and applications by providing access to large language models (LLMs) and various machine learning functions via standard SQL and Python interfaces (Snowflake Cortex documentation). This approach allows developers and data professionals to leverage AI without necessitating data movement out of the Snowflake environment, which can simplify governance and reduce latency.

Cortex provides a suite of pre-built functions and services. Its LLM functions allow users to interact with foundation models for tasks such as text summarization, sentiment analysis, and question answering using SQL. For more advanced use cases, Cortex also offers ML functions for tasks like anomaly detection, forecasting, and classification. The platform supports development in both SQL for data analysts and Python for data scientists, aligning with common tooling within data warehousing and machine learning ecosystems.

The primary use cases for Snowflake Cortex include enhancing business intelligence applications with natural language querying, developing AI-powered customer service tools, and augmenting internal data analysis with predictive capabilities. For instance, a developer could use Cortex LLM functions to summarize customer feedback stored in a Snowflake table or use Cortex ML functions to detect fraudulent transactions within a financial dataset (Snowflake Cortex LLM Functions). By integrating these capabilities directly where the data resides, Cortex aims to reduce the operational overhead associated with deploying and managing separate AI infrastructure.

Snowflake Cortex addresses enterprise requirements for data governance and security by operating within the Snowflake Data Cloud's existing compliance framework, which includes certifications like SOC 2 Type II, GDPR, and HIPAA (Snowflake Cortex homepage). This can be beneficial for organizations handling sensitive data, as it helps maintain data residency and control. The platform's usage-based pricing model reflects the consumption of compute and storage resources, aligning costs with actual usage patterns.

Key features

  • Cortex LLM Functions: Provides SQL functions to access pre-trained large language models for tasks such as text summarization, sentiment analysis, translation, and question answering directly within SQL queries.
  • Cortex Analyst: Enables natural language interaction with data by translating natural language questions into SQL queries, facilitating data exploration for non-technical users.
  • Cortex Search: Offers vector search capabilities for semantic search and retrieval-augmented generation (RAG) patterns, allowing users to find relevant information within unstructured data stored in Snowflake.
  • Cortex Text2SQL: Automatically generates SQL queries from natural language prompts, simplifying data access and analysis.
  • Cortex ML Functions: Includes pre-built machine learning functions for common tasks like anomaly detection, forecasting, and classification, accessible via SQL.
  • Integrated Development Environment: Allows development using SQL and Python notebooks within the Snowflake environment, reducing the need for external tools and data movement.
  • Data Governance and Security: Operates within Snowflake's existing security and compliance framework, including support for data masking, tokenization, and row/column access policies.

Pricing

Snowflake Cortex utilizes a usage-based pricing model, where costs are determined by the consumption of compute and storage resources. This model is consistent with the broader Snowflake Data Cloud pricing structure.

Component Billing Metric Details As-of Date
Compute Per second Billed for virtual warehouse usage when executing Cortex functions and queries. Pricing varies by region and edition. 2026-06-26
Storage Per TB per month Billed for data stored in Snowflake, including input data, intermediate results, and model artifacts used by Cortex. 2026-06-26
Data Transfer Per GB Outbound data transfer may incur charges, depending on region and volume. 2026-06-26

For detailed and up-to-date pricing information, refer to the Snowflake pricing guide.

Common integrations

  • Snowflake Data Cloud: Cortex is natively integrated, operating directly on data stored within Snowflake tables and views.
  • Streamlit in Snowflake: Enables the creation of interactive data applications that can incorporate Cortex AI capabilities, deployed directly within Snowflake (Snowflake Streamlit documentation).
  • External API Integrations: While Cortex focuses on in-platform AI, users can integrate results or trigger actions in external applications via Snowflake's external functions, allowing connection to services like Salesforce for CRM updates (Salesforce Integration Overview).
  • BI Tools: Output from Cortex functions can be consumed by business intelligence tools such as Tableau, Power BI, or Looker, for data visualization and reporting.
  • Data Orchestration Tools: Can be integrated into data pipelines managed by orchestration tools like Apache Airflow or dbt, leveraging Snowflake's task and stream capabilities.

Alternatives

  • Databricks Lakehouse AI: Offers an AI platform integrated with a data lakehouse architecture, supporting various ML frameworks and MLOps capabilities.
  • Google Cloud Vertex AI: A managed machine learning platform providing tools for building, deploying, and scaling ML models, including access to Google's foundation models.
  • Amazon SageMaker: A comprehensive suite of services for building, training, and deploying machine learning models at scale on AWS.

Getting started

To begin using Snowflake Cortex, you can execute LLM functions directly within SQL worksheets in the Snowflake UI or through a SQL client. The following example demonstrates how to summarize text using the CORTEX.SUMMARIZE function:

-- Create a sample table with text data
CREATE OR REPLACE TABLE reviews (
    review_id INT,
    review_text VARCHAR
);

INSERT INTO reviews (review_id, review_text) VALUES
(1, 'The product was excellent, very easy to use and performed beyond my expectations. Highly recommended!'),
(2, 'I experienced several issues with the software. It crashed frequently and the user interface was not intuitive at all. Disappointing.'),
(3, 'Average performance for the price. Not bad, but not outstanding either. Could use some improvements in speed.');

-- Summarize the review text using Cortex LLM function
SELECT
    review_id,
    CORTEX.SUMMARIZE(review_text) AS summary
FROM
    reviews;

This SQL query will return a summarized version of each review, generated by a large language model. This illustrates how Cortex functions can be called like any other SQL function, integrating AI capabilities directly into data queries.