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. Suited to developers who prefer the terminal and want to compare models on the same engineering task. Use project context for code questions and iterative edits, checking model availability and tool support against the selected service.

CLIOpen source

Client acceptance

Reply received after sending hi

A pass requires the target client itself to send the literal message hi and display a nonempty reply.

Hi! What can I help you with in this workspace?
Model
deepseek-v4.1-flash
Protocol
Chat Completions
Base URL
https://api.openoxai.com/v1
Request endpoint
POST https://api.openoxai.com/v1/chat/completions
Provider mode
OpenAI-compatible
Version
2.1.4
Client surface
Official macOS CLI
Tested
2026-10-30

Setup used in this test

Add an OpenAI-compatible provider in opencode.json with the URL and model, reading the key from the environment. Select its model and send hi. This receipt covers the CLI.

DeepSeek · Chat Completions

Live client test passed

Real DeepSeek conversation and a read-only file task passed in OpenCode 2.1.4, verified against native final messages and tool traces. An additive check confirmed both tasks after the initial collector concatenated pre-tool text with the final reply. This covers only this version and model.

API status · verifiedChat Completions passed; Responses is not supported for this model.

2026-10-26 · OpenCode 2.1.4 · CLI · deepseek-v4.1-flash

Provider mode
OpenAI-compatible
Key service
DeepSeek
Client base URL
https://api.openoxai.com/v1
Request endpoint
POST https://api.openoxai.com/v1/chat/completions
Model ID
deepseek-v4.1-flash
  1. 1

    Prepare a DeepSeek service key

    Select the DeepSeek service in Keys and confirm deepseek-v4.1-flash 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.

DeepSeek configuration
{
  "$schema": "https://opencode.ai/config.json",
  "model": "openox/deepseek-v4.1-flash",
  "providers": {
    "openox": {
      "name": "OpenOx",
      "env": [
        "OPENOX_API_KEY"
      ],
      "package": "@opencode/ai/providers/openai-compatible",
      "settings": {
        "baseURL": "https://api.openoxai.com/v1"
      },
      "models": {
        "deepseek-v4.1-flash": {
          "name": "deepseek-v4.1-flash"
        }
      }
    }
  }
}

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

This test used deepseek-v4.1-flash; other models need separate acceptance.

Manage API keys

Related

View official resourcesVisit the app websiteView OpenOx usage