Skip to main content
OpenCode supports custom OpenAI-compatible providers. Add Inception to your OpenCode configuration to use Mercury 2.5.

Setup

1

Set your API key

2

Add Inception as a custom provider

Create opencode.json in your project, or add the provider to your global OpenCode configuration at ~/.config/opencode/opencode.json:
If you already have an OpenCode configuration, merge the inception provider into its existing provider object.
3

Start OpenCode

Run OpenCode and select Inception / Mercury 2.5 from /models:

Verify the integration

OpenCode custom-provider documentation