https://inference.baseten.co/v1.
Baseten models support chat completions, streaming, and embeddings (where the model supports it).
Adding Models
This section explains the steps to add Baseten models and configure the required access controls.1
Navigate to Baseten in AI Gateway
From the TrueFoundry dashboard, navigate to
AI Gateway > Models and select Baseten.2
Add Baseten Account Details
Click
Add Baseten Account. Give a unique name to your Baseten account and complete the form with your Baseten authentication details (API Key). Add collaborators to your account, this will give access to the account to other users/teams. Learn more about access control here.Under advanced settings, you can optionally set a Discount % that is applied to the upstream list price for this account.3
Add Models
Click
+ Add Model and fill the form:- Display Name: the name shown in the TrueFoundry UI.
- Model ID: the model identifier from Baseten’s model catalog.
- Model Types: select the type of the model (defaults to Chat).
- Cost (optional): cost metrics used for cost tracking.
Inference
After adding the models, you can perform inference using an OpenAI-compatible API via the Playground or by integrating with your own application. Use the TrueFoundry model ID in the formatyour-baseten-account/your-model-display-name. See Chat Completions - Getting Started for a full code example: