Confidential AI Inference · Intel TDX

Inference that refuses to run outside an enclave.

An OpenAI-compatible API that only routes to models running inside Intel TDX enclaves at our inference provider. No non-TEE fallback. No silent downgrade. If the upstream ever swaps a model off its confidential compute, the API rejects the call server-side with a 400. The enclave covers the model at the provider, not our API: your request and the response pass through our relay in clear, over TLS. Stream your calls to see tokens as they arrive.

Base URL: https://api.voltagegpu.com/v1
TEEmodels only
100%Intel TDX
0Non-TEE fallback
1MMax context

Why confidential inference?

The standard LLM API assumes you trust the inference operator with your prompts, your data, and the weights they claim to be running. VoltageGPU moves the model into a hardware enclave and lets you check the hardware. Here is what changes, and what does not.

Memory

The model runs in an encrypted TDX guest

At our inference provider, Intel TDX encrypts the guest's memory with a key held inside the CPU: that host's OS and hypervisor are outside the trust boundary. The enclave does not cover our relay: your prompt and the response pass through it in clear, over TLS.

Attestation

Instances attested on your nonce

GET /v1/attestation returns the TDX quote and NVIDIA evidence of each instance serving a model, bound to your nonce (see below). It proves those instances are TDX guests, not that a given request ran on them; responses carry no attestation.

GPU

GPU in confidential-computing mode

The NVIDIA evidence returned by /v1/attestation covers the GPUs of the instances serving the model, in confidential-computing mode: transfers between the CPU and the GPU are encrypted by the driver and the GPU.

Gate

Non-TEE models are rejected server-side

POST /v1/chat/completions calls assertConfidentialModel() before touching upstream. Any model ID without confidential_compute: true in the live catalog gets a 400 saying it is not Confidential Compute, and the request never reaches upstream.

No non-TEE fallback, ever. Embeddings, image generation, audio, video, moderations and fine-tuning answer 503 until a hardware-attested variant is offered upstream. If you can't attest it, we don't serve it.

Available TEE models

The catalogue follows what our inference provider serves in Intel TDX, so it changes. The live list is GET /v1/models on https://api.voltagegpu.com (no key needed): each entry carries its context length, its per-token prices (the price you are billed) and, when it can be read, a live status. The same catalogue is on voltagegpu.com/models. Fetch it before caching model IDs or rates in your application.

11 TEE models, read from GET /v1/models on 12 Nov 2026, 13:09 UTCGET https://api.voltagegpu.com/v1/models
ModelContext (tokens)Input, USD per 1MOutput, USD per 1M
Qwen/Qwen3.5-27B-TEE262,144$0.40$3.50
Qwen/Qwen3.5-397B-A17B-TEE262,144$0.90$6.00
Qwen/Qwen3.6-27B-TEE262,144$0.50$4.00
Qwen/Qwen3.8-27B-TEE262,144$0.078$2.50
deepseek-ai/DeepSeek-V3.2-TEE131,072$2.00$2.00
deepseek-ai/DeepSeek-V4-Flash-0731-TEE1,048,576$0.88$2.64
google/gemma-4-31B-turbo-TEE131,072$0.24$0.74
moonshotai/Kimi-K2.6-TEE262,144$0.78$3.60
moonshotai/Kimi-K3-TEE1,048,576$3.70$19.00
zai-org/GLM-5.1-TEE202,752$1.80$5.80
zai-org/GLM-5.2-TEE1,048,576$2.50$7.90

Pricing

USD per 1M tokens, input and output priced separately, as GET /v1/models returns them and billing uses them (also on voltagegpu.com/pricing).

Billing is metered in real time from the live inference catalog. Streaming responses are pre-charged against a conservative estimate, then settled on the final usage block: you pay the real usage, the difference is debited or refunded. If the upstream never returns usage, the estimate stays due (or a count based on streamed choices[].delta.content bytes, if larger), so long completions cannot be free-loaded.

Quick start

Get your first confidential chat completion in under a minute. Chat completions are OpenAI-compatible: drop in the base URL and your vgpu_ key. Requests pass through our relay, which sees them in clear (TLS ends at our host). To keep plaintext off our servers, run your own inference server in a Confidential VM and terminate TLS inside its trust domain.

# Chat Completions, OpenAI-compatible, TEE-gated
curl -X POST "https://api.voltagegpu.com/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-31B-turbo-TEE",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Hello, how are you?"}
    ],
    "max_tokens": 1024,
    "temperature": 0.7
  }'

Tip: existing OpenAI SDKs work as-is. Change base_url to https://api.voltagegpu.com/v1 and every chat completion goes to a model inside an Intel TDX enclave at our inference provider. Requests pass through our relay, which sees them in clear (TLS ends at our host). To keep plaintext off our servers, run your own inference server in a Confidential VM and terminate TLS inside its trust domain. A model ID that is not in GET /v1/models gets a 400 saying it is not Confidential Compute.

