Base URL and API Key field inside VS Code. It reads your local Codex configuration, so configure the LLMEasy provider in Codex config.toml.
If you do not see
Base URL or API Key fields in VS Code settings, that is expected. Configure model requests for the VS Code Codex extension through the local Codex configuration.Prerequisites
- VS Code is installed
- The Codex - OpenAI’s coding agent extension is installed
- You have a LLMEasy API Key (sign up and get one)
- You have copied an available model ID from the GPT Key group in the model plaza
Setup methods
- Recommended: use the Setup dialog
- Manual configuration
After you create an API Key, the console opens a Setup dialog. From that dialog, copy API Key and Base URL, then choose a Codex setup method.
Choose a setup method
You can choose:
- One-click Bash Configuration: copy the command and run it in your local terminal. Use this for quick setup.
- CC Switch Integration: import the provider into CC Switch. Use this when you manage multiple tools.
- Manual Configuration: copy API Key and Base URL, then write them into
config.toml.
Why keep the official login state?
The VS Code Codex extension depends on Codex app-side capabilities such as the extension UI, session management, and VS Code integration. Keep the official login state while routing model requests through LLMEasy. In this configuration:| Setting | What it does |
|---|---|
requires_openai_auth = true | Keeps the official Codex login state |
experimental_bearer_token = "YOUR_API_KEY" | Uses your LLMEasy API Key for model requests |
base_url = "https://www.llmeasy.ru/v1" | Sends model requests to LLMEasy’s OpenAI-compatible / Responses API endpoint |
Verify the setup
After setup, open the Codex extension in VS Code and send a short test message. If you get a normal response, the configuration is active. If the request fails, check:base_urlishttps://www.llmeasy.ru/v1wire_apiisresponsesexperimental_bearer_tokenhas been replaced with your real API Keymodelcomes from the GPT Key group in the model plaza- Old
OPENAI_API_KEYorOPENAI_BASE_URLenvironment variables are not overriding the configuration - VS Code has been restarted or reloaded

