AI Stupid Level Smart Router API
An OpenAI-compatible endpoint that routes each request to the model measuring best for it, on AI Stupid Level's continuously re-run benchmarks (coding,…
AI & machine learning#machine-learning
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
An OpenAI-compatible endpoint that routes each request to the model measuring best for it, on AI Stupid Level's continuously re-run benchmarks (coding, reasoning, tool use), using your own provider keys. Use any OpenAI client with base URL https://aistupidlevel.info/v1 and a router key (aism_…). Send X-ASL-Sandbox: true to test without calling a provider or spending anything.
Endpoints 8
Chat
- POSTCreate a routed chat completion
/v1/chat/completionsOpenAI Chat Completions format. model is an auto-* routing mode (see the RoutingModel schema), "auto" for your saved preference, or a model id from GET…
Routing
- POSTPreview the routing decision without sending the request
/v1/route/previewSame body as POST /v1/chat/completions (messages may be omitted). Returns the strategy, the model the request would go to, and the fallback chain. Nothing is… - POSTRate an answer
/v1/router/feedbackRatings feed the production signals that adjust routing.
Account
- GETAllowance, credits and key budget for this month
/v1/usage - GETThis document
/v1/openapi.json
Models
- GETList routing modes and routable models
/v1/models - POSTCreate embeddings (OpenAI embedding models)
/v1/embeddingsRequires an OpenAI provider key. auto-embedding = text-embedding-3-small.
Anthropic
- POSTAnthropic Messages pass-through
/v1/messagesNative Anthropic request and response, sent to Anthropic with your Anthropic key. No routing or fallbacks: model must be a Claude model id. Accepts the router…
API details
- Base URL
https://aistupidlevel.info- Authentication
- A bearer token in the Authorization header
An API key in the x-api-key header - Operations
- 8 operations on 8 pathsPOST 5GET 3
- Main resources
- Account 2Models 2Routing 2Anthropic 1Chat 1
- Response formats
application/jsontext/event-stream- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- OpenAPI document · Support
How to test the AI Stupid Level Smart Router API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the AI Stupid Level Smart Router API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Create a routed chat completion” (POST /v1/chat/completions), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the AI Stupid Level Smart Router API?
An OpenAI-compatible endpoint that routes each request to the model measuring best for it, on AI Stupid Level's continuously re-run benchmarks (coding,… It is listed under AI & machine learning and has 8 endpoints.
Who publishes the AI Stupid Level Smart Router API?
It is listed from AI Stupid Level's public API description (an OpenAPI document), not published by AI Stupid Level on Swastik Codes. Anyone who controls aistupidlevel.info can claim the profile by adding a DNS TXT record.
What is the base URL of the AI Stupid Level Smart Router API?
Requests go to https://aistupidlevel.info. Endpoint paths are added to this base URL.
How do I authenticate with the AI Stupid Level Smart Router API?
It accepts 2 methods: A bearer token in the Authorization header; an API key in the x-api-key header.
How many endpoints does the AI Stupid Level Smart Router API have?
8 operations on 8 paths (5 POST, 3 GET). The largest groups are Account, Models, Routing, Anthropic.
Is forking the AI Stupid Level Smart Router API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.