Migrate from OpenRouter

Move OpenRouter code to BigModel.io by changing the base URL and key. Provider-prefixed model IDs and the models fallback array keep working.

Most OpenRouter code works on BigModel.io after two changes: the base URL and the API key.

OpenRouter featureBigModel.io
provider/model IDsAccepted; the provider prefix is removed
models fallback arraySupported; only the attempt that succeeds is charged
HTTP-Referer / X-TitleSupported
provider, transforms, routeIgnored
:free suffixNot removed; use the plain ID from the directory

Change two lines

base_url = "https://bigmodel.io/v1"
api_key  = "sk-..."   # your BigModel.io key

Full migration guideModel ID mapping, headers, streaming and the differences to check before switching.

Read the guide