Repository navigation
Description
Description
- I have searched the existing issues and found similar feature requests, but this appears to describe a different problem.
Summary
Issue #11692 ("Add Provider Type in custom provider") appears to have introduced backend support for Anthropic-compatible providers. However, the Desktop UI and current documentation do not provide a complete workflow for configuring them.
As a result, Anthropic-compatible providers are supported by the runtime but are extremely difficult to discover and configure.
Environment
- OpenCode Desktop: v1.17.11
- Operating System: Debian GNU/Linux 13 (trixie) x86_64
Problem
While integrating OpenModel's Anthropic-compatible API, I initially concluded that Anthropic-compatible custom providers were unsupported.
After extensive debugging, I discovered they actually work correctly.
The working configuration required manually editing:
~/.config/opencode/opencode.jsonc~/.local/share/opencode/auth.json
Specifically, I had to:
- configure the provider using
npm: "@ai-sdk/anthropic" - set the base URL to
https://api.openmodel.ai/v1 - manually create the provider credential inside
auth.json
Without manually editing these internal files, I was unable to configure the provider through the Desktop UI.
Additionally, following the current documentation led me to try using:
"options": {
"apiKey": "{env:ANTHROPIC_API_KEY}"
}However, on OpenCode Desktop v1.17.11 this property is rejected by the Desktop configuration validator, making the documented approach unusable.
Expected Behavior
The Desktop application should provide a complete workflow for Anthropic-compatible custom providers similar to the existing OpenAI-compatible workflow.
For example:
- Add Anthropic-compatible provider
- Enter Provider ID
- Enter Display Name
- Enter Base URL
- Enter API Key
- Save credentials
- Provider automatically appears in
/models
No manual editing of internal configuration files should be required.
Actual Behavior
The runtime already supports Anthropic-compatible providers, but the Desktop configuration workflow is incomplete.
Users must manually discover and edit internal configuration files before the provider becomes usable.
This makes the feature appear unsupported even though it already works.
Why this matters
This is primarily a discoverability and UX issue rather than a backend feature request.
The runtime already supports Anthropic-compatible providers, but the Desktop experience strongly suggests they are unsupported.
I spent a significant amount of time debugging this before discovering that the functionality already exists.
Improving the Desktop UI and documentation would make this existing capability much easier for users to access and would reduce confusion for anyone integrating Anthropic-compatible providers such as OpenModel.
Plugins
None
OpenCode version
v1.17.11
Steps to reproduce
-
Install OpenCode Desktop v1.17.11.
-
Attempt to configure an Anthropic-compatible provider (for example, OpenModel).
-
Follow the current documentation.
-
Observe that there is no complete Desktop workflow for configuring the provider.
-
Manually configure:
~/.config/opencode/opencode.jsonc~/.local/share/opencode/auth.json
-
Restart OpenCode.
-
Observe that the provider now works successfully.
Screenshot and/or share link
No response
Operating System
Debian GNU/Linux 13 (trixie) x86_64
Terminal
Konsole
Activity
github-actions commentedon Jun 26, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[UX]:which does not match any of the three required issue templates. Please use one of: Bug Report (no special prefix required), Feature Request (title must start with[FEATURE]:), or Question. Based on the content, this appears to be either a Bug Report or a Feature Request — please resubmit using the appropriate template.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of or closely related to existing issues. Please check:
@ai-sdk/anthropicprovider with custombaseURL— also involves manual config file editing and issues with Anthropic-compatible custom providers in OpenCodeIf you believe this was flagged incorrectly, please let a maintainer know.
[-][UX]: Anthropic-compatible custom providers require undocumented manual configuration in Desktop[/-][+] [FEATURE]: Complete Desktop workflow for Anthropic-compatible custom providers[/+]github-actions commentedon Jun 26, 2026
Thanks for updating the issue! It now follows the contributing guidelines and feature request template. We appreciate the detailed write-up.
EarzuChan commentedon Aug 5, 2026
Hi, I want to work on this issue.
My idea is simple: keep the current “Add Provider” form, but add one API type dropdown:
Other fields and existing flow can stay unchanged. The selected type only maps to the corresponding provider adapter.
Is this change acceptable? If so, I would like to make a PR. Is anyone already working on it?
@Hona Sorry for pinging you :D
github-actions commentedon Oct 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.