API для ZCodeAPI for ZCode
Подключается через мастер настройки при первом запуске — команды не нужны. Всего четыре значения, все четыре ниже.It connects through the setup wizard on first launch — no commands needed. Just four values, all listed below.
Ключ не отправляется с этой страницы: команды собираются локально в браузере. Без галочки выше ключ исчезнет после закрытия страницы. Ключ — как пароль: не показывай его на скриншотах, не отправляй в чаты и не добавляй в Git. Нет ключа — зарегистрируйся: личный ключ выпустится сам. Кнопки скачивания готовых файлов (settings.json, codex-setup.bat) — на странице «Подключение» — генератор конфигураций.Your key never leaves this page: commands are assembled locally in your browser. Without the checkbox above, the key disappears when you close the page. Treat the key like a password: never show it in screenshots, chats, or Git. No key yet? Register — a personal key is issued automatically. Download buttons for ready-made files are on the full connection page.
Как подключить
API для ZCodeAPI for ZCode
Ключ из поля выше автоматически подставляется в команды и конфиги.Your key from the field above is inserted into the commands and configs automatically.
- Установи и запусти ZCode.
- При первом запуске откроется мастер настройки подключения — выбери добавление своего провайдера (OpenAI-совместимого). Если ZCode уже настроен — то же самое в настройках: добавление провайдера модели.
- Укажи четыре значения:
Chat completions (/chat/completions)sk-ВАШ_КЛЮЧgpt-5.6-terraФормат выбирай строго «Chat completions». Формат «Anthropic Messages» в ZCode вызывает ошибку TLS — это проверено на практике. У самого сервера Anthropic-формат работает (Claude Code, например, подключается именно через него) — ограничение именно ZCode.
Модель меняется в настройках ZCode в любой момент. Рекомендуются gpt-5.6-terra и claude-sonnet-5 — список в таблице моделей.
- Install and launch ZCode.
- On first launch a setup wizard opens — choose adding your own (OpenAI-compatible) provider. If ZCode is already set up — the same thing in the settings: add a model provider.
- Enter four values:
Chat completions (/chat/completions)sk-ВАШ_КЛЮЧgpt-5.6-terraPick the format strictly “Chat completions”. The “Anthropic Messages” format in ZCode causes a TLS error — verified in practice. The server itself handles the Anthropic format fine (Claude Code, for example, connects through it) — this limitation is ZCode-specific.
The model can be changed in ZCode settings at any time. Recommended: gpt-5.6-terra and claude-sonnet-5 — the list is in the model table.
Частые ошибки
Ошибка TLS при проверке подключения
401 — ключ не принят
Модель не отвечает или ошибка «model not found»
A TLS error when checking the connection
401 — the key is not accepted
The model doesn't respond or a “model not found” error
Ограничения и совместимость
Рабочий формат в ZCode — «Chat completions» (проверено на практике). Anthropic-формат в этом редакторе не работает из-за ошибки TLS.
Пункты мастера настройки могут называться немного по-разному в разных версиях ZCode — ищи добавление «своего провайдера» / «OpenAI-compatible».
The working format in ZCode is “Chat completions” (verified in practice). The Anthropic format doesn't work in this editor due to a TLS error.
Wizard items may be named slightly differently in different ZCode versions — look for adding a “custom provider” / “OpenAI-compatible”.
Вопросы и ответы
Мастер настройки уже пропущен — где найти настройку провайдера?
Какую модель поставить по умолчанию?
Нужен ли VPN?
Как проверить баланс ключа?
The setup wizard is already gone — where do I find the provider settings?
Which model should I set as the default?
Do I need a VPN?
How do I check the key balance?
Дальше:Next: Полный гайд и генератор конфигурацийFull guide and config generator Таблица моделейModel table Документация APIAPI documentation Баланс и логиBalance and logs
Инструкции для других программ:Guides for other tools:
Codex Claude Code Cursor Cline Терминал / cURLTerminal / cURL Python JavaScript JetBrains Antigravity Claude Code в РоссииClaude Code in Russia