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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs: clarify Gemini vs Vertex AI model prefix behavior (#19443)
Cesar Garcia94055741d44c
diff --git a/docs/my-website/docs/providers/gemini.md b/docs/my-website/docs/providers/gemini.mdindex 32dea2069b7..110e3f3f090 100644--- a/docs/my-website/docs/providers/gemini.md+++ b/docs/my-website/docs/providers/gemini.md@@ -15,6 +15,17 @@ import TabItem from '@theme/TabItem';<br />+:::tip Gemini API vs Vertex AI+| Model Format | Provider | Auth Required |+|-------------|----------|---------------|+| `gemini/gemini-2.0-flash` | Gemini API | `GEMINI_API_KEY` (simple API key) |+| `vertex_ai/gemini-2.0-flash` | Vertex AI | GCP credentials + project |+| `gemini-2.0-flash` (no prefix) | Vertex AI | GCP credentials + project |++**If you just want to use an API key** (like OpenAI), use the `gemini/` prefix.++Models without a prefix default to Vertex AI which requires full GCP authentication.+:::## API Keysdiff --git a/docs/my-website/docs/providers/vertex.md b/docs/my-website/docs/providers/vertex.mdindex be2bf86ab10..5647b5292ef 100644--- a/docs/my-website/docs/providers/vertex.md+++ b/docs/my-website/docs/providers/vertex.md@@ -14,6 +14,17 @@ import TabItem from '@theme/TabItem';| Base URL | 1. Regional endpoints<br/>`https://{vertex_location}-aiplatform.googleapis.com/`<br/>2. Global endpoints (limited availability)<br/>`https://aiplatform.googleapis.com/`|| Supported Operations | [`/chat/completions`](#sample-usage), `/completions`, [`/embeddings`](#embedding-models), [`/audio/speech`](#text-to-speech-apis), [`/fine_tuning`](#fine-tuning-apis), [`/batches`](#batch-apis), [`/files`](#batch-apis), [`/images`](#image-generation-models), [`/rerank`](#rerank-api) |+:::tip Vertex AI vs Gemini API+| Model Format | Provider | Auth Required |+|-------------|----------|---------------|+| `vertex_ai/gemini-2.0-flash` | Vertex AI | GCP credentials + project |+| `gemini-2.0-flash` (no prefix) | Vertex AI | GCP credentials + project |+| `gemini/gemini-2.0-flash` | Gemini API | `GEMINI_API_KEY` (simple API key) |++**If you just want to use an API key** (like OpenAI), use the `gemini/` prefix instead. See [Gemini - Google AI Studio](./gemini.md).++Models without a prefix default to Vertex AI which requires GCP authentication.+:::<br /><br />