Setup
Create an AI Gateway endpoint
If you don’t have one yet, follow the quickstart to create your AI Gateway endpoint.
Get a Google AI API key
Generate an API key at aistudio.google.com. Keys are available on the free tier.
Available models
See the model catalog for the full list of supported Gemini models.Store key in the gateway
Instead of each client passing their own key, you can store it once in ngrok Secrets and have the gateway inject it automatically.Store your key in ngrok secrets
Next steps
- Protecting BYOK Endpoints: add authorization to your endpoint
- Managing Provider Keys: key rotation and multiple keys
- Multi-provider failover: failover patterns