Skip to content
Lucas Lessa
Voltar para as notícias
SnowflakePublic PreviewImpacto: Médio

OpenAI GPT-6.1 Sol model available in Public Preview in Cortex AI

The openai-gpt-6.1-sol model is now available in Snowflake Cortex AI with cross-region inference support.

O que mudou

The openai-gpt-6.1-sol language model has been integrated into Snowflake Cortex AI in Public Preview, enabling advanced AI inference while keeping data securely within your governance boundary.

Use cases

Imagine you need to integrate an advanced OpenAI model into your applications inside Snowflake while ensuring compliance and security.

  • Execute chat completion calls using the OpenAI-compatible REST API.
  • Perform model inferences leveraging cross-region support.

How to use

You can consume the new model using the official OpenAI SDK pointing to your Cortex AI endpoint.

from openai import OpenAI

client = OpenAI(
  api_key="<SNOWFLAKE_PAT>",
  base_url="https://<account-identifier>.snowflakecomputing.com/api/v2/cortex/v1"
)

response = client.chat.completions.create(
  model="openai-gpt-6.1-sol",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Explain data engineering in one sentence."}
  ]
)

print(response.choices[0].message.content)

What happens in this code:

  1. Initializes the OpenAI client pointing the base_url to the Snowflake Cortex AI endpoint.
  2. Passes the Programmatic Access Token (PAT) for authentication.
  3. Sends a chat completion request specifying the openai-gpt-6.1-sol model and input messages.
  4. Prints the generated response content to the console.

Limitations and requirements

  • The model is in Public Preview and is not suitable for critical production workloads.
  • Requires cross-region inference to be configured with AWS_US, AWS_GLOBAL, or ANY_REGION.
Ver nota oficial do Snowflake

OpenAI GPT-6.1 Sol model (Preview)

Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.

Relacionadas