Пишет ~/.codex/config.toml и auth.json, бэкап — в ~/.codex/backups/.
Один ключ.
Все модели.
Подключите Codex, OpenCode, Claude Code, Cursor или любой OpenAI-совместимый клиент. Поддержка стриминга.
Вставьте ключ — он подставится во все команды на странице.
Быстрое подключение
Одна команда — скрипт сам создаст и забэкапит конфиги, CLI заработает сразу.
Настраивает провайдер customapi на https://hush.rest/v1 в ~/.config/opencode/.
Откат настроек: macOS — bash <(curl -fsSL https://hush.rest/rclaudem), Windows — iex(irm https://hush.rest/rclaudew).
Все интеграции
Везде одно и то же: Base URL https://hush.rest/v1 + ваш ключ + модель gpt-5.5. Это обычный OpenAI-совместимый эндпоинт — подойдёт любой клиент.
- Открой Settings → Models (Ctrl/Cmd+Shift+J).
- Найди OpenAI API Key, включи и вставь свой ключ.
- Включи Override OpenAI Base URL →
https://hush.rest/v1. - В списке моделей добавь
gpt-5.5(кнопка «+ Add model»). - Нажми Verify — должно стать зелёным. Готово.
- Открой настройки расширения (шестерёнка в панели Cline/Roo).
- API Provider:
OpenAI Compatible. - Base URL:
https://hush.rest/v1 - API Key: ваш ключ.
- Model ID:
gpt-5.5(или gpt-5.4 / gpt-5.6-sol).
В ~/.continue/config.json в массив models:
{
"title": "gpt-5.5",
"provider": "openai",
"model": "gpt-5.5",
"apiBase": "https://hush.rest/v1",
"apiKey": "sk-..."
}
export OPENAI_API_BASE="https://hush.rest/v1" export OPENAI_API_KEY="sk-..." aider --model gpt-5.5
- API → Chat Completion → источник
Custom (OpenAI-compatible). - Custom Endpoint:
https://hush.rest/v1 - API Key: ваш ключ, нажми «Connect».
- В списке моделей выбери
gpt-5.5.
- Добавь провайдера типа OpenAI.
- API Host / Endpoint:
https://hush.rest/v1 - API Key: ваш ключ.
- Модель:
gpt-5.5. Если поле требует ручного ввода — впиши его.
from openai import OpenAI
client = OpenAI(base_url="https://hush.rest/v1", api_key="sk-...")
resp = client.chat.completions.create(
model="gpt-5.5",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://hush.rest/v1",
apiKey: "sk-...",
});
const resp = await client.chat.completions.create({
model: "gpt-5.5",
messages: [{ role: "user", content: "Привет!" }],
});
console.log(resp.choices[0].message.content);
Работа через curl
Никаких клиентов не нужно — API доступен из любого языка и терминала.
# заодно проверит, что ключ живой
curl https://hush.rest/v1/models \
-H "Authorization: Bearer sk-hush-..."
curl https://hush.rest/v1/chat/completions \
-H "Authorization: Bearer sk-hush-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.5",
"messages": [{"role": "user", "content": "Привет!"}]
}'
curl -N https://hush.rest/v1/chat/completions \
-H "Authorization: Bearer sk-hush-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.5",
"stream": true,
"messages": [{"role": "user", "content": "Напиши стих"}]
}'
curl https://hush.rest/v1/responses \
-H "Authorization: Bearer sk-hush-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-sol",
"stream": true,
"input": "Объясни квантовую запутанность"
}'
Эндпоинты
Базовый URL — https://hush.rest. Авторизация — заголовком Authorization: Bearer sk-…