Documentation: Opper ChatOpenAI base_url example · Issue #6009 · browser-use/browser-use · GitHub
Skip to content

Documentation: Opper ChatOpenAI base_url example #6009

Open

Description

@Felixkw12

Type of Documentation Issue

Missing documentation

Documentation Page

https://docs.browser-use.com/open-source/supported-models (also skills/open-source/references/models.md)

Issue Description

The supported-models reference shows OpenAI-compatible hosts (Qwen, ModelScope, Novita, PZERO) used through ChatOpenAI and base_url. Opper works the same way, but users have to find the base URL, the key variable and the model name format themselves.

Opper is an EU-hosted AI gateway with 700+ models from 50+ providers behind one OpenAI-compatible API. No new provider class is needed; ChatOpenAI with base_url is enough.

Disclosure: Opper is my startup. I have a docs-only PR ready that adds the section below.

Suggested Changes

Add an Opper subsection under "OpenAI-Compatible APIs", after PZERO:

import os

llm = ChatOpenAI(
    model="claude-sonnet-4-6",
    base_url="https://api.opper.ai/v3/compat",
    api_key=os.environ["OPPER_API_KEY"],
)

Env: OPPER_API_KEY, get a key at https://platform.opper.ai. Use the /v3/compat base URL (not /v3/compat/chat/completions). Model names such as claude-sonnet-4-6 or gpt-5.4-mini cover every provider that serves the model. Models: https://opper.ai/models

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions