Skip to content

Instantly share code, notes, and snippets.

@jasonekratz
Created April 25, 2025 01:52
Show Gist options
  • Save jasonekratz/0451455a866f2719f866c74ca89907c0 to your computer and use it in GitHub Desktop.
Save jasonekratz/0451455a866f2719f866c74ca89907c0 to your computer and use it in GitHub Desktop.
Configure Google Gemini in Brave as a BYOM for Leo AI

Note: you need the Open AI Chat-compatible endpoint URL (see below)

  1. Generate an API key here https://ai.google.dev/gemini-api/docs/api-key
  2. Set up BYOM on Leo

I left context size at the default value.

Other Gemini models can be used but the one I used above is the latest 2.5 that can be used on the free tier.

Other models are here: https://ai.google.dev/gemini-api/docs/models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment