Per-member keys
Issue, rotate, expire, IP-allowlist. A member's key never touches the provider credential — and the raw key is shown exactly once, at issue time.
Self-hosted · Source-available · v0.1.4
Tributary is a gateway you run yourself. Upstream, one pooled provider key — OpenAI and Gemini keys both work, along with any OpenAI-compatible endpoint; downstream, a personal key for every member. Each request is metered, quota-checked, and IP-fingerprinted before it leaves your building.
Self-host it free today Read the code
Issue, rotate, expire, IP-allowlist. A member's key never touches the provider credential — and the raw key is shown exactly once, at issue time.
Key used from two networks? Off-purpose requests? Auto-block suspends the key and waits for a person — detection never silently bans anyone.
Every control-plane mutation — who, what, when, from where. Quota denials, rotations, approvals: all on the record.
One container, one volume, SQLite inside — Docker does the rest. (POSIX shell; Windows users: WSL.)
git clone https://github.com/Phat1911/Tributary.git && cd Tributary
cp deploy/.env.example .env
echo "TRIBUTARY_MASTER_KEY=$(openssl rand -hex 32)" >> .env
docker compose up -d
docker exec -it -e TRIBUTARY_DATABASE_URL=sqlite:///data/tributary.db \
tributary tributary create-admin --email you@example.com --password '<generated>'
Then log in at http://localhost:8111. From there the
ladder is yours to climb: this machine → your LAN → your
tailnet → a public VPS — see the
sharing ladder
in the deploy guide.
Every security finding this project discovers — fixed or still open — is published in AUDIT.md. If you find a hole, it is yours to report: private disclosure, finder credit, no auto-ban.
They are hosted routers — one company's pipes. Your keys, traffic, and usage data pass through their building. Tributary is the building you own: self-hosted, source-available, your rules, your data. And they only route spend; Tributary also settles prepaid capacity by rule on Solana: an escrow only the program moves, payouts to suppliers by proof, a receipt for every request.
Inside one team, trust is fine. Once a buyer prepays for capacity, someone has to hold the money and the receipts — and if the operator holds them, the operator grades their own homework. The settlement layer makes the escrow a program no single person can move, payouts provable, and every money moment a public record. Inside one org you never see it.
For certainty, the way reserved capacity always works: a prepaid pool is load a supplier can schedule, so every GPU hour it fills is cheaper per token, and the money is committed without the supplier holding anyone's float. Nothing in this market is a resold key or a granted credit: provider terms forbid that, and so do we. Capacity comes from a supplier's own provider accounts or from open-weight models on hardware it controls; a supplier serves only its own team until a provider or reseller agreement exists.
The chain here is plumbing: micro-USD payouts, frequent windows. That needs fees that don't eat a micro-payment, finality in seconds, and mature tooling. Solana adds two things we'd have to fake elsewhere: Token-2022's native NonTransferable receipts (claims that cannot trade, by standard, not by promise) and a 2-of-2 Squads multisig vault. Users never need a wallet — so it's an engineering choice, not a religion, and multi-chain remains a roadmap option if operators ever pull elsewhere.
V1 is free forever, by strategy. The first dollar Tributary plans to earn is an operator's settlement fee (a fixed 5–10% band) on V2 marketplace volume — paid by operators, never by members. V2's launch gate includes provider/reseller agreements for credit transfer; until that gate opens, this is exactly what you see: a free, self-hosted governance tool. No dollar is planned from ToS-gray flows.
Yes — with one stated exception. The optional purpose classifier is off by default, disclosed to members, and sends prompts only to the classifier provider you configure. The default flow keeps keys and usage inside your infrastructure, and the audit log is append-only at the database level — direct UPDATE or DELETE is refused by the engine itself.
A token pays people for holding, not for serving, and the project's claim is that every number in it is real. Operators are paid a share of the settlement fee, in USDC, for work the chain can see. Growth is a sequence, not a slide: real spend first, then agents that need capped capacity, then a supplier who sees that volume.
It cannot. The gateway that counts is the operator's, so the accused is the witness. What exists today makes a lie small, slow, visible and expensive: caps on every root, a challenge window, the buyer's own log of every response, and an operator bond that a false ruling slashes. Two steps narrow it next: committing the usage rows with the root, and a signed receipt for every request, so a buyer's evidence no longer depends on the operator's records. Then two further steps, plans rather than code today. R4, trustworthy metering: run the counting code inside a secure enclave whose attestation proves which binary produced the count, or let a second, independent gateway recount a sample of requests and compare. R5, verifiable inference: a cryptographic proof that a given open-weight model, on a given prompt, produced a given answer with N tokens, so the count becomes a computation anyone can check instead of a claim; possible first for open-weight models, and research-grade for large ones.
And if the pool rewrote the answer, or served a cheaper model under a premium name? For a closed provider, which model answered is today the operator's word relayed to the buyer, and no buyer can prove otherwise; we say so rather than hide it. A tokenizer is the model's dictionary that cuts text into the pieces you pay for; a recount is the buyer counting those pieces themselves, from the request they sent and the answer they received.
A swapped model. The buyer's recount checks the token count, not the model; it cannot expose a swap, and we do not claim it can. What narrows it: an attested gateway that does its own TLS inside the enclave proves the request reached the AI provider's real endpoint, so the label on the receipt is as good as a direct call to that provider. What the provider runs behind its own endpoint is its word, for everyone, us included. Periodic canaries, fixed prompts with known answers run on a schedule and published, catch a crude swap. For open weights served on the supplier's own machine, the inference proof commits to the weights themselves, the only full answer. And every provider agreement must carry audit rights over per-model logs.
A rewritten answer. Three things narrow it. An attested gateway (R4) proves the forwarding code is the unmodified open-source binary, so the gateway itself cannot edit the stream. A second, independent gateway recounts a sample of requests and the answers must match. And for open-weight models the inference proof (R5) covers the answer itself, so any edit fails the check. For a closed provider, none of this is available to a buyer today; that is a limit we name, and the attested gateway is the first thing we would build for it.
The founder: an open-weight model on his own machine behind an OpenAI-compatible endpoint, with no provider to violate. A provider joins later for what it cannot get alone: demand it did not buy, load that fills GPU hours it already paid for, and prepaid balances without holding anyone's money. No provider has said yes in writing yet.
No, and the case that would be resale is the one the design refuses: paying strangers served from a provider's API behind one account. Until a provider or reseller agreement exists, only two kinds of capacity may enter a pool: the account holder's own team, and open-weight models on hardware the supplier controls. Today that line is policy; making the gateway enforce it is on the roadmap.
The four answers in full, with what is code and what is a paragraph: README, "Questions we were asked".
What comes next: the network layer — many operators, one settlement rail (V2).