Sign Up
Go to TrueFoundry and click Signup.
Create an account and verify your email. You will be redirected to the landing page.

Add Your Models
Select the provider you want to add models from and add models after providing API Key. You can add multiple API keys from the same provider by creating separate provider accounts.

Add Provider Account and Models
A Provider Account represents one account of a model provider (e.g. OpenAI, Anthropic, AWS Bedrock).Once submitted, your provider accounts and models will appear under the Models tab.To add models later, go to AI Gateway > Models, select a provider account on the left, and click Add Model in the top right. From the models listing page, click Try in Playground on any model to start experimenting.

Try Models in the Playground
The LLM Playground lets you test models from all connected providers directly in the UI.

Integrate with Code
To call Gateway models from your code, you need Gateway Base URL, API Key, and Model ID.All three are available in the Code Snippets tab of the Playground.

Or set them as environment variables:The Playground also provides ready-to-use snippets for

Gateway Base URL
Your Gateway Base URL (GATEWAY_BASE_URL) is the endpoint for the AI Gateway service.- TrueFoundry SaaS users:
https://gateway.truefoundry.ai - Self-hosted deployments: found in the Code Snippet section of the Playground.
API Key
Authenticate with the Gateway using one of:- Personal Access Token (PAT) — recommended for developers during development
- Virtual Account Token (VAT) — recommended for applications.

Example Usage
OpenAI SDK, Langchain, Python (Streaming/Non-Streaming), Node.js, LangGraph, LlamaIndex, Google ADK, cURL, and more.