Skip to content

Guide

Confidential Computing for LLMs: Practical Implementations and Performance in 2026

A practitioner guide to confidential computing for LLMs in 2026: Intel TDX, AMD SEV-SNP, confidential GPUs, attestation, overhead, and when not to bother.

A 70B-parameter model in FP16 needs roughly 140 GB of weights, and every byte of that working set sits in host DRAM that the cloud operator's hypervisor can read. Confidential computing is the only shipping answer to that specific problem.

Confidential computing for LLMs works today, but only in one shape: a confidential VM (Intel TDX or AMD SEV-SNP) with a confidential GPU attached, an attestation check before the first token, and a stateless inference service inside the boundary. Expect meaningful overhead on small batches and long contexts, and near-noise overhead on large ones — measure both before you commit.

Key takeaways

  • TEEs protect data in use; TLS protects it in transit, disk encryption at rest. LLM inference is the in-use case nobody covered until now.
  • Intel TDX and AMD SEV-SNP are the two VM-level TEEs that matter, and both are supported as GPU-attach guests on NVIDIA confidential computing hardware.
  • Attestation is the whole point. If you are not verifying the quote yourself, you have bought a promise, not a guarantee.
  • Overhead is workload-shaped, not a single number. Long-context decode and small-batch serving hurt most.
  • If your threat model does not include the infrastructure operator, you probably do not need this yet.

What is confidential computing and why is it critical for LLMs in 2026?

Confidential computing runs a workload inside a hardware-enforced Trusted Execution Environment (TEE), where the host OS, the hypervisor, and the cloud operator's own staff cannot read the memory or registers of the running process. For LLMs this closes the last gap in the encryption story: prompts, retrieved context, and KV cache are exposed in plaintext on the host while the model generates.

That gap is not theoretical. A conventional cloud VM encrypts disk and network, then decrypts into RAM you do not control. Anyone with hypervisor access — or a memory-disclosure bug in it — sees the whole prompt. The argument that confidential computing is the only way to scale AI into regulated workloads is made well in The Invisible Vault: why confidential computing is the only way to scale AI in 2026, and I largely agree with it, with one caveat I will get to: attestation has to be yours, not the vendor's.

How do Trusted Execution Environments (TEEs) protect LLM data in use?

How do Trusted Execution Environments (TEEs) protect LLM data in use?

A TEE encrypts guest memory with a per-VM key held by the CPU, and integrity-protects it so the hypervisor cannot silently rewrite pages. The hypervisor still schedules, allocates, and can evict — it just cannot read or tamper. The CPU decrypts only inside the core, in cache.

For an LLM this means three things concretely:

  • Prompt and context are unreadable to the host, including during prefill.
  • KV cache stays encrypted in DRAM, which matters because long-context serving keeps gigabytes of it resident.
  • Model weights are protected too, which is why model owners care about this as much as data owners do.

The trust boundary is the CPU package plus, for GPU work, the GPU's own security processor. Everything outside — NIC, disk, host kernel, the operator's automation — is untrusted by construction. That is the "hardware-backed privacy" claim, and it is worth exactly as much as the attestation that proves which hardware you landed on.

What confidential computing hardware is available for AI workloads in 2026?

What confidential computing hardware is available for AI workloads in 2026?

Three families matter for LLM inference: Intel TDX, AMD SEV-SNP, and NVIDIA confidential computing GPUs. TDX and SEV-SNP are VM-level TEEs; the GPU is a separate device with its own attestation and its own encrypted memory path. You need both halves, and you need them attached to each other.

PlatformLevelAttestation artifactNotes for LLM work
Intel TDXVM (Trust Domain)TD Quote, ECDSA-signed4th Gen Xeon and later; mature guest support on Linux
AMD SEV-SNPVMAttestation report signed by the VCEKEPYC Milan and later; strong integrity story via the reverse map table
NVIDIA H100 / Blackwell CCGPUGPU attestation report, verified against NVIDIA's serviceH100 CC is opt-in; newer parts ship with it as the default posture
ARM CCARealmRealm attestation tokenInteresting, still thin for GPU-attached inference

