AI Gateway

One API. Your AI stack, connected.

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.

How a request flows
Your applicationPOST /v1/chat/completions
AI Gateway
RoutingRequest controlsUsage tracking
Chat & reasoning
Vision
Embeddings
Image & audio

Capabilities and request controls depend on the selected model, endpoint, and configuration.

Capabilities

The controls around every model call.

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

DOSRouter

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

Route selection follows the configured model pool and availability. Model capabilities still determine which requests are supported.

Explore DOSRouter

Observability

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

Understand usage by model and time period, then use those measurements to guide your next integration decision.

Safeguard

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

Request policies can tighten the server baseline. Coverage depends on the supported detectors and the request path.

Security & Access

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

Provider-specific processing and retention conditions still apply. Review model and provider details before sending sensitive data.

Prompt & response caching

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

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

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

Context compression

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

Compression runs only when the request meets its threshold and the resulting input is smaller.

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.

  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.

  4. Read the API docs
Python · OpenAI-compatible client
from openai import OpenAI
import os

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

response = client.chat.completions.create(
    model="dos",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

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.

60models in the current catalog

Before your first request.

Can I use my existing SDK?

OpenAI-compatible clients can use the DOS base URL and API key. The Anthropic Messages endpoint is also supported. Model-specific request fields and capabilities still apply; see the API documentation for details.

Does every model support the same features?

No. Context length, modalities, tool use, streaming, and pricing vary. Check the model detail page and select a model that supports your workload.

What should I know about sensitive data?

Use appropriate request policies and review provider processing and retention conditions. Safeguard checks supported patterns; it does not replace your application access controls or data policy.

How is API usage charged?

Charges follow the model and its published unit, such as tokens, images, or audio duration. Input, output, and supported cache rates can differ. Agent hosting is a separate service.

Build your next model-powered workflow.

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