Self-Hosted Deployment

Self-Hosted Copilot: Can Microsoft or GitHub Copilot Run On-Prem?

A copilot is an AI assistant embedded in employees’ daily workflow — drafting, summarizing, searching, and acting across documents, chat, and business systems; the enterprise question is whether it must run on a vendor’s cloud or can run on yours, installed and operated by your own team — in your data center, private cloud, or VPC — instead of consumed as a vendor-managed SaaS, giving you control over the stack, the models, and the upgrade cadence.

30+per-user monthly cost of typical cloud copilots
1seat = full platform, unlimited agents & workflows
10+enterprise integrations out of the box
0workflow data shared with suite vendors
Short answer

Can Copilot be self-hosted?

No. Microsoft Copilot, the new name for Microsoft 365 Copilot, is a Microsoft cloud service: it needs Microsoft Entra ID accounts, an Exchange Online mailbox for anything grounded in email or calendar, and network access to Microsoft 365 cloud endpoints. GitHub Copilot is cloud-hosted too; even GitHub Enterprise Server customers assign Copilot licences through a GitHub.com or GHE.com account.

The only disconnected exception is narrow: a technical preview lets Copilot CLI work with GitHub Enterprise Server in an air-gapped network, using a model provider your administrator configures. For a copilot that runs entirely on your own servers, you self-host an alternative: an assistant platform for questions and workflow help, and a coding assistant for the IDE. Vendor facts on this page were checked against Microsoft, GitHub and project documentation in October 2026.

Built for regulated deployment Deploys on your infrastructureNo data leaves your boundaryFull audit trailSSO & role-based access
The self-hosted copilot decision

A self-hosted copilot inverts the suite-vendor model: instead of AI bolted to one vendor’s office tools, it is an assistant layer you deploy across whatever stack you actually run. Teams choose this route when the copilot they are offered covers half their tools and none of their governance requirements — and meters agents and usage on top of the seat fee.

A self-hosted copilot is an assertion that the assistant layer belongs to you rather than to whichever vendor owns the productivity suite. The functional target is familiar — help inside chat, tickets, documents, and code — but the ownership model is inverted: you choose the models, you control the connectors, and the workflows keep working when a vendor changes its packaging.

That matters more for copilots than for most AI workloads, because copilot products have been unusually volatile. Capabilities move between tiers, models change beneath the branding, and pricing gets repackaged. Each change forces a re-evaluation of a tool your organisation has by then built habits around. Self-hosting converts that recurring negotiation into an internal upgrade decision you control the timing of.

The cost is that connector maintenance becomes yours. Every integrated system evolves its API, its authentication, and its permission model, and a self-hosted copilot has to keep pace. This is steady, unglamorous work, and it is the main reason to integrate a small number of systems deeply rather than many superficially.

The vendor answer

Where Microsoft Copilot and GitHub Copilot actually run

Both products offer residency settings, not a self-hosted edition. The distinction matters in procurement: a residency commitment governs where data is stored and sometimes where inference runs, while the service itself stays in the vendor's cloud.

ProductWhere it runsResidency controls (verified October 2026)Self-hosted or air-gapped option
Microsoft Copilot (formerly Microsoft 365 Copilot)Microsoft cloud. Needs a Copilot licence on top of a qualifying Microsoft 365 licence, Entra ID accounts, and Exchange Online for mailbox-grounded features.EU Data Boundary, Advanced Data Residency and Multi-Geo cover data at rest. For EU and EFTA tenants, flex routing lets inference run in the United States, Canada or Australia at peak load; it is on by default for eligible tenants created after 25 March 2026 and can be switched off. How flex routing worksNone.
Copilot Studio and Copilot in Dynamics 365Power Platform, in the Microsoft cloud.Flex routing is set separately in the Power Platform admin center and follows the Microsoft 365 setting unless the Power Platform setting is stricter.None.
GitHub Copilot (GitHub.com and GitHub Enterprise Cloud)GitHub's cloud, calling GitHub-managed model endpoints.GitHub Enterprise Cloud with data residency can restrict Copilot to models in the US or EU region; the policy is off by default and raises AI credit consumption by 10%.None.
GitHub Copilot with GitHub Enterprise ServerYour GHES instance holds the code; Copilot licences and policies are managed on GitHub.com or GHE.com, and Copilot Chat runs on those cloud platforms.Those of the linked cloud account.Copilot CLI in disconnected GHES environments, as a technical preview: the administrator configures the model provider and no Copilot licence is needed.

