Skip to content

More tools

An index of the tool setup pages, plus how to use Continue, OpenCode, OpenClaw, MCP and other frameworks with CodaAPI.

Tools that support an "OpenAI-compatible" or "Anthropic-compatible" endpoint can generally connect to CodaAPI: enter the address and key, then pick a model. Common tools each have their own setup page. This page lists them and covers the tools that don't have a page of their own yet.

The three common settings:

Item What to enter
Address (OpenAI-compatible) https://codaapi.com/v1
Address (Anthropic-compatible) https://codaapi.com. Exception: Chatbox's Claude API Compatible mode needs https://codaapi.com/v1; see Chatbox
Key The sk-… you copied from API Keys in the console

Tools treat the address differently: some use it as entered, others add /v1 themselves. Follow the setup page for each tool.

Tools with their own setup page

Tool Setup page
Claude Code CLI Claude Code
Codex CLI and IDE extension Codex
Codex app (ChatGPT desktop app) Codex app
Gemini CLI Gemini CLI
CC Switch CC Switch
Claude Code extension for VS Code VS Code extension
Cursor Cursor
Cline Cline
Cherry Studio Cherry Studio
Chatbox Chatbox

Not tested: the Continue, OpenCode and OpenClaw configurations below follow each tool's official documentation (November 2026) and haven't been tested tool by tool on CodaAPI. These tools update often, so field names are as the tool's own documentation describes them.

VS Code and Cursor

In VS Code and Cursor, the safest approach is to install the coding assistant's own extension: for the Claude Code extension see VS Code extension, for the Codex extension (openai.chatgpt) see Codex, and for Cline see Cline.

Continue

Continue is an open-source VS Code / JetBrains extension. Edit ~/.continue/config.yaml (the old config.json is deprecated):

name: CodaAPI
version: 1.0.0
schema: v1
models:
  - name: CodaAPI GPT-5.4 mini
    provider: openai
    model: gpt-5.4-mini
    apiBase: https://codaapi.com/v1
    apiKey: sk-your-key
    roles:
      - chat
      - edit
      - apply

Cursor's built-in model settings

Cursor's built-in model settings let you enter an OpenAI key and replace the OpenAI address, but this only applies to chat models, can't be used for Claude models, and has other limits. For the steps and limits, see Cursor.

Codex desktop app

The Codex desktop app is now part of the ChatGPT desktop app and reads the same ~/.codex/config.toml as the Codex CLI. Add a custom provider in the app's settings, or edit the configuration file as on the Codex page and restart the app. For the steps, see Codex app.

OpenCode

OpenCode is an open-source terminal coding assistant. Add a provider to the global config ~/.config/opencode/opencode.json (or to opencode.json in a project):

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "codaapi": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "CodaAPI",
      "options": {
        "baseURL": "https://codaapi.com/v1",
        "apiKey": "{env:CODAAPI_API_KEY}"
      },
      "models": {
        "gpt-5.4-mini": { "name": "GPT-5.4 mini" },
        "gpt-5.4": { "name": "GPT-5.4" }
      }
    }
  }
}
  • One provider uses one key, so every model under models must be in that key's group: both models above are in OpenAI-官转. To use Claude models as well, add a second provider (for example codaapi-claude) with a key in a Claude group, stored in another environment variable (for example {env:CODAAPI_CLAUDE_API_KEY}); see Groups.
  • {env:CODAAPI_API_KEY} reads the key from an environment variable. You can also run /connect in OpenCode, choose Other, enter codaapi as the provider id, and then paste the key.
  • The above is the OpenCode V1 format. OpenCode V2 changed its configuration to the fields providers, package and settings, and its documentation says V2 still reads V1 configuration. If you use V2, follow its documentation.
  • In OpenCode, use /models to choose a model such as codaapi/gpt-5.4-mini.

OpenClaw

OpenClaw is an AI assistant gateway that you deploy on your own machine and that connects chat apps to AI assistants. Add a custom provider in the configuration file ~/.openclaw/openclaw.json:

{
  models: {
    mode: "merge",
    providers: {
      codaapi: {
        baseUrl: "https://codaapi.com/v1",
        apiKey: "${CODAAPI_API_KEY}",
        api: "openai-completions",
        models: [{ id: "gpt-5.4-mini", name: "GPT-5.4 mini" }],
      },
    },
  },
  agents: {
    defaults: { model: { primary: "codaapi/gpt-5.4-mini" } },
  },
}
  • ${CODAAPI_API_KEY} reads the key from an environment variable. The variable name must be uppercase.
  • With api set to openai-completions, requests use Chat Completions. To use the native Claude format, change it to anthropic-messages and change baseUrl to https://codaapi.com.
  • You can also change the configuration from the command line: openclaw config set models.providers.codaapi '<the codaapi block above, as JSON>' --strict-json --merge.

Cherry Studio

Cherry Studio is a desktop AI client that supports chat and image generation. For adding the provider, how it builds the address, and common problems, see Cherry Studio; for image generation, see the visual workshop.

MCP servers

MCP (Model Context Protocol) lets an AI assistant work with local files, databases and other systems. MCP servers run on your own computer and are started by the client (Claude Code, Codex, Cursor, the Claude desktop app and so on). They have nothing to do with which gateway the model is called through:

  • After you switch to CodaAPI, configure MCP servers as each client's official documentation describes. Nothing needs to change for CodaAPI.
  • You don't need to, and shouldn't, put a CodaAPI key in an MCP server's configuration: MCP servers don't call models.
  • CodaAPI doesn't provide MCP servers and doesn't read or proxy MCP traffic. What an MCP tool returns is sent to the model as part of the conversation and billed by tokens.

Other tools and frameworks

Frameworks and platforms that support an OpenAI-compatible endpoint, such as LangChain, LlamaIndex, Dify, n8n and Open WebUI, generally have two fields, "Base URL" (or API Base, API address) and "API Key". Fill them in using the table at the top of this page.

Updated