Featured postQwen4 Max Gets Six Exploits Through, but Spends Seven Times More on the Rest. Read the post

AI security tools you can self-host, with your own model keys

Few AI security tools both run fully inside your network and let you bring your own model. Enclave, SonarQube Server (Enterprise and Data Center) and Pixee document air-gapped deployments with your own or self-hosted models. Checkmarx offers on-premises and air-gapped scanning; Semgrep and Endor Labs let you bring model keys but keep a cloud component.

Updated

At a glance

Self-hosted AI security tools compared

Enclave makes one of the tools on this list. Every other entry is based on the vendor's own public website and documentation, reviewed November 22, 2026. Products change, so check the vendor's site for current details.

Self-hosted AI security tools compared
ToolBest forDeploymentYour own model keysPricing
EnclaveRunning security agents for code, cloud and pentesting inside your networkSaaS, your private VPC on AWS, Google Cloud, or Azure, or fully air-gappedBring your own Anthropic, OpenAI, or Google API keys, or run models through EnclaveSelf-hosted and air-gapped deployments are on Enterprise, by contract
SonarQube ServerAir-gapped code quality and security with a local modelSelf-managed, including without internet accessYes: Azure OpenAI, AWS Bedrock or an OpenAI-compatible gateway (Enterprise and Data Center)Server pricing by quote
PixeeAir-gapped automatic fixing on top of your existing scannersSingle VM or Kubernetes, including air-gappedYes: major model providers or any OpenAI-compatible endpointNot published
SemgrepSaaS buyers who want AI calls on their own model accountSaaS; dedicated infrastructure on EnterpriseYes, on plans that include itFree up to 10 contributors; Teams $30 per contributor per month
Checkmarx OneRegulated enterprises that need on-premises scanningSaaS, single-tenant, self-hosted, air-gapped and FedRAMPNot statedNot published
Endor LabsKeeping source code in your network with a SaaS consoleSaaS, with scanning in your Kubernetes cluster (Outpost)Yes for AI SAST: OpenAI, Azure OpenAI and GoogleFree developer plan; paid plans not published
The tools

The tools, one by one

Enclave

Best for: Running security agents for code, cloud and pentesting inside your network

Enclave runs as SaaS, in your private VPC on AWS, Google Cloud or Azure, or fully air-gapped for regulated and classified environments. You can bring your own Anthropic, OpenAI or Google API keys or run models through Enclave, and approval gates are set per repository.

Source: enclave.ai

SonarQube Server

Best for: Air-gapped code quality and security with a local model

SonarQube Server is self-managed. In the Enterprise and Data Center editions, AI CodeFix can use Azure OpenAI, AWS Bedrock or a self-hosted OpenAI-compatible gateway, and then needs no internet access beyond your model endpoint.

Source: docs.sonarsource.com

Pixee

Best for: Air-gapped automatic fixing on top of your existing scanners

Pixee installs on a single VM or with Helm on Kubernetes, including air-gapped. You can bring OpenAI, Anthropic, Azure AI Foundry, AWS Bedrock, Google Vertex AI, Oracle OCI or any OpenAI-compatible endpoint, including a self-hosted model.

Source: docs.pixee.ai

Semgrep

Best for: SaaS buyers who want AI calls on their own model account

Semgrep is SaaS, with dedicated infrastructure and on-premises source control support on Enterprise. On plans that include it, its AI features can use your own OpenAI, Anthropic, AWS Bedrock, Azure, Gemini or xAI account.

Source: semgrep.dev

Checkmarx One

Best for: Regulated enterprises that need on-premises scanning

Checkmarx offers SaaS, single-tenant, self-hosted and air-gapped deployments, plus FedRAMP for government. It does not state that you can bring your own model keys.

Source: checkmarx.com

Endor Labs

Best for: Keeping source code in your network with a SaaS console

Endor Labs is SaaS. With Endor Outpost, scanning runs in your own Kubernetes cluster and only results go to Endor's cloud, so outbound internet access is required. Its AI SAST can use your own OpenAI, Azure OpenAI or Google keys.

Source: docs.endorlabs.com

Choosing

What to look for

Separate where code is scanned from where results live

Some tools scan inside your network but send results to their cloud. If source code, findings and model prompts must all stay inside, ask for a fully self-hosted or air-gapped deployment.

Check which model can run where

Bringing your own API key keeps model calls on your contract. Air-gapped environments also need a model you host yourself, so ask which local or OpenAI-compatible models each tool supports.

Ask what the AI features lose on premises

Some vendors ship fewer AI features in their self-hosted editions than in their cloud. Ask for the feature list of the exact edition you would run.

FAQ

Questions buyers ask

Which AI security tools can run air-gapped?

Enclave, SonarQube Server (Enterprise and Data Center), Pixee and Checkmarx document air-gapped deployments. Enclave, SonarQube and Pixee also run their AI features with models you host yourself.

Can Snyk be self-hosted?

Snyk says it does not offer an on-premises version. It offers multi-tenant SaaS or a single-tenant Private Cloud, and you run only its Broker in your network.

Is Horizon3.ai NodeZero self-hosted?

Not fully. NodeZero's test runner sits in your network, but it reports to Horizon3's cloud portal, and an air-gapped option is not stated.

What does BYOK mean for AI security tools?

Bring your own key means the tool sends model requests through your own Anthropic, OpenAI, Google or cloud provider account. Prompts and code stay under your contract with the model provider, and usage is billed to you directly.

See Enclave on your own stack.