Skip to main content
Google AI offers 42 models through Lava’s AI Gateway, supporting Chat Completions, Chat Completions (Gemini Native), Chat Completions (Gemini Streaming). Authentication uses Authorization: Bearer or x-goog-api-key. See the Google AI API docs for provider-specific parameters.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.

Quick Start

Chat Completions

Target URL: https://generativelanguage.googleapis.com/v1beta/openai/chat/completions

Chat Completions (Gemini Native)

Target URL: https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent

Chat Completions (Gemini Streaming)

Target URL: https://generativelanguage.googleapis.com/v1beta/models/{model}:streamGenerateContent

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests