Melaya · Build and run AI agents across your business tools, browser, desktop apps and Android phone. Seven connected products on one governed platform: Agents, Assistant, Device Control, Browser Control, Computer Control, MCP Server, and Marketing. Bring your own AI and keep human approval on every consequential action.

Melaya Blog

Private AI Deployment: Options, Stack and Controls

How to deploy private AI: compare private cloud, on-prem, air-gapped and local options, size the stack, route models and put approvals on every action.

Private AI Deployment: Options, Stack and Controls

A private AI deployment has two layers, and most plans cover only one. The first is where the model runs: a boundary you control, such as your cloud account, your servers or an air-gapped network. The second is what the model is allowed to do once it is running: which systems it touches, under which permissions, with whose approval. Get the first layer right and your prompts stay home. Get the second right and the model does real work without becoming a liability.

Melaya is built for that second layer. It is bring-your-own-model: you connect any cloud or local model (Claude, GPT, Gemini, DeepSeek, Mistral, Qwen, Ollama, LM Studio), and Melaya supplies the tools, permissions, approvals and execution traces around it. Your model is the brain. Melaya is the controlled pair of hands.

TL;DR

  • Private AI means the model, the data and the inference run inside an environment you control. The label has no single industry definition, so verify runtime location, data flows and what leaves the boundary.
  • Five deployment patterns cover almost every case: private cloud, on-premises, air-gapped, local or on-device, and hybrid routing. Pick by data class, not by preference.
  • The model server is one part of the stack. Identity, retrieval, logging and an execution layer for tools decide whether the deployment is usable.
  • In Melaya, every consequential action (publishing, sending, paying, writing to connected apps) runs behind human approval, and runs leave an execution trace.
  • Plan the operating owner first. Hardware is the visible cost, but patching, capacity and monitoring are the recurring ones.

What makes an AI deployment private

Private AI keeps models, data and AI processing inside an environment the organization controls, such as on-premises infrastructure, a private cloud or a sovereign enclave. VMware's overview frames it as an architecture and governance property across data, models, infrastructure and access, not only a hosting choice.

That distinction matters because "private" is easy to claim. ITBroker's glossary notes the term has no single industry definition and tells buyers to check four things: where inference runs, how data flows, who shares the tenancy, and what prompts, logs, telemetry and support traffic leave the boundary.

Use that as a five-line test for any plan you evaluate:

  1. Where does inference physically run?
  2. Which account or network owns that environment?
  3. What do logs, telemetry and support channels send out?
  4. Who can read prompts and outputs, and how is that access recorded?
  5. What can the model do to other systems, and who approves it?

Question five is the one most architecture diagrams skip. It is also where a model stops being a text generator and starts acting on your CRM, your browser sessions and your inbox.

Five ways to deploy private AI

Pattern Where inference runs Strength What you take on
Private cloud A dedicated environment or VPC in your cloud account Fast to start, scales with demand Cloud bill, network and identity configuration
On-premises Servers in your own data center Data boundary you can describe in one sentence Hardware procurement, patching, capacity, on-call
Air-gapped A network with no outbound path Strictest isolation Local mirrors for every artifact, model and package
Local or on-device A workstation or edge device Prompts never leave the machine Limited by that hardware
Hybrid routing Local model by default, approved external API for selected jobs Matches the model to the data class A routing policy you must write and maintain

Private cloud and on-premises

Private cloud gives you the boundary of your own account with elastic capacity. On-premises gives you the boundary of your own building. Lenovo's 2026 design guide shows one on-premises pattern: a model service running in virtual machines on Azure Local infrastructure and exposing OpenAI-compatible endpoints to applications. That last detail is the practical one. When the endpoint speaks the OpenAI API format, the applications and tools on top of it do not care where the model lives.

Air-gapped