So the honest reading of "copilot self hosted" is this: you can keep source code on-premises with GitHub Enterprise Server, and you can narrow where Microsoft processes prompts, but you cannot install either Copilot on your own hardware today. If your content is too sensitive for that, the analysis of whether Microsoft Copilot is safe for confidential data sets out the specific risks.

Self-hosted options

Self-hosted copilot options for assistants and coding

A self-hosted copilot comes in two shapes, and most organisations need both: an assistant that answers questions over company content and takes governed actions, and a coding assistant inside the IDE. Each option below installs on infrastructure you control; licences and deployment modes were checked against each project's own documentation in October 2026.

OptionReplacesHow it self-hostsLicenceWatch for
VDF AIMicrosoft Copilot and Copilot Studio agentsInstalls in your data centre, a private cloud or an air-gapped network, with local or routed models.Commercial: on-premises seat licensing; VDF AI Cloud runs from a Free plan to Professional at $50 per seat.Connector scope: integrate the systems your staff use most first. Native on-premises SSO is Microsoft Entra ID.
Open WebUICopilot Chat-style assistantSelf-hosted web interface in front of local models served by Ollama or any OpenAI-compatible server.Permissive licence with a branding clause since v0.6.6: deployments above 50 users in 30 days may not remove the Open WebUI branding without an enterprise licence.Approvals and audit are lighter than in a platform built for regulated use.
LibreChatCopilot Chat-style assistantSelf-hosted for your organisation; supports Ollama and other local or remote model providers.MIT.Sign-in options include OAuth2 and LDAP; decide who owns upgrades.
TabbyGitHub Copilot code completionSelf-contained server with no database or cloud service required; runs on consumer-grade GPUs; plugins for VS Code, JetBrains IDEs and Vim.Apache 2.0, except an ee directory under its own licence.Completion quality depends on the code model you serve.
Tabnine (private installation)GitHub Copilot for enterprisesA Kubernetes cluster on your own servers, in your VPC on AWS, Azure or GCP, or fully air-gapped.Commercial; private installations need the Enterprise plan.Confirm which models run inside your cluster before you sign.
ClineGitHub Copilot agent modeVS Code extension, CLI or JetBrains plugin pointed at Ollama, LM Studio or any OpenAI-compatible endpoint, such as your own vLLM server.Apache 2.0; the JetBrains plugin is not open source.An autonomous coding agent needs sandboxing and review rules, not just a model.

One caution on maintenance: Continue, long a common pick for local-model coding help, is now read-only and no longer maintained (verified October 2026). Check recent commit activity before you standardise on any open-source assistant. For model choice, see the best local LLM for coding; for a broader tool survey, the on-prem code assistant roundup; and for switching guides, the GitHub Copilot alternatives and Microsoft Copilot alternatives pages.

Trade-offs

What you gain and give up with a self-hosted copilot

AreaMicrosoft or GitHub CopilotSelf-hosted copilot
Data locationStored under Microsoft or GitHub residency terms; where inference runs depends on settings such as flex routing or the Copilot data residency policy.Prompts, documents, code and logs stay on servers you control.
Model qualityFrontier models chosen and updated by the vendor.Open-weight models you select. The gap is smallest for routine drafting, search and completion, and larger for hard reasoning; routing can send chosen tasks to a hosted model where policy allows.
Office and IDE integrationDeep grounding in Outlook, Teams, Word and GitHub, maintained by the vendor.Connectors you choose and maintain; depth depends on which systems you prioritise.
Change controlRenames, repackaging and model changes arrive on the vendor's timetable.You decide when models and features change.
Cost shapePer-user licences; Microsoft's sits on top of a qualifying Microsoft 365 licence, and GitHub also counts AI credits.Hardware or cloud capacity plus a platform licence; with VDF AI on-premises, model tokens are not metered.
OperationsLittle beyond tenant administration.Patching, GPU capacity, backups and connector upkeep, handled by your team or a partner.
Procurement and vendor risk

Vendor-risk factors when agent platforms are tied to Microsoft cloud

Buying agents built on Copilot Studio or Foundry is partly a decision about Microsoft's cloud terms. These are the factors procurement and vendor-risk teams should review, whichever way the decision goes.

