Abstract
Glim is a gateway for AI inference that removes the caller's identity before a request reaches a model, keeps no copy of the content, and sells access to 60 models from 14 makers below each maker's published list price. Users sign in with a wallet, pay in USDC, and see the cost of every call beside its list price. A fixed-supply token, $GLIM, routes a share of its trading tax back to holders as hourly platform credit.
This paper describes the design: the request path, how identity is removed, the sealed tier that runs open-weight models inside attested hardware, the hold-and-settle billing model, the token's mechanics, the threats we defend against, and the limits we accept.
Problem
Using a frontier model today means handing over three things at once: the question, the identity of the person asking, and a payment relationship that ties the two together for years. Most AI products need an email, a card and a phone number. They log prompts for abuse review, product analytics and training, and they keep those logs long after the conversation is over.
Developers face a second problem: fragmentation. Each maker has its own account, key, invoice, rate limit and price sheet. Comparing models means comparing contracts.
And list prices are high for small buyers. Large customers negotiate committed-use discounts; individuals and small teams pay full price.
What a better default looks like
- The model should receive the question, and nothing about the person.
- Nothing sent should be kept after the answer is delivered.
- One key and one balance should reach every model.
- The price should be visible before and after every call, next to the list price.
Design goals
| Goal | What it means in practice |
|---|---|
| Unlinkability | A host cannot connect two requests to the same person, or any request to a person. |
| No retention | No prompt, reply or media is written to disk. Billing rows hold no content. |
| Compatibility | The API is the OpenAI wire format, so existing SDKs work by changing a base URL. |
| Honest pricing | Every call reports its charge and its list price. Discounts are real, per model, and dated. |
| No account | A wallet signature replaces email, password and forms. |
| Fail safe | A failed call costs nothing; a held amount is always released. |
Non-goals matter too. Glim does not try to hide content from hosts on the Anonymized tier; a host still reads the prompt to answer it. Hiding content is the job of the sealed tier.
Architecture
A request passes through four stages: the edge, the identity stripper, the router, and the host.
Edge
Terminates TLS, verifies the API key hash or wallet session, checks the spendable balance and places the hold. The edge is the only component that sees the wallet, and it sees it as a hash.
Stripper
Rebuilds the request from an allow-list of fields. Anything not on the list is dropped, rather than trying to find and remove identifying fields one by one.
Router
Chooses a pooled provider key and a region for the model, and streams the response back. Because many users share each pooled key, the host sees one large customer.
Hosts
The makers' own APIs, plus third-party hosts for open-weight models, plus the sealed enclaves.
Identity removal
The stripper is an allow-list: it copies the fields a model needs to answer and nothing else.
Three further measures stop correlation by timing and content:
- Pooled keys. Each provider key carries traffic from many users at once.
- Shared egress. Requests leave from a pool of addresses shared by all users.
- No end-user ids. Fields like
userormetadata.user_idare dropped even when a client sends them.
The content itself can still identify a person; a prompt that names you names you. Glim cannot fix that on the Anonymized tier, which is why it is labelled clearly and why the sealed tier exists.
Sealed tier & attestation
Four open-weight chat models run inside confidential-computing enclaves on GPUs with encrypted memory. The host operator cannot read the enclave's memory, and Glim's servers only relay ciphertext.
Each reply carries an attestation record with the measurement, issue time and a link to the raw signed report, so a user can verify it independently against the hardware vendor's root of trust.
Pricing & settlement
Why prices sit below list
Glim buys inference in volume under committed-use agreements and passes most of the discount on. It also runs open-weight models on its own capacity. Each model's discount is set per model and shown beside the list price, which is checked on the maker's own page and dated. Most models sit up to 50% below list, most Claude models 55% below, and a few closer to list where Glim's own cost is close to it.
Hold, settle, release
Holds make it impossible to overspend a balance with concurrent calls, without asking the user to pre-commit an amount. A call that fails before any output releases its hold in full; a stream cut short is charged for the tokens produced.
Payment
Users top up with USDC on Elysium to a deposit address derived for their wallet. There is no card, no subscription and no minimum. $GLIM is accepted at face value; tokens received this way are sold, not burned.
$GLIM token & Holder Credit
$GLIM has a fixed supply of 1,000,000,000 tokens, minted once at launch on Montra, on Elysium, with liquidity locked for good. There is no minting function.
Holder Credit
Each hour, the Holder Credit share of that hour's tax is valued in USDC and split across wallets holding about $20 or more of $GLIM, in proportion to each wallet's average balance over the hour. It is paid as platform credit, added to the balance automatically and spent before USDC. Credit cannot be withdrawn; it can only buy inference.
The effect is that trading volume turns into inference for the people who hold the token. The token does not grant governance, revenue share in cash, or any claim on Glim.
Security & threat model
| Adversary | Can | Cannot |
|---|---|---|
| Model host (Anonymized) | Read prompt and reply content | Learn the wallet, IP or device; link requests to a person |
| Model host (Sealed) | See ciphertext and timing | Read content; change the model without failing attestation |
| Network observer | See that you talk to Glim | See content (TLS) or which model you used |
| Glim operator | See request metadata at the edge in memory | Recover past prompts (never stored); read sealed content |
| Stolen API key | Spend the key's balance | Read history; survive revocation |
| Legal request to Glim | Obtain billing rows (90 days) and daily totals | Obtain content, which does not exist |
Controls
- Keys stored as SHA-256 hashes; secrets shown once.
- Per-key spend and last-use tracking with instant revocation.
- Content-free error logs, kept 7 days.
- Billing rows keep model, token count and cost for 90 days, then only daily totals.
- Independent security review of the edge and stripper before each major release.
Roadmap & limits
Live today: one key for 60 models, wallet sign-in and USDC deposits, image, video and music jobs, Glim Chat, Glim Console, the MCP server, the sealed tier and $GLIM with Holder Credit.
Next: a code mode in Glim Chat, Glim Code (a terminal agent) and Glim Browser. The full list is on the roadmap.
Known limits
- Anonymized hosts can read content. Use the sealed tier for content that must stay unreadable.
- Content that identifies you still identifies you.
- Sealed models are open-weight models; frontier closed models are not yet available sealed.
- Holder Credit depends on trading volume and can be zero in a quiet hour.
- Prices follow makers' list prices, which change; every price shows the date it was checked.
Questions or corrections: dev@glim.example. This paper is updated with each major release; the version is in the header.