All tools
Codex

OpenAI

ChatGPT Desktop (Codex) + LLMoxy

Codex mode in the ChatGPT desktop app (formerly the Codex app). It reads the same config.toml as the CLI.

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

Quick Start

  1. 1

    Install the ChatGPT desktop app

    Download the macOS or Windows version from the ChatGPT website, open it, and switch to Codex.

    Go to downloads
  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 (on Windows, %USERPROFILE%\.codex\config.toml), creating the file if it doesn't exist. Skip this step if you've already set up Codex CLI.

    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

    Make the key available to the app

    Apps opened from the Dock or Start menu can't see variables you export in a terminal, so set the key as a system-wide environment variable. On macOS, this command's setting is lost when you restart your computer, so run it again after a restart.

    launchctl setenv LLMOXY_API_KEY "YOUR_API_KEY"
    BASH
  5. 5

    Restart the app

    Quit ChatGPT completely and reopen it, then pick a model in Codex to get started.

Tips

  • The desktop app, CLI, and IDE extension share this config.toml. A change in one place applies to all three.
  • ChatGPT's regular chat mode doesn't use this config. Only Codex mode uses LLMoxy.

FAQ

Getting an error that LLMOXY_API_KEY can't be found?
The app didn't pick up the variable when it started. After setting it as in the previous step, quit the app completely (not just close the window) and reopen it.

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