1

Inference location under load. Check the flex routing setting for EU and EFTA tenants in both the Microsoft 365 and Power Platform admin centers, and record the decision. Eligible tenants created after 25 March 2026 start with it switched on.

2

Prerequisite services. Copilot experiences depend on Entra ID, Exchange Online and other Microsoft 365 services, so the AI decision deepens an existing dependency rather than adding an independent tool.

3

Product and licence volatility. Microsoft 365 Copilot is now named Microsoft Copilot. Ask how renames, bundle changes and model swaps are notified, and whether pricing is fixed for the contract term.

4

Exit and portability. Ask how agents, prompts, knowledge sources and conversation history can be exported in a usable form, and what happens to them when the contract ends.

5

Concentration risk. When identity, email, documents and AI share one provider, an outage or a pricing change touches all of them at once. Record it in the risk register as one dependency, with a fallback for the AI layer.

6

Audit evidence you control. Confirm which interaction logs are retained, for how long, and whether you can export them to your own SIEM or audit store without a premium add-on.

7

Sub-processors and model providers. Request the current list of sub-processors and model providers behind each Copilot feature, and how you will be told when it changes.

If several of these come back unresolved, a common split is Copilot for everyday productivity and a self-hosted Microsoft Copilot alternative for the sensitive workloads.

Self-Hosted by design

Why teams run their copilot self-hosted

Built for technical evaluators and platform engineers who want deployment control without vendor lock-in.

01

You control the stack, not the vendor

A self-hosted copilot runs where you decide — bare metal, private cloud, or an isolated VPC. You choose the models, the upgrade windows, and the integrations, instead of inheriting whatever the SaaS vendor ships next quarter.

02

Open-source engines, enterprise wrapper

The building blocks — Ollama, vLLM, llama.cpp, open-weight models — are mature. What separates a production copilot from a weekend project is the layer above them: access control, audit, observability, and lifecycle management.

03

No per-token or per-message meter

Self-hosting replaces usage-metered pricing with infrastructure you already budget for. Teams that rolled out a token- or message-metered copilot to thousands of employees routinely find self-hosting cheaper within the first year.

What it does

Core capabilities of an enterprise copilot

Workflow-embedded assistance

Drafting, summarization, meeting notes, and search where people already work — Slack, Jira, GitHub, documents.

Beyond one vendor’s suite

A platform copilot connects the tools you actually use, not just one vendor’s office suite.

Model-agnostic core

The assistant routes to local or approved models per task instead of binding you to a single provider’s model roadmap.

Agent-powered actions

Beyond chat: governed agents that file tickets, update backlogs, and produce release notes with approvals.

Architecture

What a self-hosted deployment changes

Decide the ops model up front: DIY assembly from open-source parts maximizes flexibility but you own every CVE; a supported self-hosted platform gives you the control without the 2 a.m. pager.

The copilot should be deployable with your standard tooling — Docker Compose for pilots, Kubernetes with Helm for production — and upgradeable without data migration surprises.

Model flexibility is the point: the stack should serve open-weight models locally and route to any API you explicitly allow, so no single model vendor becomes load-bearing.

Reference stack

The self-hosted copilot stack

Self-hosted copilot, layer by layer — with the reason each choice holds up under this deployment mode.

Layer Typical choice Why, here
Connectors Self-managed Slack or Mattermost, Jira, GitLab, Confluence Self-managed editions differ from their cloud equivalents in auth and endpoints — budget for that difference explicitly.
Identity mapping Directory identity resolved to per-system accounts The copilot acts as the user with their permissions. A shared service account is easier and creates a disclosure surface.
Model tier Routed local models behind your gateway Copilot traffic is mostly short and routine, which routing keeps on small models and keeps cheap.
Cross-system context A unified index spanning the connected systems Answering a chat question using the ticket and the wiki page is the capability per-tool assistants structurally cannot offer.
Action gating Approval required for writes; reads within user permissions Keeps the security review tractable while still delivering most of the day-to-day value.
Capacity planning

Sizing a self-hosted copilot

Profile Scale Hardware What actually binds
Pilot 100–300 users, two connected systems One GPU with a small resident model Connector latency dominates; inference is rarely the bottleneck at this stage.
Organisation 2,000+ users across four or five systems 4–8 GPUs plus separately scaled connector workers Self-managed system API limits usually bind before GPU capacity does.
With automation Interactive copilot plus background workflows Separate pools with interactive traffic prioritised Background jobs are steady and will crowd out interactive requests unless explicitly deprioritised.
Compliance drivers

