!
Production integration docs · examples use router-api.mengbi-ai.net and a personal API key placeholder.
01 /
Prepare
Prepare OpenCode with a personal Mengbi Router key and a current model ID.
Prepare 1
Use the OpenCode configuration supported by your current installation.
opencode --version
opencodePrepare 2

02 /
Configure
Connect OpenCode to the endpoint that matches its supported protocol.
Configure 1
Use the OpenCode configuration supported by your current installation.
Provider ID: mengbi
Display name: Mengbi Router
Base URL: https://router-api.mengbi-ai.net/v1
API Key: sk-mengbi-xxxxxx
Request headers: empty
Model: gpt-5.6-solConfigure 2

Configure 3
Use the OpenCode configuration supported by your current installation.