Anthropic Compatible · OpenAI Compatible · Zero Rate-Limit Gateway

Claude Sonnet 4.5 Gateway

Dual-compatible AI gateway supporting both Anthropic Messages API and OpenAI Chat Completions API with streaming, multi-key load balancing, and resilient failover.

Base URL
https://agentapi.byzar.cyou
External Developer API Key
adminuse

Supported Model Tiers

Tier 1 (Flagship Recommended)
claude-sonnet-4-5
Claude Sonnet 4.5
Top-tier intelligence, deep multi-step reasoning, and master-level coding capabilities.
Tier 1 (Flagship Reasoning)
claude-3-7-sonnet-latest
Claude 3.7 Sonnet
Hybrid reasoning architecture, agentic precision, and full architectural synthesis.
Tier 1 (High Precision)
claude-3-5-sonnet-latest
Claude 3.5 Sonnet
Advanced code generation, complex refactoring, and logical deduction.
Tier 2 (Maximum Intelligence)
claude-opus-4-5
Claude Opus 4.5
Maximum depth reasoning for enterprise system design, mathematics, and intricate planning.
Tier 3 (Ultra-Fast Throughput)
claude-haiku-4-5
Claude Haiku 4.5
Instantaneous response times, lightweight tasks, and high-frequency queries.
Tier 3 (High-Speed)
claude-3-5-haiku-latest
Claude 3.5 Haiku
Blazing fast throughput for real-time workflows and conversational speed.

OpenAI SDK Integration (Python & TypeScript)

Python · openai package (Streaming)
from openai import OpenAI

client = OpenAI(
    base_url="https://agentapi.byzar.cyou/v1",
    api_key="adminuse"
)

stream = client.chat.completions.create(
    model="claude-sonnet-4-5",
    messages=[
        {"role": "system", "content": "You are a master software architect."},
        {"role": "user", "content": "Explain reactive concurrency in systems engineering."}
    ],
    stream=True
)

for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Anthropic Messages API Integration

Python · anthropic package
import anthropic

client = anthropic.Anthropic(
    base_url="https://agentapi.byzar.cyou",
    api_key="adminuse"
)

with client.messages.stream(
    model="claude-sonnet-4-5",
    max_tokens=4096,
    messages=[
        {"role": "user", "content": "Who are you and who developed you?"}
    ]
) as stream:
    for text in stream.text_stream:
        print(text, end="", flush=True)

Claude Desktop Integration

claude_desktop_config.json
{
  "mcpServers": {},
  "env": {
    "ANTHROPIC_BASE_URL": "https://agentapi.byzar.cyou",
    "ANTHROPIC_API_KEY": "adminuse"
  }
}
Live Playground (Browser Test)
Test a prompt directly against the gateway using adminuse and receive real-time streaming tokens:
Response will stream here...