OpenOx
ModelsApps
Sign inSign up
Back to apps/OpenCode
OOpenCode logo

App profile

OpenCode

By OpenCode

Visit website Official docs

An open-source terminal coding tool. Add a custom provider to select models, explore code, and make changes.

CLIOpen source

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.

2026-10-26 · OpenCode 2.1.4 · CLI · gpt-6.1-sol

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. 1

    Prepare a GPT service key

    Select the GPT service in Keys and confirm gpt-6.1-sol is allowed for that key.

  2. 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. 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.

Set the API key in your terminal
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.

GPT configuration
{
  "$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.

Before you start

Use a matching service key

Choose the matching key service and allowed models for Claude, DeepSeek, GLM, Kimi or GPT.

Manage API keys

Related

View official resourcesVisit the app websiteView OpenOx usage