Setting up T3 Code¶
Create a separate Nexus profile in T3 Code for the coding agent you use. Codex and Claude Code profiles use different protocols and base URLs, so keep them separate.
Codex profile¶
- Open T3 Code settings and add a Codex profile.
- Select a custom endpoint.
- Set Base URL to
https://api.nexus-hub.ru/v1. - Enter the Nexus API key in the API Key field.
- Select the Responses protocol.
- Select a model returned by
GET /v1/models.
Equivalent Codex configuration:
model = "MODEL_FROM_V1_MODELS"
model_provider = "nexus"
[model_providers.nexus]
name = "Nexus"
base_url = "https://api.nexus-hub.ru/v1"
env_key = "NEXUS_API_KEY"
wire_api = "responses"
Claude Code profile¶
- Add a separate Claude Code profile.
- Set
ANTHROPIC_BASE_URL=https://api.nexus-hub.ru. - Set
ANTHROPIC_AUTH_TOKENto the Nexus API key. - Select a Claude model returned by
GET /v1/models.
Codex sends requests to POST /v1/responses; Claude Code sends them to
POST /v1/messages. Restart the coding-agent session after switching the
active profile.
Official sources: T3 Code, Codex configuration reference, and Claude Code settings.