Introduction
Tinfoil is a confidential AI inference platform that enables you to build and deploy AI applications with end-to-end privacy guarantees. Explore our guides on how to use Tinfoil, verify our security claims, and deploy your own private AI applications.
Why Tinfoil?
True Privacy
Your data is processed inside secure enclaves that even Tinfoil cannot access. Hardware-enforced privacy that you can verify.
Drop-in Compatible
Use the same OpenAI API you know and love. Just change the import - no code rewriting required.
Verifiable Security
You can cryptographically verify that your data was processed in a genuine secure enclave using remote attestation.
Try Tinfoil Now
Private Chat
Experience confidential AI firsthand
Try our private AI chat with Llama3, Mistral, DeepSeek, Qwen. Your conversation stays private, even from Tinfoil.
Private Inference API
Start building with our API
OpenAI-compatible API with popular open-source models. Make your existing AI apps fully private with minimal changes.
How to Use This Documentation
This documentation is organized to help you get started quickly and go deep when needed:
Getting Started
You’re here! This introduction explains what Tinfoil is and how to get started.
Models
Browse our Model Catalog to see all available AI models, including chat, audio, and embedding models with their capabilities.
Clients
Choose your development platform and get coding:
- SDKs Overview - Compare all available client SDKs
- Python SDK - Most popular choice for ML and backend
- Node.js SDK - Perfect for web applications
- Swift SDK - Native iOS and macOS development
- Go SDK - High-performance applications
- CLI Tool - Command line and scripting
Security & Verification
Learn how Tinfoil’s security works:
- Attestation Architecture - How we verify secure enclaves
- Predicate - Technical details of our verification system
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 multimodal AI models using base64 encoding.
Document Processing
Upload and process documents securely through chat completions.
Tutorials
Step-by-step guides for common use cases:
AI-assisted Development with Cline
Use Tinfoil with the Cline VSCode extension for private AI-assisted coding that keeps your code confidential.
RAG with Verba
Build confidential RAG applications with Verba and Tinfoil for private document processing and search.
Quick Start Paths
Choose your journey based on what you want to do:
Try it now
Experience confidential AI firsthand with our private chat interface and verification tools.
Sign up for API access
Get your API key and start integrating confidential AI into your applications.
Learn about the technology
Dive deep into our security architecture, attestation system, and confidentiality guarantees.
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 only processed inside a secure hardware enclave
- Even Tinfoil cannot see your data during processing
- You can verify this claim using cryptographic attestation
- It’s the same API you already know how to use
Ready to build something private? Choose your path above and let’s get started!