xAI Grok 4.7 Model Now Available on Databricks Unity Gateway
The xAI Grok 4.7 model is now available for use on Unity Gateway via Foundation Model APIs in pay-per-token mode.
O que mudou
The xAI Grok 4.7 model has been integrated into Unity Gateway and can be accessed through Databricks Foundation Model APIs using pay-per-token billing.### Use casesImagine you need to integrate an advanced language model directly into your applications via Databricks without managing custom inference infrastructure. With this update, you can:- Query the xAI Grok 4.7 model through Unity Gateway.- Run pay-per-token workloads within your workspace.- Use the model serving name for inference requests.### How to use```python import os from openai import OpenAI
client = OpenAI( api_key=os.environ.get("DATABRICKS_TOKEN"), base_url="https://.databricks.com/serving-endpoints" )
response = client.chat.completions.create( model="grok-4-7", messages=[ {"role": "user", "content": "Explain data engineering in a few words."} ] ) print(response.choices[0].message.content)
1. Initializes the OpenAI client pointing to the Databricks serving endpoints URL.
2. Sets the model parameter to "grok-4-7" to route the request.
3. Sends the prompt message.
4. Prints the generated response content from the model.### Limitations and requirementsCustomers are responsible for ensuring compliance with applicable xAI terms and Databricks acceptable use policies for Foundation Model APIs.
- unity gateway
- foundation model apis
- grok
- model serving
- generative ai
xAI Grok 4.7 is now available on Unity Gateway
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
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis