Create your API key →
Mint an
aireserve_api_… key in the portal — every OpenCode session is then
metered and billed through your organization.opencode.json — globally at
~/.config/opencode/opencode.json or per project
(OpenCode’s provider docs). One
OpenAI-compatible block serves every gateway model, Claude included:
{env:…} reference keeps the secret out of the file — export the key and
run:
models map must match the gateway’s ids exactly — the
list is one GET https://api.aireserve.com/v1/models away.