Regulations that point to self-hosted

Vendor risk

Takes the SaaS processor behind your copilot off the vendor-risk register entirely.

GDPR

You are sole controller and processor for everything the copilot touches — no international transfer analysis.

SOC 2 / ISO 27001

A self-hosted copilot inherits your existing certified controls and evidence.

IP protection

Proprietary code and documents stay inside the copilot you operate, never training someone else’s model service.

Honest fit check

When self-hosted is the right call — and when it isn’t

Choose self-hosted when

  • Your team already operates containerized services and wants the copilot to be one more well-behaved workload.
  • You need to swap models freely — open-weight today, a different engine next quarter — without renegotiating a contract.
  • Procurement or security has rejected SaaS AI tools and you need an equivalent capability inside your own environment.

Consider another mode when

  • Nobody owns operations → a self-hosted copilot without an owner becomes shadow infrastructure; consider a supported on-premises deployment with vendor SLAs.
  • Your driver is national jurisdiction or classified data → the sovereign and air-gapped variants of this copilot address those specifically.

Same capability, different deployment mode:

Deployment modes compared

Copilot: Self-Hosted vs the alternatives

Deployment mode Typical owner What you gain — and give up
Self-Hosted (this page) Platform Engineering Lead Complete stack and model freedom with no usage meter — in exchange for your team owning operations, CVE response, and the upgrade cadence.
On-Premises CTO / Head of Infrastructure Maximum physical control and the strongest economics at steady volume — in exchange for owning the hardware, the capacity plan, and the upgrade cycle.
Private CISO / Data Protection Officer The fastest route to confidential AI — in exchange for a boundary defined by tenancy and contract rather than by a building you own.
Rollout

How to deploy a self-hosted copilot

  1. 01

    Pick systems by where time is spent, not by connector availability

    Instrument where your organisation actually works, then integrate those systems deeply. Choosing based on which connectors already exist produces a copilot that reaches the wrong places convincingly.

  2. 02

    Build identity mapping first

    Resolve each directory identity to accounts in the connected systems so the copilot inherits user permissions. Retrofitting this after building on a service account means reworking every connector.

  3. 03

    Launch read-only across systems

    Start with cross-system search, summarisation, and question answering. The value is immediate, the risk is low, and it earns the trust that makes write actions acceptable.

  4. 04

    Respect the API limits of self-managed systems

    Implement caching and rate limiting against your Jira and Confluence instances. A copilot that degrades the systems people already depend on gets switched off regardless of how useful it is.

  5. 05

    Budget ongoing connector maintenance

    Assign owners for connector upkeep as the connected systems evolve. This is the recurring cost of self-hosting a copilot, and unowned connectors decay silently until users stop trusting the answers.

Failure modes

Where self-hosted copilot projects fail

Assuming cloud connectors work against self-managed systems

Self-managed editions differ in authentication, endpoints, and permission semantics. Integration effort gets estimated from the cloud version and consistently comes in higher.

A privileged service account

Connecting through one high-privilege account lets the copilot surface anything to anyone. It is convenient to build and very difficult to unwind after the integrations exist.

Connectors without an owner

Connected systems change their APIs, and unmaintained connectors degrade quietly. Users lose confidence in answers well before anyone traces the cause to a stale integration.

Buyer checklist

How to evaluate a self-hosted copilot

1

Does the copilot cover your real tool stack, or only one vendor’s ecosystem?

2

Can it run where your data governance requires — including fully in your perimeter?

3

Does a seat include the full platform, or do agents, messages and credits cost extra on top?

4

Can it act (with approvals), or only draft text?

5

What happens to your workflows if the vendor changes models or terms?

Self-hosting converts an copilot from an opex meter into a fixed platform cost: infrastructure you already budget for plus a licence fixed before you commit, instead of a token or consumption bill that grows after the fact.

How VDF AI delivers it

A self-hosted copilot, on the VDF AI platform

VDF AI is the copilot you own: Slack, Jira, GitHub, Confluence and more, powered by models on your infrastructure, with the full platform in every seat — the Copilot alternative for regulated enterprises.

FAQ

