Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.llmeasy.ru/llms.txt

Use this file to discover all available pages before exploring further.

Connecting Codex to LLMEasy requires a custom model provider and API Key. The base_url must be https://www.llmeasy.ru/v1, and the protocol is OpenAI Responses.

Prerequisites

  • Node.js installed
  • LLMEasy API Key (register here (https://www.llmeasy.ru/register))
Clear OpenAI-related environment variables before setup so they do not override the settings in config.toml or auth.json.Clear these variables:
  • OPENAI_API_KEY
  • OPENAI_BASE_URL
Run on macOS / Linux:
unset OPENAI_API_KEY
unset OPENAI_BASE_URL
Run in Windows PowerShell:
Remove-Item Env:OPENAI_API_KEY -ErrorAction SilentlyContinue
Remove-Item Env:OPENAI_BASE_URL -ErrorAction SilentlyContinue
[Environment]::SetEnvironmentVariable("OPENAI_API_KEY", $null, "User")
[Environment]::SetEnvironmentVariable("OPENAI_BASE_URL", $null, "User")

Install Codex

npm install -g @openai/codex

Setup

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.
1

If you use macOS / Linux

curl -fsSL https://www.llmeasy.ru/install-codex-provider.sh | bash
2

If you use Windows

iwr https://www.llmeasy.ru/install-codex-provider.ps1 -OutFile "$env:TEMP\install-codex-provider.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\install-codex-provider.ps1"

Verify the setup

After startup, send a test message. A normal reply means the connection is working. If something fails, check:
  1. base_url is https://www.llmeasy.ru/v1
  2. wire_api is still responses
  3. model is a model ID copied from the Codex group
  4. OPENAI_API_KEY in ~/.codex/auth.json is your LLMEasy API Key
  5. No old OPENAI_API_KEY or OPENAI_BASE_URL variables are interfering