Supported 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 achieve the best results using GPT-4o with an 89% accuracy on the WebVoyager Dataset. DeepSeek-V3 is 30 times cheaper than GPT-4o. Gemini-2.0-exp is also gaining popularity in the community because it is currently free. We also support local models, like Qwen 2.5, but be aware that small models often return the wrong output structure-which lead to parsing errors. We believe that local models will improve significantly this year.
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, which support tool-calling are available. We will document the most popular ones here.
OpenAI
OpenAI’s GPT-4o models are recommended for best performance.
Required environment variables:
Anthropic
And add the variable:
Azure OpenAI
Required environment variables:
Gemini
Required environment variables:
DeepSeek-V3
The community likes DeepSeek-V3 for its low price, no rate limits, open-source nature, and good performance. The example is available here.
Required environment variables:
DeepSeek-R1
We support DeepSeek-R1. Its not fully tested yet, more and more functionality will be added, like e.g. the output of it’sreasoning content. The example is available here. It does not support vision. The model is open-source so you could also use it with Ollama, but we have not tested it.
Required environment variables:
Ollama
Many users asked for local models. Here they are.
- Download Ollama from here
- Run
ollama pull model_name
. Pick a model which supports tool-calling from here - Run
ollama start
Required environment variables: None!
Coming soon
(We are working on it)
- Groq
- Github
- Fine-tuned models
Was this page helpful?