FORUM
📖
API DOCUMENTATION
Complete developer reference for the AI Smart Router
Base URL
https://aistupidlevel.info/v1
Auth
Bearer aism_key
Format
OpenAI-Compatible
Providers
7 (OpenAI, Anthropic, …)
📋 API OVERVIEW
Introduction

The AI Smart Router provides an OpenAI-compatible API that intelligently routes your requests to the best AI model based on real-time benchmarks. Use a single aism_ key — your SR (Smart Router) key — to access models from 6 providers: OpenAI, Anthropic, Google (Gemini), DeepSeek, Kimi (Moonshot), and GLM (Z.AI).

Base URL
text
https://aistupidlevel.info/v1
Authentication

All requests require a Bearer token in the Authorization header:

http
Authorization: Bearer aism_your_api_key_here

Some tools enforce an sk- prefix for API keys. The router accepts sk-aism_... — the prefix is stripped automatically.

Endpoints
MethodPathDescription
POST/v1/chat/completionsChat completions (auto-routing or direct pin)
GET/v1/modelsList available models (requires auth)
POST/v1/embeddingsEmbeddings (proxied to OpenAI)
POST/v1/messagesNative Anthropic Messages API passthrough
💬 POST /v1/chat/completions
🤖 VIRTUAL MODELS (ROUTING STRATEGIES)
📋 GET /v1/models
📐 POST /v1/embeddings
🔮 POST /v1/messages (Anthropic)
⚠️ ERROR HANDLING
🔗 INTEGRATION EXAMPLES