VS Code Setup
VS Code can run the official OpenAI Codex extension and the official Anthropic Claude Code extension side by side. Each extension uses its own CLI configuration, Base URL, and API key.
Codex model setup
Install the official extension
- Press
Cmd+Shift+Xon macOS orCtrl+Shift+Xon Windows/Linux to open Extensions. - Search for
Codex – OpenAI’s coding agent. Verify that the publisher isOpenAIand the extension ID isopenai.chatgpt. - Click Install.
Configure I Code Easy
The Codex extension shares .codex/config.toml with the Codex CLI. Follow Codex setup
first, then use the Codex config.toml guide for reasoning effort,
credential storage, Provider Base URLs, and profiles, or start with this core configuration:
model_provider = "icodeeasy"
model = "gpt-5.6-sol"
cli_auth_credentials_store = "file"
[model_providers.icodeeasy]
name = "icodeeasy"
base_url = "https://api.icodeeasy.cc"
wire_api = "responses"
requires_openai_auth = true
Next, follow the Codex setup page and run codex login --with-api-key so Codex creates
~/.codex/auth.json. The CLI and extension reuse this login cache; VS Code does not need to
inherit a permanent OPENAI_API_KEY environment variable.
If the primary domain is slow, change base_url to https://jp.icodeeasy.cc or https://sg.icodeeasy.cc.
Reload and test
Open the Command Palette with Cmd+Shift+P or Ctrl+Shift+P, run Developer: Reload Window, open the Codex panel, and test gpt-5.6-sol with a short prompt.
If the extension only shows ChatGPT sign-in or does not load the custom provider, run
codex login status and codex in VS Code's integrated terminal, then run
Developer: Reload Window.
Claude model setup
Install the official extension
Search Extensions for Claude Code. Verify publisher Anthropic and extension ID anthropic.claude-code, then install it.
Configure I Code Easy
The extension and CLI share ~/.claude/settings.json. On a trusted personal device, use:
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"env": {
"ANTHROPIC_AUTH_TOKEN": "your API Key",
"ANTHROPIC_BASE_URL": "https://api.icodeeasy.cc",
"ANTHROPIC_MODEL": "claude-sonnet-4-6",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}
Do not set CLAUDE_CODE_ATTRIBUTION_HEADER to 0; some Claude Code-only channels validate the native client attribution metadata.
If the primary domain is slow, change ANTHROPIC_BASE_URL to https://jp.icodeeasy.cc or https://sg.icodeeasy.cc. Never commit a settings file containing a real API key.
Open Settings → Extensions → Claude Code and enable Disable Login Prompt so the extension does not require an Anthropic account sign-in.
Reload and test
Run Developer: Reload Window from the Command Palette, open the Claude Code panel, and send a short prompt. If the sign-in screen remains, verify Disable Login Prompt and validate the JSON syntax in ~/.claude/settings.json.
Official references
- Codex – OpenAI’s coding agent
- OpenAI Codex IDE extension
- Claude Code for VS Code
- Claude Code environment variables
Checked on 2026-07-16 against the official extension listings, official configuration references, and the current I Code Easy protocol routes.
Related guides
Cursor Setup
Add Codex, Claude, and other custom models in Cursor Models and API Keys settings, configure service addresses, and verify editor chat.
Codex Setup
Install Codex CLI, store the API key in auth.json, configure the I Code Easy provider and Base URL, and start a first Codex session.
Claude Code / Desktop Setup
Install Claude Code or Claude Desktop, store credentials safely, configure the I Code Easy API address, and verify a first session.