-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Open
Description
Question
Problem
When using Anthropic credentials from Claude Code (the official Anthropic CLI), OpenCode displays:
"This credential is only authorized for use with Claude Code and cannot be used for other API requests."
This warning appears but doesn't guide users on what to do next.
Expected Behavior
Either:
- Detect Claude Code-specific keys and prompt users to enter a standard Anthropic API key instead
- Add documentation clarifying that Claude Code credentials won't work with OpenCode
Environment
- Windows 11
- OpenCode TUI
- Model: Claude Opus 4.5
00xglitch, ThomasEnssner, andersonkrs, benedikt-bartscher, gabenasci and 6 more00xglitch, hogmoff, gabenasci, TemaSM, ahmet-cetinkaya and 2 more
Metadata
Metadata
Assignees
Labels
No labels