T3 Code with Claude Code & Codex CLI: Unified API Gateway Setup

Run T3 Code alongside Codex CLI and Claude Code on one Modelseed API key: connect GPT-6.2 Sol/Astra via /v1/responses and Claude Opus 5.5 Kiro via /v1/messages with prepaid credits.

Modelseed ·
INTERACTIVE CONFIG WIZARD

Generate a ready-to-paste config in 5 seconds

Pick your client, OS, and model — then click below to sign up and auto-fill this exact snippet with a scoped Starter API Key.

# PowerShell · Recommended key cap: $2 (2,000 credits)
$env:ANTHROPIC_BASE_URL = "https://api.modelseed.dev"
$env:ANTHROPIC_AUTH_TOKEN = "sk-YOUR_MODELSEED_KEY"
$env:ANTHROPIC_MODEL = "claude-opus-5-5-kiro"
claude --model $env:ANTHROPIC_MODEL
30-SECOND API QUICK START

deepseek-v4-1-flash · Input $0.0822 · Output $0.3289 per 1M tokens

Get key + bonus
from openai import OpenAI
client = OpenAI(base_url="https://api.modelseed.dev/v1", api_key=os.environ["MODELSEED_API_KEY"])
res = client.chat.completions.create(model="deepseek-v4-1-flash", messages=[{"role":"user","content":"Hello!"}])
Starter bonus: $0.20–$1.00 (200–1,000 credits) + +10% first-payment bonus · Lava from $1, USDT & Binance Pay · DeepSeek rates · Pricing calculator

Why T3 Code users unify Codex CLI and Claude Code behind one gateway

T3 Code is rapidly rising among developers who want a clean desktop workspace orchestrating both Codex CLI and Claude Code sessions side by side. The catch: managing separate OpenAI Plus/Pro seats, Anthropic billing, and strict 5-hour seat rate limits breaks momentum right in the middle of a refactor.

Modelseed acts as a single pay-as-you-go backend for both protocol families: OpenAI Responses API (/v1/responses) for Codex CLI and native Anthropic Messages API (/v1/messages) for Claude Code — funded from one balance with no auto-renew.

  • Codex CLI routes: gpt-6.2-sol ($0.0642/1M input), gpt-6.2-astra ($0.2567/1M), and gpt-6.1-terra ($0.0321/1M).
  • Claude Code routes: claude-opus-5-5-kiro ($0.2954/1M input) and claude opus 5.5 ($1.1660/1M).
  • Set independent per-tool USD caps in Modelseed Console so one background agent thread can never exhaust the other.

Configure both Codex CLI and Claude Code for T3 Code in 60 seconds

Because T3 Code delegates execution to your local Codex CLI and Claude Code binaries, configuring both tools once automatically powers every new thread inside T3 Code.

~/.codex/config.toml + Claude Code environment variables
# 1) ~/.codex/config.toml (for Codex threads in T3 Code)
model_provider = "modelseed"
model = "gpt-6.2-sol"

[model_providers.modelseed]
name = "Modelseed"
base_url = "https://api.modelseed.dev/v1"
env_key = "MODELSEED_API_KEY"
wire_api = "responses"

# 2) Shell profile (for Claude Code threads in T3 Code)
export MODELSEED_API_KEY="sk-your-modelseed-key"
export ANTHROPIC_BASE_URL="https://api.modelseed.dev"
export ANTHROPIC_AUTH_TOKEN="$MODELSEED_API_KEY"
export ANTHROPIC_MODEL="claude-opus-5-5-kiro"

Remember the protocol split: Codex uses https://api.modelseed.dev/v1 (with /v1 and wire_api = "responses"), while Claude Code uses https://api.modelseed.dev (without /v1).

Cost comparison for multi-thread T3 Code coding sessions

Prompt cache reads are the biggest cost lever in desktop workspaces where each thread repeatedly re-sends repository context. Both GPT-6.2 Sol and Claude Opus 5.5 Kiro bill cache reads at 95% off uncached input.

T3 Code recommended routes on Modelseed (USD per 1M tokens)
Thread TypeProtocolModel IDInput / OutputCache Read
Fast Codex loop/v1/responsesgpt-6.2-sol$0.0642 / $0.3208$0.0032
Deep Codex architecture/v1/responsesgpt-6.2-astra$0.2567 / $1.2833$0.0128
Claude Code interactive/v1/messagesclaude-opus-5-5-kiro$0.2954 / $1.4769$0.0148
Ultra-cheap subtasks/v1/responsesgpt-6.1-terra$0.0321 / $0.1604$0.0015

Frequently asked questions

Does T3 Code require an official ChatGPT Plus or Claude Pro subscription when using Modelseed?

No. When Codex CLI and Claude Code authenticate via API key against Modelseed, you pay strictly per token from your prepaid credit balance (or optional 30-day Pro/Max/Ultra credit bundle).

Can I also download Modelseed desktop helpers for Windows?

Yes. Visit /downloads/ for pre-built desktop workspace installers and one-click provider setup.

Why does Codex need wire_api = "responses" in config.toml?

Modern Codex CLI versions expect OpenAI Responses API semantics for tool calls and reasoning summaries. Modelseed natively supports /v1/responses on the GPT-6 / GPT-6.1 / GPT-6.2 catalog.

Can I fund my T3 Code API usage with crypto or Binance Pay?

Yes. Test free with $0.20–$1.00 starter credits, then fund anytime via Binance Pay (from 0.50 USDT), on-chain USDT, or Lava.

Official references

BUILD WITH MODELSEED

From an idea to your first request.

One key and a familiar API. New verified accounts receive a $0.20–$1.00 welcome bonus (200–1,000 credits, 30 days) + 10% bonus on their first payment.

Get API key + bonus