Google Gemini provider setup
Configure Google AI Studio Gemini API keys, native wire protocol, and multimodal routing.
Zorveus supports Google Gemini models via native Google GenAI wire protocols (POST /v1beta/models/*, POST /vertex_ai/live) as well as standard OpenAI-compatible /v1/chat/completions.
Configuration
- Provider ID:
gemini - Secret kind:
api_key - Default model policy:
gemini/*
Open Provider Credentials in the dashboard, select Google Gemini, and enter your Google AI Studio API key.
Manage provider credentials in the Zorveus dashboard under Provider Credentials. Application code does not call a provider-credential API. Use a Zorveus API key for inference, not the upstream provider secret.
Inference usage
You can call Gemini models directly using the standard OpenAI client format or through Zorveus SDKs:
from zorveus import Zorveus
client = Zorveus(api_key="zrv_your_api_key")
response = client.chat.completions.create(
model="google/gemini-2.0-flash",
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(response.choices[0].message.content)Vertex AI integration
For enterprise Google Cloud Vertex AI deployments, use the separate vertex_ai provider contract. It takes service_account_json with required project and location configuration fields.