Two practical notes. First, confidential GPUs are the bottleneck, not CPUs — GPU-attached confidential VMs are a narrower SKU list than plain confidential VMs, and availability varies by region. Second, a confidential VM without a confidential GPU gives you a protected control plane and an unprotected model. That is a real architecture, but do not describe it as end-to-end.

How do you implement confidential LLM inference?

The implementation is four steps: provision a confidential VM with GPU attach, verify attestation before releasing any key or prompt, run a stateless inference server inside the boundary, and emit an audit record per call. The attestation step is the one people skip, and it is the one that matters.

Step 1 — Provision. Pick a confidential VM SKU that supports GPU attach, in the region your data must stay in. Region choice is a compliance decision, not a performance one; the mechanics are the same ones I wrote up in implementing per-request data residency for LLMs with AWS and Azure.

Step 2 — Attest before you send. Fetch the quote, verify the signature chain against the vendor's root, check the measurement against your expected image, and only then unwrap the key that decrypts your model or your tenant data.

Step 3 — Keep the service stateless. No payload logging, no prompt persistence, no fine-tuning on request data. Statelessness is what makes the TEE boundary auditable — if nothing is written down, there is nothing to leak later.

Step 4 — Emit an audit record per call. Every request should carry a region, a data class, and an attestation ID you can replay. That is the same lineage discipline as automating LLM data lineage for auditable AI, just at the request boundary.

If you route through us, the header contract looks like this — a per-request PHI gate, an explicit region, and a BAA-scoped route:

curl https://api.cloudsitus.com/v1/chat/completions \
 -H "Authorization: Bearer $CLOUDSITUS_KEY" \
 -H "X-CloudSitus-Region: ch-north" \
 -H "X-CloudSitus-Data-Class: phi" \
 -H "X-CloudSitus-BAA-Route: azure" \
 -d '{"model":"...","messages":[...],"store":false}'

The response echoes what actually served the call:

X-CloudSitus-Region-Served: ch-north
X-CloudSitus-Attestation-Id: att_...
X-CloudSitus-Audit-Id: aud_...

Two honesty notes. BAA coverage applies only to the Azure routes — the per-request PHI gate will refuse a phi call on a non-BAA route rather than silently downgrade it. And we are not "HIPAA-certified"; we sign a BAA on those routes and you should have your counsel read it.

What is the performance overhead of confidential AI inference?

There is no single number. Overhead is a function of batch size, context length, memory bandwidth pressure, and how often you cross the guest boundary — so any vendor quoting one percentage is quoting their best case. What I can give you is where the cost actually lands, and what to measure.

Overhead sourceWhere it bitesWhat to measure
Memory encryptionLong-context decode, large KV cachetokens/sec at your p95 context length
Integrity checksMemory-bandwidth-bound decodeinter-token latency, not prefill
GPU CC modeSmall batches, many kernel launchesa batch-size sweep, not one point
Attestation and key releaseCold startp99 time-to-first-token
Guest I/O pathModel load, RAG fetchescold model-load time

The pattern I have seen consistently: large-batch, short-context workloads barely notice it; small-batch, long-context, latency-sensitive chat notices it a lot. If your product is a single-user interactive assistant with 100k-token context, budget for a real regression and test it on your own traffic. If you are doing batch summarization, stop worrying and turn it on.

Also measure the cost of the attestation path itself. A cold start that includes quote verification is slower than a warm one, and if you scale to zero you pay it constantly. Keep a warm pool for latency-critical tiers.

How does attestation work for a confidential LLM deployment?

Attestation is a signed statement from the hardware: "this exact measurement is running on genuine, patched silicon in this configuration." You verify the signature chain to the vendor root, compare the measurement to your expected image, and only then release secrets. Skip that and everything else is theatre.

A workable verification checklist:

  1. Fetch the quote/report from inside the guest, not from an API that claims to represent it.
  2. Verify the signature chain to the CPU vendor's root of trust.
  3. Check TCB status — a known-vulnerable microcode version must fail closed.
  4. Compare the measurement against the image hash you built.
  5. Verify the GPU attestation report separately and confirm it is bound to this VM.
  6. Release the data key only after all five pass, and log the attestation ID with the request.

