Your OpenCode loginsas an API.
OpenAI, Anthropic and Gemini compatible apps call plugboard with their own key and use the models you already have in OpenCode.
OpenAI, Anthropic and Gemini compatible apps call plugboard with their own key and use the models you already have in OpenCode.
$ bunx opencode-plugboard init
Added opencode-plugboard@0.61.0 in ~/.config/opencode/opencode.jsonc.
App key for `my-app` (shown once): pb_u3oW-g8E3gZ-aA3mduNUm…
$ curl -s 127.0.0.1:4010/v1/chat/completions -H "Authorization: Bearer $KEY" --json '{"model": "fast", "messages": [{"role": "user", "content": "say pong"}]}'
{ "model": "anthropic/claude-haiku-4-5",
"choices": [{ "message": { "role": "assistant", "content": "Pong!" } }],
"usage": { "prompt_tokens": 26, "completion_tokens": 7 } }