Private Inference API

Simple.Secure.Verified.

Interact with Tinfoil using the same OpenAI Chat Completions API standard:

-from openai import OpenAI
+from tinfoil import TinfoilAI
TinfoilAI supports the same interface as the OpenAI Python clientView on GitHub

Tinfoil client

The Tinfoil client provides secure, verified access to our API:

  • Requests are automatically blocked if verification of the enclavefails
  • Tinfoil is compatible with the OpenAI API endpoint, making it a drop-in replacement for existing OpenAI integrations
Example
DeepSeek-R1-Distill-Llama-70B Logo

DeepSeek-R1-Distill-Llama-70B inference with Tinfoil Client

Installation:

curl -fsSL https://github.com/tinfoilsh/tinfoil-cli/raw/main/install.sh | sh

Inference:

$ tinfoil chat "Why is tinfoil now called aluminium foil"

Available Models