Skip to content

OpenCode (Top-Tier Open Source)

Click Settings -> Providers to open the configuration page, then click the + Connect button next to the last Custom Provider entry.



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.


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