Authentication

Chat completions and attestation need a Bearer token in the Authorization header; GET /v1/models answers without one. Generate a key from the API keys page. Keys start with vgpu_.

# The model list needs no key
curl https://api.voltagegpu.com/v1/models

# Bearer auth
curl -X POST "https://api.voltagegpu.com/v1/chat/completions" \
  -H "Authorization: Bearer vgpu_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemma-4-31B-turbo-TEE", "messages": [...]}'

# Or with the OpenAI Python SDK
from openai import OpenAI

client = OpenAI(
    api_key="vgpu_xxxxxxxxxxxx",
    base_url="https://api.voltagegpu.com/v1",
)

response = client.chat.completions.create(
    model="google/gemma-4-31B-turbo-TEE",
    messages=[{"role": "user", "content": "Hello!"}],
)

Rotate keys regularly from your dashboard. Never embed them in client-side code, every token spent on a leaked key is billed to your account.

API reference

Chat completions

Generate conversational responses using TEE-attested LLMs. Drop-in replacement for POST /v1/chat/completions on api.openai.com. Requests pass through our relay, which sees them in clear (TLS ends at our host). To keep plaintext off our servers, run your own inference server in a Confidential VM and terminate TLS inside its trust domain.

MethodEndpointDescriptionAuth
POST/v1/chat/completionsCreate a confidential chat completionYes

Request body parameters

modelrequiredTEE model ID from GET /v1/models. Any other ID gets a 400 (not Confidential Compute).
messagesrequiredOpenAI-style array of {role, content} objects.
max_tokensoptionalMax output tokens, capped at the model's maximum output. Without it, the model's own default applies; VoltageGPU sets none, and the balance check counts 4,096 output tokens (or the model's maximum output if lower). With n (1 to 10), the check counts n times as many. The call is billed on its real usage.
temperatureoptionalSampling temperature, passed to the model as is.
streamoptionalStream tokens as SSE. Usage reconciliation runs automatically at end of stream.
top_poptionalNucleus sampling, passed to the model as is.
tools / tool_choiceoptionalOpenAI-style function calling, passed to the model as is; support depends on the model.
response_formatoptional{ type: "json_object" } or a JSON schema, passed to the model as is; support depends on the model.

Models

List the live catalog, no key needed. Only TEE-attested models are returned, this is the same filtered feed the gate uses.

MethodEndpointDescriptionAuth
GET/v1/modelsList all available TEE models with live pricingNo

Why only chat completions?

VoltageGPU only exposes models that run inside an Intel TDX enclave, with hardware attestation of the instances. /v1/embeddings, /v1/images/generations, /v1/audio, /v1/video, /v1/moderations and /v1/fine-tuning all return 503: the upstream catalog offers zero confidential variants for those modalities today. As soon as a TEE embedding or diffusion model ships, we'll open the corresponding endpoint.

SDK integration

Use any OpenAI-compatible SDK by overriding the base URL. Your existing code doesn't change, the TEE enforcement happens server-side. Requests pass through our relay, which sees them in clear (TLS ends at our host). To keep plaintext off our servers, run your own inference server in a Confidential VM and terminate TLS inside its trust domain.

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="vgpu_xxxxxxxxxxxx",
    base_url="https://api.voltagegpu.com/v1",
)

response = client.chat.completions.create(
    model="google/gemma-4-31B-turbo-TEE",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Explain quantum computing"},
    ],
    max_tokens=1024,
)

print(response.choices[0].message.content)

TypeScript (OpenAI SDK)

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'vgpu_xxxxxxxxxxxx',
  baseURL: 'https://api.voltagegpu.com/v1',
});

const response = await client.chat.completions.create({
  model: 'google/gemma-4-31B-turbo-TEE',
  messages: [
    { role: 'system', content: 'You are a helpful assistant.' },
    { role: 'user', content: 'Explain quantum computing' },
  ],
  max_tokens: 1024,
});

console.log(response.choices[0].message.content);

Streaming

Set stream: true to receive tokens as Server-Sent Events. The VoltageGPU gateway automatically injects stream_options: { include_usage: true } upstream, parses the final usage chunk on the fly, and reconciles the pre-charge against the real token count when the stream closes. Long completions cannot escape billing even if the upstream drops the connection.

# Enable streaming with stream: true
curl -X POST "https://api.voltagegpu.com/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-31B-turbo-TEE",
    "messages": [{"role": "user", "content": "Write a poem about the stars"}],
    "stream": true
  }'

