What interwebs.ai is — and how to use it
interwebs.ai is a unified gateway for AI compute. The same frontier models you already use, behind one OpenAI-compatible API and one wallet, at the real provider price plus a flat 5% — with a 50%-off batch lane for anything that can wait an hour. Under the hood, a live price-matching engine routes every request to the cheapest model that clears your quality bar. Every price on the board is a real provider rate; nothing is simulated; every response carries a receipt.
What it does for you
One endpoint, every model
Text, image, video, PDF and audio behind a single OpenAI-compatible API and a single prepaid wallet. Swap between GPT, Claude, DeepSeek, GLM, FLUX, Veo, Sora and more by changing one string.
The only fee is +5%
Every request bills at the raw provider price plus a flat 5%. No subscription, no seats, no minimums — and the receipt on every response shows raw vs charged, to the nano-dollar.
Batch lane: −50%
Non-urgent text work runs async (usually under an hour, ≤24h worst case) on the provider’s own 50%-off Batch API. Half the list price, plus the same 5%. A real provider discount, passed through.
Price-aware routing
Ask for a quality tier instead of a model and each request routes to the cheapest live model that clears the bar — re-priced from the live board on every call, escalating automatically if a provider fails.
Custom routers
Build your own model id: categories in plain English, each routing to a pinned model or a live-repriced tier. Call it as model:"router:<your-slug>" from any OpenAI SDK.
Built for agents
Scoped revocable keys, per-key spend mandates, auto-reload, and an idempotent append-only ledger — so an autonomous agent can spend unattended without ever exceeding the budget you set.
Use it from your own AI in three steps
- Sign up and add funds. Create an account, then top up by card on the Overview tab (Stripe Checkout — unused balance is refundable any time). You only ever spend as requests bill.
- Mint an API key. Dashboard → API → Create key. It is shown once; keys are scoped and revocable in one click.
- Point your existing OpenAI SDK at the gateway. Change the base URL, nothing else:
from openai import OpenAI
client = OpenAI(
base_url="https://gateway.interwebs.ai/api/v1",
api_key="iwk_live_…", # minted in your dashboard
)
r = client.chat.completions.create(
model="auto", # cheapest live model that clears standard quality
messages=[{"role": "user", "content": "Summarise this contract…"}],
)
print(r.choices[0].message.content)
print(r.model_extra["interwebs"]) # the receipt: raw cost, your +5%, routing trailThe model string is the whole interface: auto (cheapest live model at standard quality), auto:economy / auto:standard / auto:premium (set the quality bar), any exact model id from the spot board (e.g. claude-sonnet-4-6), or one of your own custom routers:
curl https://gateway.interwebs.ai/api/v1/chat/completions \
-H "Authorization: Bearer iwk_live_…" \
-H "Content-Type: application/json" \
-d '{"model":"router:support-agent",
"messages":[{"role":"user","content":"I was double-charged…"}]}'Build a custom router in two minutes
A router is your own model id. Instead of hard-coding which model handles what, you describe your request types in plain English and each call routes itself:
- Dashboard → API → New router. Name it — the slug becomes your model id, e.g. router:support-agent.
- Add categories: a name (“Coding”), a when-to-use description (“programming, debugging, code review”), and a target — a pinned model, or a price tier that re-routes to the cheapest live model on every single call.
- Set the “everything else” fallback, optionally a system prompt and sticky routing (one model per conversation — best for coding agents), and save.
- Call it with model:"router:<slug>". One cheap classification call (≈$0.0001, itemized on your receipt) picks the category; the target model answers.
Onboard users from your own tool — and earn on their spend
Your app or agent can create accounts for its users machine-to-machine — no browser, one call. Pass your referral code and the new account is attributed to you permanently: you earn 2% of everything it ever spends (and 1% from anyone it refers), carved out of our 5% fee. The response mints the account's first API key; its owner funds the wallet and can claim the dashboard with the same email and password any time.
curl https://gateway.interwebs.ai/api/v1/signup \
-H "Content-Type: application/json" \
-d '{"email":"new-user@example.com",
"password":"…",
"ref":"YOURCODE",
"key_name":"made-by-your-tool"}'
# → 201 {
# "user_id": "…",
# "referred": true,
# "api_key": { "token": "iwk_live_…" } # shown once — hand it to your user
# }Attribution is first-touch and set only on brand-new accounts — an existing account can never be re-attributed, so nothing downstream of you can hijack your referrals. Invalid codes never block a signup; they just don't attribute. Signups are rate-limited per IP, and there are no per-head bounties: commission accrues only on real spend.
Common questions
Is it actually cheaper than going direct?
How do I know the prices are real?
What happens if a provider fails mid-request?
Do I need a subscription?
How does refer & earn work?
Can my agent top itself up?
Try it with a dollar
A dollar of balance is thousands of routed requests.
Create your free account