Skip to main content

Choose a product

Tinfoil Chat

A private AI assistant in the browser and on iOS.

Tinfoil Inference

An OpenAI-compatible API for models that run in secure enclaves.

Tinfoil Containers

Your own Docker image in a secure enclave that your users can verify.

Tinfoil Bunkers

A persistent sandbox for you or your AI agents: a cloud computer in a secure enclave.
To see them side by side, read Compare Tinfoil products.

What Tinfoil provides

Hardware-enforced Privacy - User request data is processed inside secure enclaves that even Tinfoil cannot access, giving you hardware-enforced privacy that is verifiable via remote attestation. Transparent Security - All our security-critical code is open source. You can verify that your data was processed in a secure enclave running the exact code we’ve published on GitHub. All our SDKs are configured to verify attestation and supply chain security automatically on each connection. Drop-in Compatibility - Our inference platform supports an OpenAI-compatible API for a variety of open-source models. All the Tinfoil SDKs are compatible with the OpenAI API, so switching requires minimal code changes.

Get started

Quickstart

Get an API key and make your first request, or start with Chat, Containers, or Bunkers.

Security

What Tinfoil can and cannot read, compliance, and the controls for your account.

How Tinfoil works

How clients verify the secure enclave and encrypt each request to it.

Learn more about Tinfoil

Read about our security architecture

For the technology underneath, read our primer on secure enclaves and the description of our backend infrastructure.

Read our guides

Learn how to implement specific features and common use cases:

Tool Calling

Use function calling to let AI models interact with external tools and APIs.

Structured Outputs

Use JSON schema validation for reliable data extraction and structured responses.

Image Processing

Process images with multi-modal AI models using base64 encoding.

Document Processing

Upload and process documents securely through the conversion API or OpenAI-compatible file inputs.

Code Gen with Pi

Use Tinfoil’s official Pi provider for AI-assisted coding with built-in enclave verification.

Self-Improving AI with Hermes

Use the Nous Research Hermes Agent with Tinfoil for a self-improving AI assistant with private inference.