IntegrationsПодключение

Connect Claude Code, Codex, OpenCode, Kimi Code and other tools to ARCMUX: one copied configuration gives the tool every model your account can call.Подключите Claude Code, Codex, OpenCode, Kimi Code и другие инструменты к ARCMUX: одна скопированная настройка открывает инструменту все модели вашего аккаунта.

Before you startПеред началом

  1. Paste your API key: it goes into every example below. The key stays on this page and is never sent or saved. By default the examples carry the key itself; switch to the environment variable if you prefer to keep it out of the files.Вставьте API-ключ: он подставится во все примеры ниже. Ключ остаётся только на этой странице, никуда не отправляется и не сохраняется. По умолчанию ключ вписан прямо в конфиги; если не хотите хранить его в файлах, переключитесь на переменную окружения.

  2. The examples list every model your account can call over each tool's API and start on the most expensive one. When new models appear, copy the configuration again.В примерах перечислены все модели, доступные вашему аккаунту через API инструмента; стартовая — самая дорогая из них. Когда появятся новые модели, скопируйте настройки заново.

  3. Pick your system and tool below and copy the configuration. If your tool is not listed, use the API settings at the end of the page.Выберите систему и инструмент ниже и скопируйте настройки. Если вашего инструмента нет в списке, возьмите параметры API в конце страницы.

GuidesИнструкции

Codex CLI

Responses

Codex CLI uses the Responses API. Save this to the file named above the example (create it if it does not exist), then run codex: /model lists every ARCMUX model available over Responses, loaded from model_catalog_url.Codex CLI работает через Responses API. Сохраните это в файл, указанный над примером (создайте его, если его нет), и запустите codex: в /model появятся все модели ARCMUX с Responses API — Codex загружает их по model_catalog_url.

~/.codex/config.toml
model = "<model-id>"
model_provider = "arcmux"

[model_providers.arcmux]
name = "ARCMUX"
base_url = "https://api.arcmux.net/v1"
wire_api = "responses"
model_catalog_url = "https://api.arcmux.net/v1/models"
experimental_bearer_token = "YOUR_ARCMUX_KEY"

Your own clientСвой клиент

Send the key as a Bearer token. Anthropic Messages (/v1/messages) and the model list (/v1/models) also accept it in the x-api-key header; when both are sent, the Bearer key is used.Ключ передаётся как Bearer-токен. Anthropic Messages (/v1/messages) и список моделей (/v1/models) принимают его и в заголовке x-api-key; если отправлены оба, используется ключ из Bearer.

OpenAI-compatible clientsOpenAI-совместимые клиенты
https://api.arcmux.net/v1
Anthropic-compatible clientsAnthropic-совместимые клиенты
https://api.arcmux.net
HeaderЗаголовок
Authorization: Bearer YOUR_ARCMUX_KEY