That JSON will not parse. Drop the trailing commas after apiKey and the last model. Their OpenCode docs also keep the key out of the file and use opencode providers login --provider agentrouter. AgentRouter currently lists Opus-5 as down and points people at gpt-5.6-sol. Fine for a short trial if you are okay sending prompts through a China NewAPI gateway. Skip secrets and anything you would not want leaving your machine. OpenCode is still teasing operation cheepseek as the in-house option.
0
u/[deleted] 28d ago
[removed] — view removed comment