Step 5 is where most implementations are weakest. A confidential VM with an unverified GPU is half a boundary. If you want the deeper mechanics, I went through them in the technical deep dive into attestation and performance for confidential LLMs.

Microsoft's What's new in Azure confidential computing (Ignite 2026) is the canonical place to track service-level changes; the community URL has moved before, so search the title if it 404s for you.

Confidential computing vs other privacy-enhancing technologies for LLMs

TEEs are the only PET that runs unmodified LLM inference at production latency. Homomorphic encryption and secure multi-party computation protect data far more strongly but are orders of magnitude too slow for transformer inference today; differential privacy protects training data, not inference prompts; redaction and tokenization reduce exposure but rely on the redactor being correct.

TechniqueProtects data in use?Practical for LLM inference now?Main cost
TEE / confidential VMYes, hardware-enforcedYes, with caveatsWorkload-dependent overhead
Homomorphic encryptionYes, cryptographicallyNo, not for large modelsOrders of magnitude slower
Secure MPCYes, cryptographicallyNo, not for large modelsNetwork and compute cost
Differential privacyPartially, statisticallyTraining-side mostlyUtility loss
Redaction / tokenizationNo, it is a controlYes, as a complementRecall failures leak

The honest framing: TEEs and redaction are complementary, not alternatives. Redaction reduces what enters the boundary; the TEE protects what does. And redaction alone fails on the long tail — see the LLM output sanitization checklist for the output side of the same problem, and data minimization for LLMs for shrinking the input side.

Where do confidential LLMs deliver the most value?

The strongest fit is a workload where the data owner and the infrastructure operator are different parties, and the data owner cannot accept the operator reading plaintext. That covers regulated healthcare inference, financial analysis over client positions, and multi-tenant SaaS where tenants contractually refuse to trust the platform.

Weaker fits, and I would say so to your face:

  • You are the operator and you trust yourself. Then the threat model does not include the person you are defending against, and you are paying overhead for optics.
  • Your data is public or synthetic. No boundary needed.
  • You cannot verify attestation yourself. Then you have outsourced the guarantee to a vendor's dashboard. That is a legitimate business decision; just do not call it a TEE.

If you are weighing the build-it-yourself route against a hyperscaler, be clear-eyed: running confidential VMs with GPU attach is genuinely fiddly, and if you have platform engineers who enjoy that, do it directly. If you would rather not own attestation verification, region routing, and per-request audit trails, that is the layer we build — start at cloudsitus.com and read the sub-processor list before you read the pricing page.

FAQ

Is confidential computing for LLMs production-ready in 2026?

Yes, for VM-level TEEs with GPU attach, in a limited set of regions and SKUs. The gaps are SKU availability and operational maturity, not the underlying hardware. Treat it as production-ready but not commodity.

What is the performance overhead of confidential AI inference?

It varies too much for one number to be useful. Large-batch, short-context workloads see small overhead; small-batch, long-context, latency-sensitive serving sees a real regression. Benchmark your own p95 context length and batch distribution before deciding.

Do I need a confidential GPU, or is a confidential VM enough?

A confidential VM alone protects the control plane and any CPU-side data, but model weights and KV cache live in GPU memory. For end-to-end protection you need a confidential GPU attached and separately attested. Otherwise it is a partial boundary.

How do I verify attestation for a confidential LLM?

Fetch the quote from inside the guest, verify the signature chain to the hardware vendor's root, check TCB status, compare the measurement to your expected image, verify the GPU report and its binding to the VM, then release the data key. Log the attestation ID on every request.

Does confidential computing make an LLM deployment HIPAA compliant?

No. Confidential computing is a technical control, not a compliance status. For us, BAA coverage applies only to the Azure routes, and the per-request PHI gate enforces that. Whether your overall deployment is compliant is a question for your counsel.

Any or all location, securely, privately, easily.

Take control of where your data lives.

Situs is the legal word for where an asset sits, and so whose law governs it. CloudSitus makes that a setting on every call, every database and every file.

https://cloudsitus.com/mcp