Try our API
Use 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.Get an API key
You’ll need a Tinfoil API key to make inference requests. Create one here.
Installation
Install the SDK for your language.The Go, Swift, and CLI setups below use beta V3 attestation verification. The Python, JavaScript, and Rust setups are outside the V3 beta.
- Python
- JavaScript
- Swift
- Go
- Rust
- CLI
Inference
Make your first inference request with thegpt-oss-120b model.
- Python
- JavaScript
- Swift
- Go
- Rust
- CLI
Connect other OpenAI-compatible apps
Tinfoil has an OpenAI-compatible API, so apps and tools that accept a custom base URL can use Tinfoil models. Use your Tinfoil API key and a model ID from the model catalog. How you connect decides whether your client verifies the secure enclave itself.Next steps
SDK documentation
Migration, async usage, and per-model examples across all Tinfoil SDKs.
Model catalog
Browse all available AI models.