Other compatible tools
Connect any tool that takes a custom OpenAI-compatible provider.
Most coding agents and chat apps can add a custom OpenAI-compatible provider, such as opencode, pi, Cline and Continue. Enter these values in the tool's provider settings:
| Setting | Value |
|---|---|
| API type | OpenAI-compatible, Chat Completions |
| Base URL | https://raon-api.krafton.ai/v1 |
| API key | Your key, read from the RAON_API_KEY environment variable where the tool allows it |
| Model ID | raon-1-mini-preview |
| Context window | 262144 |
| Max output tokens | 16384 is a good start; reasoning counts toward it |
| Reasoning | Always on; caller controls are ignored. The reasoning arrives in message.reasoning. |
| Input | Text only |
Example: opencode
Add a provider to opencode.json, in your project or in ~/.config/opencode/:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"raon": {
"npm": "@ai-sdk/openai-compatible",
"name": "Raon",
"options": {
"baseURL": "https://raon-api.krafton.ai/v1",
"apiKey": "{env:RAON_API_KEY}"
},
"models": {
"raon-1-mini-preview": {
"name": "Raon-1 mini preview",
"limit": { "context": 262144, "output": 16384 }
}
}
}
},
"model": "raon/raon-1-mini-preview"
}model makes Raon the default. Without it, pick the model with /models inside opencode.
When something does not work
- A 404 on every request usually means the base URL is missing
/v1, or has it twice. - An empty answer usually means the output limit is too low for the reasoning; raise it.
- Tools that only speak the Anthropic format can use
https://raon-api.krafton.aias their base URL, without/v1; see Messages.