Air-gapped deployments are the strictest and the most demanding. SUSE's air-gap documentation requires local OCI artifact repositories and a local model cache, because external registries and model sources are unreachable. It also warns that model volumes must contain every configured model. Otherwise Ollama may try to download from the internet and leave the workload unhealthy or hanging. Build your model inventory before you cut the network, not after.

Local and on-device

For a single developer or a small team, a local model on a workstation is the shortest path to a private boundary. Tools like Ollama and LM Studio run open-weight models on your own CPU or GPU, and Melaya connects to both. The limit is throughput: a workstation serves one person well and a department poorly.

Hybrid routing

Hybrid is where most teams land. A local open-weight model handles private, high-volume work such as classification, extraction and drafting. A smaller, policy-approved evidence pack goes to a frontier API only when the task needs it. A practical router design suggests the policy should record, per job, the approved model, the permitted data classification, latency and cost limits, a fallback model and an escalation owner.

Hybrid AI routing policy fields and fallback path

The stack under a private deployment

The model server is the visible part. A working stack usually includes:

  • Compute: CPU, GPU or accelerator capacity sized to your concurrency.
  • Storage: space for model weights and business data.
  • Model serving: software that exposes the model as an API.
  • Retrieval: a path to governed business data.
  • Identity and access: who and what may call the model and the tools.
  • Logging and monitoring: request-level records and health signals.
  • Application and API integration: how people and systems actually use it.

That list follows the components VMware's reference design describes, which at the high end specifies HGX servers, H100 GPUs, NVLink and NVSwitch plus high-speed networking. Larger deployments add Kubernetes, MLOps tooling, model registries and GPU scheduling, as in SUSE's ClearML reference architecture, which spans compute, container management and the AI lifecycle across on-premises, hybrid and multicloud environments.

Notice what is missing from most of these diagrams: the layer where an agent logs into a browser, fills a form, updates a record in Odoo or operates an Android app. That is the execution layer, and it needs its own permissions model. Our AI agent architecture guide breaks down those components.

Routing across open-weight and frontier models

Open-weight models publish their trained parameters for download under a stated license. You can run them on a workstation, a private server, a cloud account or specialist hosting. Once you run more than one model, you need routing.

Two concrete implementations show the range:

  • Intel's Inference Router microservice exposes an OpenAI-compatible chat completions endpoint and forwards each request to configured backends, including self-hosted vLLM and OpenVINO or providers such as OpenAI, Anthropic and Ollama. It routes by model ID, provider name or automatic selection, with per-provider telemetry for request count, token usage and latency.
  • The ruflo-local project targets sending roughly 90% of LLM traffic to open-weight models on your own hardware and reserving about 10% for frontier APIs, with hard budget caps and a privacy-pinned lane that can never leave the machine.

Routing has a latency price. One engineer's self-hosted stack write-up measured about 250 to 300 milliseconds of prompt-classification overhead for semantic routing, which was too slow for an IDE autocomplete target under 200 ms at p95. For latency-sensitive paths, route directly to a named model. Keep semantic routing for jobs where a quarter second is irrelevant.

The point for tooling: if your tools are wired to one provider, every routing decision becomes a rebuild. Melaya is provider-independent. You change the model, or point to local infrastructure, without rebuilding your tools and workflows.

Routing across open-weight and frontier models

The execution layer: where Melaya fits

A private model that can only answer questions is a research toy. The value comes when it operates real software. Melaya gives your chosen model the tools to do that:

  • Agent Builder: a visual builder that combines models, tools, memory, schedules, approvals, triggers and multi-agent pipelines in traceable, replayable runs.
  • Browser Control: approved AI models operate websites.
  • Mobile Agents: approved models operate Android applications. Device control is Android only.
  • Computer Control: approved models operate desktop software through the Melaya desktop app.
  • Melaya Assistant: works across connected business systems, with native integrations for platforms such as Odoo.
  • Melaya MCP Server: brings these capabilities to existing MCP-compatible clients such as ChatGPT, Claude, Cursor and Codex.

