Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

add note about API key rename

Nick Sweeting110543b48d88
diff --git a/.env.example b/.env.example
index 1128ae2e0..f239b8108 100644
--- a/.env.example
+++ b/.env.example
@@ -2,7 +2,7 @@ OPENAI_API_KEY=
ANTHROPIC_API_KEY=
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_KEY=
-GEMINI_API_KEY=
+GOOGLE_API_KEY=
DEEPSEEK_API_KEY=
GROK_API_KEY=
NOVITA_API_KEY=
diff --git a/docs/customize/supported-models.mdx b/docs/customize/supported-models.mdx
index cb06692a0..53e72a561 100644
--- a/docs/customize/supported-models.mdx
+++ b/docs/customize/supported-models.mdx
@@ -110,6 +110,9 @@ AZURE_OPENAI_KEY=
### Gemini
+> [!IMPORTANT]
+> `GEMINI_API_KEY` was the old environment var name, it should be called `GOOGLE_API_KEY` as of 2025-05.
+
```python
from langchain_google_genai import ChatGoogleGenerativeAI
from browser_use import Agent