Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Updated vertex with gemini api alternative config

berri-teddy164b0294e446
diff --git a/docs/my-website/docs/providers/vertex.md b/docs/my-website/docs/providers/vertex.md
index cb90b7434e7..2fbc5a01e1f 100644
--- a/docs/my-website/docs/providers/vertex.md
+++ b/docs/my-website/docs/providers/vertex.md
@@ -196,7 +196,19 @@ model_list:
vertex_location: "us-central1"
vertex_credentials: "/path/to/service_account.json" # [OPTIONAL] Do this OR `!gcloud auth application-default login` - run this to add vertex credentials to your env
```
-
+or
+```yaml
+model_list:
+ - model_name: gemini-pro
+ litellm_params:
+ model: vertex_ai/gemini-1.5-pro
+ litellm_credential_name: vertex-global
+ vertex_project: project-name-here
+ vertex_location: global
+ base_model: gemini
+ model_info:
+ provider: Vertex
+```
2. Start Proxy
```