You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-7Lines changed: 42 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
# DOS AI
2
2
3
-
**Fast, affordable AI inference for open-source models.**
3
+
**Fast, affordable AI inference and agent platform for open-source models.**
4
4
5
-
DOS AI is an inference platform that lets you run leading open-source language models through a simple, OpenAI-compatible API. No GPU management, no infrastructure headaches -- just an API key and a few lines of code.
5
+
DOS AI is an inference platform that lets you run leading open-source language models through a simple, OpenAI-compatible API. Deploy AI agents with DOSClaw, protect your users with DOSafe, and route intelligently with smart model selection -- all from a single platform.
6
6
7
7
## Why DOS AI?
8
8
9
9
-**OpenAI-compatible** -- Swap your base URL and you're done. Works with the OpenAI Python SDK, Node.js SDK, LangChain, LlamaIndex, and any HTTP client.
10
+
-**Smart routing** -- Use `dos-auto` to let our 15-dimension classifier pick the best model for each request automatically.
10
11
-**Low latency** -- Models served on dedicated GPUs with optimized inference (vLLM). No cold starts, no queues.
11
12
-**Pay-as-you-go** -- Only pay for the tokens you use. Every new account gets **$5 in free credits** to get started.
12
13
-**Open-source models** -- Access the best open-source models without managing your own infrastructure.
@@ -24,7 +25,7 @@ client = OpenAI(
24
25
)
25
26
26
27
response = client.chat.completions.create(
27
-
model="dos-ai",
28
+
model="dos-auto", # Smart routing picks the best model
28
29
messages=[
29
30
{"role": "user", "content": "Explain quantum computing in one paragraph."}
OpenAI-compatible API with smart routing, streaming, function calling, and structured outputs.
37
42
38
43
| Section | Description |
39
44
| --- | --- |
40
45
|[Quickstart](getting-started/quickstart.md)| Create an account, get an API key, and make your first request |
41
46
|[Authentication](getting-started/authentication.md)| API key management, rate limits, and security best practices |
47
+
|[Available Models](models/available-models.md)| Full model catalog with pricing |
42
48
|[OpenAI Compatibility](getting-started/openai-compatibility.md)| Migration guide and compatibility details |
43
49
50
+
### DOSClaw Agents
51
+
52
+
Deploy AI agents powered by [OpenClaw](https://github.com/nicejoy/openclaw) with Telegram, Discord, and WhatsApp integration. Each agent runs in its own container with web search, memory, video/music generation, and 5,000+ installable skills.
53
+
54
+
- Create agents from the [dashboard](https://app.dos.ai/agents)
55
+
- Choose from templates: Personal Assistant, Sales, Customer Support, Content Creator
56
+
- Credit-based pricing with a free trial
57
+
58
+
### DOSafe
59
+
60
+
Safety and threat intelligence engine with AI detection capabilities.
61
+
62
+
| Feature | Description |
63
+
| --- | --- |
64
+
|[Entity/URL Check](dosafe/overview.md)| Risk assessment against 3.93M+ threat intelligence entries |
65
+
|[AI Text Detection](dosafe/partner-api.md)| Detect AI-generated text |
66
+
|[AI Image Detection](dosafe/partner-api.md)| Detect AI-generated or manipulated images |
67
+
|[AI Video Detection](dosafe/partner-api.md)| 7-layer pipeline for AI video detection |
68
+
|[AI Audio Detection](dosafe/partner-api.md)| Detect AI-generated speech and voice clones |
69
+
|[Face/Voice Verification](dosafe/partner-api.md)| Liveness detection and biometric matching |
70
+
44
71
## Available models
45
72
46
-
| Model ID | Base model | Context length | Pricing |
73
+
| Model ID | Base model | Context | Pricing |
47
74
| --- | --- | --- | --- |
48
-
|`dos-ai`| Qwen3.5-35B-A3B | 32,768 tokens | See [dashboard](https://app.dos.ai)|
More models are added regularly. Check the [models endpoint](https://api.dos.ai/v1/models) or your dashboard for the latest list.
83
+
More models are added regularly. Check the [catalog endpoint](https://api.dos.ai/v1/catalog) or the [dashboard](https://app.dos.ai/models) for the latest list.
-**feature**[gateway] Cache-Aware Sticky Routing -- DOSRouter pins model to session when context exceeds 3K tokens (single message) or 5K tokens (cumulative) to maximize provider-side prefix cache hits; sticky TTL is per-provider (5min for API providers, 10min for self-hosted vLLM)
-**fix**[dashboard] Cross-Account Logout Loop -- Logout now passes `prompt=login` to id.dos.me to force login form display instead of auto-SSO, preventing cross-account session loops
17
+
18
+
## 2026-04-11
19
+
20
+
-**feature**[gateway] DOSRouter Upstream Sync to v0.12.146 -- 17/19 ClawRouter releases ported; includes usage cost breakdown, eco/premium tier fallback, session pinning, agentic 3-state, model roster updates
21
+
-**feature**[gateway] DOSRouter Full Port Expansion -- Wallet module (EVM + Solana), payment module (x402 protocol), image generation endpoint, full CLI (serve, classify, models, stats, logs, cache, report, wallet, chain, doctor)
22
+
-**feature**[gateway] DOSRouter Open-Sourced -- Standalone Go LLM router at github.com/DOS/DOSRouter with 15-dimension scoring, tier-based routing, structured fallback chains
23
+
12
24
## 2026-04-08
13
25
14
26
-**feature**[dosclaw] OpenClaw v2026.4.5 — Major engine upgrade with video/music generation, enhanced memory, and improved channel experience
Copy file name to clipboardExpand all lines: dosafe/overview.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,9 @@ DOSafe is the safety and threat intelligence engine for the DOS ecosystem. It ag
9
9
-**URL check** -- Analyze a URL for phishing, scam, and malware indicators.
10
10
-**AI text detection** -- Determine whether a piece of text was generated by AI.
11
11
-**AI image detection** -- Determine whether an image was generated or manipulated by AI.
12
+
-**AI video detection** -- Analyze video for AI-generated content using a 7-layer pipeline (frame analysis, temporal consistency, audio-visual sync, LLM visual reasoning).
13
+
-**AI audio detection** -- Detect AI-generated speech and voice clones using BEATs + mHuBERT ensemble (AUROC 0.88).
14
+
-**Face verification** -- Liveness detection and face matching for identity verification.
12
15
13
16
## Supported Entity Types
14
17
@@ -33,6 +36,12 @@ All DOSafe endpoints use the base URL `https://api.dos.ai/v1/dosafe`.
33
36
| POST |`/v1/dosafe/url-check`| URL/domain safety check |
34
37
| POST |`/v1/dosafe/detect`| AI text detection |
35
38
| POST |`/v1/dosafe/detect-image`| AI image detection |
39
+
| POST |`/v1/dosafe/detect-video`| AI video detection |
40
+
| POST |`/v1/dosafe/detect-audio`| AI audio/voice detection |
41
+
| POST |`/v1/dosafe/face/enroll`| Face enrollment for verification |
42
+
| POST |`/v1/dosafe/face/verify`| Face liveness + match verification |
43
+
| POST |`/v1/dosafe/voice/enroll`| Voice enrollment for speaker ID |
44
+
| POST |`/v1/dosafe/voice/verify`| Voice speaker verification |
Copy file name to clipboardExpand all lines: dosafe/partner-api.md
+59-3Lines changed: 59 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,16 @@
8
8
9
9
## Overview
10
10
11
-
The DOSafe API is the unified safety gateway for the DOS ecosystem. A single API key grants access to all DOSafe services — entity/URL safety checks, AI text/image detection, and community reporting — with scopes controlling which capabilities are available.
11
+
The DOSafe API is the unified safety gateway for the DOS ecosystem. A single API key grants access to all DOSafe services — entity/URL safety checks, AI text/image/video/audio detection, face and voice verification, and community reporting — with scopes controlling which capabilities are available.
12
12
13
13
### Data Sources (Safety Check)
14
14
15
15
| Source | Weight | Description |
16
16
|--------|--------|-------------|
17
-
| DOSafe DB | Highest |1.2M+ entries from 11 scrapers (phishing, scam, malware, wallets) |
17
+
| DOSafe DB | Highest |3.93M+ entries from 19 scrapers (phishing, scam, malware, wallets) |
18
18
| DOS Chain | High | Immutable on-chain attestations via EAS |
19
19
| DOS.Me Identity | Moderate | Member trust score, verified providers, flagged status |
20
+
| Web Analysis | Moderate | Real-time web search + LLM-powered risk analysis |
20
21
21
22
**Architecture:** DOSafe is the safety engine and public gateway. DOS.Me is an identity data provider — external services call DOSafe, not DOS.Me.
22
23
@@ -49,9 +50,11 @@ Keys are stored as SHA-256 hashes in `dosafe.api_keys`. Plaintext is never persi
A key can have multiple scopes. Contact the DOSafe team to provision a key with required scopes.
57
60
@@ -273,6 +276,59 @@ AI image detection. Combines C2PA, EXIF/DCT metadata, reverse image search, and
273
276
274
277
---
275
278
279
+
### `POST /detect-video`
280
+
281
+
**Scope:**`detect`
282
+
283
+
AI video detection. Uses a 7-layer pipeline: frame-level AI detection, temporal consistency analysis, audio-visual synchronization, and LLM visual reasoning.
284
+
285
+
**Request:**`multipart/form-data` with `video` field (MP4/MOV/WEBM, max 100MB), or JSON `{ "url": "..." }`.
286
+
287
+
**Response:**
288
+
```json
289
+
{
290
+
"aiProbability": 78,
291
+
"verdict": "AI",
292
+
"confidence": "medium",
293
+
"signals": {
294
+
"frameAnalysis": 0.82,
295
+
"temporalConsistency": 0.71,
296
+
"audioSync": 0.65,
297
+
"llmVisual": 0.85
298
+
},
299
+
"framesAnalyzed": 24,
300
+
"duration": 15.2
301
+
}
302
+
```
303
+
304
+
---
305
+
306
+
### `POST /detect-audio`
307
+
308
+
**Scope:**`detect`
309
+
310
+
AI audio/voice detection. BEATs + mHuBERT ensemble for detecting AI-generated speech and voice clones.
311
+
312
+
**Request:**`multipart/form-data` with `audio` field (WAV/MP3/OGG/FLAC, max 50MB), or JSON `{ "url": "..." }`.
DOS AI serves high-quality open-source LLMs via an OpenAI-compatible API. All models run on dedicated RTX Pro 6000 GPUs with 96 GB VRAM, ensuring fast inference and low latency from our Asia-Southeast 1 region.
3
+
DOS AI serves high-quality open-source LLMs via an OpenAI-compatible API. Self-hosted models run on dedicated RTX Pro 6000 GPUs with 96 GB VRAM in Asia-Southeast 1. Cloud models are served via partner providers for maximum coverage.
4
+
5
+
## Smart Routing
6
+
7
+
Use `dos-auto` as the model ID to let DOS AI automatically select the best model for each request. Smart routing uses a 15-dimension classifier to analyze your prompt and route to the optimal model based on task complexity, cost, and latency.
8
+
9
+
```python
10
+
response = client.chat.completions.create(
11
+
model="dos-auto", # Smart routing picks the best model
12
+
messages=[{"role": "user", "content": "..."}],
13
+
)
14
+
```
4
15
5
16
## Model Catalog
6
17
7
-
| Model | Provider | Type | Context Window | Input Price | Output Price |
> All prices are in USD. See [Pricing](pricing.md) for details on billing, free tier, and volume discounts.
34
+
> All prices are in USD. The catalog is DB-driven -- new models are added regularly. Check `GET /v1/catalog` or the [dashboard](https://app.dos.ai/models) for the latest list. See [Pricing](pricing.md) for billing details.
Alibaba's Mixture-of-Experts model with 35 billion total parameters and 3 billion active parameters per forward pass. This architecture delivers excellent quality at remarkably low cost and latency, making it our **recommended default model** for most use cases.
Meta's latest Mixture-of-Experts model with 17 billion active parameters and 128 experts. Strong reasoning and multilingual capabilities with an industry-leading 1 million token context window.
-**Strengths**: Strong English performance, excellent instruction following, robust safety tuning
82
+
-**Model ID**: `llama-3.3-70b`
83
+
42
84
### Llama 3.1 8B
43
85
44
86
Meta's efficient 8-billion-parameter model. An excellent choice when you need fast, affordable responses and the task does not require the full capability of a larger model.
@@ -51,11 +93,13 @@ Meta's efficient 8-billion-parameter model. An excellent choice when you need fa
51
93
52
94
| Use Case | Recommended Model | Why |
53
95
| -------- | ----------------- | --- |
96
+
| Let DOS AI decide |`dos-auto`| Smart routing picks the best model per request |
54
97
| General assistant / chatbot | Qwen3.5-35B-A3B | Best balance of quality, speed, and cost |
55
-
| Complex analysis / long documents | Llama 3.3 70B | Strongest reasoning for demanding tasks |
See the [Models API reference](../api-reference/models.md) for the full response schema.
113
+
For the full retail catalog with pricing and metadata:
70
114
71
-
## Coming Soon
115
+
```bash
116
+
curl https://api.dos.ai/v1/catalog \
117
+
-H "Authorization: Bearer YOUR_API_KEY"
118
+
```
72
119
73
-
We are continuously evaluating and adding new models. Upcoming additions may include vision models, embedding models, and larger reasoning models. Check back regularly or follow our announcements for updates.
120
+
See the [Models API reference](../api-reference/models.md) for the full response schema.
0 commit comments