You can run the LLMEasy automatic setup script directly. It only writes the LLMEasy provider configuration and does not replace the installation prerequisites above. The script requires Node.js. If you do not pass an API Key or model explicitly, the script prompts for them when the tool supports interactive input.Follow the step for your operating system. You only need one of them.
With a Claude_* key, you do not need ANTHROPIC_MODEL, ANTHROPIC_SMALL_FAST_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, or other model variables. Claude Code manages model selection itself.
3
Add model mappings for Codex_* keys
If your API Key belongs to the Codex_* group, use this config instead:
If you use a Codex_* key, we recommend configuring Claude Code through CC Switch first. It handles the Claude Code model mappings and proxy toggle more reliably. Only use the manual config below when you explicitly want to maintain the config file yourself.
Default Claude Code model tier; opus uses ANTHROPIC_DEFAULT_OPUS_MODEL
gpt-5.4 is an example Codex group model ID. Use the current Codex group model IDs listed in the LLMEasy model plaza (https://www.llmeasy.ru/pricing). You can map all three tiers to the same model or choose different ones.
4
Restart Claude Code
After updating the config file, fully quit Claude Code and start it again so the new config is loaded.
5
Complete first launch
If this is your first time using Claude Code, run claude and follow the onboarding prompts.
gpt-5.4 is only an example Codex group model ID. Copy the current model ID from the LLMEasy model plaza (https://www.llmeasy.ru/pricing). When the extension uses the Opus tier by default, it will resolve through ANTHROPIC_DEFAULT_OPUS_MODEL.
5
Restart the VS Code extension
After editing settings.json, restart VS Code or reload the Claude Code extension so the updated settings take effect.
What should I do if I see API Error: Unable to connect to API (ConnectionRefused)?
This usually means Claude Code cannot reach the LLMEasy API. It is normally a network, proxy, or firewall issue, not an API Key or model mapping problem.Check that your local network is working, then confirm your system proxy, company network, router, or security software is not blocking https://www.llmeasy.ru. If you use a firewall, allow Claude Code to access that address.