Inference API

The confidential AI router. Route to frontier models through one attested endpoint, at the same price as going direct.

Optional Tresor SDK

Your OpenAI SDK works as-is. Ours verifies the enclave before a single byte leaves your machine.

Use the OpenAI SDK

import osfrom openai import OpenAIclient = OpenAI(    base_url="https://api.tresor.co/v1",    api_key=os.environ["TRESOR_API_KEY"],)resp = client.chat.completions.create(    model="eu/auto/gpt-oss-120b",    messages=[{"role": "user", "content": "Hello!"}],)print(resp.choices[0].message.content)

Use the Tresor SDK for attestation

import osimport httpxfrom openai import OpenAIfrom attest import AttestedTransportclient = OpenAI(    base_url="https://api.tresor.co/v1",    api_key=os.environ["TRESOR_API_KEY"],    http_client=httpx.Client(transport=AttestedTransport()),)resp = client.chat.completions.create(    model="eu/auto/gpt-oss-120b",    messages=[{"role": "user", "content": "Hello!"}],)print(resp.choices[0].message.content)

Familiar API. Verifiable runtime.

Every call goes through the same path: into an attested enclave, back with a receipt you can check.

Drop in your OpenAI client

Change two lines. Keep the rest.

Set base_url to api.tresor.co/v1 and use a Tresor API key; chat completions, streaming, and transcription work exactly as your existing SDK expects. Compatible with Python, Node, Go, and any OpenAI client lib.

Code sample artwork for dropping the Tresor API into an OpenAI client.

Verify what's running first

See the enclave. Pin the runtime. Then send.

Fetch live attestation evidence, match it against the signed trust bundle, and pin TLS to the expected enclave so no request goes out until the destination checks out. GET /attestation. Trust bundle at /.well-known/trust.json.

Runtime verification artwork for the Inference API product page.

Signed receipts by default

A cryptographic audit trail, not a policy promise.

Every successful call returns a receipt_id for a JWS (ES256) that binds the request and response to live attestation evidence. It is the kind of proof GDPR Art. 32, DORA, and NIS2 reviews ask for. Verify with any JWT library or the tresorhq-attest SDK.

Signed receipt artwork for the Inference API product page.

Route on your terms

Route on purpose. Or let auto handle it.

Address compound IDs like lux/tresor/kimi-k2.5 to pin every detail, or pass auto to let the router pick from a set you've approved. Region/provider/model selection per request or per key.

Routing control artwork for the Inference API product page.

Set your own failover rules

Higher availability without silent rerouting.

Every model is served by multiple attested providers, so an upstream outage doesn't become yours. Declare ordered fallback routes per key or per request, and the router only switches within the alternatives you explicitly named. Every failover event is recorded in the receipt and usage log.

Failover policy artwork for the Inference API product page.

Keys per service or team

Separate environments without sharing secrets.

Create, name, and revoke keys per service or environment, and every call carries a key_prefix so usage stays attributable. Per-key attribution in the dashboard and usage API.

API key management artwork for the Inference API product page.

One endpoint. Many providers.

The Inference API is a router: one attested endpoint in front of frontier models from multiple providers, served by confidential providers it verifies on every call.

The route ID is the contract

eu

Region

Pinned. Inference stays in the region you name, on every request.

auto

Provider

Pin one provider, or let auto fail over inside the set you approved.

gpt-oss-120b

Model

Any supported model in the catalog. One endpoint for all of them.

Higher availability

Every model is served by multiple attested providers. Declare ordered fallback routes and the router only switches within them. Each failover is recorded in the receipt.

Parity pricing

Every route costs the same per token as the upstream provider charges directly. Confidentiality is not a premium tier. You never pay extra for it.

An audit trail by default

Every request returns a signed receipt bound to attestation evidence. It is the kind of proof GDPR Art. 32, DORA, and NIS2 reviews ask for.

OpenAIMistralDeepSeekCohereMeta
OpenAIMistralDeepSeekCohereMeta
OpenAIMistralDeepSeekCohereMeta
OpenAIMistralDeepSeekCohereMeta

API Plans

Developer

Self-serve API access that scales with your usage.

Pay as you go

prepaid credits, no subscription

  • Instant self-serve activation
  • Prepaid credits from €5
  • Optional auto-recharge
  • Pay by card
  • Standard rate limits
  • Dashboard, invoices & receipts
Start Building

Enterprise

Custom contracts with negotiated rates, SLA, and compliance.

Custom

monthly commitment + overage

  • Negotiated model discounts
  • Committed spend
  • Metered overage
  • Custom rate limits
  • Invoice billing
  • SLA & priority support
Talk to Sales

API Pricing

Parity pricing: every route costs the same per token as the upstream provider. Confidentiality costs nothing extra.

Routes26Models15Regions2Providers5

deepseek-v4-flash

Chat

1 route available

Route IDInputCache Output
global/nearai/deepseek-v4-flash
$0.17/M$0.04/M$0.35/M

gemma-4-31b

Chat

3 routes available

Route IDInputCache Output
eu/privatemode/gemma-4-31b
€0.77/M€0.08/M€1.27/M
global/nearai/gemma-4-31b
$0.13/M$0.03/M$0.40/M
global/tinfoil/gemma-4-31b
$0.45/M$1.00/M

