Tinfoil
Tinfoil provides verifiably private AI inference.
Basic Example
client<llm> TinfoilDeepSeek {
provider openai-generic
retry_policy Exponential
options {
base_url "https://deepseek-r1-70b-p.model.tinfoil.sh/v1"
model "deepseek-r1-70b"
api_key env.TINFOIL_API_KEY
}
}
BAML-Specific Options
| Option | Type | Default | Description |
|---|---|---|---|
base_url | string | - | Tinfoil model endpoint |
api_key | string | env.TINFOIL_API_KEY | API key |
model | string | - | Model identifier |
See OpenAI Generic for all supported options.