your inference hub,
stocked by everyone.

An OpenAI, Anthropic and Gemini-compatible inference hub, powered by free-tier keys people share. Share a key, earn credits, spend them on any model in the pool. Secrets get masked as ⟦tags⟧ before anything leaves, and we store metadata, never prompts.

from openai import OpenAI

client = OpenAI(base_url="https://api.inferhub.sh/v1", api_key="ih_...")
client.chat.completions.create(
    model="groq/llama-3.3-70b-versatile",
    messages=[{"role": "user", "content": "hello"}],
)
# that's the whole migration
keys in the pool
0
models routable
0
pools
1
prompts stored
0 B

how it works

four moving parts

  1. 01

    share a key

    Add a free-tier key from Gemini, Groq, Cerebras, OpenRouter, Mistral and friends. It is sealed to a separate keysmith process the moment it arrives.

  2. 02

    pool rules

    You set the limits: rpm, requests per day, daily tokens, allowed models, active hours. They are hard caps. We fail a request before we break one.

  3. 03

    secret tags

    Secrets we recognise, plus anything you mark, become tags before the request leaves. The model can use a tag, and we swap the real value back in on the way to you.

  4. 04

    verified routing

    We call each platform’s official endpoint ourselves, spread load across contributors, and retry on another key when one hits a limit. Canary requests track health and drift.

secret tags · see exactly what leaves

the provider gets a tag, you get the real thing back

Detectors catch common key formats, DSNs, JWTs, PEM blocks and password=-style assignments. They miss things, so anything you mark yourself is masked too. What this does and doesn't protect →

you wrote local

run the migration against postgres://admin:hunter2@db:5432/app, then ping sk_live_51Hx…9QzA

provider saw via contributor key

run the migration against ⟦db_url⟧, then ping ⟦stripe_key⟧

you got back rehydrated

tool_call run_migration
{ "dsn": "postgres://admin:…" }
⟦2⟧ secrets masked groq/llama-3.3-70b-versatile · ok pool: commons illustration, not a live request

pool modes

you decide who uses your key

Every key, in every pool, runs in one of three modes. v1 has no money anywhere: credits can't be bought or cashed out.

credit

The default, and how the commons works. Serve requests, earn credits, spend them on anything in the pool.

who can call
any inferhub account with access to the pool
caller pays
credits
contributor earns
credits

gift

You give your spare quota away. Callers still need an account, so per-user limits work.

who can call
any inferhub account with access to the pool
caller pays
nothing
contributor earns
embers (cosmetic, for the leaderboard)

open

No auth at all. The hub adds per-IP limits on top of yours. We can't tell who's calling, so pick your caps with that in mind.

who can call
anyone, no account, via the pool URL
caller pays
nothing
contributor earns
embers