All tools
Codex

OpenAI

Codex CLI + LLMoxy

OpenAI's open-source terminal coding agent. It reads, edits, and runs code locally.

OpenAI-compatiblehttps://en.llmoxy.com/v1

Quick Start

  1. 1

    Install Codex CLI

    Install with the official script. You can also use npm install -g @openai/codex or brew install codex.

    curl -fsSL https://chatgpt.com/codex/install.sh | sh
    BASH
  2. 2

    Create an API key

    Create a token in the Console, pick the group you want to use, and copy the key.

    Create a token
  3. 3

    Add LLMoxy as a provider

    Add this to ~/.codex/config.toml, creating the file if it doesn't exist. The URL must include /v1. Codex supports only the Responses API, so wire_api must be responses.

    model = "gpt-5.6-sol"
    model_provider = "llmoxy"
    
    [model_providers.llmoxy]
    name = "LLMoxy"
    base_url = "https://en.llmoxy.com/v1"
    wire_api = "responses"
    env_key = "LLMOXY_API_KEY"
    TOML
  4. 4

    Set your key and launch

    Put your real key in the environment variable named by env_key, then run codex in your project directory.

    export LLMOXY_API_KEY="YOUR_API_KEY"
    codex
    BASH

Tips

  • In a session, enter /model to switch models and reasoning effort.
  • Use codex exec "…" to run one-off tasks in scripts and CI.
  • A project's .codex/config.toml can't define providers. Put them in this file in your home directory.

FAQ

Still asked to sign in to OpenAI after launch?
Make sure model_provider = "llmoxy" is at the very top of config.toml and that LLMOXY_API_KEY is set in your current terminal.
Getting an error that wire_api = "chat" is no longer supported?
That setting comes from older guides. Codex now supports only the Responses API. Change it to wire_api = "responses".
Getting a 404 or model not found?
Check that base_url includes /v1 and that model exactly matches the ID in the model list.

Other tools

yetone

magpie

Pick models for all your agents in one place. Claude Code, Codex, OpenCode, and others each use their own model, routed through one local gateway.

DesktopTerminal
Claude

Anthropic

Claude

Anthropic's AI assistant and coding agent: Claude Desktop, plus Claude Code in the terminal and in VS Code.

DesktopTerminalVS Code
Antigravity

Google

Antigravity

Google's coding agent, the successor to Gemini CLI. For now, only the CLI lets you change the API URL.

View guide
opencode

Anomaly

OpenCode

Open-source coding agent with a desktop app and a terminal UI. You can configure multiple model providers.

DesktopTerminal
DeepSeek

DeepSeek

DeepSeek Harness

DeepSeek's open-source agent framework, with a desktop app, a web UI, and the dsh command line. It connects to OpenAI- or Anthropic-compatible model services.

DesktopWebTerminal
Cursor

Anysphere

Cursor

AI editor built on VS Code. Override the OpenAI URL to route OpenAI models in chat through LLMoxy.

View guide
GithubCopilot

GitHub

GitHub Copilot

The Copilot app, Copilot CLI, and VS Code all support bring your own key (BYOK), with no Copilot subscription required.

DesktopTerminalVS Code
TRAE

ByteDance

Trae

ByteDance's AI IDE. Both the China and international versions support custom models.

View guide
Cline

Cline

Cline

Open-source coding agent with a full agent loop, available as a command-line tool and as VS Code and JetBrains extensions.

TerminalIDE extension
Qoder

Alibaba

Qoder

Alibaba's AI coding product. The Qoder desktop app and Qoder CLI support custom models; Qoder IDE doesn't yet.

DesktopTerminal
CodeBuddy

Tencent

CodeBuddy

Tencent's AI coding tools. Both the command-line CodeBuddy Code and CodeBuddy IDE support OpenAI-compatible custom models.

TerminalIDE
WorkBuddy

Tencent

WorkBuddy

Tencent's desktop AI workspace for office and coding tasks. It supports custom model services.

View guide
CherryStudio

CherryHQ

Cherry Studio

Cross-platform desktop AI client. Add a provider to fetch the list of available models in one click.

View guide

Chatbox AI

Chatbox

AI chat client for desktop and mobile. Add a model provider in settings to connect.

View guide
Dify

LangGenius

Dify

Open-source LLM app development platform. Connect it as OpenAI-API-compatible to build apps and workflows.

View guide
n8n

n8n

n8n

Workflow automation platform. Enter the LLMoxy URL in an OpenAI credential to call models.

View guide