DeepEval self-hosted

Self-hosting the Confident AI platform, which DeepEval can send test runs and traces to, is an Enterprise-plan capability with SAML or OIDC SSO and documented air-gapped options. Role-based access, tenancy and audit logging need written confirmation from Confident AI before approval.

On this page

Is DeepEval self-hosted Confident AI supported, and on which plan?

If your platform, IT or security team must keep evaluation traces, datasets and results inside your own cloud account, self-hosting is available, but only on the Enterprise plan. Self-hosting the Confident AI platform is an Enterprise-plan capability that requires a signed CONFIDENT_LICENSE_KEY and image pull credentials from Confident AI, and the self-hosting docs describe SAML or OIDC single sign-on. Without the license key, the application starts with all features off, so treat licensing as a gating item in your procurement timeline. Ask Confident AI who issues the key and pull credentials, and what each one covers, before you choose an architecture.

The DeepEval framework is a different matter. It runs locally under the Apache 2.0 license, and it caches test runs on the machine where they execute, so the framework works without the Confident AI platform. The self-hosting question concerns the platform only. Running deepeval login or setting CONFIDENT_API_KEY sends test runs and production traces from DeepEval to the Confident AI platform, so confirm with Confident AI how a client is pointed at your self-hosted instance before you assume traces stay in your network. Most LLM-as-a-judge metrics also call a judge model that your model provider bills, and those calls go wherever you configure them, so map that data flow separately.

The vendor docs do not describe role-based access, multi-tenancy or audit logging for the self-hosted platform, so do not assume any of them until you have the answers in writing. Ask Confident AI which roles exist and what each one can see, whether projects are isolated from one another, what the audit log records, where it is stored and how long it is kept, and how SSO group mapping works. Also test the effect of config.disableNonSsoLogin: true in a non-production environment before you rely on it. Compliance outcomes such as SOC 2, HIPAA or GDPR depend on how your organization deploys and operates the platform, so read the self-hosting security and compliance documentation as a starting point for your own control evidence, which an independent auditor will still need to assess.

What the self-hosted platform supports by plan and option

This table compares what the self-hosted Confident AI platform provides for DeepEval users with what your team must supply or confirm before going live. Read the middle column for product behavior as the self-hosted platform describes it, and the right column for actions, decisions and open questions. The main takeaway: self-hosting depends on an Enterprise license, your cluster, database, storage and identity provider, and several access controls still need written confirmation.

CapabilityWhat the self-hosted platform providesWhat to confirm or supply
Self-hosting on the Enterprise planAvailable on the Enterprise plan only, with a signed CONFIDENT_LICENSE_KEY and image pull credentials from Confident AI.Get the key and pull credentials in writing before procurement, since the app starts with all features off without the key.
SAML, OIDC and Google OAuth sign-inUsers can sign in through SAML or OIDC single sign-on, and Google OAuth is also available.Confirm the SAML or OIDC attributes your identity provider sends, and test sign-in with a second admin account.
Email login and password switchEmail and password sign-in exists; config.disableNonSsoLogin: true turns off password login.Turn the setting on only after SSO works, and keep a tested recovery path for administrators.
Offline and air-gapped useOffline image delivery and self-hosted LLM options exist for air-gapped networks, and the license is validated inside the cluster.Ask which model endpoints the self-hosted LLM options support and how images are mirrored into your registry.
No telemetry and Helm upgradesThe docs state no telemetry is sent to Confident AI; upgrades run through helm upgrade with a new chart version.Ask for the telemetry statement in writing and the release notes for each chart version you plan to move to.
Kubernetes and PostgreSQL (you supply)EKS, GKE, AKS or your own conformant cluster, with PostgreSQL on RDS, Cloud SQL or Azure Flexible Server. The Terraform module can create them.Confirm who owns cluster upgrades, database backups and sizing for your expected load.
Object storage and identity provider (you supply)Object storage on S3, GCS or Blob storage; the identity provider must support SAML or OIDC for SSO.Confirm your identity provider's SAML or OIDC support and the bucket policies your security team will approve.
Code executor (you supply)Needed only for code-based or transformer metrics; other evaluation runs do not need one.Ask Confident AI how the executor is deployed, isolated and logged before you enable those metrics.
Role-based access, multi-tenancy and audit loggingTo confirm with Confident AI for the self-hosted build before you rely on it.Ask in writing for the role model, tenant isolation, and audit log fields and retention.

