AlloyDB Omni local models support brings AI on-premises
Google has added support for locally hosted AI models to AlloyDB Omni, letting organisations run database AI features on their own hardware. The integration covers open models such as Gemma 4 and Qwen3.8.

Key takeaways
- AlloyDB Omni can now connect to locally hosted models including Gemma 4 and Qwen3.8, Google says.
- The database calls a local model server from SQL, so prompts and responses stay inside the customer's environment.
- Google says the setup suits air-gapped networks and organisations with data locality rules, and can reduce latency.
- A SQL script registers the model and can strip chain-of-thought output before answers are used.
In this article
What Google announced

Google has added support for locally hosted large language models to AlloyDB Omni, the downloadable edition of its PostgreSQL-compatible database, according to a Google Cloud Blog post published on 23 November 2026. The AlloyDB Omni local models integration allows organisations to run AI features on their own infrastructure rather than sending work to a hosted service.
Google says the database can now be connected to open models including Gemma 4 from Google DeepMind and Qwen3.8. The company states that the underlying architecture stays the same whichever model a customer picks, whether that is a cloud-hosted system such as Gemini or a model running on local hardware.
AlloyDB Omni is described as a version of AlloyDB that can be deployed to a customer's own systems, including on-premises equipment. Google positions the release as a way to build agentic applications, meaning software that can carry out multi-step tasks with AI models, in places that were previously unable to adopt them.
How the local model connection works
The database contacts a model server running in the same environment directly from SQL, so prompts, data and responses remain inside that environment. Because the model and the database run on the same hardware, Google says nothing has to leave the local network.
Setting this up involves registering the model with AlloyDB Omni through a SQL script. That script also tells the database how to read the model's raw output. In Google's example, the model returns chain-of-thought reasoning inside think tags, and an output transform function removes that reasoning before the answer is used.
Once registered, the model can be called through built-in functions such as ai.generate without leaving the SQL client. Google's walkthrough uses the AlloyDB Omni Kubernetes operator to deploy the database and runs the example on Google Kubernetes Engine, while noting that the same arrangement works on-premises or almost anywhere else.
Why data locality matters
Google argues that keeping inference local removes a barrier for organisations with strict data governance rules. Operators of air-gapped networks, which are cut off from the public internet, can still build AI-backed applications under this setup, the company says.
Suggested uses include analysing local logs, producing summaries of confidential internal documents and running chatbots that serve a specific site or language. Google also points to lower latency, since inference requests are handled nearby instead of travelling over a network to a remote provider.
AlloyDB Omni includes vector search features, so teams can keep large numbers of vector embeddings, search them by meaning and query the database in natural language. The company says the database uses ScaNN indexing, the same technology it says underpins Google Search.
Who is affected and what to watch for
The change matters most to database and platform teams that hold sensitive data and cannot move it to a public cloud region. It also gives organisations running AlloyDB Omni on their own servers a way to add AI functions without standing up a separate hosted pipeline.
Google's instructions include two practical warnings. A connection error may simply mean the database is still being provisioned, and a resource not found message can appear while the model is still loading. Both are described as timing issues rather than configuration faults.
The details come from Google's own announcement and documentation, and the performance and governance benefits described are the company's claims rather than results confirmed by independent testing. Teams planning a deployment should check the official AlloyDB Omni documentation for current requirements and supported model versions before relying on the setup in production.
Sources
- Data + AI Anywhere: AlloyDB Omni integration with local modelsGoogle Cloud Blog
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.



