OpenCode (Top-Tier Open Source)
OpenCode (Top Open Source Choice)
Section titled “OpenCode (Top Open Source Choice)”1. Configure the model provider
Section titled “1. Configure the model provider”Click Settings -> Providers to open the configuration page, then click the + Connect button next to the last Custom Provider entry.

2. Configure the model
Section titled “2. Configure the model”
3. Verify that the configuration was successful
Section titled “3. Verify that the configuration was successful”After you finish configuring the provider and click Submit, the popup will disappear, and you should see a connection success message in the lower-right corner of OpenCode IDE.

If you want to double-check, repeat step 1 to return to the Providers page. It will show that the currently connected provider is 4allapi.

4. You’re all set
Section titled “4. You’re all set”Select the provider and model in the input box


4All API - One-stop AI large model API aggregation platform
Official website: https://4allapi.com
API Base: https://api.4allapi.com