Files
api-examples/configs/opencode/2.x/opencode.json
Jacob IrwinandClaude e0d0c90177 Add ready-made agent configs for Claude Code, Codex, OpenCode and Hermes (#2)
Each configs/ folder holds the file to copy, a one-line check, the limits
and a link to the matching setup guide on oathbreaker.ai. Values are copied
from the live guides (updated 22 Nov 2026). The README links to each folder,
and a local test checks base URLs, endpoints, models, limits and that no
file holds a key.


Claude-Session: https://claude.ai/code/session_01CfDjYwPPXJYCHDNNQTBkbk

Co-authored-by: Claude <[email protected]>
2026-11-23 18:23:07 +00:00

95 lines
2.1 KiB
JSON

{
"providers": {
"oathbreaker": {
"name": "Oathbreaker",
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://oathbreaker.ai/v1",
"apiKey": "{env:OATHBREAKER_API_KEY}"
},
"models": {
"oathbreaker-glm-5.3": {
"name": "oathbreaker-glm-5.3",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 131072,
"output": 32768
}
},
"oathbreaker-glm-5.3-flash": {
"name": "oathbreaker-glm-5.3-flash",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 131072,
"output": 32768
}
},
"oathbreaker-deepseek-v4.1-flash": {
"name": "oathbreaker-deepseek-v4.1-flash",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 65536,
"output": 32768
}
},
"oathbreaker-deepseek-v4.1-flash-fast": {
"name": "oathbreaker-deepseek-v4.1-flash-fast",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 65536,
"output": 32768
}
},
"oathbreaker-kimi-k3.1-pro": {
"name": "oathbreaker-kimi-k3.1-pro",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 65536,
"output": 24576
}
}
}
}
}
}