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.
Quick Start
- 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
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
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.TOML - 4
Make the key available to the app
Apps opened from the Dock or Start menu can't see variables you
exportin 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.BASH - 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?
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.
Anthropic
Claude
Anthropic's AI assistant and coding agent: Claude Desktop, plus Claude Code in the terminal and in VS Code.
Antigravity
Google's coding agent, the successor to Gemini CLI. For now, only the CLI lets you change the API URL.
View guideAnomaly
OpenCode
Open-source coding agent with a desktop app and a terminal UI. You can configure multiple model providers.
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.
Anysphere
Cursor
AI editor built on VS Code. Override the OpenAI URL to route OpenAI models in chat through LLMoxy.
View guideGitHub
GitHub Copilot
The Copilot app, Copilot CLI, and VS Code all support bring your own key (BYOK), with no Copilot subscription required.
ByteDance
Trae
ByteDance's AI IDE. Both the China and international versions support custom models.
View guideCline
Cline
Open-source coding agent with a full agent loop, available as a command-line tool and as VS Code and JetBrains extensions.
Alibaba
Qoder
Alibaba's AI coding product. The Qoder desktop app and Qoder CLI support custom models; Qoder IDE doesn't yet.
Tencent
CodeBuddy
Tencent's AI coding tools. Both the command-line CodeBuddy Code and CodeBuddy IDE support OpenAI-compatible custom models.
Tencent
WorkBuddy
Tencent's desktop AI workspace for office and coding tasks. It supports custom model services.
View guideCherryHQ
Cherry Studio
Cross-platform desktop AI client. Add a provider to fetch the list of available models in one click.
View guideChatbox AI
Chatbox
AI chat client for desktop and mobile. Add a model provider in settings to connect.
View guideLangGenius
Dify
Open-source LLM app development platform. Connect it as OpenAI-API-compatible to build apps and workflows.
View guiden8n
n8n
Workflow automation platform. Enter the LLMoxy URL in an OpenAI credential to call models.
View guide