Why Tinfoil?
Verifiable Privacy - Your data is processed inside secure enclaves that even Tinfoil cannot access. Hardware-enforced privacy that you can verify. Drop-in Compatible - OpenAI-compatible API; no need for complex code rewrites. Tinfoil follows the same format as existing SDKs. Transparent Security - All our security-critical code is open source. You can verify that your data was processed in a genuine secure enclave via remote attestation and transparency logs.Try Tinfoil AI
Private Chat
Try our private chatTry our in-browser private AI chat running open-source models like Llama, Mistral, DeepSeek R1, and Qwen. Your conversation stays private, even from Tinfoil.
Private Inference API
Build with our APIOpenAI-compatible API with popular open-source models; fully private. Make your existing AI apps private and secure with minimal changes.
How to Use This Documentation
This documentation is organized to help you get started quickly and go deep into the technical weeds when needed.Getting Started
You’re here! This introduction explains what Tinfoil is and how to get started. The easiest way to get started is by using one of our SDKs. If you’d like to learn more about the technology, specifically how confidential computing works, you can read more on that in How It Works.Client SDKs
Choose your development platform and get coding:Models
Browse our Model Catalog to see all available AI models, including chat, audio, and embedding models.Quick Start Paths
Get started based on what you want to do:Try it now
Try our in-browser private chat with enclave verification center.
Sign up for API access
Get your API key and start using private AI in your applications. Get your API key.
Learn about confidential computing technology
Dive deep into our security architecture, attestation system, and confidentiality guarantees that underpin Tinfoil.
Read our blog
Stay updated with the latest developments, tutorials, and insights from the Tinfoil team.
What Makes Tinfoil Different?
Traditional AI services process your data on servers that the application provider can access. With Tinfoil:- Your data stays encrypted and is only processed inside a secure hardware enclave
- Even Tinfoil cannot see your data during processing thanks to confidential computing
- You can verify these claims using cryptographic remote attestation
- It’s the same OpenAI API format that you already know how to use
Guides
Technical guides for implementing specific features:Tool Calling
Learn how to use function calling capabilities with AI models for enhanced functionality.
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 chat completions.
Tutorials
Step-by-step guides for common use cases:Tinfoil Coding Agent
Use Tinfoil Code running Qwen-Coder right in your terminal. All your data stays private.
Code Gen with Cline
Use Tinfoil with the Cline VSCode extension for private AI-assisted coding that keeps your code private.
RAG with Verba
Build private RAG applications with Verba and Tinfoil for confidential document processing and search.
Verify Our Security Claims
Learn how Tinfoil’s security works and how you can verify our privacy guarantees (our SDKs automatically verify enclave attestations for you):- Attestation Architecture - How we verify secure enclaves
- Verification types - Connection-time vs audit-time verification

