Welcome to DirectRouter
Inference Controls
Curated Model Catalog
Verified flagship and specialized edge models with official 1M pricing and tool support.
Earn Free Credits
Complete the daily Linkvertise task for $10.00 and invite developers for $10.00 per friend.
Daily Linkvertise Reward
Click the Linkvertise link, complete the brief sponsor step, and claim +$10.00 in credits directly to your balance. Resets every 24 hours.
Invite Friends, Earn $10.00 & Unlock Models
Share your personal invite link. When a new user registers with your link, you instantly receive +$10.00 in credits. Claude 5 Opus is unlocked by default, and inviting 2 friends unlocks Anthropic's flagship Claude 5.5 Opus!
API Key Management
Provision secret keys for OpenAI SDK, Cursor, Aider, and custom agents.
| Name | Key Prefix | Created | Last Used | Actions |
|---|
Endpoint Connection Settings
Plug DirectRouter into any OpenAI-compatible client library:
Developer Docs & Quickstart v2.0
Plug DirectRouter into Claude Code, Codex, Cursor, Python, and terminal agents.
Anthropic Claude Code CLI Native /v1/messages
DirectRouter provides built-in emulation of Anthropic's Messages API (/v1/messages). You can run Anthropic's official Claude Code command-line tool with zero proxies or wrappers.
export ANTHROPIC_BASE_URL="{BASE_URL}"
export ANTHROPIC_API_KEY="{API_KEY}"
claude
$env:ANTHROPIC_BASE_URL="{BASE_URL}"
$env:ANTHROPIC_API_KEY="{API_KEY}"
claude
OpenAI Codex & Python SDK OpenAI Spec
Connect using the official openai Python package or Codex clients. Directly query models like codex, claude-5-opus, or claude-5.5-opus.
from openai import OpenAI
# DirectRouter OpenAI-compatible client
client = OpenAI(
base_url="{BASE_URL}/v1",
api_key="{API_KEY}"
)
response = client.chat.completions.create(
model="codex", # or claude-5-opus, claude-5.5-opus, gemini-3.7-flash
messages=[
{"role": "system", "content": "You are a master software architect."},
{"role": "user", "content": "Write an asynchronous worker queue in Python with retry backoff."}
]
)
print(response.choices[0].message.content)
Cursor IDE Integration
Supercharge Cursor with DirectRouter's low-latency proxy. Follow these quick steps:
claude-5-opus, claude-5.5-opus, codex, gemini-3.7-flash.Aider AI Pair Programmer
Aider works out of the box with DirectRouter's OpenAI compatibility layer:
export OPENAI_API_BASE="{BASE_URL}/v1"
export OPENAI_API_KEY="{API_KEY}"
aider --model claude-5-opus
Standard cURL / HTTP Requests
Test your endpoint directly from the command line:
curl -X POST "{BASE_URL}/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {API_KEY}" \
-d '{
"model": "claude-5-opus",
"messages": [
{"role": "user", "content": "Hello DirectRouter!"}
]
}'
Activity & Request Auditing
Comprehensive edge transaction records, token consumption, and metering.
| Timestamp | Model | Prompt Tokens | Completion Tokens | Cost (USD) |
|---|
Credit Balance & Billing
Prepaid balance metering based on exact input and output token consumption.
Credits never expire. Top up via vouchers, invite friends ($20.00 each), or complete the daily Linkvertise task ($10.00).
Enter any administrator-issued voucher or community promotional code below to credit balance immediately.
Admin Console & Code Generator
MASTER ACCESSCreate redeem vouchers with any dollar value, inspect real-time voucher redemptions, manage network credits, and bypass all IP and rate constraints.
Mint New Redeem Code
Specify any credit amount and maximum allowed redemptions
Leave empty to auto-generate a secure code.
Active Redeem Codes
All redeemable codes in the sovereign database
| Code | Credit Value | Usage (Uses / Max) | Status | Created Date | Actions |
|---|---|---|---|---|---|
| Loading voucher codes... | |||||
Registered Users Directory
Manage balances, inspect IP locks, and adjust quotas
| User | Balance | Registered IP | Invites | Created Date | Actions | |
|---|---|---|---|---|---|---|
| Loading user directory... | ||||||
Live Traffic & Request Stream
Real-time edge completions and metering records
| User | Model | Prompt Tokens | Completion Tokens | Cost (USD) | Latency | Timestamp |
|---|---|---|---|---|---|---|
| Loading live traffic audit... | ||||||