How DeepEval self-hosted SSO and data flow work

Start the review with two artifacts. A published Terraform module creates the Kubernetes cluster, PostgreSQL database and object storage on AWS, GCP or Azure, and the confident-ai Helm chart installs the backend, frontend, evaluation service, workers, ClickHouse and Redis into that cluster. Terraform sets where the data is stored, and Helm sets which services run against it. The documented targets are EKS, GKE and AKS, or your own conformant cluster, and a code executor is needed only for code-based or transformer metrics, so decide early whether your evaluations use them. Ask Confident AI for the exact module and chart versions you plan to deploy, because upgrades run through helm upgrade with a new chart version.

Four controls decide who gets in and what the platform will run. At login, your identity provider authenticates users through SAML or OIDC single sign-on, and setting config.disableNonSsoLogin: true turns off password login. The docs as supplied name only password login, so confirm with Confident AI whether that setting also affects Google OAuth before go-live. Network controls sit at the cluster and cloud boundary: the database, object storage and cluster endpoints should be reachable only from the subnets and private paths your security team approves. The license check runs inside the cluster. Without a signed CONFIDENT_LICENSE_KEY, the app starts with all features off, so a licensing gap shows up as missing functionality rather than as an open door.

The docs state that traces, datasets, prompts and results stay in your network and that no telemetry is sent to Confident AI. That statement covers the platform, not the whole workflow. Most LLM-as-a-judge metrics call an evaluation model, so the DeepEval client still sends the test content it evaluates to your judge model provider unless you configure a self-hosted model. Map that path separately, because the provider bills that usage. Also confirm with Confident AI how the DeepEval client is pointed at your instance, since the default login flow sends runs to the hosted service. Compliance outcomes such as SOC 2, HIPAA or GDPR depend on how you deploy and operate the platform, so read the self-hosting security and compliance docs as a description of data location, not a certification.

How a DeepEval run reaches your self-hosted Confident AI instance

The path starts on a developer machine or CI job, where DeepEval runs the metrics, calls the judge model and uploads the test run. Engineers sign in through your identity provider, which passes a session to the frontend and backend. Inside your cloud account, the license key is validated within the cluster, PostgreSQL holds run metadata, and Redis passes background work to the workers, which use the evaluation service, ClickHouse and object storage. The images come from a registry or an offline bundle. Check that judge model traffic can leave your network through the route you approve, that the license key is in place, and that the image source matches the chart version you deploy.

Sign-in, upload and judge model paths into the self-hosted instance boundary.

Decisions for a DeepEval self-hosted rollout

Each card is a choice your organization makes before the platform goes live, and each one changes what data leaves your network, who can sign in, or what your team must operate afterward. The decisions connect: the identity provider shapes access, the cloud account and network boundary shape exposure, and the judge model decides whether scored content leaves your environment.

Identity provider and SSO protocol

Decide whether users sign in through SAML or OIDC from your identity provider, and whether Google OAuth and email login stay enabled. Setting config.disableNonSsoLogin: true turns off password login, so every user depends on the identity provider working. Before cutover, confirm how account recovery and emergency administrator access work, and which sign-in methods your Enterprise license and chart version expose.

Security and compliance docs

Cloud account and managed database

Choose AWS, GCP or Azure, then choose the managed PostgreSQL service that the Terraform module provisions alongside the Kubernetes cluster and object storage. The documented pairs are EKS with RDS, GKE with Cloud SQL, and AKS with PostgreSQL Flexible Server. ClickHouse and Redis run inside the cluster through the Helm chart, so your team owns their storage and backups. Ask who holds the cloud account, who controls Terraform state, and how database restores are tested.

Self-hosting docs

Network boundary and reachability

