Поддерживаемые ключи
Тип ключа определяет префикс в поле Custom Model.
Ваш ключ Как подключается Base URL Модель (пример)
GPT (gpt-*) Custom Model openai/… https://bridge.gptclaudegemini.xyz/v1gpt-5.6-terra
Claude (claude-*) Custom Model anthropic/… https://bridge.gptclaudegemini.xyzclaude-sonnet-5
Один ключ — один тип моделей Ключ видит только модели своего тарифа. Проверить список: GET https://bridge.gptclaudegemini.xyz/v1/models с вашим ключом.
Установка и настройка
Откройте настройки LLM В OpenHands добавьте новый LLM Endpoint и включите «Advanced».
Заполните поля Для GPT-ключа:
Custom Model openai/gpt-5.6-terra
Base URL https://bridge.gptclaudegemini.xyz/v1 (без слэша в конце)
API Key ваш ключ sk-xxxxxxxxxx
Agent CodeActAgent
Для Claude-ключа:
Custom Model anthropic/claude-sonnet-5
Base URL https://bridge.gptclaudegemini.xyz
API Key ваш ключ sk-xxxxxxxxxx
Проверьте Запустите простую задачу; префикс (openai/ или anthropic/) сообщает OpenHands, каким протоколом пользоваться.
Выбор модели
Доступные model ID зависят от вашего ключа:
Terminal Копировать
curl https://bridge.gptclaudegemini.xyz/v1/models \
-H "Authorization: Bearer sk-xxxxxxxxxx"
Решение проблем
Invalid API Key / 401 Проверьте, что ключ скопирован целиком и без пробелов, а Base URL указан точно как в таблице выше.
Model Not Found Запросите список моделей вашего ключа через /v1/models и используйте точный ID из ответа.
Первый запрос упал с 5xx, повтор прошел При недоступности одного upstream шлюз переключается на резервный, но первая попытка может вернуть ошибку. Повторите запрос.
Ошибка «LLM provider not recognized» Проверьте префикс модели: openai/ для GPT-ключей (Base URL с /v1), anthropic/ для Claude-ключей (Base URL без суффикса).
Статистика и ключ
Статистика открывается на отдельном сервисе. Для поиска используйте полный токен; в интерфейсе отображается только маскированная часть ключа.
Supported keys
Your key type determines the prefix in the Custom Model field.
Your key Connection Base URL Model (example)
GPT (gpt-*) Custom Model openai/… https://bridge.gptclaudegemini.xyz/v1gpt-5.6-terra
Claude (claude-*) Custom Model anthropic/… https://bridge.gptclaudegemini.xyzclaude-sonnet-5
One key — one model family A key lists only the models of its plan. Check the list: GET https://bridge.gptclaudegemini.xyz/v1/models with your key.
Install and configure
Open LLM settings In OpenHands, add a new LLM Endpoint and toggle "Advanced".
Fill in the fields For a GPT key:
Custom Model openai/gpt-5.6-terra
Base URL https://bridge.gptclaudegemini.xyz/v1 (no trailing slash)
API Key your sk-xxxxxxxxxx key
Agent CodeActAgent
For a Claude key:
Custom Model anthropic/claude-sonnet-5
Base URL https://bridge.gptclaudegemini.xyz
API Key your sk-xxxxxxxxxx key
Verify Run a simple task; the prefix (openai/ or anthropic/) tells OpenHands which protocol to use.
Choose a model
Available model IDs depend on your key:
Terminal Copy
curl https://bridge.gptclaudegemini.xyz/v1/models \
-H "Authorization: Bearer sk-xxxxxxxxxx"
Troubleshooting
Invalid API Key / 401 Make sure the key is copied in full without spaces and the Base URL matches the table above exactly.
Model Not Found Request your key's model list via /v1/models and use the exact ID from the response.
The first request failed with 5xx, but the retry worked When one upstream is unavailable, the gateway fails over automatically, but the first attempt can return an error. Simply retry.
"LLM provider not recognized" Check the model prefix: openai/ for GPT keys (Base URL with /v1), anthropic/ for Claude keys (Base URL without a suffix).
Usage and keys
Usage lives in a separate service. Search with the complete token; the interface displays only a masked part of the key.