LangChain Chat Models
Guide to using different LangChain chat models with Browser Use
Overview
Browser Use supports various LangChain chat models. Here’s how to configure and use the most popular ones. The full list is available in the LangChain documentation.
Model Recommendations
We have yet to test performance across all models. Currently, we recommend using GPT-4o. It achieves 89% accuracy on WebVoyager Dataset.
All models require their respective API keys. Make sure to set them in your environment variables before running the agent.
Supported Models
All LangChain chat models are supported. We will document the most popular ones here.
OpenAI
OpenAI’s GPT-4o models are recommended for best performance.
Required environment variables:
Anthropic
Claude models provide excellent performance and can handle complex tasks well.
And add the variable:
Azure OpenAI
If you’re using Azure OpenAI services, you can configure the model like this:
Required environment variables:
Coming soon
(Sorry, we are working on it)
- Gemini
- Groq
- DeepSeek
- Github
- Ollama
- QWen
Was this page helpful?