This page covers Gemini hosted on Google Vertex AI. For Gemini through Google AI Studio API keys, see the Google Gemini guide. Vertex needs a GCP project, a region where the model is available, and either Application Default Credentials or a service-account JSON key. GoModel routes to Vertex’s native Gemini publisher endpoint by default; switch to the OpenAI-compatible endpoint when you need its compatibility behavior.Documentation Index
Fetch the complete documentation index at: https://gomodel.enterpilot.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Vertex authentication is enterprise-oriented and may become paid or
licensed in a future release.
Configure
config.yaml:
Service-account authentication
Multiple regions or accounts
Use suffixed env vars to register additional Vertex providers:vertex-us and vertex-eu.
Base URLs and modes
Default bases are derived from project and location:- OpenAI-compatible:
.../projects/{project}/locations/{location}/endpoints/openapi - native Gemini:
.../projects/{project}/locations/{location}/publishers/google
VERTEX_API_MODE. Vertex does not expose Gemini Files or OpenAI-compatible
batch operations.
Image input
| Mode | OpenAI-style image_url |
|---|---|
native (default) | inline data: URLs only — remote https://... URLs are rejected |
openai_compatible | OpenAI-style remote URLs pass through to Vertex’s OpenAI-compatible endpoint |
Not yet integrated
- Automatic fetching of remote
image_urlvalues in native mode. - Vertex Files and batch prediction APIs.