Skip to content

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

  1. Open T3 Code settings and add a Codex profile.
  2. Select a custom endpoint.
  3. Set Base URL to https://api.nexus-hub.ru/v1.
  4. Enter the Nexus API key in the API Key field.
  5. Select the Responses protocol.
  6. 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

  1. Add a separate Claude Code profile.
  2. Set ANTHROPIC_BASE_URL=https://api.nexus-hub.ru.
  3. Set ANTHROPIC_AUTH_TOKEN to the Nexus API key.
  4. 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.