Claude Code Custom Base URL & API Proxy Setup (Opus 5.5 Kiro)

Run Claude Code with ANTHROPIC_BASE_URL=https://api.modelseed.dev. Compare Opus 5.5 Kiro ($0.295/1M in), Opus 5.5 & Fable 5.2, avoid region 403s, pay with USDT.

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!"}])
New accounts get a $1–$2 welcome bonus (1,000–2,000 credits) · Lava, USDT & Binance Pay from 0.50 USDT · DeepSeek rates · Pricing calculator

Native Anthropic Messages API for Claude Code

Claude Code relies on the native Anthropic Messages API (/v1/messages), tool-calling blocks, and prompt caching headers — plain OpenAI-to-Anthropic shims often break tool loops or lose cache hits.

Modelseed exposes a native Anthropic-compatible endpoint at https://api.modelseed.dev (note: no /v1 suffix for Anthropic clients) with three published Claude routes, including the low-cost Kiro channel for heavy agentic coding.

Published Claude USD rates on Modelseed (per 1M tokens)
Catalog Model IDInput (No Cache)OutputCache ReadCache Write (5 min)
claude-opus-5-5-kiro$0.295$1.477$0.0148$0.369
claude opus 5.5$1.166$5.830$0.0583$1.457
claude fable 5.2$2.332$11.660$0.0583$2.915

Configure Claude Code with a custom Base URL in 30 seconds

Point ANTHROPIC_BASE_URL to https://api.modelseed.dev and pass your Modelseed project key via ANTHROPIC_AUTH_TOKEN. Keep an isolated profile directory if you also maintain a separate work account.

Shell / PowerShell — Launch Claude Code via Modelseed
# macOS / Linux
export ANTHROPIC_BASE_URL="https://api.modelseed.dev"
export ANTHROPIC_AUTH_TOKEN="sk-your-modelseed-key"
claude --model "claude-opus-5-5-kiro"

# Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://api.modelseed.dev"
$env:ANTHROPIC_AUTH_TOKEN="sk-your-modelseed-key"
claude --model "claude-opus-5-5-kiro"

Never append /v1 to ANTHROPIC_BASE_URL — Anthropic SDKs automatically append /v1/messages, so adding /v1 creates a broken /v1/v1/messages 404.

Windows 1-click option: Modelseed Installer

On Windows, you can skip manual environment variables completely by running Modelseed Installer: sign in through your browser, let it mint a dedicated device key, and launch Claude Code from a preconfigured desktop shortcut.

Frequently asked questions

Why is claude-opus-5-5-kiro roughly 4x cheaper than standard claude opus 5.5?

claude-opus-5-5-kiro routes through Modelseed’s dedicated Kiro channel with separate upstream capacity and retail pricing ($0.295 input / $1.477 output per 1M tokens). Both routes live in the same catalog so you can switch at any time.

Does prompt caching work with Claude Code through Modelseed?

Yes. Both 5-minute and 1-hour cache writes and low-cost cache reads ($0.0148/1M on Kiro) are billed transparently per API usage report.

Will this bypass Anthropic region 403 blocks without a system VPN?

Yes — requests go directly to https://api.modelseed.dev over standard HTTPS, eliminating geo-restricted 403 errors from direct Anthropic endpoints.

Can I cap how much Claude Code can spend overnight?

Yes. Create a dedicated Claude Code key in Modelseed Console and attach a strict credit limit so an infinite agent loop can never drain your main wallet.

Official references

BUILD WITH MODELSEED

From an idea to your first request.

One key and a familiar API. New verified accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests before topping up.

Get API key + bonus