OpenAI
TrueFoundry offers a secure and efficient gateway to seamlessly integrate various Large Language Models (LLMs) into your applications, including models available on OpenAI.
Adding Models
This section explains the steps to add OpenAI models and configure the required access controls.
- From the TrueFoundry dashboard, navigate to
AI Gateway
>Models
and selectOpenAI
. - Click
Add OpenAI Account
Navigate to OpenAI Models
- Give a unique name to your OpenAI account and complete the form with your OpenAI 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.
- Select the model from the list. If you see the model you want to add in the list of checkboxes, we support public model cost for these models.
(Optional) If the model you are looking for is not present in the options, you can add it using + Add Model
at the end of list (scroll down to see the option) by filling the form.
OpenAI Model Account Form
Supported Models
A list of models supported by OpenAI, along with their corresponding model IDs, can be found here: View Full List
The TrueFoundry AI Gateway supports all text and image models in OpenAI. We are also working on adding support for additional modalities, including speech, in the near future.
Inference
After adding the models, you can perform inference using an OpenAI-compatible API via the TrueFoundry AI Gateway. For instance, you can directly utilize the OpenAI library as well.:
If you want to test out the added models on our playground, you can do so by clicking on the Try in Playground
button next to the model you want to test.
Test in Playground