The control model is the reason this belongs in a private deployment. Melaya uses granular permissions, human approval controls and execution traces, and it is backed by independent security audits. Every consequential action, meaning publishing, sending, paying or writing to a connected app, runs behind human approval. An agent proposes, a person approves, and the run is recorded so you can replay it.

For a deeper walkthrough of running agents on infrastructure you control, see our self-hosted AI agents guide. For the enterprise view, see the enterprise AI agent platform page.

Security controls to specify before go-live

Privacy is a property of where computation happens and who can see it. Specify these controls in writing:

  1. Transport and certificates. SUSE's air-gap guidance recommends TLS certificates signed by your organization's own CA.
  2. Supply chain. The same guidance calls for prepackaged dependencies or internal package mirrors and immutable image and chart versions before transfer. Offline security needs supply-chain planning as well as network isolation.
  3. Data at rest and in motion. A DACH insurance case study lists encryption at rest, internal TLS, secrets management, network segmentation, vulnerability scanning and request-level audit records among its production controls.
  4. Governance. Teradata's playbook treats access enforcement, prompt and response logging, model lineage and audit trails as part of the design, not an afterthought.
  5. Agent authorization. Once a model can act, you need to know which agent did what, under whose authority. Work on AI agent authorization covers how trust and access can be structured for agents.

In Melaya, the equivalents are granular permissions per agent and tool, human approval on consequential actions, and an execution history you can inspect. Our AI agent security best practices and security and compliance overview list the controls in detail. For browser automation specifically, read the browser agent security guide.

What it costs and who runs it

Cost depends on volume, utilization and staffing. Four data points frame it.

A favorable case. The insurance case study above reports an on-premises Qwen3-32B deployment on two NVIDIA L40S GPUs, with no direct outbound internet access. Its stated three-year cost was €75,580 on-premises versus €392,400 for the API comparison, a gap of €316,820, or 81%, with a hardware payback of 3.9 months at its observed usage.

Utilization decides the result. TURMA's November 2026 analysis cites effective self-hosted costs from $0.21 to $15.25 per million tokens depending on utilization, with no universal break-even. Sigmatic Labs makes the same point: a GPU cluster at 15% utilization costs the same as one at 85%. The practical rule is to measure your monthly token volume and its burstiness before sizing hardware.

Scale. WWT's hedge fund case study describes a firm that invested more than $100 million in an on-premises GPU data center to keep control of compute and intellectual property. Infrastructure-as-code let its teams create GPU environments in minutes instead of days.

Operations. Private inference moves hardware, patching, capacity and on-call to you, as Privilege AI lays out. TURMA recommends naming an internal owner, and a managed service partner if you lack engineering capacity. Name that owner before you buy hardware.

The tool layer is a separate, predictable line. Melaya's published plans, as listed on the pricing page:

Plan Price
Sandbox $0 per month
Mobile Agents $9.99 per month
Browser Agents $9.99 per month
Melaya Assistant $9.99 per month
Melaya Marketing $14.99 per month
Outpost $20 per month
Forge $49 per month or $469 per year
Bastion $129 per month or $1,239 per year
Citadel from $490 per month

A rollout plan in six steps

  1. Classify your data. Label workloads as public, internal, confidential or regulated. This drives every later choice. Melaya has no part in this step: it is your policy.
  2. Choose the boundary per class. Regulated data goes to on-premises, air-gapped or a local model. Internal data can use private cloud. Public tasks can use a frontier API. Write this as a router policy with a fallback model and an escalation owner.
  3. Size the model tier. Estimate monthly tokens, peak concurrency and acceptable latency. Pick an open-weight model that fits, such as Qwen, Mistral or DeepSeek, and a serving layer that handles concurrent users.
  4. Stand up the stack. Compute, storage, serving, retrieval, identity, logging. For air-gapped sites, mirror every artifact and model first.
  5. Connect the execution layer. Bring your own model to Melaya, whether cloud or local through Ollama or LM Studio. Build the first agent in the visual Agent Builder with the narrowest permissions that work, and put an approval step in front of every send, publish, payment or write to a connected app.
  6. Review traces and widen scope. Read the execution traces, replay failed runs, then add tools and agents one at a time. Our AI orchestration guide covers multi-agent pipelines.

