Tinfoil Inference
Our SDKs provide secure, verified access to our inference API. Each API connection is automatically verified and encrypted directly to an attested secure enclave, and is compatible with the OpenAI API standard, making it a drop-in replacement for most existing deployments and workflows.
Everything you need to build
Production-ready inference with the features your app needs, and privacy built into every request.
OpenAI-compatible
Point your existing OpenAI client at Tinfoil and keep your code. No rewrites required.
Verified & encrypted
Every request is encrypted directly to an attested secure enclave, verified client-side.
Tool calling
Let models call your functions and external APIs to build agents and workflows.
Vision & images
Analyze and reason over images and screenshots with multimodal vision models.
Document processing
Extract and analyze content from PDFs and long-form documents.
Structured outputs
Get JSON responses that conform to your schema on every call.
Inference code examples
Pick a model to see a ready-to-run code sample. Each request is automatically verified and encrypted to a secure enclave, so you get private inference without changing how you build.
What builders say
Developers building on Tinfoil Inference, from side projects to production.
“You can’t get useful help from an AI on a stripped-down copy of the problem. Tinfoil lets us work on the real thing without giving up privacy.”
“Thunderbolt exists so people and organizations can own their AI stack instead of renting it. Tinfoil lets us ship models that work the moment you open the app, with a hardware guarantee that nobody, including us, can see what you send.”
“Tinfoil is based and they know their sh*t. It is the gold standard in TEE inference and confidential containers. They have one of the most secure and reliable services out there and they're great to work with, highly recommend!”
“Tinfoil lets people who lack the hardware or expertise to self-host open-weight models use them in the cloud without giving the provider access to their prompts and responses. It makes private AI accessible without the burden of running it yourself.”
“I recently learned about the Tinfoil API and have found it easy to use and affordable. I love being able to use it for personal projects with confidence that my data is secure.”
“A given level of frontier intelligence is eventually distilled into small, private models. But I need that intelligence now, not in six months, and I need my GPU free for other work: rendering, simulations, etc. Tinfoil is a perfect fit for my needs.”
“I have been using open-weight models for coding for two years. Over that time, I experienced many issues with degraded output and failed tool calls, with no way to verify what is actually being served upstream. Tinfoil is the only inference API I have found where I can verify both the model and the privacy claims myself. For coding agents, it feels like running on my own machine: known weights, no data policies to understand. I'd much rather read TEE code than legal agreements.”
“In a world where powerful new open-weight models are being launched every other week, there is a shocking lack of concern regarding privacy that goes beyond a simple promise of ZDR. The need for verifiably private compute should be top of mind for everybody right now, and Tinfoil is pioneering the space.”
“Tinfoil is great. It provides an easy to use API that you can plug into the harness of your choice without having to manage TEE infrastructure yourself. So, you can easily get the data security you need with the top OSS models and toggle to frontier models as needed.”
“Tinfoil has been a lifesaver for our business. We needed a reliable AI solution, but we can't send private or proprietary data and code to big AI companies. Our options were to either commit to purchasing, maintaining, and upgrading very expensive (and difficult to obtain) hardware year after year, or pay as we go with Tinfoil. It was really a no-brainer; After reading their blogs we trust their architecture to actually be secure, and compared to the other option we've already saved a ton on costs.”
“Tinfoil is the most developer friendly solution we found for running AI workloads in a TEE. It lets us build new privacy-preserving products quickly and gives our customers assurance that their data is safe.”
“Tinfoil solves a huge problem for us: accessing frontier models to process company-sensitive data without needing to spend a fortune on local inference or trusting the zero retention claims of cloud providers. Their infrastructure has been solid for us and easy to integrate our custom agent pipelines into.”