Self-Hosted Copilot questions, answered

What is a self-hosted copilot?

A copilot is an AI assistant embedded in employees’ daily workflow — drafting, summarizing, searching, and acting across documents, chat, and business systems; the enterprise question is whether it must run on a vendor’s cloud or can run on yours, installed and operated by your own team — in your data center, private cloud, or VPC — instead of consumed as a vendor-managed SaaS, giving you control over the stack, the models, and the upgrade cadence.

Why do enterprises choose a self-hosted copilot over a cloud service?

A self-hosted copilot runs where you decide — bare metal, private cloud, or an isolated VPC. You choose the models, the upgrade windows, and the integrations, instead of inheriting whatever the SaaS vendor ships next quarter. Self-hosting converts an copilot from an opex meter into a fixed platform cost: infrastructure you already budget for plus a licence fixed before you commit, instead of a token or consumption bill that grows after the fact.

Which regulations drive self-hosted copilot adoption?

The most common drivers are Vendor risk, GDPR, SOC 2 / ISO 27001, IP protection. Vendor risk: Takes the SaaS processor behind your copilot off the vendor-risk register entirely.

Can VDF AI run as a self-hosted copilot?

Yes. VDF AI is the copilot you own: Slack, Jira, GitHub, Confluence and more, powered by models on your infrastructure, with the full platform in every seat — the Copilot alternative for regulated enterprises. VDF AI connects your self-managed Slack, Jira, GitLab, and Confluence through per-user identity mapping and maintains those connectors as the systems evolve, so the upkeep burden that usually sinks self-hosted copilots is not yours.

Is there a self-hosted version of Microsoft 365 Copilot?

No. Microsoft Copilot, the new name for Microsoft 365 Copilot, runs only in the Microsoft cloud and depends on Entra ID and Exchange Online. You can control where data is stored and, in the EU and EFTA, switch off flex routing so inference stays inside the EU Data Boundary, but you cannot install it on your own servers.

Can GitHub Copilot run in an air-gapped network?

Mostly not. Copilot licences are managed through GitHub.com or GHE.com, and Copilot Chat runs there. The exception is a technical preview in which Copilot CLI works with GitHub Enterprise Server in a disconnected environment, using a model provider the administrator configures, without a Copilot licence.

Which coding assistants can be deployed on-premises or air-gapped?

Tabnine offers on-premises, VPC and fully air-gapped private installations on its Enterprise plan. Tabby is an open-source, self-contained server you host yourself. Cline can drive a model you serve locally through Ollama, LM Studio or any OpenAI-compatible endpoint. Whichever you choose, the code model you run sets most of the quality.

What procurement risks come with agent platforms tied to Microsoft cloud?

The main ones are where inference runs under peak load, the dependency on Entra ID and Exchange Online, product and licence changes during the contract, how agents and history can be exported at exit, the concentration of identity, email and AI in one provider, and which logs you can keep in your own systems.

What does a self-hosted copilot give you that Microsoft Copilot does not?

Control over the model, the connectors, and the timing of change. Copilot products have repackaged capabilities, tiers, and underlying models repeatedly, and each change forces you to re-evaluate a tool your staff already depend on. Self-hosting turns that recurring external negotiation into an internal upgrade decision, and keeps your content inside your perimeter.

How hard is it to connect a self-hosted copilot to Jira and Confluence?

Harder than the cloud equivalents, and that is the estimate people get wrong. Self-managed editions differ in authentication, endpoint structure, and permission semantics, and they have finite API capacity — so caching and rate limiting matter. Integrating three or four systems properly is a better plan than claiming a long connector list.

Should a copilot use one service account or act as each user?

Act as each user. A single privileged service account is substantially easier to build and means the copilot can surface any content to anyone who asks, which fails a security review and is painful to unwind once every connector depends on it. Map directory identities to per-system accounts before building the integrations.

What is the ongoing cost of a self-hosted copilot?

Mostly connector maintenance rather than infrastructure. The connected systems evolve their APIs and permission models continuously, and integrations decay silently when nobody owns them — users simply notice the answers getting less reliable. Budget named ownership for upkeep, and prefer depth in a few systems over breadth across many.

Platform Migration

Get a migration assessment

We will map your current stack to VDF AI feature-by-feature and scope a migration path — integrations, governance, and deployment included.

Or start free — no credit card →