LIVE · Thursday 3 December

Self-Hosted Azure OpenAI Alternatives for Your Data Center: Which to Pick, What Hardware, What It Costs

A buyer's guide to running an Azure OpenAI workload on your own hardware, with or without a connection, from Foundry Local and Gemini on GDC to gpt-oss on vLLM, with a worked cost example.

By Thomas8 min read

You cannot run Azure OpenAI's own GPT models in your data center; Microsoft's on-premises and disconnected documentation does not offer them. The self-hosted alternatives are Foundry Local on Azure Local (Microsoft's on-prem runtime for open and Microsoft models, connected or disconnected), Gemini on Google Distributed Cloud (a proprietary frontier model, generally available air-gapped since August 2025), Cohere North with Command A, and open-weight models such as gpt-oss on Red Hat AI Inference Server, NVIDIA NIM or vLLM. At modest volume, all of them cost more than a small hosted model, so choose on control, connectivity and model quality first.

First, two questions that narrow the field

Most of the choice falls out of two answers.

The first is whether you need a proprietary frontier model. If the workload was built on GPT-4.1 and an open model will not do, the only on-prem frontier option in this guide is Gemini on GDC. If an open model is acceptable, every route is open.

The second is whether the site can keep an outbound connection. "On-premises" and "disconnected" are different claims. Foundry Local's connected mode needs an Azure subscription and a supported Azure region; its disconnected mode is a separate track built on Azure Local Disconnected Operations. Gemini's air-gapped edition is generally available, while its connected edition was in preview at launch. NVIDIA documents a fully offline NIM install. Cohere's North page mentions on-prem and VPC but not air-gapped operation.

If you are an Azure shop and can use open models: Foundry Local on Azure Local

This is the smallest change for a team already on Azure. Microsoft's overview, dated October 25, 2026, describes an Azure Arc extension that runs models on an Arc-enabled Kubernetes cluster with "OpenAI-compatible REST patterns," authenticated with API keys, Microsoft Entra ID or Kubernetes service account tokens. Its engines are ONNX Runtime GenAI on CPU or GPU and vLLM on GPU. The catalogue includes Phi-4, Mistral 7B, Mixtral, Qwen2.5, DeepSeek R1 distills, NVIDIA Nemotron and gpt-oss-20b, and you can bring your own model from an OCI registry.

The requirements are specific. You need Azure Local, which Microsoft calls "the validated and supported platform," an AKS Arc cluster on Kubernetes 1.29 or later, worker nodes of at least 4 vCPU and 16 GiB, and NVIDIA GPUs for GPU work: Microsoft lists A2, L4, L40, L40S, RTX 6000 Pro and T4 families and states "AMD GPUs aren't supported." Disconnected sites need Azure Local Disconnected Operations 2604.3.0 or later, import models through local "expansion packs," and sign in through their own Active Directory. In that mode, Microsoft says, "Telemetry isn't transmitted to Microsoft" and "No evaluation data leaves the disconnected environment."

Do not confuse it with Microsoft's disconnected containers. Their FAQ, updated June 5, 2026, covers Speech, Translator, Language, Vision Read and Document Intelligence, not language models.

If you need a frontier model with no connection: Gemini on GDC

Google announced general availability of Gemini on GDC air-gapped on August 28, 2025, with Gemini 2.5 Flash and Pro, Gemma, and Vertex task models, running on NVIDIA Hopper and Blackwell GPUs with confidential computing. In April 2025 Google said GDC air-gapped "is now authorized for US Government Secret and Top Secret missions" and scales "from a single server to hundreds of racks." It is a Google-managed stack on dedicated hardware, and Google publishes no price.

If you want a supported product, not just an endpoint: Cohere North

Cohere sells North as an agent and search platform that runs "in your own VPC, on-prem environment, or through Cohere's secure Model Vault." Its Command A model has 111 billion parameters and, per Cohere's docs, runs on two A100 or H100 GPUs. Pricing is not on the page.

If you have a platform team: open weights on a supported server

OpenAI's gpt-oss-120b, Apache 2.0, has 117 billion parameters with 5.1 billion active, and its model card says it "fits into a single 80GB GPU (like NVIDIA H100 or AMD MI300X)"; gpt-oss-20b runs within 16 GB. Its model card warns it only works correctly in OpenAI's "harmony" chat format. For serving, Red Hat AI Inference Server, launched May 20, 2025, is a "hardened, supported distribution of vLLM" for NVIDIA, AMD Instinct and Intel Gaudi hardware, including on non-Red Hat Linux and Kubernetes. NVIDIA NIM exposes /v1/chat/completions on port 8000, runs fully offline from a pre-staged cache, and goes to production on an NVIDIA AI Enterprise licence that starts with a 90-day trial. NVIDIA's air-gap guide flags one trap: some speculative-decoding profiles contact their draft model's registry at every start and exit if they cannot reach it, unless you stage the draft locally or turn speculative decoding off.

Parsec, which post-trains small models on a customer's traffic, does not suit a data-center requirement: its comparison page says those models run on its own shared cluster, and it does not mention on-prem or VPC hosting for that service.

The options side by side

Option Model you get Hardware the vendor states Connectivity documented
Foundry Local on Azure Local Phi, Mistral, Qwen, gpt-oss-20b, your own NVIDIA GPUs or CPU; no AMD Yes, via Disconnected Operations
Gemini on GDC Gemini 2.5 Flash and Pro NVIDIA Hopper and Blackwell Yes, air-gapped edition GA
Cohere North Command A Two A100 or H100 GPUs On-prem or your own VPC
Red Hat AI Inference Server (vLLM) gpt-oss-120b or another open model One 80 GB GPU for gpt-oss-120b Runs on your own Linux or Kubernetes
NVIDIA NIM NVIDIA's packaged models, such as Nemotron NVIDIA GPUs Fully offline from a pre-staged cache

Nobody publishes requests per second per GPU for these options on a common workload, so throughput has not been measured comparably. Load-test your own prompts before sizing.

Moving your client code

On Azure OpenAI's v1 API, Microsoft's guide has you use the plain OpenAI() client with base_url set to https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/ and the deployment name as model. To move to Foundry Local:

  1. Set base_url to https://<gateway>/<deployment-name>/v1.
  2. Use the deployment's key, sent as Authorization: Bearer or api-key, or an Entra ID token in connected mode; disconnected sites authenticate through local Active Directory.
  3. Set model to the id returned by the deployment's GET /v1/models.

NIM and vLLM-based servers take the same client with their own base URL. Re-test prompts on the new model before cutover.

A worked cost example

Assume 2 million requests a month, each with 800 input and 200 output tokens: 1.6 billion input and 400 million output tokens. All prices are Microsoft list prices from its retail price list.

On Azure OpenAI Global, GPT-4.1 mini at $0.40 per million input and $1.60 per million output costs $640 plus $640, or $1,280 a month. GPT-4.1 at $2 and $8 costs $3,200 plus $3,200, or $6,400.

On-prem, assume two Azure Local nodes with 32 physical cores each. At the standard host fee of $0.33 per core per day that is 64 times $0.33 times 30, about $634 a month (the price list also carries a higher L2 fee of $0.667 per core per day); under the disconnected-operations meter of $1.67 per core per day, about $3,206, though Microsoft's pricing page tells disconnected buyers to contact their account team. Then add a GPU. There is no list price for a card in your own rack here, so use Microsoft's rental price for a single-H100 VM as the yardstick: $6.98 an hour, about $5,095 for a 730-hour month. Connected, that totals about $5,729 before power, staff and any Red Hat, NVIDIA, Cohere or Google licence, none of which publishes a list price for these products.

The result: on-prem costs about four and a half times GPT-4.1 mini and a little less than GPT-4.1. The load averages about 0.77 requests per second, so the GPU would mostly sit idle, which is where self-hosting savings disappear. Volume and utilization, not the move itself, decide whether owning the hardware pays.

What to do now

  1. Decide whether the site must run with no outbound connection; that settles connected Foundry Local versus its disconnected track, GDC air-gapped or an offline NIM install.
  2. Decide whether an open model is acceptable. If not, Gemini on GDC is the route; if so, shortlist gpt-oss-20b or a Phi model on Foundry Local, or gpt-oss-120b on a single 80 GB GPU.
  3. Before buying hardware, replay a sample of production prompts against the candidate model and measure quality and throughput yourself.
  4. Ask Microsoft, Google, Cohere, Red Hat and NVIDIA for written on-prem pricing, since none publishes a full list price for these products.

Bottom line

Choose Foundry Local on Azure Local if you want Microsoft identity and tooling on your own hardware and can accept open or Microsoft models; it is the only option here that keeps your Azure operating model in a disconnected site. Choose Gemini on GDC if you need a proprietary frontier model air-gapped. Choose Cohere North if you want a supported agent and search product. Choose gpt-oss or another open model on Red Hat AI Inference Server, or a packaged NIM model, if you have a platform team, steady volume and want the widest hardware choice. If no rule forces the model into your building and volume is modest, a small Azure OpenAI model is still the cheapest path.

Sources

More in Chips & Compute

All Chips & Compute →