Connect your private model to real work

If you already run a model, or plan to, the missing piece is usually the tool layer. Melaya connects any cloud or local model to browsers, Android devices, desktop software and business systems, with human approval on consequential actions and traceable runs. Start on the free Sandbox plan, or see the full list on the Melaya pricing page.

Melaya

If your team is weighing alternatives such as n8n or Zapier, our honest comparisons cover where each fits.

Our view: private is a boundary, and a boundary needs hands you can supervise

We see teams spend months on the model server and an afternoon on what the model is allowed to touch. It should be the reverse of that ratio, or at least closer to even.

A private model on your hardware still acts through tools, and tools are where the risk sits. That is why Melaya is bring-your-own-model by design: we do not sell a model and we do not require one. You choose Claude, GPT, Gemini, DeepSeek, Mistral, Qwen, Ollama or LM Studio, and you can change that choice later without rebuilding your tools and workflows.

We also think approval should be the default for anything consequential. Publishing, sending, paying and writing to connected apps run behind human approval in Melaya, with granular permissions and an execution trace for each run. The result is an agent your security team can read, replay and sign off on.

Our advice: classify your data, route by class, name an owner, and start with one supervised agent.

Melaya Team

FAQ

What is the difference between private AI and a normal cloud AI API?

With a cloud API, your prompts go to a provider's environment under its terms. With private AI, inference runs inside a boundary you control, such as your cloud account, your servers or an air-gapped network. Verify the actual data flows, because the label alone does not guarantee them.

Can I use Melaya with a local model?

Yes. Melaya is bring-your-own-model and works with cloud and local models, including Ollama and LM Studio, alongside Claude, GPT, Gemini, DeepSeek, Mistral and Qwen. You can switch models without rebuilding your tools and workflows.

Do Melaya agents act without human approval?

No. Every consequential action, meaning publishing, sending, paying or writing to connected apps, runs behind human approval. Runs are traceable and replayable, so you can review what an agent did and why.

Can Melaya control an iPhone?

No. Melaya's device control is Android only. For desktop software, Computer Control works through the Melaya desktop app, and Browser Control handles websites.

How much does it cost to run a private model?

It depends on utilization. One 2026 industry analysis cited by TURMA puts effective self-hosted cost between $0.21 and $15.25 per million tokens. Measure your monthly token volume and peak load first, then compare against your current API spend.

Sources

Recommended

Frequently asked questions

What is the difference between private AI and a normal cloud AI API?

With a cloud API, your prompts go to a provider's environment under its terms. With private AI, inference runs inside a boundary you control, such as your cloud account, your servers or an air-gapped network. Verify the actual data flows, because the label alone does not guarantee them.

Can I use Melaya with a local model?

Yes. Melaya is bring-your-own-model and works with cloud and local models, including Ollama and LM Studio, alongside Claude, GPT, Gemini, DeepSeek, Mistral and Qwen. You can switch models without rebuilding your tools and workflows.

Do Melaya agents act without human approval?

No. Every consequential action, meaning publishing, sending, paying or writing to connected apps, runs behind human approval. Runs are traceable and replayable, so you can review what an agent did and why.

Can Melaya control an iPhone?

No. Melaya's device control is Android only. For desktop software, Computer Control works through the Melaya desktop app, and Browser Control handles websites.

How much does it cost to run a private model?

It depends on utilization. One 2026 industry analysis cited by TURMA puts effective self-hosted cost between $0.21 and $15.25 per million tokens. Measure your monthly token volume and peak load first, then compare against your current API spend.