Decide who can reach the instance and from which networks engineers administer it. The docs state that traces, datasets, prompts and results stay in your network, but the ingress path, load balancer exposure and private DNS are your design. DeepEval test runs and production traces must reach the instance from your CI runners and applications, so a public or private endpoint changes which runners can report. Confirm the exposure model with your security team before the first test run is sent.

Judge model provider

Decide whether the judge model is an external provider or a model you host. Most LLM-as-a-judge metrics call an evaluation model, so an external provider receives the inputs and outputs being scored and bills that usage separately from the platform. A self-hosted model keeps that content inside your network, and the security docs describe self-hosted LLM options for air-gapped environments. Also confirm which metrics need a code executor, since the FAQ limits it to code-based and transformer metrics.

Self-hosting FAQ

Tenant boundary and instance count

Decide whether one Confident AI instance serves every team, or whether each business unit or regulated data set gets its own instance. A single instance means one cluster, one database and one upgrade cycle to run, with separation handled through projects, users and roles. Separate instances isolate data and identity more strictly, but they multiply clusters, databases, chart upgrades and operating effort. Ask how projects and roles are scoped inside one deployment before you decide.

Log destinations for review

Decide where cluster and application logs go so your security and operations teams can review them. The docs state that no telemetry is sent to Confident AI, so log shipping is entirely your design, whether it feeds a cluster log stack, a SIEM or cloud-native logging. Confirm which components of the confident-ai Helm chart write logs, including the backend, evaluation service, workers, ClickHouse and Redis, and how long each store keeps them. Access to those logs is a control you set and evidence you keep.

How the self-hosted answer changes by situation

The platform signs users in with email and password, Google OAuth, or SAML or OIDC single sign-on. Setting config.disableNonSsoLogin: true turns off password login, which is the setting most security reviews will ask about. The protocol you choose changes the configuration work on both sides and the questions you put to your identity provider admin.

  • Protocol choice: SAML and OIDC are configured differently. Confirm which your IdP supports for this application and which your security standard prefers.
  • Attribute and claim mapping: Confirm which user attributes or claims carry the email, display name and group membership the platform expects.
  • Redirect and callback URLs: Take the exact URLs for your deployed hostname from the platform configuration before the admin registers the application.
  • Group to role mapping: Confirm whether access roles come from IdP groups and who approves changes to those groups.
  • Break-glass access: Decide whether any local account stays available if the IdP is down, and who holds its credentials.

Before you enable config.disableNonSsoLogin, confirm with the IdP admin that the protocol, claims and callback URLs match the hostname you will run in production.

Where the self-hosted platform leaves gaps for this control

DeepEval self hosted covers the Confident AI platform in your own cloud account, but six areas remain yours to settle or build. Some depend on features Confident AI must confirm, others on how your organization operates the platform, and the rest on components or traffic that sit outside it. Confirm each item in writing before the scope is agreed, because each one changes the design, the cost or the evidence you can produce.

Role-based access and mapping

Access to traces, datasets, prompts and results is only as fine-grained as the roles the platform provides, so settle the role model before users arrive. Ask Confident AI which built-in roles exist, whether custom roles are possible, and how SSO group claims map to them. If the answer is no, control access through identity provider groups, a documented joiner, mover and leaver process, and periodic reviews of who holds each group.

Multi-tenant separation

Teams, business units or customers that must not see each other's evaluation data need a clear tenant boundary. Ask Confident AI whether one installation can keep projects, users and data apart for separate tenants, and how that separation is enforced and tested. If it cannot, run a separate instance per boundary, with its own cluster, database, object storage and SSO configuration, and accept the duplicated operating cost of each one.

Audit logging of user actions

Your auditors will ask who viewed or changed evaluation data, who changed a role, and when. Ask Confident AI whether the platform records user and admin actions, what each event contains, where it is stored, and how long it is kept. If the platform does not provide that record, collect cluster, database and object storage logs in your own logging stack, and accept that these logs show infrastructure activity but may not show in-app actions.

SOC 2, HIPAA and GDPR outcomes

