Skip to content

Confidential AI API

OpenAI-compatible API running inside Intel TDX enclaves. One line to switch.

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. Confidential VMs

Quickstart

1

Create an account

Create account, Sign up at voltagegpu.com and top up your balance: your first top-up of $10 or more adds a $3.80 bonus (one hour on an RTX PRO 6000 Blackwell VM).

2

Generate an API key

Go to your dashboard and create an API key.

https://api.voltagegpu.com/v1/confidential

Full docs: the complete API reference covers every endpoint, and the quick-start guide gets a confidential pod running; it is usually ready within 15 minutes.

3

Make your first call

Use any OpenAI SDK and change the base URL. 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.

Code Examples

cURL

bash
curl https://api.voltagegpu.com/v1/confidential/chat/completions \
  -H "Authorization: Bearer vgpu_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "contract-analyst",
    "messages": [
      {"role": "user", "content": "Review this NDA clause: The Receiving Party shall not disclose any Confidential Information for 5 years..."}
    ],
    "max_tokens": 2048,
    "stream": true
  }'

Python (OpenAI SDK)

python
from openai import OpenAI

# One line to change, same SDK, same code.
# 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.
client = OpenAI(
    base_url="https://api.voltagegpu.com/v1/confidential",
    api_key="vgpu_YOUR_API_KEY",
)

# Use any of the 9 agents as model ID
response = client.chat.completions.create(
    model="contract-analyst",  # or: financial-analyst, compliance-officer, etc.
    messages=[
        {"role": "user", "content": "Review this NDA and flag non-standard terms:\n\n" + nda_text}
    ],
    max_tokens=2048,
)

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

Node.js / TypeScript

typescript
import OpenAI from 'openai';

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

const response = await client.chat.completions.create({
  model: 'financial-analyst',
  messages: [
    { role: 'user', content: 'Analyze this P&L for red flags:\n\n' + financialData }
  ],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content || '');
}

LangChain

python
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    base_url="https://api.voltagegpu.com/v1/confidential",
    api_key="vgpu_YOUR_API_KEY",
    model="compliance-officer",
)

response = llm.invoke("Assess GDPR compliance gaps in our AI usage policy")
print(response.content)

Confidential Agents

Pre-built agents accessible via API for contracts, audits, and compliance.

Model IDAgentIndustryBest For
contract-analystContract AnalystLegalNDA review, clause risk, liability analysis
financial-analystFinancial AnalystFinanceP&L analysis, fraud detection, audit findings
compliance-officerCompliance OfficerGRCGDPR gaps, policy review, regulatory risk
medical-analystMedical Records AnalystHealthcarePatient records, drug interactions, clinical trials
due-diligenceDue Diligence AnalystM&ATarget assessment, concentration risk, valuation
cybersecurity-analystCybersecurity AnalystSecurityIncident triage, threat analysis, response plans
hr-analystHR & Workplace AnalystHRInvestigation analysis, compliance, policy review
tax-analystTax & Transfer PricingTaxTransfer pricing review, tax exposure, structure analysis

You can also list agents programmatically: GET /v1/confidential/models

API Reference

POST
/v1/confidential/chat/completions

Chat completions, OpenAI-compatible

Request Body

ParameterTypeRequiredDescription
modelstringYesAgent slug (e.g. contract-analyst) or model ID
messagesarrayYesArray of {role, content} objects. Max 100 messages, 200K chars total.
max_tokensintegerNoMax response tokens. Default: agent-specific (typically 4096).
temperaturefloatNo0.0-1.0. Default: agent-specific (0.08-0.12 for precision).
streambooleanNoIf true, response is streamed as SSE. Default: false.

Response Headers

DevelopersDescription
X-Confidentialtrue if processed in TDX enclave
X-AgentAgent slug used
GET
/v1/confidential/models

List available TEE models

Authentication

All API requests require a Bearer token in the Authorization header.

header
Authorization: Bearer vgpu_YOUR_API_KEY
  • Keys start with vgpu_
  • Create keys at Dashboard → API Keys
  • Max 10 keys per account
  • Keys are hashed (SHA-256) before storage, we never store your key in plaintext
  • Revoke a key instantly from the dashboard

Error Codes

CodeMeaningFix
401Invalid or missing API keyCheck your Authorization header
402Insufficient balanceTop up at voltagegpu.com/billing
429Rate limit exceededWait or upgrade plan (Developer: 60/min, Team: 300/min)
503TDX enclave starting upRetry after 30-60s. We never fall back to non-encrypted infrastructure.
TEE models only. The catalogue lists only models that run inside a TEE (Intel TDX). Our relay sees requests in clear while forwarding them.

API Access

Pay as you go

Per token

All models, no subscription. $3.80 bonus on your first top-up of $10 or more.

Pro

Unlimited

Unlimited requests, priority support

Enterprise

Custom

Custom SLA, dedicated support, DPA

All inference is billed per token. See pricing page for details.

Security

Transport

TLS 1.3 encryption for all API calls

Compute

Models run inside Intel TDX enclaves at our inference provider; our API relay handles your request in memory while forwarding it over TLS

Retention

Requests go through our API to the model in Intel TDX; usage records keep the model, token counts and cost

Compliance

GDPR Art. 28, DPA available, French company, EU accounts database

Start building with confidential AI

$3.80 welcome credit with your first top-up of $10 or more. Per-token and per-second billing, no subscription.