AI Gateway•Universal API

One API. Your AI stack, connected. Zero Markup.

Build with leading models through a common API. Choose your model, route eligible requests with DOSRouter, and keep usage and access controls in one place.

< 15ms

Gateway Overhead

99.99%

Uptime target

100+

Flagship Models

0% Markup

Direct List Pricing

How a request flows
Live Simulation
Your App / Coding Agent

Summarize this support ticket.

DOSDOS Smart Router
Route Selection

15 Signals

LengthSimple TaskFormat
Fast & EfficientSimple tasks, quick answers.
BalancedEveryday tasks, balanced capability.
Advanced ReasoningComplex problems, deeper reasoning.

Capabilities

The controls around every model call.

Start with a common API, then add the routing, request policies, and usage visibility your application needs.

Auto-Tiered

DOSRouter

Classify request signals and select an eligible route. Use automatic routing or select a model explicitly when you need a specific capability.

Input Requestmodel="auto"
Smart ClassifierFast · Balanced · Brain
Active Dispatch99.99% Auto-Failover
Up to 90% Off

Prompt & response caching

Reuse eligible work instead of processing the same context or request from scratch.

Prefix Caching: Prompt caching reuses shared context on supported providers. Eligibility, retention, and cache rates vary by model.

Exact Match: Response caching reuses a stored response for an eligible matching request. Other requests continue to the model.

Lossless

Context compression

Reduce repeated context through deduplication, whitespace trimming, and JSON compaction on supported requests.

Real-Time Redaction

Safeguard

Apply deterministic checks for sensitive data and secrets in supported inference requests. Configured policies can flag, mask, or block matching input.

AES-256 Vault

Security & Access

Manage API keys, control access to your resources, and review organization activity.

Per-Key Telemetry

Observability

Review requests, input and output tokens, costs, and model performance from your dashboard.

Observabilitylive
DOS Smart Router•Auto-Tiered Engine

One Router For Every Prompt.

Keep everyday requests on DOS. Use eligible paid routes for complex work, with visibility into the model serving each request.

5-Step Pipeline Lifecycle

Average Classification < 4ms
01

Request

model: "auto"

Your application sends a standard OpenAI-compatible request with model set to auto.

02

Complexity Check

Simple • Medium • Complex

DOS classifies the request as Simple, Medium, or Complex.

LengthCodeReasoningTechnical
03

Route Decision

DOS.AI • Eligible Route

Simple and Medium use DOS.AI. Complex can use an eligible route from the live catalog.

04

Provider Request

Catalog-driven

The gateway sends the request through the route resolved from the tier and current catalog configuration.

99.99% Auto-Failover

05

Visible Route

X-Provider-Model

Response headers identify the requested and provider model so your application can inspect the route.

X-Provider-Model

Dynamic Destination Tiers

Tier 0

Fast & Efficient

Simple tasks, quick answers.

Latency:< 200ms TTFT
Workloads:Chit-chat, summaries, translation
Targets:DOS Fast, Qwen 2.5 7B
Tier 1

Balanced

Everyday tasks, balanced capability.

Throughput:High tokens/sec
Workloads:Code generation, JSON, agents
Targets:DeepSeek V3, Claude 3.5 Haiku
Tier 2 Flagship

Advanced Reasoning

Complex problems, deeper reasoning.

Reasoning:Deep CoT & Multi-step
Workloads:Architecture, math proofs, hard tools
Targets:Claude 3.7 Sonnet, DeepSeek R1
Standard OpenAI SDK Call
model: "auto"
from openai import OpenAI

client = OpenAI(
    base_url="https://api.dos.ai/v1",
    api_key=os.environ["DOS_API_KEY"],
)

# Simply specify model="auto": DOSRouter handles
# complexity classification & multi-provider routing
response = client.chat.completions.create(
    model="auto",
    messages=[
        {"role": "user", "content": "Analyze system architecture..."}
    ],
)

Zero client routing logic. DOSRouter evaluates prompt complexity in milliseconds and selects the optimal path.

Response Header Transparency
HTTP 200 OK
x-provider-model: anthropic/claude-3-7-sonnet
x-dos-route-tier: tier-2-reasoning
x-dos-routing-latency: 3.2ms
x-dos-failover-attempts: 0
x-dos-retail-markup: $0.00 (0% Zero Markup)
x-ratelimit-remaining-tokens: 984020
100% Transparent: Every request clearly identifies which model and provider served your response. You maintain full observability with zero lock-in.
01 · BYOK Priority

Key Isolation

Project-scoped BYOK provider credentials are never bypassed when routing paid catalog models.

02 · Reliability

99.99% Circuit Breaker

Upstream rate-limits (429) or timeouts trigger sub-second fallback without dropping the user stream.

03 · Pricing Policy

Zero-Markup Guarantee

Paid catalog routes are billed at exactly 100% of the provider list price. Zero added markup.

04 · Governance

Enforced Budget Caps

Agent and team spending ceilings are strictly enforced before routing external paid requests.

Quickstart

Keep your SDK. Update the connection.

Use the OpenAI-compatible API or the supported Anthropic Messages endpoint. Check the selected model for streaming, vision, and tool support.

Drop-in compatibility: Change just base_url to https://api.dos.ai/v1. All existing SDK prompts, tools, and streaming code continue to work without changes.
  1. 01

    Create your API key

    Create a key in the console and keep it in your server environment.

  2. 02

    Set the base URL

    Point your compatible client at https://api.dos.ai/v1.

  3. 03

    Choose a model and send a request

    Use a model ID from the catalog. Review usage and cost in the console.

main.py
from openai import OpenAI
import os

# 1-line change: Just set base_url to DOS AI Gateway!
client = OpenAI(
    base_url="https://api.dos.ai/v1",
    api_key=os.environ["DOS_API_KEY"],
)

response = client.chat.completions.create(
    model="dos",  # or "deepseek-v3", "claude-3-7-sonnet", "gpt-4o"
    messages=[{"role": "user", "content": "Hello from DOS AI Gateway!"}],
    stream=True,
)

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

Why Use DOS

DOS

Coding Agents

Claude CodeClineOpenCode

Tools & Automation

n8nMCPAPI

Models

ClaudeGPTGemini

Workplace Integrations

SlackGoogle WorkspaceHubSpot

OpenAI & Anthropic Messages API · Explore Integrations ↗

Models & pricing

A catalog that follows the platform.

Browse currently listed models and inspect capabilities before integrating. Model membership and pricing come from the same catalog used by the platform.

79models in the current catalogZero Retail Markup

Flagship input pricing - live catalog

USD / 1M input tokens - zero retail markup
Whisper
$500.00
Claude Opus 5.5
$4.00
GPT-6 Sol
$1.90
Kimi K2.6
$0.95
Qwen 3.7 Plus
$0.40
BGE Large EN v1.5
$0.204
DOS
$0.07

Retail prices mirror each provider's official list - what you see is exactly what the upstream charges.

FAQ

Before your first request.

Build your next model-powered workflow.

Start with an API key, or explore DOSClaw if you want a hosted agent with knowledge and integrations.