Self-hosting keeps traces, datasets, prompts and results in your network, but it does not make the platform compliant with SOC 2, HIPAA or GDPR on its own. Those outcomes depend on how your organization deploys, configures, monitors and operates the platform, including access reviews, backups, retention and vendor terms. DeployOpen prepares systems, controls and evidence for your assessment, but it issues no audit report, attestation or certification, and an independent auditor or certification body makes that determination.

Security and compliance docs

Separate code executor component

Code-based and transformer metrics need a code executor, a separate component you must deploy, isolate and operate alongside the platform. Only deployments that use those metrics need it, so confirm which of your evaluations need it before sizing the cluster. Treat it as a workload with its own network policy, resource limits, image source and patch cycle, and review what it can reach, since it runs code that your evaluations feed it.

Self-hosting FAQ

Judge model egress and billing

Most LLM-as-a-judge metrics call an evaluation model, so test inputs and outputs leave your network even when the platform runs inside it. Unless you configure a self-hosted judge model, the provider bills that usage separately and its terms govern what it does with the data. Check which metrics call which model, confirm the provider agreement covers your data classification, and route judge traffic through the egress controls your security team already applies to outbound AI traffic.

DeepEval getting started

Order of work to put self-hosted DeepEval into production

This sequence takes a self-hosted Confident AI platform from a signed Enterprise agreement to a tested production instance in your own cloud account. Each step closes with a check that a second person can confirm, so licensing, identity, network and upgrade questions are settled before evaluation data reaches the platform. The order matters because SSO and license decisions are hard to reverse once users and pipelines depend on the instance.

  1. Confirm Enterprise scope and image access

    Before any infrastructure work, agree in writing with Confident AI that your Enterprise plan covers self-hosting, the signed CONFIDENT_LICENSE_KEY, image pull credentials and the chart versions you will run. Ask whether offline image delivery is available if your environment is air-gapped, and confirm which self-hosted LLM options apply to you. Test the registry pull and the license key early, because the app starts with all features off without a valid key. Done when you hold working credentials and a written scope that names what is covered.

  2. Design and test SSO in staging

    Your identity team configures SAML or OIDC single sign-on against a staging instance and maps groups to the roles your organization uses. Test sign-in with every user population, including administrators, and confirm how administrators recover access if the identity provider is unavailable. Then set config.disableNonSsoLogin to true so password login is turned off, and verify that a fresh test user can sign in only through SSO. Done when the password path is confirmed closed and the identity configuration is stored in version control for the production build.

  3. Build cluster and data stores with Terraform

    Run the published Terraform module in your own cloud account to create the Kubernetes cluster, PostgreSQL database and object storage. The docs describe EKS, GKE and AKS, or a conformant cluster you already run. Review the network boundary before anything is exposed: which subnets reach the database and object storage, which ingress is public, and what outbound access the cluster keeps. Done when your cloud and security owners sign off on the network review and the data stores sit in accounts and regions you control.

  4. Install the Helm chart and verify components

    Your platform team installs the confident-ai chart with the license key and image credentials, which brings up the backend, frontend, evaluation service, workers, ClickHouse and Redis. Check that every workload reports ready, that the license check passes inside the cluster, and that the licensed features are active. If you plan code-based or transformer metrics, decide now whether you need a code executor. Done when each component is healthy, the license is validated, and the team has a record of the chart version and values file used.

  5. Point DeepEval clients and approve judge model

    Point test environments at the self-hosted address and authenticate with deepeval login or the CONFIDENT_API_KEY setting, so test runs and production traces reach your instance. Identify the judge model each project calls, since most LLM-as-a-judge metrics use one and the model provider bills that usage directly. Have the security owner approve the judge path, including which provider receives prompts and outputs and under what contract. Done when a test run appears in your instance and only the approved judge model is called.

  6. Get written answers on roles and audit logs

    Send Confident AI a written question list covering roles, tenant separation, audit log contents and retention, and which Confident AI staff can access your instance during support. Confirm in writing that the no-telemetry statement in the docs applies to your version. Map each answer to your access and logging requirements, and close every gap with a configuration change, a compensating control or a signed risk acceptance. Done when every question has a written answer on file and no open gap blocks go-live. Compliance outcomes depend on how you operate the platform, so this review stays with your team.

  7. Rehearse a Helm upgrade before go-live

    Install the current chart in a staging cluster, then run helm upgrade to a newer chart version using the upgrade guidance in the docs. Check that workloads roll over cleanly, that data, SSO settings and license validation survive, and that DeepEval clients still connect. Record the values files and the recovery steps you verified, and confirm rollback behavior with Confident AI before relying on it. Done when a rehearsed upgrade completes in staging, the team has a written runbook, and an owner is named for approving future chart upgrades.

