OpenAI on Databricks: Codex now runs through Unity Gateway
The OpenAI and Databricks partnership now has three patterns: ChatGPT with a Genie plugin, Codex through Unity Gateway, and GPT models in Model Serving. No prices are stated.
The OpenAI and Databricks partnership now has a clear shape, and the most useful part is not a model. On November 13, Databricks published a guide to three ways to use OpenAI tools on governed company data. The second one matters to every team that pays for coding agents: Codex sends its requests through a gateway that you control, not directly to OpenAI.
What actually happened
Databricks published OpenAI and Databricks: enterprise AI on your governed data. The partnership itself is not new. The post says it started in September 2025 as a multi-year agreement. The news is the three patterns:
- ChatGPT with the Genie plugin. Business users ask questions in ChatGPT. The plugin runs on the Genie MCP server. Each user sees only the data that their Databricks permissions allow, and each answer links to its sources. An admin must turn on Genie first.
- Codex through Unity Gateway. Developers sign in with a Databricks credential. The OpenAI key stays in the gateway. Each request is logged. Leaders can set budgets, see spend by team, and select which GPT model does which task. Setup is one CLI command,
ug codex. - GPT models in Model Serving. Databricks runs the models next to the data. You can call them from SQL, notebooks and agents with no external API key. The post names the GPT-6 family and the open-weight gpt-oss models. Custom agents use Agent Bricks or the OpenAI Agents SDK, deployed as Databricks Apps.
What the post does not state: prices, regions, clouds, and a GA or preview label for each part. It names no customers and gives no usage numbers. Databricks says a separate post for each pattern will follow in the next few weeks.
Why the OpenAI and Databricks gateway pattern matters for your business
You do not need Databricks to copy the second pattern. The design is the lesson:
- No vendor key on a laptop. A key that is not on the machine cannot leak from the machine. We have written about coding agent settings that leaked keys to public repositories.
- One log for every request. When a bill is too high, you can find the team and the task.
- Budgets before the invoice. A cap in a gateway stops spend. A dashboard only reports it.
What to do:
- List where your model keys are now. Laptops, CI variables and
.envfiles all count. - Put a gateway between your agents and the vendor. Unity Gateway is one option. LiteLLM, Cloudflare AI Gateway and Vercel AI Gateway do the same job.
- Set a budget for each team. Start with last month's spend plus a margin.
- Ask for the price before you commit. This post gives none. Get the Model Serving rate in writing and compare it with the direct API rate.
Key takeaways
- Databricks published three patterns for OpenAI tools on governed data on November 13
- Codex can send requests through Unity Gateway: Databricks sign-in, key in the gateway, each request logged
- ChatGPT gets a Genie plugin that applies each user's data permissions
- The post states no prices, regions or GA status
- The gateway pattern works with any vendor: central keys, logs and budgets
Your model keys should be in one place that you control. We build agent systems with a gateway in front of every vendor: central keys, logs for each request, and budgets for each team. See how we build vendor-agnostic systems, or tell us where your keys are now.
Sources: Databricks: OpenAI and Databricks: enterprise AI on your governed data.
- #openai
- #databricks
- #codex
- #ai-governance
- #unity-gateway
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
TSMC employee data breach traced to a cloud provider
TSMC confirmed an employee data breach in an SEC filing. The leaked data matches records at a cloud service provider. Inventory the HR data your vendors hold.
Read itSignDrop Windows zero-day: SYSTEM access, no patch, no CVE
The SignDrop Windows zero-day uses CLFS and Defender to give a standard user SYSTEM rights. No patch or CVE exists. Keep CLFS authentication on and cut admin rights.
Read it