← Back to home

Setup Instructions

Connect Codex AI to VS Code, Codex CLI, Cursor, Zed, JetBrains, OpenCode, OpenClaw and other OpenAI-compatible clients.

VS Code
Codex extension
Codex CLI
CLI setup
Cursor
Manual setup
Zed
OpenAI-compatible
JetBrains AI
BYOK
OpenCode
Provider config
OpenClaw
Gateway provider
OpenAI-compatible

Quickstart

Codex Key is OpenAI-compatible: set the base URL and send your personal key in Authorization.

Base URL
https://codexkey.ru/v1
Authorization
Authorization: Bearer sk-clb-...

First request

curl https://codexkey.ru/v1/chat/completions \
  -H "Authorization: Bearer sk-clb-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"Say hello"}]}'

Clients

Supported clients include Codex CLI, VS Code, Cursor, Zed, JetBrains AI, OpenCode, OpenClaw, and any tool with an OpenAI-compatible provider.

Balance and billing

Requests debit a prepaid balance by actual prompt/output/reasoning tokens. Model, status, tokens, cost, and errors are available in the cabinet log.

Logs and privacy

For billing and diagnostics, Codex Key stores technical request metadata: time, key, model, status, tokens, cost, and error text on failures. The landing surface does not keep a separate chat-history database.