Skip to main content

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.

Quick Start

The easiest way to get started is by using one of the Tinfoil SDKs to make some inference requests to an AI model. It’s as easy as getting an API key and running one of our examples.

Try it now

Try our in-browser private chat with enclave verification center.

Learn more about Tinfoil

Read about our security architecture

If you’d like to learn more about the technology, specifically how confidential computing with secure enclaves works, you can read more on that in our primer on secure enclaves. If you’d like to understand the technical components of how Tinfoil works and the design details of our security architecture, you can read about how verification works and our backend infrastructure.

Read our technical guides

Learn more about implementing specific features with:

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.

Tutorials

Step-by-step guides for common use cases:

Code Gen with Cline

Use Tinfoil with the Cline VSCode extension for private AI-assisted coding that keeps your code private.

Self-Improving AI with Hermes

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