What a security reviewer asks to see for this control

This table lists the evidence a security reviewer typically requests for a self-hosted Confident AI deployment, where each item comes from and who prepares it. Read it as a checklist to assemble before the review starts. The main takeaway is that most items come from your own Terraform, Helm and cloud settings, so the platform team and security team should own them together.

Evidence itemWhere it comes fromOwner
Data flow diagramTerraform and Helm configuration, mapped to where traces, datasets, prompts and results are stored in your networkPlatform team
SSO configuration with password login disabledHelm values for SAML or OIDC with config.disableNonSsoLogin set to true, plus the identity provider settingsPlatform team
License key storageCONFIDENT_LICENSE_KEY held in your secret manager, with the access policy that limits who can read itSecurity team
Cluster hardening and network policy recordsTerraform cluster settings, network policy manifests for the platform namespace and cluster administrator access rulesPlatform team
Encryption and backup settingsTerraform and cloud console settings for PostgreSQL and object storage encryption, backup schedules and restore test recordsPlatform team
No telemetry statementWritten vendor statement that the platform sends no telemetry to Confident AI, dated to the release you deployConfident AI
Roles and audit logsWritten answers on user roles, admin permissions and audit log coverage, to be confirmed against your deploymentConfident AI
Helm release historyOutput of helm history for the confident-ai release, with chart versions and change records for each upgradePlatform team

Questions buyers ask before approving self-hosted DeepEval

Does the DeepEval framework need the Confident AI platform to run?

No. The DeepEval framework is an Apache 2.0 Python package that runs on your own machines and in your own pipelines, and the Confident AI platform is optional. Test runs are cached locally, and you can choose where they are stored with the DEEPEVAL_RESULTS_FOLDER setting. Running deepeval login or setting CONFIDENT_API_KEY is what sends test runs and production traces to the platform. Self-hosting matters only if you want the platform's traces, datasets, prompts and results to stay inside your network. Most LLM-as-a-judge metrics still need a judge model, billed by its provider, whether or not the platform is in use. Read the DeepEval getting started guide before deciding.

What does self-hosting Confident AI cost, and who pays for each part?

Enterprise pricing is custom, so ask for a written quote tied to your scope. Self-hosting requires the Enterprise plan, and the costs fall into four groups:

  • Enterprise license, paid to Confident AI under your contract. Confirm whether the fee recurs and what term it covers.
  • Cloud resources in your account, including the Kubernetes cluster, PostgreSQL database and object storage, paid to your cloud provider.
  • Judge model usage, paid to your model provider and rising with evaluation volume.
  • Labor, from your engineers and from any outside help for setup, upgrades and support.

Setup labor is one-time, while licenses, cloud resources and judge usage recur. Ask the quote to split one-time from recurring costs, list the cloud services it assumes, and state the evaluation volume it is based on. The Confident AI pricing page shows the published plans for comparison.

How long does self-hosting Confident AI take from approval to launch?

The length depends mostly on cloud account approvals, identity provider setup and how quickly open questions get answered. Start the schedule only after the Enterprise plan, the signed CONFIDENT_LICENSE_KEY and image pull credentials are in hand, because the app starts with all features off without the key. Ask for a written timeline with milestones: cloud and network approvals, cluster and database provisioning with Terraform, the Helm install of the confident-ai chart, SSO configuration with password login turned off if your policy requires it, and a verification step signed off by your team. Each milestone should name an owner, and the timeline should show which steps sit with your team and which sit with the implementation partner, so delays can be traced to their source.

