SecurityBrief India - Technology news for CISOs & cybersecurity decision-makers
India
Google adds local AI model support to AlloyDB Omni

Google adds local AI model support to AlloyDB Omni

Wed, 25th Nov 2026 (Today)
Joseph Gabriel Lagonsin
JOSEPH GABRIEL LAGONSIN News Editor

Google has added support for locally hosted large language models to AlloyDB Omni, letting users connect the database to models such as Gemma 4 and Qwen3.8.

AlloyDB Omni is Google's PostgreSQL-compatible database for customer-managed infrastructure, including on-premises environments, cloud deployments and local machines. The integration lets the database call a local model server directly from SQL, keeping prompts, data and responses in the same environment.

The move targets organisations that want to use AI systems without sending data over the public internet. It is aimed at environments with strict data locality requirements or air-gapped networks, where access to external model services may be restricted.

Users can pair AlloyDB Omni with open models hosted locally, including Gemma 4 from Google DeepMind and Qwen3.8. The same database can also work with cloud-hosted models, but the new option focuses on running models close to the data source.

Developers can run SQL queries that invoke machine learning functions against data held in the database. In Google's example, a query summarises customer feedback comments into short sentences by calling a registered local model from inside the SQL client.

How it works

The integration relies on a local model server that AlloyDB Omni reaches through SQL-based function calls. In Google's example deployment, the database runs in a Kubernetes environment and connects to a model served through Ollama, an open-source tool for running models locally.

Users first deploy the AlloyDB Omni Kubernetes Operator, then create a database cluster with Google's machine learning extension enabled. They then deploy a model service, such as Gemma 4, and register it with AlloyDB Omni through SQL scripts.

The registration process includes input and output transformation functions so the database can format prompts for the model and interpret the response. In the example, the output function removes reasoning text enclosed in tags before returning the result to the user.

Google says this approach allows businesses to analyse internal logs, generate summaries of proprietary documents and build local chatbots while keeping control of the data environment. Local inference can also reduce network transit time because requests do not need to leave the deployment environment.

On-premises push

The update reflects a wider industry effort to support AI workloads in regulated and private computing environments. Many companies have been testing large language models for internal search, summarisation and automation, but some have held back because of security, sovereignty and governance concerns tied to external cloud services.

By extending AlloyDB Omni to work with local models, Google is trying to address those concerns while keeping developers in a familiar database workflow. Its pitch centres on letting teams invoke AI functions through standard SQL rather than moving data into separate AI systems.

According to Google, AlloyDB Omni already includes built-in AI features such as vector storage, semantic search and natural language querying. The new model support adds another option for customers that want those functions inside their own infrastructure rather than through hosted AI endpoints.

In the sample configuration, Google used Google Kubernetes Engine to host both the database and the local model, though the same setup could be used on-premises or in other environments. The example assigned compute and storage resources to the database cluster and model service separately, with the model served through a private cluster endpoint.

The demonstration query created a simple customer feedback table and then used the ai.generate function to summarise comments. One sample output reduced a complaint about a double charge and refund demand to a single sentence, while another summarised a request for dark mode support.

AlloyDB Omni can run in the cloud, in a datacentre or on a laptop, with the database and model operating in the same local environment.