BYOK LLM router
A BYOK (bring your own key) LLM router sends each request with your own provider key, so the provider bills you directly. The AI Stupid Level Smart Router works this way on every plan: your keys for OpenAI (GPT), Anthropic (Claude), Google (Gemini), DeepSeek, Moonshot AI (Kimi) and Z.ai (GLM), stored with AES-256-GCM, one router key in your code, and no markup on tokens.
1,000 routed requests a month free · your own provider keys · no card
01
Bring your own key means the router does not resell inference. You hold the accounts with the model providers. The router holds a key for each, sends every request with yours and returns the answer.
aism_ router key reaches every provider you connected, on one OpenAI-compatible endpoint. Your provider keys stay out of your application’s config.02
sk- prefix can send sk-aism_….03
Two bills, and they do not overlap: your providers bill tokens, and your plan covers routing.
04
X-AISM-Provider and X-AISM-Model on every response name the provider whose account will show the usage. When a key is missing or refused, the error code says which case it is: no_provider_key, provider_key_rejected or provider_quota_exceeded.05
Yes. From Pro Intelligence up, any OpenAI-compatible server you run or rent (vLLM, SGLang, llama.cpp, Ollama, LM Studio, TGI or a hosting company) can be added on the Providers page and named ep/<prefix>/<model>. Its API key, when it has one, is stored with AES-256-GCM as well. Your own endpoints in the docs.
In a workspace project, a request uses the project’s own key for that provider, then the workspace’s shared key, then, if the project allows it, the requester’s own. Project keys and routing rules.
06
https://aistupidlevel.info/v1 and send a mode such as auto-best, or a model id, as the model.curl -i https://aistupidlevel.info/v1/chat/completions \ -H "Authorization: Bearer aism_your_key_here" \ -H "Content-Type: application/json" \ -d '{"model": "auto-best", "messages": [{"role": "user", "content": "Summarise this contract in five points"}]}' # Response headers # X-AISM-Provider: <the provider whose key was used, and who bills the tokens> # X-AISM-Model: <the model that answered> curl https://aistupidlevel.info/v1/usage -H "Authorization: Bearer aism_your_key_here"
X-AISM-Provider names the provider whose key was used. GET /v1/usage then returns what the router itself counts: the month’s requests used and included. To try it before adding a provider key, send X-ASL-Sandbox: true: the routing is real, the answer is a mock, and nothing is called or counted.
Every endpoint is in the router documentation, and what an AI router is covers the terms. Settings for each tool are in its guide: Claude Code, which runs on your own Anthropic key, Cursor, LangChain and n8n, with the rest on the integrations hub. Related guides:
07
BYOK stands for bring your own key. A BYOK LLM router sits between your code and the model providers and sends each request with your own provider key, so each provider bills you directly and nothing is resold. The AI Stupid Level Smart Router works this way on every plan: you add your provider keys, your code holds one router key, and the model for each request is chosen from the public boards.
No. Requests go out with your own keys and each provider bills you at its own list price. The router adds nothing per token and takes no percentage of your spend, at any volume. Plans count routed requests instead. Free includes 1,000 routed requests a month on every provider and every mode, with your own provider keys and no card. Pro Intelligence $12/mo for 10,000 routed requests a month; Developer $25/mo for 100,000. Plans and prices.
OpenAI (GPT), Anthropic (Claude), Google (Gemini), DeepSeek, Moonshot AI (Kimi) and Z.ai (GLM). One key is enough to start, and the modes then rank that provider’s models. Each key you add widens the field and gives fallbacks another provider to go to.
A credit-based router calls the providers on its own accounts and deducts usage from a balance you bought from it. A BYOK router sends each request with your key, so the provider’s bill is the whole token bill and your own rate limits and data terms apply. AI aggregator explains the two billing models, and Best AI routers in 2026 compares the options.
Free includes 1,000 routed requests a month on every provider and every mode, with your own provider keys and no card.
1,000 routed requests a month free · your own provider keys · no card
Coding, Reasoning, Tool use and Combined, over 24 hours, 7 days and 30 days.
Already have an account? Log in