
App profile
OpenCode
By OpenCode
An open-source terminal coding tool. Add a custom provider to select models, explore code, and make changes.
GPT · Chat Completions
Live client test passed
Real conversation and a local read-only file tool passed, including random content, completion and billing checks. This covers the listed version and model only. OpenCode also has a separately recorded canceled stream whose hold released naturally.
API status · verifiedThe protocol used by this client succeeded in its corresponding GPT client test.
- Provider mode
- OpenAI-compatible
- Key service
- GPT
- Client base URL
https://api.openoxai.com/v1- Request endpoint
POST https://api.openoxai.com/v1/chat/completions- Model ID
gpt-6.1-sol
- 1
Prepare a GPT service key
Select the GPT service in Keys and confirm gpt-6.1-sol is allowed for that key.
- 2
Configure the custom provider
Select OpenAI-compatible and enter the URL and model below. Set the API key environment variable in the terminal that launches the client. Merge the configuration while preserving other providers.
- 3
Check the first request
Send a simple message and check its model, completion and cost in Usage. Tool support and charges depend on the selected model.
export OPENOX_API_KEY="YOUR_OPENOX_API_KEY"This applies to the current terminal session. Replace the placeholder and launch the client from the same terminal. Do not put the real key in the config file.
{
"$schema": "https://opencode.ai/config.json",
"model": "openox/gpt-6.1-sol",
"providers": {
"openox": {
"name": "OpenOx",
"env": [
"OPENOX_API_KEY"
],
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://api.openoxai.com/v1"
},
"models": {
"gpt-6.1-sol": {
"name": "gpt-6.1-sol"
}
}
}
}
}Replace the placeholder with your own key. CLI environment variables use macOS, Linux or WSL shell syntax. Preserve existing settings.
This example uses OpenCode v2. v1 has different fields; consult documentation matching the installed version.