glm-5.2

Chat

4 routes available

Route IDInputCache Output
global/chutes/glm-5.2
$1.40/M$0.70/M$4.40/M
global/nearai/glm-5.2
$1.40/M$0.30/M$4.40/M
global/redpill/glm-5.2
$1.40/M$4.40/M
global/tinfoil/glm-5.2
$1.50/M$0.38/M$5.25/M

gpt-oss-120b

Chat

3 routes available

Route IDInputCache Output
eu/privatemode/gpt-oss-120b
€0.43/M€0.04/M€1.70/M
global/nearai/gpt-oss-120b
$0.15/M$0.03/M$0.55/M
global/tinfoil/gpt-oss-120b
$0.15/M$0.60/M

gpt-oss-20b

Chat

1 route available

Route IDInputCache Output
global/redpill/gpt-oss-20b
$0.04/M$0.15/M

kimi-k2.6

Chat

3 routes available

Route IDInputCache Output
eu/privatemode/kimi-k2.6
€1.55/M€0.15/M€7.74/M
global/chutes/kimi-k2.6
$0.66/M$0.33/M$3.50/M
global/tinfoil/kimi-k2.6
$1.50/M$5.25/M

llama3-3-70b

Chat

1 route available

Route IDInputCache Output
global/tinfoil/llama3-3-70b
$1.75/M$2.75/M

mistral-24b-uncensored

Chat

1 route available

Route IDInputCache Output
global/redpill/mistral-24b-uncensored
$0.20/M$0.90/M

qwen-2.5-7b-instruct

Chat

1 route available

Route IDInputCache Output
global/redpill/qwen-2.5-7b-instruct
$0.04/M$0.10/M

qwen3.6-27b

Chat

2 routes available

Route IDInputCache Output
global/chutes/qwen3.6-27b
$0.30/M$0.15/M$2.00/M
global/nearai/qwen3.6-27b
$0.33/M$0.16/M$3.25/M

qwen3.6-35b-a3b

Chat

2 routes available

Route IDInputCache Output
global/nearai/qwen3.6-35b-a3b
$0.17/M$0.06/M$1.10/M
global/redpill/qwen3.6-35b-a3b
$0.20/M$1.27/M

voxtral-mini-3b

Transcription

1 route available

Route IDInputCache Output
eu/privatemode/voxtral-mini-3b
€0.0040/min

voxtral-small-24b

Transcription

1 route available

Route IDInputCache Output
global/tinfoil/voxtral-small-24b
$0.20/M$0.60/M

whisper-large-v3

Transcription

1 route available

Route IDInputCache Output
eu/privatemode/whisper-large-v3
€0.014/min

whisper-large-v3-turbo

Transcription

1 route available

Route IDInputCache Output
global/tinfoil/whisper-large-v3-turbo
$0.010/req

API Questions

Privacy without the trade-off.

Public AI tools read everything you send. On-prem is private but impractical. Tresor gives you both: cloud convenience, infrastructure-grade privacy.

Powerful Models

Public Cloud AI
On-Prem
Tresor AI

EU-hosted

Public Cloud AI
On-Prem
Tresor AI

Zero-Access

Public Cloud AI
On-Prem
Tresor AI

No Ops

Public Cloud AI
On-Prem
Tresor AI

No Setup

Public Cloud AI
On-Prem
Tresor AI

Verifiable Proof

Public Cloud AI
On-Prem
Tresor AI

Trusted by people who don't trust easily.

I can only use AI in coaching when it fully protects the sacred trust between practitioner and client; confidentiality is non-negotiable.

Tove Thyes

Tove Thyes

Transformational Coach and Energy Medicine Practitioner

As a software strategist, I treat privacy as the blueprint that lets my team turn client visions into AI people can trust.

Igor Miazek

Igor Miazek

CEO & Founder, Techs

At Dance, we build experiences people trust. Tresor’s approach to privacy-first AI is a simply a great match.

Christian Springub

Christian Springub

CEO & Co-Founder, Dance

As a therapist, I can only use AI that protects client privacy. Tresor delivers exactly that.

Magali Cahen

Magali Cahen

Psychologist and Therapist, Independent

The only way to earn trust in AI is to make privacy a design principle, not a feature. Tresor’s system does exactly that.

Ingmar Schuster

Ingmar Schuster

CEO & Co-Founder, Provolut

In the AI era, rigorous risk-based security and GDPR-aligned privacy are non-negotiable foundations for any trustworthy system.

Davy Cox

Davy Cox

Founder, Brainframe

Understand the technical details.

Zero-Access AI Conversations:
How Tresor Protects Your Privacy

Executive Summary

Tresor is built on a simple promise: your conversations belong to you, not us. Every message you type is protected by end-to-end encryption and processed only inside secure computing environments that even Tresor cannot inspect. Teams can now collaborate inside shared workspaces without ever handing Tresor access to their plaintext. This whitepaper explains the principles and safeguards behind Tresor’s zero-access design, showing how we deliver practical confidentiality without trade-offs in usability.

Download White Paper

Frequently asked questions.