Can our platform team deploy self-hosted Confident AI without outside help?

Yes, if your team already runs Kubernetes, Terraform and Helm on AWS, GCP or Azure. The Terraform module creates the cluster, PostgreSQL database and object storage, and the confident-ai Helm chart installs the backend, frontend, evaluation service, workers, ClickHouse and Redis. Documented targets are EKS, GKE and AKS, or your own conformant cluster. The harder part is day-two work. Upgrades run through helm upgrade with a new chart version, and someone must own backups, scaling, monitoring and incident response. Confirm that your team can take on that ownership before committing. If it cannot, a fixed-scope build or a retainer with DeployOpen can cover planning, implementation, documentation and ongoing support inside your own accounts. The Enterprise license and image pull credentials are still required first.

What does a self-hosted DeepEval rollout need from our team?

Four inputs decide whether the rollout starts on time, and each needs an owner on your side:

  • Cloud account access, with rights to create the Kubernetes cluster, database, object storage and related networking.
  • Identity provider admin access to register SAML or OIDC single sign-on and map roles to users.
  • Network approvals for ingress, internal paths and any outbound access your security policy allows.
  • A judge model decision: which provider or self-hosted model scores evaluations, who holds its keys, and where its requests may go.

Add a code executor decision only if you plan to run code-based or transformer metrics, since the executor is needed only for those. Name one technical lead and one approver for security exceptions before kickoff, so approvals do not stall the build.

Does the Confident AI license check send data outside our cluster?

The documentation says the license is validated inside the cluster, but confirm that in writing before approval. Ask Confident AI to state whether any licensing call leaves your network at install, at runtime or at renewal, and what the application does if validation fails. Ask how licensing behaves in an air-gapped setup, where offline image delivery and self-hosted LLM options are described. Without a valid CONFIDENT_LICENSE_KEY, the app starts with all features off, so plan license handling into your change process. Keep the written answer in your security review file. The self-hosting security and compliance documentation is the starting point for this question.

Does self-hosting Confident AI make it compliant with SOC 2 or HIPAA?

No. Compliance outcomes depend on how your organization deploys and operates the platform, and no vendor or DeployOpen certification is implied. The documentation describes traces, datasets, prompts and results staying in your network, and states that no telemetry is sent to Confident AI. Those points help your assessment, but your team still owns the controls around them: who gets access, how SSO and password login are configured, logging, backups, retention, patching and cloud settings. DeployOpen can prepare systems, controls and evidence for a compliance assessment, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. Bring your compliance lead into scope discussions early so the evidence list is agreed before the build starts.

How DeployOpen scopes, deploys and supports self-hosted DeepEval

DeployOpen plans and deploys the Confident AI platform in your own cloud account, so traces, datasets, prompts and results stay in your network. Self-hosting requires an Enterprise plan, a signed license key and image pull credentials from Confident AI, and we scope those prerequisites before any build starts. The DeepEval framework itself stays a local Python or TypeScript package that your teams run.

How we scope

  • The written scope names the Confident AI plan, license key handling and image pull credentials before any build starts.
  • We confirm the target: EKS, GKE, AKS or your own conformant Kubernetes cluster in your cloud account.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Terraform creates the Kubernetes cluster, PostgreSQL database and object storage in your cloud account.
  • The confident-ai Helm chart installs the backend, frontend, evaluation service, workers, ClickHouse and Redis.
  • SSO is set up through SAML or OIDC, and password login can be turned off with config.disableNonSsoLogin.

How we hand over

  • We document the deployed architecture, configuration and the Terraform and Helm settings used in your environment.
  • We walk your team through how the license is validated inside the cluster.
  • For air-gapped sites, we cover offline image delivery and the self-hosted LLM options Confident AI documents.

How we support

  • Upgrades run through helm upgrade with a new chart version, which we plan, test and apply with you.
  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Compliance outcomes depend on how you operate the platform, so we prepare evidence for independent auditors to review.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.