Add and configure Google Vertex AI models including Gemini, Anthropic, and Mistral in TrueFoundry’s AI Gateway
Navigate to Google Vertex Models in AI Gateway
AI Gateway
> Models
and select Google Vertex
.Navigate to Google Vertex Models
Add Google Vertex Account and Authentication
Project ID
, Service Account JSON
, and a default Region
. Add collaborators to your account, this will give access to the account to other users/teams. Learn more about access control here.Get Google Vertex Authentication Details
Finding your Project ID in Google Cloud Console
Vertex AI User
role, which includes the aiplatform.endpoints.predict
permission required by the gateway.Add Vertex Provider Account
Add Models
+ Add Model
. When adding a model manually, the Model ID
format depends on the provider.Adding Google (Gemini) Models
google/<vertex-model-id>
google/gemini-1.5-pro
Find Gemini Model ID in Google Console
Adding Anthropic Models
anthropic/<vertex-model-id>
anthropic/claude-3-5-sonnet-v2@20241022
Find Anthropic Model ID in Google Console
Adding Mistral AI Models
mistralai/<vertex-model-id>
mistralai/mistral-large-2411@001
Find Mistral Model ID in Google Console
Infer Model in Playground or Get Code Snippet
Do I need to add multiple provider accounts for different regions?