# Response is a standard OpenAI SSE stream
data: {"id":"chatcmpl-123","choices":[{"delta":{"content":"The"}}]}
data: {"id":"chatcmpl-123","choices":[{"delta":{"content":" sun"}}]}
data: {"id":"chatcmpl-123","choices":[{"delta":{"content":" sets"}}]}
...
data: {"id":"chatcmpl-123","usage":{"prompt_tokens":8,"completion_tokens":42}}
data: [DONE]

Errors

Errors are JSON with an error field. On /v1/chat/completions it holds the message itself:

# HTTP 400: a model ID that is not in GET /v1/models
{
  "error": "Model 'gpt-4o' is not Confidential Compute. VoltageGPU only serves TEE-attested models. Fetch GET /v1/models to see the allowlist."
}

Common status codes

200Success.
400Bad request: invalid parameters, or a model ID that is not Confidential Compute.
401Missing or invalid API key.
402Balance under $0.01, or under the cost counted before the call (input plus max_tokens, or 4,096 output tokens without it, times n): set a lower max_tokens or top up at voltagegpu.com/billing.
429The model stayed saturated upstream after our retries (see below): wait for Retry-After when present, or list fallback_models.
502The inference service upstream is unavailable. Retry shortly.
503/v1/embeddings, images, audio, video, moderations or fine-tuning (no TEE variant exists yet), or a model still unavailable after our retries.

Busy models, live status and response headers

A model that is momentarily saturated upstream (429 or 503) is retried for you with backoff, for up to about 12 seconds, honouring Retry-After. To allow other models when it stays busy, list them in fallback_models (confidential models only, at most 3, tried in order). Without that field, only the model you asked for is ever used.

curl https://api.voltagegpu.com/v1/chat/completions \
  -H "Authorization: Bearer $VOLTAGE_API_KEY" -H "Content-Type: application/json" \
  -d '{"model": "google/gemma-4-31B-turbo-TEE",
       "fallback_models": ["Qwen/Qwen3.6-27B-TEE"],
       "messages": [{"role": "user", "content": "Hello"}]}'

Every chat response says what happened:

  • X-VoltageGPU-Model: the model that actually answered, and the one billed.
  • X-VoltageGPU-Retries: attempts beyond the first.
  • X-VoltageGPU-Cost-USD: the cost of the call (non-streaming responses; also in usage.estimated_cost).
  • X-VoltageGPU-Confidential: tee.

GET /v1/models gives each model a live status (refreshed every minute):state is available, busy, saturated or unavailable, with active_instances, utilization_5m and rate_limited_5m. Pick a model with room before you send traffic.

Verify the hardware yourself

GET /v1/attestation?model=<model>&nonce=<64 hex chars> returns, for each running instance of a confidential model, its Intel TDX quote (base64) and its NVIDIA GPU evidence, bound to the nonce you generate: the TDX report_data is SHA256(nonce || e2e_pubkey) and the GPU evidence uses the same value as its nonce. Limit: 6 requests per minute per API key.

NONCE=$(openssl rand -hex 32)
curl -H "Authorization: Bearer $VOLTAGE_API_KEY" \
  "https://api.voltagegpu.com/v1/attestation?model=google/gemma-4-31B-turbo-TEE&nonce=$NONCE"

Verify each quote with Intel DCAP (signature chain to the Intel root, TCB status, debug bit off,report_data as above) and the GPU evidence with NVIDIA's attestation SDK or remote service.

A real run, every file public: on 16 October 2026 we fetched the evidence of every instance serving three models with our own nonce and checked each one this way (Intel quote, nonce binding, debug bit, key possession, NVIDIA GPUs): README, raw evidence, reports and the script.

What this proves: the instances serving that model right now are genuine Intel TDX guests with NVIDIA confidential-computing GPUs, answering your nonce. What it does not prove: that a given response came from one of them, or which code they run (no reference measurements are published yet). Through this API your prompts reach our relay in clear over TLS; to keep them away from our relay, serve the model yourself on a Confidential VM, an Intel TDX guest you attest yourself.

Rate limits & billing

  • Busy models: a model saturated upstream is retried for you for about 12 seconds, then the call returns 429 or 503 (see above). GET /v1/attestation allows 6 requests per minute per API key.
  • Billing model: USD per million tokens, input and output priced separately, at the prices GET /v1/models returns.
  • Streaming: pre-charged against a conservative input-token estimate, then settled on the real usage block emitted at end of stream (the difference is debited or refunded).
  • Balance: debited in real time against your account. Before any upstream call, a balance under $0.01, or under the cost counted for the call (its max_tokens, or 4,096 output tokens without it, times n), returns 402. The call is then billed on its real usage.

Check live usage and top up at voltagegpu.com/billing.

Support & resources