Description
When attempting to use the OpenCode Go provider with the Kimi K2.5 model, the application displays a "Missing API Key" error. However, the exact same API key works correctly when switching to the OpenCode Zen provider.
I am uncertain whether OpenCode Go is expected to use the same API key as OpenCode Zen, or if a separate/different API key should be created. I need guidance on where to obtain the correct API key for the OpenCode Go provider.
Related Issues Reviewed
I have reviewed the following related issues and they do not address this specific scenario:
Steps to Reproduce
- Open OpenCode CLI on Windows
- Navigate to provider settings
- Select OpenCode Go as the provider
- Select Kimi K2.5 as the model
- Use an API key created at https://opencode.ai/workspace/wrk_xxx/keys (same location where Zen API keys are created)
- Attempt to send any prompt
- Observe the "Missing API Key" error
Expected Behavior
Either:
- The OpenCode Go provider should accept the same valid OpenCode API key that works with the OpenCode Zen provider, OR
- Clear documentation/guidance on where to obtain the correct API key specifically for OpenCode Go
Actual Behavior
- Error message: "Missing API Key"
- Provider: OpenCode Go
- Model: Kimi K2.5
- The same API key works immediately when switching provider to OpenCode Zen
- Created multiple new API keys at https://opencode.ai/workspace/wrk_xxx/keys using the same process as for Zen - all fail with "Missing API Key"
Environment
Additional Context
- API keys are created through the OpenCode web interface at the URL above
- Same API key authentication method works for Zen but not for Go
- Unclear whether Go provider requires a different API key or different authentication method
- All attempts use freshly created API keys using identical workflow to Zen

Description
When attempting to use the OpenCode Go provider with the Kimi K2.5 model, the application displays a "Missing API Key" error. However, the exact same API key works correctly when switching to the OpenCode Zen provider.
I am uncertain whether OpenCode Go is expected to use the same API key as OpenCode Zen, or if a separate/different API key should be created. I need guidance on where to obtain the correct API key for the OpenCode Go provider.
Related Issues Reviewed
I have reviewed the following related issues and they do not address this specific scenario:
Steps to Reproduce
Expected Behavior
Either:
Actual Behavior
Environment
Additional Context