Skip to content
idylDocs
01 — Whitepaper

IDYL Whitepaper

138 min readdocs/WHITEPAPER.md

The world's idle intelligence, put to work.

Use it. Build with it. Earn from it.

Version v0.3 — November 2026 · IDYL contributors

ComponentStatus
IDYL Gateway, IDYL Node, IDYL LedgerBeta (testnet)
IDYL Chat (with guest access), IDYL Desktop, Unbound tier, The FloorBeta (testnet)
Privacy grades: Community, Sealed · relay, Sealed · end-to-endBeta (testnet). Sealed has not been validated on real confidential-computing hardware. Its attestation checks and its encrypted channel are tested with simulated attestation only
Credits: Solana Pay (USDC, SOL) and card (Stripe)Beta (testnet). Each method works only where the Gateway operator has configured it. Tested against local stand-ins only: not yet run against Stripe, a mainnet Solana RPC node or a live price service
Pay with $IDYL: tokens passed through to the serving node, the protocol's cut burnedBuilt; switched off until the token exists
Real-money ledger and node payoutsBuilt. Payables accrue from credit-paid work; payouts are a manual batch run by the operator. No payout has been made yet
IDYL Pro, the credit pool, Season 0 Idle Points, weekly reports, transparencyBeta (testnet)
IDYL Bond: node bonds and stake for ProWritten for devnet; unaudited; never run on devnet or mainnet. An internal review by one AI reviewer — not an audit — found and fixed one Medium and one Low issue. 42 unit tests; the integration suite passes on a local validator. Slashing by the slash key is bounded per 24-hour window and the admin transfer is two-step (Section 22)
MCP server, examples, Docker Compose, release packageBeta
IDYL Exchange, BYOK Router, output-side Floor, OpenRouter listingRoadmap

This document describes a system under active development. Every price in it is a target rate for the beta and may change. Every target in it is a goal, not a measurement. Nothing in it is an offer of securities, a solicitation, a promise of profit or legal advice. $IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. See the Disclaimer.

What changed in v0.3. Five things, in the order we think they matter.

  1. Product before token. The token launch now waits for a public testnet season and a published launch gate: seven conditions about real usage, real revenue, security and legal review (Section 23).
  2. Provable privacy, in honest grades. Every request is served at one of three grades — Community, Sealed · relay and Sealed · end-to-end — and every response says which. Sealed runs inside attested confidential-computing hardware; end-to-end requests are encrypted on the caller's device with the IDYL Sealed Channel, so the Gateway relays ciphertext only (Section 12).
  3. A token with jobs on day one, funded only by what callers pay. Real payments are built: prepaid credits bought with USDC, SOL, a card or $IDYL. Paid work is tracked in a real-money ledger: 85% of every charge is owed to the node that served it, and the protocol keeps 15% of what was paid in money. $IDYL is node collateral, a stake that unlocks IDYL Pro and a revenue-capped pool of usage credits, a discounted way to pay in which the tokens go to the node that did the work and the protocol's cut is burned, and the asset of a revenue-funded buyback and burn (Sections 13, 14 and 17).
  4. Rewards for verified capacity, not farming. Season 0 awards Idle Points for capacity the Gateway has measured itself and for paid work. The size and funding of any reward are not decided, and this paper states no amount (Section 15).
  5. Trust earned in public. The network publishes what it stores, a canary, weekly reports and a trust checklist with honest statuses (Section 18), and ships an MCP server, examples and a self-hosting stack (Section 19).

Every v0.2 parameter — rates, the 85/15 and 50/50 splits, the bond multiplier, the slashing schedule, deadlines and the 200,000-token free tier — is unchanged.

Abstract#

IDYL is an OpenAI-compatible inference network built for three audiences.

  • Use it. IDYL Chat is a chat app in the browser. There is no account: a wallet signature, or for a first try a guest token earned with a few seconds of proof-of-work, is the only sign-in, and conversation history stays in the browser, optionally encrypted. It offers Open models and, for adults who opt in, Unbound models, at a privacy grade the user chooses.
  • Build with it. The IDYL API gives developers and software agents one key for open-weight models — Llama, Qwen, Gemma, DeepSeek, Mistral, gpt-oss and others — at target rates below typical list prices, through the Chat Completions interface they already use, and through an MCP server for agent tools.
  • Earn from it. IDYL Desktop is a one-click app for Windows, macOS and Linux that lets a computer serve the network while its owner is away, and pauses the moment they return. Power users run the IDYL Node command-line program instead.

The capacity comes from machines that are already paid for and mostly idle: gaming GPUs, Apple-silicon Macs, workstations and small datacenters. Each runs an existing local model runtime (Ollama, vLLM or llama.cpp) and an IDYL client that pulls work over outbound HTTPS, streams results back and signs every request with a Solana keypair. A second, much smaller class of capacity — datacenter GPUs running in confidential-computing mode — serves the Sealed grades.

Five mechanisms hold the network together. Routing sends each request to a node chosen by measured reliability, measured latency and bonded collateral. Verification samples the work with canary prompts, measures each node's real throughput, and, for Sealed, checks hardware attestation. The Floor classifies every request with Llama Guard 3 before a model sees it and stops the categories no tier will serve. Payments turn usage into revenue through prepaid credits. Economics owes nodes 85% of what callers pay, funds the protocol with the remaining 15%, and directs half of protocol revenue to a weekly buyback and burn of $IDYL whose transactions are published. There are no token emissions: a node is owed money only for work that was paid for from credits. Where those credits were bought with $IDYL, the node is paid in those same tokens. Where they were granted, the node's share is charged to the treasury, and the ledger publishes the treasury's net position.

$IDYL is a fixed-supply Solana token to be launched fairly on pump.fun, after the launch gate is met. It is collateral for nodes, a stake that unlocks IDYL Pro, a discounted way to pay that passes the tokens to the node that did the work and burns the protocol's cut, and the asset of a revenue-funded buyback and burn. It promises no return.

This paper sets out the problem, the architecture, the job lifecycle, the routing and slashing formulas, the products, the Unbound tier and The Floor, the privacy grades and the Sealed Channel, payments, Pro, Season 0, the economics, the token and its regulatory context, transparency, distribution, the risks and the launch gate — including the problems we have not solved.

1The idle-capacity problem#

Capable inference hardware is everywhere, and most of it is doing nothing.

A gaming PC with a modern GPU waits most of the day for its owner. A recent Mac with unified memory can hold a capable model and generate text at conversational speed, and spends most of its life showing a lock screen. Workstations sit idle between projects and overnight; small datacenters provision for peaks and carry spare capacity in the troughs. All of this hardware is already paid for. The marginal cost of a token produced on it while it would otherwise be idle is electricity and wear.

Demand has changed shape at the same time. Open-weight models are now good enough for a large share of everyday work — summarisation, extraction, classification, drafting, coding assistance, tool calling — and for the long tail of background tasks that software agents perform unattended. Much of this work needs neither the largest frontier model nor the last hundred milliseconds of latency. It needs to be inexpensive, available, and reachable through the interface developers already use. People, too, increasingly want a chat assistant that does not require an account, does not keep their history on someone else's server, and does not refuse ordinary adult questions.

The two sides rarely meet. An owner who wants to sell idle cycles faces real friction: exposing a home machine to inbound traffic, finding customers, metering usage, collecting payment and proving that the work was done honestly. A developer who wants inexpensive open-weight inference faces the mirror image: no reason to trust an anonymous machine, and no practical way to pay thousands of them.

IDYL removes both frictions with one protocol: a standard API for callers, a minimal program for suppliers, and a settlement layer that measures, routes, verifies and pays. IDYL Chat and IDYL Desktop put that protocol within reach of people who will never read an API reference.

This paper makes no claim about the total size of idle capacity or of the inference market. Those figures are difficult to measure, and we will not present estimates as facts. The network publishes what it actually serves on the IDYL Ledger and in weekly reports, and that record is the only performance claim we make.

2Why subscription pooling fails#

A recurring idea in this space is to aggregate consumer AI subscriptions — accounts on chat products sold at a flat monthly price — and resell their capacity by the token. Some projects ask members to contribute session tokens or account credentials; others operate fleets of accounts behind a single API.

IDYL rejects this model by design, for three reasons.

It breaks provider terms. Consumer subscriptions are licensed for personal use by the account holder. Sharing credentials, automating consumer interfaces and reselling the output are typically prohibited. A business built on that breach exists at the provider's discretion, and its suppliers carry the consequences.

It invites correlated bans. Providers detect pooled and automated usage, and when they act, they act on every account that matches the pattern at once. A network whose supply is consumer subscriptions does not lose one supplier at a time; it can lose all of them in a single enforcement wave, together with whatever those suppliers paid for their accounts.

It is a single point of failure presented as a network. However many accounts are pooled, every request still terminates on one provider's infrastructure, under one provider's policy. The decentralization is cosmetic.

IDYL's position is fixed and is reflected in the code:

  • IDYL never pools, shares or resells any consumer AI subscription.
  • IDYL never asks for third-party account credentials, cookies or session tokens.
  • IDYL never resells official plans.

Closed frontier models will be reachable through IDYL only via the BYOK Router ("bring your own key"), a roadmap module described in Section 4.5: a caller's own provider key, used only for that caller's requests, never shared and never used to serve anyone else. Sealed providers (Section 12.7) are a different thing: confidential-computing inference services that a Gateway operator contracts with under its own commercial agreement, not anyone's consumer plan.

The supply side of IDYL is open-weight models running on hardware that their operators control. That is the only kind of supply that can be decentralized honestly.

3Design goals#

  1. Compatible by default. Any client that speaks the OpenAI Chat Completions API works by changing a base URL and an API key. No proprietary SDK and no new request format.
  2. Zero-friction supply. A node runs on an ordinary machine behind an ordinary router: no inbound ports, no dependencies beyond Node.js and an existing model runtime, no GPU vendor lock-in. For people who do not use a terminal, a desktop app does the same job in three screens.
  3. Paid from revenue. Node income comes from what callers pay, not from token issuance. A network that pays suppliers with newly minted tokens subsidises usage with dilution. IDYL has no emissions.
  4. Collateral with consequences. Nodes that want paid work post a bond. Failure and dishonesty cost bond, and slashed tokens are destroyed rather than redistributed.
  5. Measured, not claimed. Reliability, latency and throughput are measured by the Gateway and published. Self-reported figures carry no weight in routing or in rewards.
  6. A floor under everything. Every request passes the same safety check, whatever the tier, the grade and the caller. Choices above the floor belong to adults and operators who opt in; nothing below it is served.
  7. Opt-in, both sides. No caller receives an Unbound model without a signed attestation, and no operator serves one without switching it on.
  8. Provable where possible, honest where not. Where privacy can be backed by hardware attestation and encryption, it is, and the evidence is public. Where it cannot, we say plainly that the operator can see the request, and we never call it confidential.
  9. Product before token. The token launches after the product has real users, real suppliers and real revenue, measured against a gate published in advance.
  10. Revenue before rewards. Anything the network gives back — pool credits, points — is capped by work that actually happened or revenue that actually arrived. Nothing is promised in dollars.
  11. Honest about limits. Where verification is probabilistic, privacy is partial, a classifier can be wrong, or a component is not yet live or not yet validated, we say so in the product, in the documentation and in this paper.
  12. Progressive decentralization. Ship components that work and can be operated responsibly, then move control and custody on-chain as each component earns it.

4Architecture#

IDYL consists of the modules below. Their names are used consistently in code, product and documentation.

ModuleResponsibilityStatus
IDYL GatewayOpenAI-compatible endpoint: identity, admission, metering, routing, failover, streaming relayBeta (testnet)
The FloorSafety layer: classifies every request before a model sees itBeta (testnet)
IDYL SealedThe two Sealed grades: node attestation, the Sealed Channel, sealed providersBeta (testnet); not validated on real confidential hardware
Payments and creditsUSD credit balances; Solana Pay and Stripe top-ups; Pay in $IDYL; the real-money ledger; node payablesBeta (testnet); each method off until configured; not yet run against the real payment services
IDYL ProStake-based tiers and the weekly credit poolBeta (testnet); the stake program is not deployed, so Pro status comes from operator overrides
Idle PointsSeason 0 record of verified capacity and paid workBeta (testnet)
IDYL NodeSupplier CLI beside Ollama, vLLM or llama.cpp: long-polls for jobs, streams results, signs requestsBeta (testnet)
IDYL DesktopOne-click supplier app for Windows, macOS and Linux, built on the IDYL Node librariesBeta (testnet)
IDYL ChatBrowser chat app: wallet or guest sign-in, Open and Unbound models, privacy grades, local historyBeta (testnet)
IDYL LedgerPublic proof-of-supply and reports: nodes, capacity, tokens served, latency, paid revenue, payables, burnsBeta (testnet)
IDYL BondSolana program for node collateral, slashing and burns, and stake-for-Pro positionsDevnet, unaudited; not yet deployed
BYOK RouterOptional routing to closed providers using the caller's own keyRoadmap
IDYL ExchangeMarket for prepaid inference creditsRoadmap

4.1Gateway#

The Gateway is the network's front door and its accountant. It exposes /v1/chat/completions and /v1/models in the OpenAI format, meters input and output tokens on every request, and enforces allowances. For each request it identifies the caller, decides what pays for the request, runs The Floor (Section 10), selects a node at the requested privacy grade, relays the response and retries on a different node if the first one fails. It also hosts the node protocol, the model catalog, the Ledger and report endpoints and the website, so a single service runs the whole stack.

API keys are issued against a wallet signature rather than an email address: the caller signs a one-time nonce message and receives a key of the form idyl_sk_…. The wallet is the account; there is no password to leak. A second signed message, the Unbound attestation, unlocks the Unbound tier for that wallet (Section 9.4). A guest token (idyl_gt_…), earned with proof-of-work, allows a few messages without any wallet (Section 13.2).

In testnet the Gateway is operated by the core contributors. It is a trusted, central component, and this paper treats it as one: in Section 20 for security, in Section 17.5 for the token, and in Section 21 for the path away from it.

4.2Node#

The Node is a zero-dependency Node.js program. It does not run models itself. It connects to a runtime the operator already uses — Ollama by default, or any OpenAI-compatible local server such as vLLM or the llama.cpp server — and acts as a courier between that runtime and the Gateway.

Every connection the Node makes is outbound HTTPS: it registers, sends heartbeats, long-polls for work and streams output back. Because it never accepts inbound connections, it works behind home routers, carrier-grade NAT and corporate firewalls without port forwarding.

The Node identifies itself with an ed25519 keypair in Solana's format. The same key signs protocol requests and, on mainnet, controls the node's bond. An operator may name a separate Solana address to receive payouts. Operators can restrict the Node to periods when the machine is idle, cap the load it may impose, choose whether to serve Unbound models, offer guard capacity to The Floor, name a referrer for Season 0, and — on confidential-computing hardware — run in sealed mode with an attestation command (Section 12.4).

4.3Ledger#

The Ledger is the network's public record. Through /api/stats.json, /api/leaderboard, /api/nodes/:id, /api/floor, /api/payouts/:nodeId, /api/reports and /api/transparency it publishes nodes online (including Unbound-serving and sealed nodes), capacity, recent throughput, requests and tokens served, latency, success rate, per-node performance, The Floor's counts, paid revenue and its split, what each node is owed and has been paid in USD and in $IDYL, the treasury's net position, queued buybacks, the Pay-in-$IDYL burn queue and recorded burns.

Two kinds of money figure appear on the Ledger, and they are always labelled. Metered figures value all usage at target rates, whether or not anyone paid. Paid figures count only work that was paid for from credits. If a number is not on the Ledger or in a report, it is not a claim we make.

4.4Bond#

IDYL Bond is a Solana program that holds node collateral in $IDYL. A node's bond raises its routing weight up to a cap, makes it eligible for paid jobs on mainnet once it meets the minimum of 10,000 IDYL, and can be slashed according to a published schedule. Slashed tokens are burned. Unbonding is subject to a 7-day cooldown, and tokens in cooldown remain slashable, so a node cannot withdraw collateral to escape a penalty. The program enforces the slashing schedule's caps on every slash, and the slashing key is separate from the administrative key. Those caps bound one slash, not how many are made: the slashing key is a trusted key (Section 22).

The same program holds stake-for-Pro positions (Section 14): separate accounts, never slashable, with their own 7-day unstake cooldown. The program is written for devnet and is unaudited. Its 42 unit tests pass and its integration suite passes on a local validator; it has never run on devnet or mainnet. An internal review by one AI reviewer found and fixed one Medium and one Low issue; the two risks it first accepted (repeat slashing within the per-call caps, a single-step admin transfer) are closed in the code (Section 22). During testnet the Gateway records slash points off-chain in place of on-chain slashing.

4.5BYOK Router (roadmap)#

The BYOK Router is an optional module, not yet part of the testnet Gateway. A caller supplies their own key for a provider such as OpenAI, Anthropic or Google; requests that name a closed model go to that provider with that key, with failover across the caller's configured providers. A key is used only for the caller who supplied it, is never pooled, and leaves the caller bound by their own provider agreement. BYOK traffic never reaches IDYL nodes and is not part of node revenue.

4.6Exchange (roadmap)#

IDYL Exchange is a planned market for prepaid inference credits. Buyers purchase network capacity forward, below list rates; the commitments give node operators visibility into future demand. Its design will be published for comment before it is built. The credits in Section 13 are ordinary prepaid balances, not Exchange instruments: they cannot be traded or transferred.

4.7Clients#

IDYL Chat (Section 8) and IDYL Desktop (Section 11) are clients of the same public protocol. Chat is a caller: it uses an ordinary API key or guest token and the public endpoints. Desktop is a supplier: it reuses the IDYL Node libraries and speaks the same signed node protocol. The MCP server (Section 19.1) is another caller. None has privileges that a third-party client could not have.

4.8Gateway plugins#

Every v0.3 feature is a Gateway plugin: a file in services/gateway/lib/plugins/ that extends the Gateway only through a small, documented contract — routes, an identity hook, a preparation hook, an admission hook, a pre-dispatch hook, views of the public statistics and node records, shared services, and events for completed, partial and failed jobs. The core — the request pipeline, the job manager, the node registry and the accounting module — enforces the rules that no plugin may weaken: the order of the pipeline, The Floor, and the Sealed invariants in Section 5. Plugins load in a fixed order:

OrderPluginResponsibility
10PrivacyDaily-salted IP hashes held in memory; node rotation per identity; the x-idyl-privacy header on Community responses; /api/transparency
20SealedNode attestation, the public key directory, the end-to-end endpoint, Sealed relay to sealed nodes or sealed providers
30GuestProof-of-work challenges, guest tokens and their limits
40PaymentsCredit balances, Solana Pay and Stripe, Pay in $IDYL, credit admission and deduction, the real-money ledger and node payables
50ProStake reading, Pro and Pro+ allowances and Sealed discounts, the weekly credit pool
60PointsSeason 0 capacity checks and Idle Points, limits and flags, leaderboard and export
70ReportsWeekly reports and recorded burns

Each plugin ships with its own tests and its own engineering note (Appendix D). A Gateway operator can run any subset; a Gateway with no plugins behaves like v0.2. A plugin that fails while loading stops the Gateway rather than letting it start half-configured.

5Job lifecycle#

From the caller's perspective a request is one HTTP call. Underneath, it is a fixed sequence of steps designed to tolerate suppliers that are individually unreliable. The order matters and is enforced by the Gateway core: a request that fails an earlier step never reaches a later one.

  1. Identify. The caller sends POST /v1/chat/completions with Authorization: Bearer idyl_sk_… (a wallet's API key) or Bearer idyl_gt_… (a guest token). The Gateway resolves the token to an identity — a wallet or an anonymous guest — and applies rate limits per IP address and per key.
  2. Validate and read the privacy grade. The request body is checked against the Chat Completions format. A request is Community unless it asks for Sealed with the header x-idyl-privacy: sealed or the body field "idyl": {"privacy": "sealed"}; any other value is refused with 400 invalid_privacy.
  3. Check access to the model. The guard model cannot be used for chat (400 model_not_selectable). An Unbound model needs the wallet's Unbound attestation (403 unbound_attestation_required).
  4. Prepare. Plugins see the validated request. This is where a Sealed request is refused at once, with 503 sealed_unavailable, if no sealed node and no sealed provider serves the model.
  5. Admit: decide what pays. The Gateway asks, in a fixed order, whether the request is covered by a guest allowance, then a Pro allowance, then credits; the first that applies wins. Otherwise the wallet's free tier applies. A request nothing covers is refused: 402 credits_required when the free tier does not cover that kind of request and the wallet has never held credits; 402 insufficient_credits when credits are needed and the balance is too low; 429 insufficient_quota when the daily allowance is used up and the wallet has never held credits; and 402 guest_limit or 403 guest_model_not_allowed for guests (Section 13.8).
  6. Check availability. If no connected node serves the model, the Gateway returns 503 model_unavailable at once rather than queueing indefinitely.
  7. Pass The Floor. The Gateway classifies the latest user message, together with any system prompt, as described in Section 10. A blocked category ends the request with 451 floor_blocked; a self-harm signal ends it with a short care response; otherwise the request continues. A Sealed request is only ever classified by the operator's guard endpoint or by a sealed node — never by a Community machine.
  8. Constrain routing. For a Community request, the Gateway avoids the node that served the same identity in the last 10 minutes when another is available. For a Sealed request, the eligible set is only nodes with a current, verified attestation, or a configured sealed provider.
  9. Enforce the Sealed invariant. The core refuses, with 503 sealed_unavailable, any Sealed request that is not about to be served as Sealed. Nothing a plugin does, or fails to do, can cause a Sealed request to be served on Community hardware.
  10. Enqueue with deadlines. The job is assigned with a job deadline (60 seconds by default) and a first-token deadline (15 seconds). If no eligible node picks the job up within 15 seconds, the caller receives a 503 with a Retry-After header. The job a node receives carries only the model, the messages, the sampling parameters and the deadlines: no wallet, key, IP address, guest id or payment information.
  11. Deliver by long-poll. Each node keeps a GET /nodes/jobs/next request open for up to 25 seconds. If a job is ready, the Gateway answers immediately with the job; if not, it answers 204 No Content and the node asks again. This gives push-like latency over outbound-only HTTPS and works behind any NAT.
  12. Execute locally. The node forwards the request to its local runtime and reads the output as a stream.
  13. Stream back. As tokens arrive, the node posts them to POST /nodes/jobs/:id/chunk. The Gateway relays each chunk to the caller as a server-sent event (data: {...}) in the OpenAI streaming format, or assembles them into a single response when streaming was not requested.
  14. Complete and settle. The node posts POST /nodes/jobs/:id/complete with final usage. The Gateway ends the stream with data: [DONE], meters the request, and — if credits paid for it — deducts the cost and adds the node's share to what it is owed: 85% of the charge in USD, or, where the credits were bought with $IDYL, 85/90 of the tokens behind the charge. The part of the charge that was bought with USDC, SOL or a card is recorded as paid revenue (Section 13.9). Every response carries x-idyl-privacy (the grade actually served), x-idyl-node, x-idyl-job and x-idyl-floor; a Sealed · relay response adds x-idyl-sealed-by and a Sealed · end-to-end response adds x-idyl-attestation; credit-paid responses add x-idyl-credits-remaining; Pro-allowance responses add x-idyl-pro; guest responses add x-idyl-guest-remaining.
  15. Fail over. If the node reports failure (POST /nodes/jobs/:id/fail) or misses a deadline before any output has reached the caller, the Gateway requeues the job to a different eligible node, up to two retries. A failure after output has started streaming cannot be retried transparently without duplicating text, so the stream ends with an error, and the caller pays only for what was delivered. Every failure lowers the node's reliability score. A missed deadline also records a slash point; a failure the node reports honestly does not.

A Sealed · end-to-end request follows the same steps through its own endpoint, POST /v1/sealed/chat/completions, with two differences that follow from the Gateway being unable to read it: The Floor runs inside the enclave instead of at step 7, and the job is delivered to the one node that holds the key the caller encrypted to, with no failover (Section 12.6).

5.1Signed node requests#

Every node-protocol call carries three headers:

HeaderContent
x-idyl-nodeThe node's identifier
x-idyl-tsThe request timestamp
x-idyl-sigBase58 ed25519 signature over ${ts}.${method}.${path}.${sha256(body)}

The Gateway verifies the signature against the public key the node registered and rejects timestamps outside a short window. The signature binds each request to its method, path and exact body, so a captured request cannot be replayed later or altered in transit. Completion reports — including the usage figures that determine earnings — and attestation submissions are therefore attributable to the node's key, which is what makes misreporting slashable.

5.2Streaming relay#

The Gateway is a relay, not a buffer: chunks reach the caller as they arrive, so time to first token is the node's own speed plus one hop each way, plus The Floor's classification round trip. The first-token deadline exists because a node that accepts a job and then stalls is worse than one that refuses it; a retry is only cheap before output has begun.

6Routing and scoring#

Routing decides which node serves each request. It must favour nodes that are reliable and fast, give bonded nodes an advantage without letting collateral buy unlimited priority, and avoid sending all traffic to a single best node. The same rule routes guard jobs for The Floor among nodes that serve the guard model, and Sealed · relay jobs among attested nodes.

6.1Reliability#

Each node carries a reliability score, an exponentially weighted moving average (EWMA) of job outcomes:

Text
reliability ← α · outcome + (1 − α) · reliability
α = 0.1      outcome = 1 for a successful job, 0 for a failure
reliability starts at 0.9 for a new node

A new node starting at 0.90 moves to 0.91 after one success and to 0.81 after one failure. Three consecutive failures take it to 0.66. Twenty consecutive successes take it to about 0.99. With α = 0.1, recent behaviour dominates while a single unlucky job does not erase a long record.

6.2Bond multiplier#

Bonded $IDYL increases routing weight, logarithmically and with a cap:

Text
multiplier = 1 + min(0.5 · log10(1 + bond / 10000), 1.0)
Bond (IDYL)Multiplier
01.00×
10,0001.15×
100,0001.52×
1,000,0002.00× (cap)

The logarithm gives diminishing returns: each additional token of bond is worth less than the one before. The cap means that no amount of collateral can buy more than twice the weight of an unbonded node with the same performance. Stake for Pro is not bond and never affects routing.

6.3Score#

Text
score = reliability² × (1 / (1 + p50LatencyMs / 1000)) × multiplier

p50LatencyMs is the node's median time to first token over its most recent 64 jobs, measured by the Gateway rather than reported by the node. A node without samples yet is assigned the median of the other candidates, a neutral prior that neither favours nor starves it. At a median of 1,000 ms the latency factor is 0.5; at 3,000 ms it is 0.25.

Reliability is squared deliberately. A node at 0.80 reliability has a reliability term of 0.64; at 0.98 the term is 0.96. Unreliability is expensive for callers — every failure costs a retry and adds latency — so it is penalised more than linearly.

The terms interact in a way that is easy to state: at equal latency, the maximum bond multiplier (2.00×) is worth exactly as much as the difference between 70% and 99% reliability, because 0.99² ≈ 2 × 0.70². Collateral helps, but it cannot rescue a node that fails often, and a node that fails often is also slashed.

Worked example. Four nodes serve the same model:

NodeReliabilityp50 latencyBond (IDYL)MultiplierScore
A0.98800 ms100,0001.52×0.811
B (new)0.90400 ms01.00×0.579
C0.991,200 ms1,000,0002.00×0.891
D0.97500 ms10,0001.15×0.722

Node C scores highest despite being the slowest, because it is both the most reliable and maximally bonded. Node B, a newcomer with no bond, still has a meaningful score and will receive traffic.

6.4Selection#

The Gateway does not always pick the single highest score. Among nodes that serve the requested model and have free concurrency, it uses a power-of-two-choices rule weighted by score: it draws two distinct candidates with probability proportional to score and dispatches to the better of the two, breaking ties in favour of the node with fewer jobs in flight. This keeps the best nodes busy without overloading any one of them, lets new nodes earn a track record, and degrades gracefully when the top node goes offline.

The eligible set is filtered before scoring. For an Unbound model it contains only nodes that registered with Unbound enabled; for a guard job, only nodes that offer guard capacity; for a Sealed · relay request, only nodes with a current attestation. A Sealed · end-to-end request is not routed at all: it goes to the node whose key it was encrypted to.

6.5Retries and deadlines#

ParameterValue
Job deadline (default)60 s
First-token deadline15 s
Maximum retries2, each to a different node
Node long-poll window≤ 25 s

The protocol design anticipates price as a routing input. In the beta every node serves at the network's target rate, so price does not differentiate nodes and is not part of the score. If node-set pricing is introduced, the revised scoring rule will be published before it takes effect.

6.6Privacy-aware routing#

Two filters apply before the score. They can only narrow the eligible set, never widen it.

  • Rotation. The Gateway remembers, for 10 minutes and in memory only, which node last served each identity (a wallet or a guest). When at least two eligible nodes serve the model, that node is excluded from the next draw for the same identity, so no single operator sees a long run of one person's consecutive requests. Rotation cannot hide what a client sends: each request carries whatever conversation history the client includes. It does not apply to Sealed · end-to-end requests, which are addressed to one key.
  • Grade. A Sealed · relay request is eligible only for nodes whose attestation is verified and unexpired, or for a sealed provider that lists the model. A Community request never uses a sealed provider.

7Verification and slashing#

The Gateway cannot directly observe what happens on a node. A dishonest operator could serve a smaller model than advertised, apply a more aggressive quantization, truncate output, fabricate text, misreport usage, or claim capacity it does not have. IDYL addresses this with layered, statistical checks whose limits are stated plainly below. The same checks apply to every tier: an Unbound model id names one specific published build, and serving anything else under that id is substitution.

7.1Canary sampling#

The Gateway periodically issues canary jobs: prompts for which reference outputs are known in advance. Canaries are run at temperature 0 with a fixed seed. Reference outputs are computed ahead of time on reference configurations of the same model build, and the Gateway stores a hash (SHA-256) of the normalised output prefix for each canary. When a node returns a canary, the Gateway hashes the node's output the same way and compares.

Canaries use the same job format as ordinary traffic, and the node is never told that a job is a canary. A determined operator could still try to recognise canaries by their content or parameters, so the production design uses a large, regularly regenerated, private canary corpus.

What runs in testnet today is simpler, and we describe it exactly. Every ten minutes, for each model served by at least two online nodes, the Gateway sends one short fixed prompt (temperature 0, seed 7) to the two nodes checked least recently and compares the SHA-256 hashes of their outputs. Agreement establishes the model's reference hash. A node whose output deviates from an established reference, or from a strict majority, records canary slash points and a reliability failure. A disagreement between two nodes with no reference yet is inconclusive and penalises no one, because two disagreeing nodes cannot show which one is wrong. A fixed prompt is recognisable, so this mechanism catches careless substitution rather than a determined adversary; rotating prompts and trusted reference nodes are the next step.

7.2Redundancy sampling#

In the full design, a small fraction of real jobs is also dispatched to a second node. Redundancy sampling of real jobs is not enabled in the testnet Gateway. For requests made at temperature 0, two honest nodes running the same model build should agree, and disagreement is a strong signal. For sampled requests (temperature above 0), exact agreement is not expected; comparison is limited to coarse properties that reveal gross substitution, such as a different model family. In either case, disagreement does not slash anyone directly. It triggers targeted canaries against both nodes.

Redundancy has a privacy cost: a duplicated job is seen by a second operator. It would only ever duplicate Community jobs to Community nodes and Sealed jobs to sealed capacity.

7.3Capacity checks#

Season 0 adds a third check, aimed at a different lie: claiming to be many machines. At a regular interval (30 minutes by default) the Gateway sends every online, unpaused node with a free slot one benchmark job at the same instant, on the largest catalog chat model that node serves. The job is indistinguishable from a chat job: a short, varying prompt with a random nonce and a small output limit. The Gateway measures throughput itself — output characters divided by four, per second, from first token to completion — and never trusts a token count reported by the node. A result needs at least 120 output characters to count, and the Gateway keeps a moving average per node. The gap between waves varies at random between half and one and a half times the interval, so a wave cannot be predicted. Time a node takes to start answering beyond a 2-second allowance is counted as generation time, and a failed or unanswered check counts as zero, so neither holding text back and releasing it in a burst nor skipping checks helps.

Because the wave is simultaneous, one machine posing as several nodes must split its real throughput across all of them, and each identity scores accordingly. Capacity checks feed Idle Points (Section 15) and flag nodes that fail them repeatedly; they do not slash.

7.4Reputation#

Every outcome — successful job, failed job, missed deadline, canary pass or mismatch — feeds the reliability EWMA in Section 6.1. Reputation is the network's memory: it costs nothing to compute, it updates continuously, and it is published per node on the Ledger. In Season 0 it also scales the Idle Points a node accrues for being available.

7.5Slashing schedule#

OffenceSlash (share of bond)Example on a 100,000 IDYL bond
Missed deadline0.1%100 IDYL
Canary mismatch1%1,000 IDYL
Proven tampering100%100,000 IDYL

Slashed tokens are burned. They are not redistributed to the protocol, the treasury, other nodes or insiders. On mainnet, slashing is enforced by IDYL Bond, which caps every slash at the schedule above and draws first from the active bond, then from any balance in its unbonding cooldown. The cap applies to each slash separately. The program does not count slashes or tie one to an incident: "one slash per incident" is the Gateway's rule, not the program's. In testnet, the Gateway records slash points off-chain on the same schedule: one point equals 0.1% of bond, so a missed deadline records 1 point and a canary mismatch 10. In Season 0 each slash point also forfeits 1% of the node's Idle Points.

Proven tampering means evidence attributable to the node's key — for example, signed completion reports with fabricated usage, signed output shown to come from a model other than the one advertised, a guard node shown to return verdicts its model did not produce, or attestation evidence shown to be forged or replayed. In early phases, a finding of proven tampering is made by the protocol multisig on published evidence. We intend to narrow this category to cases that can be verified automatically.

7.6Honest limits#

Nondeterminism. Temperature 0 and a fixed seed do not make output identical across machines. Floating-point arithmetic is not associative, so GPU kernels, batch sizes, thread scheduling, driver and runtime versions, and hardware families (CUDA, Metal, CPU) can change results. Quantization changes the model itself: a 4-bit and an 8-bit build of the same weights are different functions. Exact hash comparison is therefore meaningful only within a reference class — the same weights, the same quantization and a compatible backend. Before canary mismatches are slashed on-chain, IDYL will bind each advertised model to a specific build, maintain references per class, treat a first mismatch as a reason to re-challenge rather than to slash, and count a mismatch only when divergence persists across re-challenges. That design favours avoiding false positives over catching subtle cheating quickly. Until it is in place, testnet canary results are recorded as slash points rather than burns, precisely because a single mismatch is a signal, not proof.

Statistical, not cryptographic. Canaries, redundancy and capacity checks detect sustained cheating with increasing probability over time. They do not prove that any individual response was honest.

Capacity checks measure speed, not identity. A simultaneous wave makes it unprofitable to split one machine into many nodes. It does not stop an operator who rents real capacity for the minutes a check runs, and a node that is busy with real work when a wave arrives is measured lower than it deserves.

Cryptographic proofs of inference (zkML). Proofs of inference can, in principle, show that a specific model produced a specific output. For models with billions of parameters, current proving systems add orders of magnitude of computation and latency compared with running the model itself. That is incompatible with interactive inference priced near cost. We follow the field and will adopt proofs where they become practical, for example for small models or as occasional spot checks.

Trusted execution. Confidential-computing hardware can attest which environment is running and protect memory from the host operator. In v0.3 it powers the Sealed grades (Section 12). Attestation proves the environment, not the model's honesty: a sealed node can still be canaried, still miss deadlines and still be slashed. It complements sampling rather than replacing it, and its own limits are in Section 12.10.

8IDYL Chat#

IDYL Chat is the network's front end for people. It lives in the IDYL app (app.html#chat) and is a client of the public API like any other: it holds an ordinary API key or guest token and calls the public endpoints.

8.1What it is for#

Most people who would benefit from inexpensive, private access to open-weight models will never write code. IDYL Chat gives them the network directly: pick a model, type, read the answer as it streams. It also gives the network something it needs — real, varied traffic from people, alongside agents and applications.

8.2How it works#

  1. Try it as a guest, or connect a wallet. Without a wallet, the browser solves a small proof-of-work puzzle in a background worker and receives a guest token for 10 messages a day on smaller Open models (Section 13.2). With a Solana wallet (for example Phantom), the app asks it to sign the key-request message. No email address, password or name is collected either way.
  2. Receive a key. The Gateway issues a key bound to the wallet. Each wallet has 200,000 free tokens per UTC day — 1,000,000 or 5,000,000 for Pro and Pro+ — shared across everything that wallet does.
  3. Choose a model. The model picker has two tabs, Open and Unbound, and lists models with the number of nodes serving each one now; a model with no online node cannot be selected.
  4. Choose a privacy grade. A switch chooses Community or Sealed. With Sealed on, Chat first tries Sealed · end-to-end. If no end-to-end key exists for the chosen model, it asks once before falling back to Sealed · relay, showing the exact meaning of each grade (Section 12.1). It never falls back to Community.
  5. Chat. Replies stream token by token. Every reply carries a badge with the grade it was actually served at and the node that served it.
  6. Check the proof. On a Sealed reply, the badge opens an attestation viewer: the node's attestation record, its verification level explained in plain words, a check performed in the browser that the encryption key is bound to the attestation evidence, and a note that Sealed has not yet been validated on real hardware.
  7. Top up when needed. Past the daily allowance, and for every Sealed request, Chat draws on the wallet's credits. A Buy credits panel shows a Solana Pay QR code and a wallet link and confirms the payment automatically; a card option appears where the Gateway operator has enabled it. The Credits page (app.html#credits) shows the balance and payment history.

8.3Unbound in Chat#

The Unbound tab is locked until the wallet signs the Unbound attestation described in Section 9.4. The app shows the exact message before the wallet asks for a signature. The attestation is recorded against the wallet, not the browser, so it carries over to API use with the same wallet. Guests cannot use Unbound.

8.4Privacy#

  • History stays in the browser. Conversations are stored in the browser's local storage on the user's device. They are not uploaded to an IDYL account, because there is no IDYL account. A passphrase can encrypt them: the key is derived with PBKDF2-SHA256 (300,000 iterations, and never fewer than 210,000) and history is encrypted with AES-256-GCM before it is saved. The passphrase is held in memory only and forgotten when the tab is closed. Delete everything removes the key, the guest token, the history and the settings from that browser in one step.
  • Requests still travel. What happens to a message on the way depends on the grade, and Chat says which on every reply. On Community, the Gateway relays the message in memory and the node that answers reads it in plaintext. On Sealed · relay, the Gateway relays it in memory to a machine whose operator is excluded by hardware. On Sealed · end-to-end, the browser encrypts it to a key held inside an attested enclave, and the Gateway relays ciphertext only. The limits of each are in Section 12.10.
  • A wallet is a pseudonym, not anonymity. The Gateway knows which wallet a key belongs to, counts that wallet's daily tokens and holds its credit balance. Wallet addresses and Solana payments are public on-chain and can be linked to people. IP addresses are never written to disk or to logs; they are used in memory only, for rate limits.

8.5Floor notices#

When The Floor stops a request, Chat shows a plain notice in the conversation instead of a model reply: which category class was blocked, that nothing was sent to a model, and a link to the policy. When The Floor detects a self-harm signal, Chat shows the care response with a link to findahelpline.com. Neither event is stored beyond the per-category counts in Section 10.7.

9The Unbound tier#

9.1What abliteration is#

Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. IDYL serves them in a separate tier called Unbound.

In slightly more detail, for readers who want it: chat models are trained to refuse some requests. Research published in 2024 found that, in many open models, this refusal behaviour is driven by one identifiable pattern in the model's internal activity. Abliteration measures that pattern and edits the model's weights so that it can no longer be expressed. Nothing else is retrained. The model gains no new knowledge or abilities; it is simply less likely to decline. It can also be somewhat less accurate than the original, and it may state wrong things with the same confidence as right ones.

IDYL does not create these models. The Unbound catalog lists builds published on the Ollama library by the publisher huihui_ai; each catalog entry names one exact build (Appendix B). IDYL has not audited these third-party builds beyond confirming that they exist and run.

9.2Why offer it#

Standard chat models refuse a great deal that adults are entitled to ask: fiction with dark themes, frank questions about sex and relationships, drug-safety and harm-reduction questions, security research, history of extremism and war, blunt medical and legal questions, critique that names names. Over-refusal is a widely documented weakness of aligned models, and its cost falls on legitimate users.

Abliterated open-weight models already exist and are freely downloadable. The responsible question is not whether they exist but under what conditions they are served. IDYL's answer is a separate tier with four conditions:

  1. Adults who opt in. A wallet-signed attestation of age and policy acceptance.
  2. Operators who opt in. No machine serves an Unbound model unless its owner switched that on and read the acknowledgment.
  3. The Floor, always. The worst categories are stopped before any model sees the request (Section 10).
  4. Priced separately. The tier carries a premium that pays the operators who accept the additional exposure (Section 16.3).

Unbound, not lawless. Unbound removes a model's own refusals; it does not remove The Floor, the Acceptable Use Policy, or the law. IDYL never describes the network as lawless or limitless; the phrases that would are on the never-say list in the launch kit, because none of them is true. No payment, plan, stake, bond or privacy grade buys an exemption from The Floor.

9.3Tier rule#

A model is in the Unbound tier if it is listed as Unbound in the catalog, or if its tag contains abliterat or uncensored. The rule is mechanical so that an unlisted refusal-removed build advertised by a node can never be served as an Open model. Likewise, any tag containing llama-guard is tier floor, so no guard variant can be offered for chat. Open models keep their own built-in refusals.

9.4Access for callers#

Unbound access is a property of a wallet. The caller requests a nonce with purpose=unbound, and the Gateway returns this exact message to sign:

Text
IDYL Unbound access
wallet: <wallet>
I am 18 or older and I accept the IDYL Floor policy.
nonce: <nonce>

The caller signs it with the wallet and submits it to POST /api/attest. From then on, any API key of that wallet may call Unbound models; without the attestation, such calls return 403 unbound_attestation_required. The endpoint details are in the API reference.

The attestation is a signed self-declaration. IDYL does not and cannot verify age or identity from a wallet. What the signature provides is a clear, attributable record that the person controlling the wallet asserted they are an adult and accepted the policy before receiving Unbound output.

What the free tier covers. With the attestation, the free tier covers Unbound models that need 12 GB of memory or less. Larger Unbound models are served only from credits or a Pro allowance, and return 402 credits_required otherwise (Section 13.3). Guests cannot use Unbound at all.

9.5Access for operators#

A node advertises Unbound models only when its operator enables them: the --unbound flag on the CLI, or the Serve Unbound models switch in IDYL Desktop, which is off by default and requires this acknowledgment:

Your computer generates the responses. Check that serving unrestricted models is legal where you live. The Floor blocks the worst categories but is not perfect.

Without the opt-in, a node's Unbound models are not registered, and the Gateway never routes Unbound jobs to it: the Gateway drops Unbound models from the registration of any node that did not set unbound: true, and checks the flag again at routing time. An operator can switch Unbound off at any time; Desktop re-registers immediately, and the CLI does so when restarted without --unbound. The obligations that come with opting in are set out in the Unbound policy.

10The Floor#

The Floor is a safety layer that applies to every chat request on the network — Open and Unbound, every privacy grade, Chat and API, guest and wallet, every caller. It exists so that some outcomes are not a matter of which model, tier, grade or plan a caller chooses.

10.1Architecture#

Diagram · Mermaid source
flowchart LR
  Req["Chat request"] --> Pre["Prefilter: local pattern check"]
  Pre -- "match" --> Block["451 floor_blocked"]
  Pre -- "no match" --> Guard["Guard: Llama Guard 3 1B"]
  Guard -- "S3, S4, S9" --> Block
  Guard -- "S11" --> Care["200 care response"]
  Guard -- "safe or other category" --> Route["Route to a node"]
  Guard -- "no guard capacity" --> Fail{"Tier?"}
  Fail -- "Unbound" --> Unavail["503 floor_unavailable"]
  Fail -- "Open" --> RoutePre["Route, floor: prefilter-only"]

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

For Community and Sealed · relay requests, The Floor runs in the Gateway after identification, the access checks, admission and the availability check, and before routing. For Sealed · end-to-end requests, which the Gateway cannot read, the same policy runs inside the enclave (Section 10.4).

  1. Prefilter. A fast local pattern check for unambiguous child-sexual-abuse terms runs over the text of every message in the request, whatever its role, because a client can write any turn it likes. Matching is literal and conservative: the text is normalised (Unicode, case, punctuation, common digit-for-letter substitutions) and compared with a short list of explicit phrases, so that ordinary discussion of parenting, sex education, abuse prevention or the news does not trip it. It needs no model and no network call, so it works even when no guard capacity is available. A match blocks the request as S4.
  2. Guard. The latest user message plus the system prompt, if there is one, is classified by Llama Guard 3 1B (llama-guard3:1b, about 1.6 GB), an open safety classifier from Meta trained on the MLCommons hazard taxonomy. Very long inputs are clipped to their beginning and end: at most 4,000 characters of system prompt and 12,000 characters of the user message. Template markers in user text are neutralised so the text cannot rewrite the classifier's instructions. The model answers safe or unsafe with one or more category codes.
  3. Decision. The policy in Section 10.2 either stops the request, answers it with a care response, or passes it on.

Guard capacity for the Gateway comes from two sources, in order:

  1. IDYL_FLOOR_URL — an OpenAI-compatible endpoint, run by the Gateway operator, that serves the guard model.
  2. Guard nodes — nodes on the network that serve llama-guard3:1b and offer it to The Floor. The Gateway sends them floor jobs, routed with the same scoring rule as any other job and placed at the front of the queue.

The whole check has a time budget (8 seconds by default). If the operator's endpoint fails, the Gateway sets it aside for 15 seconds and tries guard nodes; if no source returns a verdict within the budget, the request is treated as having no guard capacity (Section 10.3). Unlike canaries, floor jobs are labelled as such to the node, and their tokens do not count against the caller's allowance or credits.

The policy itself is one set of pure functions, kept in a single source file that is copied byte-for-byte into the Node, and a test fails if the two copies differ. The Gateway and an enclave therefore decide identically.

10.2Policy#

Llama Guard 3 1B reports thirteen hazard categories. The Floor acts on four of them.

CodeCategoryOutcome
S3Sex-related crimesBlocked — HTTP 451, floor_blocked
S4Child sexual exploitationBlocked — HTTP 451, floor_blocked; also caught by the prefilter
S9Indiscriminate weapons (chemical, biological, radiological, nuclear, mass-casualty explosives)Blocked — HTTP 451, floor_blocked
S11Suicide and self-harmCare response — not forwarded; HTTP 200 with a short, caring reply pointing to findahelpline.com; marked idyl.floor = "care"
S1, S2, S5–S8, S10, S12, S13Other categoriesForwarded. Open models apply their own refusals; Unbound models do not

A blocked request is never given to a model. A care response is a fixed message, not model output. Neither is charged. Everything else is allowed on Unbound — which is what makes it Unbound — subject to the Acceptable Use Policy, which forbids uses no classifier can see, such as targeting a real person.

Why S11 is answered rather than blocked. A person who writes about wanting to hurt themselves should not receive an error code. They also should not receive whatever an Unbound model would generate. The Floor answers with a brief message that takes them seriously and points to a directory of crisis lines in their country. It is not a crisis service, and it says so.

10.3Fail-closed semantics#

The Floor treats "unable to check" differently by tier:

SituationOpen tierUnbound tier
Guard availableFull checkFull check
No guard capacity (no guard endpoint, no eligible guard node online, or the guard call fails)Proceeds with the prefilter only; reported as floor: "prefilter-only"Refused — HTTP 503, floor_unavailable

Open models carry their own refusals, so a prefilter-only check still leaves two layers in place. Unbound models do not, so without a guard there is not enough between the request and the model, and it is not served. Every response reports the outcome in the x-idyl-floor header.

10.4The Floor on Sealed requests#

A safety check that leaked a Sealed request to an ordinary machine would defeat the grade. Two rules prevent that.

  • Sealed · relay. The Gateway reads the request in memory, so it can run The Floor itself — but the guard model may run only on the operator's guard endpoint (IDYL_FLOOR_URL) or on a sealed node. A Community guard node is never eligible to classify a Sealed request. The core enforces this; it is not left to a plugin. If neither kind of guard is available, the rules of Section 10.3 apply: Open continues on the prefilter, Unbound is refused.
  • Sealed · end-to-end. The Gateway holds only ciphertext, so The Floor runs inside the enclave, after decryption and before any inference: the same prefilter, then the guard model on the sealed node's own runtime, then the same policy. A blocked, care or unavailable outcome means no inference happens and nothing is billed. The outcome travels back to the caller inside the encrypted stream, and the node reports only the outcome and category codes to the Gateway in plaintext, so the public counters stay correct without revealing content.

An enclave that enforces The Floor is only as trustworthy as the software running in it. Under measured verification that software is a published image; under hardware verification it is not proven (Section 12.5).

10.5Honest limits#

The Floor reduces harm. It does not eliminate it, and we will not describe it as if it did.

  • Classifiers make mistakes both ways. A false positive blocks a legitimate request — a survivor describing what happened to them, a historian writing about chemical warfare, a clinician asking about overdose thresholds. A false negative lets a harmful request through — especially one that is obfuscated, encoded, written in a language the model handles poorly, or split across several turns. Meta's model card for Llama Guard 3 1B reports, on Meta's own English evaluation, an F1 score of 0.899 and a false-positive rate of 9.0%, with weaker results in some other languages; the larger 8B variant is more accurate. We cite those figures to set expectations, not as a measurement of The Floor on IDYL traffic.
  • Prompt-side only. The Floor classifies what the caller sends, not what the model returns. An Unbound model can produce blocked-category content from a prompt that looked harmless. Output-side auditing is on the roadmap; until it ships, there is no check on outputs.
  • Latest turn only. Earlier user turns and previous assistant replies are not re-classified by the guard (only the prefilter reads them). A conversation can be steered over several turns in ways a single-turn check cannot see. Very long messages are classified on their beginning and end only.
  • The prefilter is narrow. It is literal and English-only by design, so it misses anything it does not spell out, and it blocks its exact phrases even when the intent is legitimate, such as a legal question. Its 451 response points to the reporting hotlines.
  • It is a safety control, not a privacy control. On Community, the node that serves a request sees its full plaintext, and a guard node sees the text it classifies.
  • Policy is not law. The four categories follow the classifier's taxonomy. What is lawful to request, generate or possess differs by country, and some content The Floor forwards is illegal in some places. Operators carry that question for their own jurisdiction (Section 22).
  • It runs in IDYL software. The code is open source; someone who runs a modified Gateway or node outside the IDYL network can remove it. That is not IDYL. Inside the network, an in-enclave Floor under hardware verification relies on the operator running the published software.
  • The care response is not care. It is a pointer to people who can help. It cannot assess risk, follow up or call anyone.

10.6Guard jobs and their economics#

Guard capacity is cheap to provide: the guard model is small, fast, and fits beside a chat model on most machines that can serve one. A node offers it with --serve-floor on the CLI; IDYL Desktop offers it whenever the guard model is installed from its Models screen. Guard jobs are metered to the serving node at a flat $0.01 per 1M tokens. They are an operating cost of the network rather than a charge to callers, they do not change the 85/15 and 50/50 splits of inference spend, and in this version they are metered only: they are not part of the real-money ledger and earn no Idle Points (Section 16.5).

Guard jobs are not a meaningful income source and are not presented as one. They recognise a contribution that the network depends on, on hardware that is already running.

10.7What The Floor stores#

The Floor never stores prompts. It keeps only hourly counters: checks performed, outcomes (pass, prefilter-only, blocked, care, unavailable), prefilter blocks, decisions per acted-on category (S3, S4, S9, S11) and how often the guard flagged each of the thirteen categories, including those it lets through. The last 24 hours are published at /api/floor together with the policy, the number of guard nodes online, and whether a guard endpoint is configured; weekly totals appear in the weekly report. Its log lines record the outcome, tier, guard source and category codes — never text, and never the wallet, key, guest or node a request came from.

11IDYL Desktop#

IDYL Desktop turns "run a node" into "install an app". It is built for people who have a capable computer and no interest in a terminal.

11.1What it is#

An Electron app for macOS (Apple silicon and Intel), Windows (x64) and Linux (x86-64). It bundles the same libraries as the IDYL Node CLI and speaks the same signed protocol. It does not run models itself: it uses Ollama on the same machine, which it helps install and configure.

11.2Onboarding#

Three screens, designed to take about a minute plus download time:

  1. Welcome. "Your computer, earning while you're away."
  2. Setup. The app detects the operating system, chip, memory and GPU memory, and checks for Ollama at http://localhost:11434. If Ollama is missing, one button opens the Ollama download page and the app waits until Ollama is running. It then recommends models that fit the machine and pulls them with a progress bar.
  3. Payout. An optional Solana address for payouts, checked for a valid 32-byte base58 key, and an optional referrer wallet for Season 0. The node's identity key is generated automatically.

11.3Gating: when the machine serves#

The owner's use of the computer always comes first. Desktop offers three modes and one guard:

SettingBehaviour
When idle (default)Starts serving after 3 minutes without keyboard or mouse input; stops taking new jobs the instant input resumes and lets jobs already running finish
Always onServes whenever the app is running
ScheduleServes within a daily window, for example 23:00–07:00
Pause on batteryOn by default on laptops: no serving while unplugged, whatever the mode

"Stops instantly" means new work stops instantly. A job already running may keep the GPU busy for up to its deadline (60 seconds by default), because abandoning it would fail the caller and count against the node.

11.4Hardware fit#

Each model in the catalog has an approximate minimum memory for a 4-bit build (Appendix B). Desktop compares it with the memory that matters on that machine and labels every model Fits, Tight or Too big (needs more memory than the machine has):

MachineFitsTight
Apple silicon (unified memory)Need ≤ 75% of memoryNeed ≤ 100% of memory
Dedicated GPU with ≥ 4 GBNeed ≤ GPU memoryNeed ≤ 1.5× GPU memory, with system memory ≥ 1.5× the need
No dedicated GPUNeed ≤ 50% of system memoryNeed ≤ 75% of system memory

Setup suggests up to three Open models, preferring those that fit and falling back to tight ones. The labels are guidance: actual performance depends on the GPU, the runtime and what else is running.

Ollama on Intel Macs runs on the CPU only. Desktop installs and runs there, but few if any models will meet the network's deadlines on that hardware. No machine Desktop runs on can serve the Sealed grades: consumer GPUs cannot do confidential computing (Section 12.3).

11.5Unbound on Desktop#

The Models screen has two tabs, Open and Unbound. The Unbound tab is locked until the owner switches on Serve Unbound models and accepts the acknowledgment in Section 9.5. It is off by default, and switching it off removes Unbound models from the node's registration.

11.6Security model#

  • Identity key. Generated on first launch and stored encrypted with Electron safeStorage, which uses the operating system's credential store (Keychain on macOS, DPAPI on Windows, libsecret or KWallet on Linux). On a Linux desktop without a keyring the key can only be obscured, or kept in a file readable by the user alone; Settings shows which protection applies. Exporting a backup is possible from Settings, behind a warning: anyone with the file can act as the node.
  • No prompt logs. The Activity screen shows model, tokens, duration and metered value for each job — never prompt or completion content. The app's technical log records events and timings only, and drops any field that could carry content. No content is written to disk.
  • Outbound only. The app opens no ports. It talks to the Gateway over HTTPS and to Ollama on the loopback interface.
  • Signed builds. Builds are code-signed and notarised only when signing certificates are configured in the release pipeline. Until then, releases are unsigned, and macOS Gatekeeper and Windows SmartScreen warn on first launch. The Desktop guide explains what those warnings mean and how to proceed.

11.7Earnings display#

The Home screen shows today's jobs, tokens and a metered figure: what the work is worth at target rates. Metered is not paid. Most testnet traffic is free-tier, Pro-allowance or guest traffic, for which nothing is owed. Only work that a caller paid for from credits adds to what a node is owed, and that amount is published per node at /api/payouts/:nodeId (Section 13.10). IDYL makes no representation that running Desktop will be profitable; owners should compare expected earnings with their own electricity cost (Section 16.6).

11.8New in v0.3#

  • Auto-update. Desktop checks GitHub Releases and installs new versions. On macOS, automatic updates work only for signed builds; an unsigned build tells the user to download the new version instead.
  • Points screen. The node's Idle Points, the breakdown by rule, its measured throughput, why it is or is not earning, and any flags (Section 15). No reward amount is shown anywhere.
  • Payable. Next to the metered figure, the app shows what the Gateway actually owes the node from paid work, when the Gateway reports one.
  • Weekly share card. A PNG drawn in the app with counts only — never content — for people who want to show their contribution.
  • Referral. An optional referrer wallet, sent once at first registration.
  • Hardware fingerprint. A one-way hash of stable machine traits, sent at registration so that Season 0 can apply one earning node per machine. It has no per-install salt, on purpose: two installs on one computer must produce the same value. Settings explains it and offers an opt-out; a node that opts out earns no Idle Points.
  • Installers. The status of each installer — built, run on its own operating system, signed — is listed in the Desktop guide. Today the Linux AppImage has been built and run, and the Linux .deb package has been unpacked and started but not installed with the system's package manager; the Windows installer has been built but never run on Windows; macOS disk images have not been built; and nothing is signed. An installer that has been built but never run on its operating system is labelled exactly that.

12Privacy grades and the IDYL Sealed Channel#

IDYL serves every request at one of three privacy grades. They exist because the honest answer to "who can read my request?" depends on the hardware that runs it and on where it is encrypted, and we would rather offer three true answers than one comfortable one.

Read this first. Nothing in this section has been validated on real confidential-computing hardware. The attestation verifier, the encrypted channel and the in-enclave Floor are implemented and covered by automated tests that use a simulated attester. Until a sealed node has attested on real hardware and that result has been published, treat Sealed as a design that is built and tested in simulation, not as a proven guarantee.

12.1Three grades#

The grade is always shown to the user and always returned in the x-idyl-privacy response header.

GradeHeader valueWhat it means
CommunitycommunityRuns on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.
Sealed · relaysealed-relayRuns inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.
Sealed · end-to-endsealed-e2eEncrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.

A TEE — trusted execution environment — is hardware that runs software in an isolated, encrypted region of memory, an enclave, and can produce signed evidence of what it is running. That evidence is an attestation.

Three rules of language follow from the table, and we hold ourselves to them everywhere. Community is never called confidential, or private from the node. Sealed · relay is never called end-to-end. And when attestation is simulated, for development, every header value and label carries the suffix -simulated and the word SIMULATED.

CommunitySealed · relaySealed · end-to-end
PriceThe model's rate1.3× the model's rate1.3× the model's rate
Paid fromFree tier, Pro allowance or creditsCredits onlyCredits only
ClientAny OpenAI clientAny OpenAI client, one extra headerIDYL Chat, or the published client module
EndpointPOST /v1/chat/completionsPOST /v1/chat/completions with x-idyl-privacy: sealedPOST /v1/sealed/chat/completions
GuestsYesNoNo
If capacity is missing503 model_unavailable503 sealed_unavailable — never served as Community409 sealed_key_unavailable — never served as Community

Pro lowers the Sealed price by 10% and Pro+ by 20%; neither makes Sealed free (Section 14).

12.2Community#

Community is the default and the everyday grade. It protects what can honestly be protected on consumer hardware — no account, no logs, history only in the browser, job payloads stripped of identity, rotation between nodes, IP addresses kept only as salted hashes in memory — and it tells the truth about the rest: the serving node sees the prompt. A model cannot compute on text it cannot read, and the owner of a consumer machine controls its operating system, its runtime and its memory.

12.3Sealed hardware#

A node can serve the Sealed grades only if it runs on a datacenter GPU in confidential-computing mode — NVIDIA H100, H200 or B200 class — attached to a confidential virtual machine on an Intel TDX or AMD SEV-SNP host, and proves it by attestation. In that configuration the CPU encrypts the virtual machine's memory against the host, the GPU protects its own memory, and traffic between the two is encrypted, so the operator of the physical machine cannot read the model's inputs or outputs through ordinary means.

Consumer GPUs cannot do confidential computing. Gaming GPUs have no confidential-computing mode, and Apple silicon offers no attestable confidential environment for third-party inference. No machine that IDYL Desktop runs on can serve Sealed. Sealed capacity is therefore datacenter hardware operated by people who choose to bring it to the network, and at first there will be little of it.

12.4Attestation#

A sealed node proves three things at once: that genuine confidential hardware produced the evidence, that the evidence is fresh, and that the encryption key it publishes was created by the same node that produced the evidence.

Diagram · Mermaid source
sequenceDiagram
  autonumber
  participant N as Sealed node
  participant C as Operator attestation command
  participant V as Vendor attestation services
  participant G as Gateway
  N->>N: Create enclave key pair, in memory only
  N->>G: GET /nodes/attest/nonce (signed)
  G-->>N: nonce, valid 5 minutes, single use
  N->>N: binding = SHA-256 of tag, nonce, node id, enclave public key
  N->>C: Run with IDYL_ATTEST_BINDING set to the binding
  C->>V: GPU evidence and CPU TEE evidence, each carrying the binding
  V-->>C: Two signed tokens
  C-->>N: gpu token, cpu token
  N->>G: POST /nodes/attest (signed) with nonce, public key, both tokens
  G->>G: Verify issuer, signature, validity times, required claims, binding
  G-->>N: attestation id, verification level, expiry of at most 24 hours
  Note over N,G: Repeated at least every 12 hours, before expiry, and after a re-register or a lost connection

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

  1. Enclave key. At start, the sealed node generates an ECDH P-256 key pair. The private key exists in memory only and is never written to disk. The key's identifier is keyId = base64url(SHA-256(public key)), over the 65-byte uncompressed public key.
  2. Nonce. The node asks the Gateway for a nonce with a signed request. The nonce is 32 random bytes, valid for 5 minutes and usable once.
  3. Binding. The node computes binding = SHA-256("ISC1-BIND" ‖ nonce ‖ nodeId ‖ publicKey), where nodeId is the node's 32-byte identity key. The binding ties one attestation to one nonce, one node and one enclave key.
  4. Evidence. The node runs the operator's attestation command (--attestation-cmd) with the binding in the environment variable IDYL_ATTEST_BINDING. The command has 60 seconds to obtain two signed tokens that both carry the binding — the GPU token as its attestation nonce (the claim eat_nonce), the CPU TEE token as the data the attester holds (attester_held_data) — and print them as {"gpu": "<JWT>", "cpu": "<JWT>"}. A sealed node needs one valid GPU token and one valid CPU TEE token. The binding is accepted only in the claim the attester itself fills in, never in a field the host could set when it launches the virtual machine.
  5. Submission. The node posts the nonce, its public key and both tokens over the signed node protocol, so the submission is attributable to the node's identity key.
  6. Verification. For each token the Gateway checks, using only the platform's built-in cryptography: that the issuer is one it is configured to trust; the signature, against the issuer's published key set (cached for an hour, refetched when a token names an unknown key); the validity times, with 60 seconds of tolerance; the claims the issuer's configuration requires; and that the binding claim equals the binding it computed itself. The built-in issuers are NVIDIA's Remote Attestation Service for the GPU and Intel Trust Authority for an Intel TDX host. No issuer for AMD SEV-SNP is built in; an operator can configure others, which is how such a host would be supported. The Gateway fetches the vendors' key sets over TLS and does not itself validate certificate chains or revocation. The exact claims checked for each issuer are listed in the sealed engineering note.
  7. Record. A verified node is recorded with an attestation id, its key, the GPU and CPU TEE that were verified, the verification level, the verification time and an expiry: the earliest token expiry, and never more than 24 hours. A node counts as sealed only while its attestation is unexpired and it is in contact with the Gateway. A node that restarts holds a new enclave key and must attest again.

The node software attests before it takes any job, then at least every 12 hours, before its attestation expires, after every re-registration, after a lost connection, and whenever the Gateway no longer lists its attestation as current. With every registration and heartbeat it reports the id of the enclave key it holds (sealed: { keyId }), so the Gateway can drop the attestation of a key that no longer exists. A failed attestation does not stop the node: it keeps serving ordinary jobs, retries after 15 seconds and then at growing intervals of up to 5 minutes, and serves no Sealed traffic until the Gateway has accepted an attestation.

Vendor tokens can be short-lived: Intel's documented sample token is valid for 5 minutes, NVIDIA's for an hour. As the Gateway is built today, an attestation lasts until its earliest token expires and never longer than 24 hours, so on real hardware a node may have to run its attestation command every few minutes. The earliest-token rule is the default. A Gateway operator can opt into a fixed lifetime instead, of 60 seconds to 24 hours (IDYL_SEALED_ATTESTATION_TTL_SEC), which refreshes the evidence less often; the tokens must still be valid when the Gateway verifies them, and attestations made that way are marked expiryPolicy: fixed in their public record. Neither policy has met real vendor tokens.

IDYL ships an example attestation command for NVIDIA with Intel TDX. It is clearly marked untested: it has never been run on confidential-computing hardware.

12.5Verification levels#

Attestation answers two different questions, and the level says which of them was answered.

LevelWhat was provenWhat was not
measuredGenuine confidential hardware, and the software inside the enclave matches a published IDYL node image, because its measurements match an entry in the Gateway's allow-listThat the published image is free of bugs
hardwareGenuine confidential hardware in confidential modeThe software inside the enclave. The hardware is genuine; the software image is not proven. An operator could run modified software in a genuine enclave
simulatedNothing. Development onlyEverything. Accepted only from an issuer marked as simulated, and only when the Gateway is started with IDYL_ALLOW_SIMULATED_TEE=1

The difference between measured and hardware is the difference between "this is the published software" and "this is some software, on real hardware". Under hardware, a dishonest operator could run a node that decrypts requests as intended and then writes them to disk, or skips The Floor; the enclave key itself could have been generated outside the enclave by modified software. The level is shown wherever an attestation is shown, and the key directory lists measured nodes first. measured depends on IDYL publishing reproducible node images — images anyone can rebuild from the source and get the same measurements — and the allow-list that names them. No such image has been published yet, so a real deployment today would attest at hardware at best.

12.6Sealed end-to-end: the IDYL Sealed Channel#

The IDYL Sealed Channel, version 1 (ISC1), encrypts a request on the caller's device to the enclave key of one attested node. The Gateway carries it but cannot read it. ISC1 uses three standard primitives — ECDH on P-256, HKDF-SHA256 and AES-256-GCM — available in every modern browser and in Node.js without any library.

Finding a key. GET /api/sealed/keys?model=<id> lists the enclave keys of online sealed nodes that serve a model, each with its attestation record and verification level.

Encrypting the request.

Text
client:   fresh ephemeral P-256 key pair for this request
Z       = ECDH(client private key, enclave public key)
salt    = SHA-256(client public key ‖ enclave public key)
kReq    = HKDF-SHA256(Z, salt, info "ISC1 req", 32 bytes)
kRes    = HKDF-SHA256(Z, salt, info "ISC1 res", 32 bytes)

plaintext = JSON { v: 1, model, messages, params, ts }        ts = milliseconds since 1970
ct        = AES-256-GCM(kReq, random 12-byte iv, plaintext, AAD "ISC1|req|<keyId>|<model>")
envelope  = { v: 1, keyId, epk, iv, ct }                      binary fields in Base64

The caller posts { model, stream, sealed: envelope } to POST /v1/sealed/chat/completions with its API key. The model name travels in the clear, because the Gateway needs it for access checks and pricing; it is also bound into the ciphertext, so the Gateway cannot ask the enclave to run a different model on the same request.

Decrypting the response. The reply is a sequence of encrypted frames, numbered from 0.

Text
frame n:  iv  = 4 zero bytes ‖ n as a 64-bit big-endian integer
          AAD = "ISC1|res|<n>"
          content frames   {"d": {"content": "...", "reasoning": "..."}}
          the last frame   {"done": true, "finish_reason", "usage", "floor": {"outcome", "categories"}, "message"}

The client rejects a missing frame, a frame out of order, and a stream that ends without the done frame. A relay therefore cannot drop, reorder or silently truncate a reply without the client noticing.

Replay protection. The enclave refuses an ephemeral key it has already seen, and a request whose timestamp is more than 5 minutes old or more than 1 minute in the future. It remembers up to 100,000 recent requests per key, and refuses new ones rather than forget one that could still be replayed. It also keeps a watermark: the newest timestamp it has ever forgotten. Anything older than the watermark is refused, whatever the clock says. This matters because inside a TEE the clock is set by the untrusted host. With the watermark, a request that was answered once is never answered again, however the clock is moved. What the clock still decides is freshness: a host that controls it can get the enclave to answer a request that was held back for more than five minutes. It cannot get one answered twice.

Failures stay outside the channel. A request that the enclave cannot open, or will not serve, is failed in plaintext with a reason code and no encrypted frame. The enclave never encrypts anything for a request it did not open; doing so could use one key and one counter for two different messages.

Padding. The reference client pads each request to a multiple of 256 bytes. The reference node sends the first token at once, then at most one frame every 100 ms, each padded to a multiple of 16 bytes. This blunts the most direct leak of a streamed ciphertext, the length of every token. It does not hide the overall length or the timing of a reply.

Not in version 1.

  • Tool calls. End-to-end frames carry text only.
  • Forward secrecy on the enclave side, beyond the fact that the enclave key lives for one boot of the node.
  • Post-quantum key agreement.
  • Verification of the vendors' signatures inside the browser client.
  • Checks of the model's output by The Floor, which no grade has yet.
  • Uniform traffic. Padding is coarse, and timing is not hidden.

What the Gateway still does. It authenticates the caller, applies rate limits and model access rules, and admits the request against credits — Sealed is never free. It then delivers the envelope to the one node that holds that key. If that node is no longer online or sealed, the caller gets 409 sealed_key_unavailable and fetches the keys again. There is no failover to another node, because another node could not decrypt the request. The response carries x-idyl-privacy: sealed-e2e and x-idyl-attestation, the id of the attestation the key belongs to.

What the Gateway still sees. The caller's wallet and IP address, the model, the timing of the request and of every frame, their sizes (rounded up by the padding: the request in 256-byte steps, each frame in 16-byte steps), how many frames there are, which node served it, and — reported by the enclave in plaintext — the token counts for billing, the finish reason and The Floor's outcome with its category ids. It does not see the messages, the parameters or the reply. On Community and Sealed · relay it sees all of this and the text as well; no grade hides the metadata.

The normative specification, with test vectors, is the Sealed protocol.

12.7Sealed relay and sealed providers#

Sealed · relay exists for clients that speak plain OpenAI and cannot encrypt: an SDK, an agent framework, a script. They add one header.

Shell
curl -s "$IDYL_BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $IDYL_API_KEY" \
  -H "x-idyl-privacy: sealed" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama3.3:70b","messages":[{"role":"user","content":"Summarise this contract clause."}]}'

The body field "idyl": {"privacy": "sealed"} does the same. The request reaches the Gateway over TLS, passes through the Gateway in memory, and is then served in one of two ways. An attested sealed node is always preferred; a provider is used only when no such node serves the model.

  • By a sealed node. Routed only among attested nodes that serve the model. The response says x-idyl-privacy: sealed-relay and x-idyl-sealed-by: node.
  • By a sealed provider. A Gateway operator can configure OpenAI-compatible inference services that run models in confidential computing under their own attestation and terms (IDYL_SEALED_UPSTREAMS). The response says x-idyl-sealed-by: provider:<name>.

A sealed provider is used only for Sealed · relay requests, never for Community traffic and never for end-to-end. Trust in a provider is trust in that provider's own confidential-computing claims, audits and contract: the Gateway does not verify a provider's attestation. A provider is a business the Gateway operator pays under its own agreement; it is not a consumer subscription and not anyone else's account (Section 2). This paper names no provider. Which one served a request is visible in its response header.

A Sealed · relay request never falls back to Community. With no sealed capacity for the model it fails with 503 sealed_unavailable.

12.8Checking it yourself#

Attestation is only useful if someone other than the Gateway can check it.

  • Public records. GET /api/attestations/:id and GET /api/attestations/by-node/:nodeId return an attestation's summary: node, key, verification level, the GPU and CPU TEE verified, times, the nonce, the binding and a SHA-256 of each token. Adding ?evidence=1 returns the raw tokens.
  • An independent verifier. npm run verify:attestation -- <gateway> <attestationId> fetches the evidence, verifies the token signatures against the vendors' published keys itself, recomputes the binding, and prints PASS or FAIL for each check. It does not trust the Gateway's answer.
  • In the browser. IDYL Chat recomputes the binding from the attestation record and compares it with the binding claims inside the evidence tokens. This confirms that the key Chat encrypted to is the key the evidence names. It does not verify the vendors' signatures. The Gateway verified those, and anyone can verify them again with the independent verifier above. Without that step, end-to-end protects a request from a Gateway that is curious or has been breached, not from one that substitutes keys.
  • Your own client. In the web app, the JavaScript that encrypts is served by the same Gateway that relays the ciphertext. Running the open-source client module yourself, from code you control, removes that trust.

12.9Threat model summary#

Who can read the content of a request, at each grade:

PartyCommunitySealed · relaySealed · end-to-end
Someone watching the networkNo (TLS)No (TLS)No
The Gateway operatorYes, in memory while relaying; never storedYes, in memory while relaying; never storedNo, provided the key list it serves is honest (12.10). Sees ciphertext, sizes, timing, the model, the wallet, token counts and The Floor's outcome
The owner of the serving machineYesNot by ordinary means: excluded by hardwareNot by ordinary means: excluded by hardware
The software inside the enclave—Yes, necessarilyYes, necessarily
The Floor's guardThe guard endpoint or any guard nodeThe guard endpoint or a sealed node onlyInside the enclave only
A sealed provider, if one serves the requestNever usedYes, inside its own TEE, on its own claimsNever used

The table is about content. Metadata is another matter: at every grade the Gateway sees the wallet, the IP address, the model, the timing, the sizes, the token counts, and The Floor's outcome with its category.

What each Sealed grade does not protect against is as important as what it does: a malicious software image under hardware verification, side channels and physical attacks on the hardware, analysis of traffic sizes and timing, a Gateway that substitutes enclave keys, and — for relay — the Gateway itself. The complete threat model, by adversary, is in the Sealed protocol.

12.10Honest limits#

Sealed is a real improvement for the threats it addresses, and it has limits we state in full.

  • Not validated on real hardware. Everything in this section is tested against a simulated attester that signs tokens with a local key. No IDYL sealed node has yet attested on a real NVIDIA confidential GPU with a real Intel TDX or AMD SEV-SNP host, and the default claim names have been set from the vendors' documentation, not from tokens we obtained ourselves. The status table at the top of this paper will change when that is done.
  • Under hardware verification the software is not proven. A genuine enclave running modified software passes at this level. End-to-end encryption then protects a request from the Gateway and the network, but not from the operator who chose that software. Only measured closes this gap, and no measured image exists yet.
  • Relay is not end-to-end. On Sealed · relay the Gateway reads the request in memory. It protects a request from the owner of the serving machine, not from the Gateway operator.
  • Relay leans on the node's signing key. A relay job is delivered over TLS, in the clear, to whoever holds the node's identity key. The attestation binds that node id, but it cannot prove that the identity key never leaves the enclave; only a published, measured image can guarantee that. End-to-end requests do not have this weakness, because they can be read only with the enclave key.
  • End-to-end depends on an honest key list. The caller learns enclave keys from the Gateway, and the Gateway is the party that verified the attestation tokens. A malicious Gateway could list a key it controls, with made-up evidence, and then read everything. The binding check in the client does not catch this: it checks consistency, not signatures. Only verifying the evidence independently does. Without that step, end-to-end protects against a curious or breached Gateway — its logs, its memory, its operator's staff, a demand for stored data — not against one that actively substitutes keys.
  • End-to-end in a browser trusts the page. IDYL Chat's code is served by the Gateway. A compromised Gateway could serve a modified page that reads a message before it is encrypted, or shows a key that is not the attested one; the in-browser binding check does not verify vendor signatures. A caller who needs to remove the Gateway from the trust path should use the client module from code they control and run the independent verifier.
  • The Gateway sees metadata, at every grade. The wallet, the IP address, the model, the timing, the sizes (padded on end-to-end: requests to 256-byte steps, reply frames to 16-byte steps), the token counts, The Floor's outcome and category ids, and which node answered. Sizes and timing can reveal a good deal about a conversation.
  • No tool calls end-to-end. Version 1 of the Sealed Channel carries text only. Tool calls work on Sealed · relay, where the Gateway reads the request, and not on end-to-end.
  • No forward secrecy against the enclave key. The caller's key is new for every request, but the enclave key lives for as long as the node process does. Someone who recorded ciphertext and obtained that enclave key while it existed could decrypt every request sent to it. A restart destroys the key. The key agreement is not post-quantum.
  • The Floor's outcome is the enclave's word. For an end-to-end request the enclave runs The Floor and reports the result; the Gateway cannot check it. With a measured image that report is as trustworthy as the image. Under hardware it is a claim.
  • Physical access defeats current TEEs. In October 2025, researchers published TEE.fail, a memory-bus attack on DDR5 servers that extracts attestation keys from Intel SGX and TDX and secrets from AMD SEV-SNP virtual machines, following the DDR4 attacks Battering RAM and WireTap. The same researchers showed that NVIDIA's GPU attestation is not tied to a particular confidential virtual machine, so evidence can be borrowed from another device. IDYL's binding has the same shape of limit. The GPU token and the CPU token share one thing only: the binding. That shows that a genuine GPU answered for this nonce and that this virtual machine holds the key, not that this virtual machine computes on that GPU. Making that link is the job of the measured software, and no measured image exists yet. Intel and AMD consider such physical attacks outside their threat model. On a decentralized network, the node operator is exactly the party with physical access. Sealed raises the cost and skill needed to read a request very substantially; it does not make it impossible.
  • TEEs have a history of vulnerabilities. Side channels, firmware bugs and microcode flaws have been found repeatedly in confidential-computing products, and patches take time to reach every machine.
  • Attestation trusts the vendors. A valid result means NVIDIA's and Intel's services vouched for the hardware. If their keys, services or firmware are compromised or wrong, attestation is wrong. The Gateway relies on the vendors' published key sets and does not check certificate chains or revocation itself. It also verifies the vendors' signed verdicts, not the underlying hardware evidence: it does not parse the raw quotes and reports the vendors' services examined.
  • Attestations age. A node is trusted until its earliest vendor token expires, and never for more than 24 hours after a successful check (or for the fixed lifetime its Gateway's operator chose). Something that changes on the machine after attestation is not seen until the next one.
  • Sealed providers are trusted separately. A provider-served request is governed by that provider's own claims and terms, not by an IDYL attestation.
  • Little capacity. Sealed depends on datacenter operators joining the network. Expect 503 sealed_unavailable for many models until they do.

12.11Protections on every grade#

These apply to every request, whatever the grade:

  • Minimal job payloads. A job reaching a node carries only the model, the messages, the sampling parameters and the deadlines. No wallet, API key, guest id, IP address or payment information.
  • Rotation. The same identity is not routed to the node it used last within 10 minutes whenever another node can take the request (Section 6.6).
  • No IP addresses on disk. IP addresses are never written to disk or to logs. Rate limits count them in memory for minutes. Per-address limits — guest tokens, earning nodes — use a SHA-256 hash with a random salt that is replaced every UTC day and never persisted.
  • No content on disk. The Gateway, the Node and Desktop never write prompts or replies to disk or to logs.
  • A published inventory. GET /api/transparency lists what the Gateway stores, what it never stores and for how long (Section 18.1).

The complete inventory, in plain language, is in Privacy.

13Access and payments#

v0.2 was free and metered. v0.3 adds real payments, because a network that pays its suppliers from revenue needs revenue, and because a free tier alone cannot show whether anyone values the service. Real money in creates real obligations out, so every paid dollar is tracked to the node that is owed its share.

13.1Four ways in#

GuestFreePay as you goPro and Pro+
IdentityGuest token from proof-of-workWallet-signed API keyWallet-signed API keyWallet-signed API key and a stake
Allowance10 requests per UTC day; the token lasts 24 hours200,000 tokens per UTC dayWhatever the balance covers1,000,000 or 5,000,000 tokens per UTC day
ModelsOpen, needing 12 GB or lessOpen; Unbound needing 12 GB or less, with attestationAll, with attestation for UnboundAll, with attestation for Unbound
SealedNoPaid from creditsPaid from creditsPaid from credits, 10% or 20% off
Pays with——CreditsAllowance, then credits

The full price list, with a worked example, is in Pricing.

13.2Guest access#

A guest can chat before connecting any wallet. Instead of a sign-up form or a third-party CAPTCHA, the browser does a small amount of work:

  1. GET /api/guest/challenge returns a random challenge and a difficulty: 18 leading zero bits by default. Challenges are single-use and expire after 5 minutes.
  2. The browser searches, in a background worker, for a counter such that sha256("<challenge>:<counter>") begins with that many zero bits. At 18 bits that takes about 262,000 attempts on average: unnoticeable for one person, costly for a script that wants thousands of sessions.
  3. POST /api/guest {challenge, counter} returns a guest token (idyl_gt_…) valid for 24 hours.

A guest token is admitted for 10 requests per UTC day, on Open models that need 12 GB or less, at Community grade only. A prompt may be at most 4,000 characters and a reply is limited to 512 tokens. Guests cannot use Unbound, Sealed or credits; past the limits the API answers 402 guest_limit or 403 guest_model_not_allowed, with a pointer to connect a wallet. A request that the network cannot serve, or fails to serve, does not use up one of the ten. Each network address can obtain at most 3 guest tokens per UTC day (429 guest_ip_limit after that); the Gateway enforces this with a salted hash of the address held in memory and never stores the address. The Gateway keeps only the SHA-256 of each guest token. Guest traffic earns no Idle Points for anyone.

Proof-of-work is a speed bump, not identity. Someone with many IP addresses and spare computation can collect more guest sessions; the caps on requests, models, prompt size and grade keep what they can collect small.

13.3The free tier and what it covers#

Every wallet with an API key has 200,000 free tokens per UTC day. Tokens are prompt plus completion tokens of settled requests. The free tier covers:

  • Community requests on every Open model, whatever its size;
  • Community requests on Unbound models that need 12 GB of memory or less — Llama 3.2 3B, Qwen3 8B, DeepSeek R1 8B, Gemma 3 12B and Qwen3 14B Unbound — for wallets that signed the Unbound attestation.

It does not cover:

  • Sealed requests, relay or end-to-end. Sealed is never free;
  • larger Unbound models — gpt-oss 20B, Mistral Small 24B, Qwen3 32B and Llama 3.3 70B Unbound — and any Unbound model that is not in the catalog. These are served from credits or a Pro allowance.

A request the free tier does not cover needs credits; a Pro allowance also covers the larger Unbound models, on Community only. Without either it is refused: 402 credits_required for a wallet that has never held credits, 402 insufficient_credits for one whose balance is too low. When the 200,000 tokens are used, further requests are paid from credits if the wallet has any, and otherwise refused — 429 insufficient_quota, or 402 insufficient_credits for a wallet whose credits have run out — until 00:00 UTC. The limit on large Unbound models applies only on a Gateway that offers a paid path; a Gateway run without the payments and Pro plugins serves every Unbound model from the free tier, as v0.2 did.

13.4Credits#

Credits are a prepaid balance in US dollars, per wallet, counted in millionths of a dollar and persisted by the Gateway. They are bought in amounts from $1 to $1,000 per payment, up to $2,000 per wallet per day, and spent at target rates.

A balance is made of lots: each purchase, each credit-pool grant and each promotional grant is its own lot. A lot bought with $IDYL also remembers the tokens that bought it. Lots that expire soonest are spent first, then the oldest. Purchased credits do not expire; credit-pool credits expire after 30 days; promotional credits expire if the operator set an expiry. GET /api/credits returns the balance, anything about to expire, the wallet's Pro status, its free-tier state, its last 20 payments and its spend today and over 7 days.

A payment record holds exactly: the wallet, the amount in USD, the asset, the units, the on-chain reference or signature or the Stripe session id, and the time. No email address, name or IP address. Credits cannot be transferred between wallets, withdrawn or redeemed for cash or tokens, and there is no automated refund in this version: after a refund or a chargeback handled outside the Gateway, the operator can take back the purchased credits that are still unspent, and no refund policy has been published. Credits are a prepayment for a service, not a financial product.

13.5Solana Pay#

  1. POST /api/pay/solana/intent {amountUsd, asset} (with the caller's API key), where asset is USDC, SOL or IDYL, returns an intent: the recipient (the treasury address), the asset and its mint, the amount in that asset, a fresh reference public key, a solana: payment URL carrying that reference, the price used for the conversion, the credit that will be granted, and an expiry 15 minutes ahead.
  2. The caller's wallet pays the URL. The app shows it as a QR code and a wallet link.
  3. POST /api/pay/solana/confirm {intentId, signature?} asks the Gateway to verify the payment through its Solana RPC endpoint. The Gateway finds the transaction by its signature, or by the reference key when no signature is given. The transaction must be confirmed or finalized and without error, must include the reference key, and must have raised the treasury's balance of the right asset by at least the quoted amount. If it does, the wallet is credited; until the transaction is found, the answer is {"status": "pending"}.

A payment credits once: confirmation is idempotent per transaction and per intent. A transaction that lands more than 2 minutes after the intent expired is not credited automatically; the payer keeps the signature and contacts the operator. USDC uses the mainnet USDC mint by default and is taken at $1.00. SOL and $IDYL need a price: a price service the operator configures (the Jupiter Price API format) or fixed values set for testing. Without one, that asset is not offered. The price is fixed in the intent for its 15 minutes. A wallet can have at most 5 open intents, and open intents count toward its daily purchase limit.

13.6Card#

POST /api/pay/stripe/checkout {amountUsd} creates a Stripe Checkout session for the caller's wallet; the caller pays on Stripe's page, and IDYL never sees card details. Stripe then calls POST /api/pay/stripe/webhook. The Gateway verifies the Stripe-Signature header (HMAC-SHA256 with the webhook secret, a five-minute tolerance and a constant-time comparison) and credits the wallet when the checkout completes, once per event and per session.

Each payment method works only where the Gateway operator has configured it; otherwise its endpoints answer 503 payments_unavailable. GET /api/pay/methods lists the methods a Gateway has enabled.

13.7Pay in $IDYL#

Paying in $IDYL is 10% cheaper: a payment worth amountUsd in $IDYL is credited as amountUsd / 0.9, so $9 of $IDYL buys $10 of credits. The option is disabled, with a clear error, until the token exists and its mint is configured.

The tokens pay the node that did the work. The $IDYL received is not sold. Each lot of credits bought this way keeps the tokens that bought it, and when those credits are spent on work a node serves, the tokens behind the amount spent are released:

ShareGoes toLedger field
85/90The node that served the job, as an amount it is owed in $IDYLThe node's payable.accruedIdyl; network total nodePayableIdyl
5/90The burn queue, burned from the treasury multisigidylQueuedForBurn

No cash is involved and the protocol never sells a token. The discount comes out of the protocol's own share: of a charge paid this way the node receives the equivalent of 85%, as it always does, and the protocol keeps 5% instead of 15%, and burns it. A caller who pays $9 of $IDYL holds $10 of credits; once those are spent on node-served work, nodes are owed tokens that were worth $8.50 when the caller paid, and tokens that were worth $0.50 are queued for burning.

Three things follow, and we state them.

  • A node paid this way is paid in $IDYL, not in dollars. The number of tokens is fixed when the caller buys the credits. What they are worth when the node is paid may be more or less.
  • A sealed provider is the exception. When a Sealed · relay request is served by a sealed provider instead of an IDYL node, the provider is paid in cash under its own agreement, so the released tokens go to the treasury's token balance, published as idylTreasury.
  • Nothing here has run with a real token. There is none yet. Until there is, this path exists only in code and in tests against local stand-ins.

The burn queue goes down only when the operator records a burn with its transaction (Section 18.3). The discount is a parameter that can be changed (Section 21). Design note: an earlier draft burned every token received and still owed nodes 85% in cash. No revenue funded that, so it was replaced before any token existed.

13.8Admission order and billing#

For every request, the Gateway asks in a fixed order what will pay for it. The first source that applies is used.

OrderSourceApplies whenBilling labelConsumes
1Guest allowanceThe caller holds a guest token and the request is within the guest limitsguestOne of the day's 10 requests
2Pro allowanceThe wallet is Pro or Pro+, the request is Community, and the daily allowance is not used upproThe Pro allowance
3CreditsThe free tier does not cover the request, or the daily allowance is used up, and the wallet's unreserved balance is at least $0.001creditsThe credit balance
4Free tierThe request is covered by the free tier and tokens remainfreeThe free tier

When nothing applies, the request is refused. Which answer a wallet gets depends on whether it has ever held credits:

SituationWallet has never held creditsWallet has held credits, balance below $0.001
The free tier does not cover the request (Sealed, large Unbound)402 credits_required402 insufficient_credits
The daily free tier or Pro allowance is used up429 insufficient_quota402 insufficient_credits

A guest is refused with 402 guest_limit or 403 guest_model_not_allowed.

  • Sealed is always billed to credits, at 1.3× the model's rate, less 10% for Pro and 20% for Pro+.
  • A Pro allowance never pays for Sealed. A Pro wallet without credits that asks for Sealed is refused like any other.
  • Cost is deducted when the job ends, once per job, including a job that was cut off part-way: the caller pays for the tokens that were delivered. While a request runs, the Gateway holds a reservation against the balance — an estimate from the prompt size and max_tokens — so that several requests in flight cannot overdraw it together.
  • Overdraft is bounded. Because cost is known only at the end, a balance can go slightly negative, to at most −$0.01. The next credits added repay it first. Any cost beyond that floor is written off: the caller is not charged for it and no node is paid for it.
  • Every credit-paid response carries x-idyl-credits-remaining.

13.9The real-money ledger#

The Gateway keeps two sets of books and never mixes them.

Metered figures value every settled request at target rates, whoever paid, including free-tier, Pro-allowance and guest requests for which nobody paid anything. They show how much work the network did. They are labelled metered wherever they appear.

Paid figures record only work billed to credits. Not every credit was bought with money, so the ledger classes every charge by what funded the credits that paid it. The rule behind the table is that every amount owed to a node is funded by something that arrived:

FundingCredits wereArrivedNode is owedProtocol's share
CashBought with USDC, SOL or a cardMoney. Only this is paid revenue85% of the charge, in USD15% of the charge: half to the buyback queue, half to the treasury
$IDYLBought with $IDYLTokens85/90 of the tokens behind the charge, in $IDYL5/90 of those tokens, queued for burning
GrantGranted: the weekly credit pool, or a promotionNothing85% of the charge, in USD, charged to the treasuryNone

A node therefore has two payables, one in USD and one in $IDYL, and each is settled in its own asset.

Grants are the one place where the books can run short, and the ledger says when they do. The treasury's half of the protocol share is what pays nodes for grant-funded work. The ledger publishes treasuryNetUsd — that half, less what grant-funded work has cost — and solvent, which is false when the figure is below zero. The weekly pool cannot cause that by itself, because its share is capped (Section 14.3). Promotional grants are the operator's decision and are not capped by the code.

One case has no split: a Sealed · relay request served by a sealed provider is recorded gross as upstreamUsd, because the provider, not an IDYL node, did the work and is paid by the Gateway operator under its own agreement. Where granted credits paid for such a request, its whole amount is charged to the treasury.

The public summary is treasury.paid in /api/stats.json:

FieldMeaning
revenue24hUsd, revenueTotalUsdPaid revenue: cash-funded charges, in the last 24 hours and in total
nodePayableUsd, nodePayableIdylWhat nodes are owed and have not yet been paid, in each asset
protocolUsdThe protocol's 15% of cash-funded charges
buybackQueuedUsdThe half of it that waits to fund buybacks
treasuryNetUsd, solventThe treasury's half, less the cost of grant-funded work; whether that is still at or above zero
upstreamUsdRevenue from requests served by a sealed provider
idylQueuedForBurn, idylTreasury$IDYL waiting to be burned; $IDYL released to the treasury by provider-served work

Paid revenue is cash-bought credits consumed, not credits deposited: a deposit that is never used is not revenue, and an unspent deposit is money held for service still owed to the caller. Further accounting detail is in the payments engineering note.

13.10Node payouts#

What a node is owed is public. Its record at /api/nodes/:id shows payable: { accruedUsd, paidUsd, accruedIdyl, paidIdyl }, with lifetime totals beside them, and GET /api/payouts/:nodeId lists its payouts.

Payouts are a manual batch procedure run by the Gateway operator:

  1. Export. npm run payouts:export writes one batch per asset — a JSON file and a CSV of payout address and amount. The USD batch holds every node that has accrued at least $1; the $IDYL batch holds every node that has accrued at least 1 IDYL. A node appears only if it has a payout address.
  2. Pay. The operator pays each batch from the treasury multisig: USD payables in the published payout asset, $IDYL payables in $IDYL.
  3. Record. POST /admin/payouts {tx, asset, items} marks each amount as paid against the payment's transaction. A payout recorded in $IDYL settles $IDYL payables only. Recording is idempotent per transaction, so a batch cannot be counted twice.

We describe this exactly as it is. A payable is an obligation recorded on the Gateway's ledger and settled by its operator; it is not yet an on-chain claim that a node can enforce by itself. A node without a payout address accrues what it is owed but cannot be paid until it sets one. The asset in which USD payables are paid and the payout cadence have not been published, and no payout has been made yet. Moving settlement on-chain is part of the governance path in Section 21.

13.11Honest limits#

  • Not yet run against the real services. Every payment test runs against local stand-ins that follow the documented formats. The Stripe request and webhook signature, the Solana RPC responses and the price-service format have not yet been exercised against Stripe, a mainnet RPC node or a live price service from this code. That has to happen, in Stripe's test mode and on devnet, before anyone takes money.
  • No refund automation. Refunds, chargebacks and disputes are handled by hand. Stripe's refund and dispute notifications are acknowledged and otherwise ignored.
  • No identity, anti-money-laundering or sanctions checks. The only control is a purchase limit per wallet per day, and wallets are free to create, so the limit does not bound one person. Whether the operator needs a licence, customer checks or tax reporting is a question for counsel (Section 22).
  • The price and the chain are taken on trust. USDC is taken at $1.00 whatever it trades at. SOL and $IDYL are priced from one service or a fixed number, not from a time-weighted price. The Gateway believes its one RPC endpoint about what happened on-chain.
  • Exact amounts only. A transaction that pays too much is credited for the amount requested. Two transactions that each pay part of a request are not added up.
  • Card fraud arrives late. Credits bought with a stolen card can be spent, and turned into an amount owed to a node, long before the chargeback arrives.
  • Self-dealing. A wallet can buy credits and spend them on a node its owner runs. With credits bought for cash this costs the 15% protocol share. With credits bought in $IDYL it costs the 5/90 of the tokens that are burned. With granted credits it costs nothing, and the treasury pays the node. This is why grants are limited and payouts are a manual, reviewed batch.
  • One file. The ledger lives in the Gateway's state file. Each write is flushed to disk before it replaces the previous one, an answer that says "recorded" waits for that, and the previous good file is kept as a backup. There is still no database and no replication.

14IDYL Pro and the credit pool#

IDYL Pro turns $IDYL into access: a wallet that stakes enough $IDYL gets a larger daily allowance, a discount on Sealed and a share of a weekly pool of usage credits. It is the token's most direct link to the product, and the one most easily misdescribed, so we describe it carefully.

14.1Tiers#

FreeProPro+
Staked for Pro—≥ 5,000 $IDYL≥ 50,000 $IDYL
Daily allowance (Community)200,000 tokens1,000,000 tokens5,000,000 tokens
Unbound models in the allowanceThose needing 12 GB or lessAllAll
Sealed price1.3×1.3× less 10% (1.17×)1.3× less 20% (1.04×)
Weekly credit pool—Pro-rata sharePro-rata share

The Pro allowance replaces the free tier for that wallet. Requests inside it are admitted as Pro; past it, the wallet pays from credits or waits for 00:00 UTC. The credit pool is shared among all eligible stake, so a position below the Pro threshold also receives its share. Pro does not replace the Unbound attestation and does not buy an exemption from The Floor. Sealed is never free: Pro lowers its price and nothing more.

14.2Stake for Pro#

Stake lives in IDYL Bond, in a StakePosition account per owner at the program-derived address with seeds ["stake", owner], separate from node bonds. The account is 136 bytes:

OffsetSizeField
08Anchor discriminator
832owner
408amount (u64, little-endian) — the active stake
488unstaking_amount (u64)
568unstake_ready_at (i64)
648staked_at (i64)
721bump
7363reserved

The instructions are stake_pro, request_unstake_pro, which moves tokens out of the active stake into a cooldown of 7 days on mainnet, and withdraw_pro. Stake for Pro is never slashable, never counts as a node bond and never affects routing. $IDYL has 6 decimals.

The Gateway reads a wallet's amount from Solana and caches it for 5 minutes. Before the program is on mainnet, a Gateway operator can set a wallet's Pro status for testing with an admin override; such a status proves nothing about on-chain stake. The program's unit tests pass and its integration tests pass on a local validator. It has not been deployed on devnet or mainnet, and it is unaudited (Section 22).

14.3The credit pool#

Every Monday at 00:00 UTC, with catch-up if the Gateway was down at that moment:

Text
pool       = IDYL_CREDIT_POOL_SHARE × paid revenue of the previous ISO week      (default share 0.05)
your share = pool × your stake ÷ total eligible stake

Paid revenue here means credits bought with USDC, SOL or a card and consumed during that week on work that nodes served. Credits granted by the pool itself, promotional credits and credits bought with $IDYL do not count, so the pool cannot feed on itself; nor does revenue from requests served by a sealed provider, which carries no protocol share. A share above 0.075 is refused — the Gateway does not start — for the reason given in Section 14.4, and a share of 0 switches the pool off.

A position is eligible only if it was staked, or last added to, at least 7 days before the snapshot, so staking just before a Monday earns no share of that week's pool, and adding to a stake restarts its age. Shares are granted as usage credits that expire after 30 days. GET /api/pro reports the last pool: the week, its size in USD of credits and the number of stakers who shared it.

After a week with $1,000 of paid revenue, the pool is $50 of usage credits in total, divided among all eligible stakers. After a week with no paid revenue, the pool is zero.

14.4Why the pool is not yield#

The pool is a usage rebate funded by last week's revenue. It is never promised in dollars, never paid in money or tokens, cannot be withdrawn, sold or transferred, expires, and is capped by revenue that has already arrived, which may be zero. We call it a credit pool, never yield, interest, rewards or a return, and we ask everyone who describes it to do the same. We do not quote it per token staked, because that would describe a rate, and there is no rate.

The pool is also a cost to the protocol, and the cost is bounded. Pool credits bring in no new money; when they are spent on work a node serves, the node is still owed its 85% in USD, and that is charged to the treasury's half of the protocol share. At the default share, if every pool credit were spent, the cost would be 4.25% of the previous week's paid revenue, against the 7.5% the treasury received from the same revenue. The largest share the Gateway accepts is 7.5%, at which the cost is 6.375%: still inside the treasury's half. The pool is taken on exactly the revenue that produced that half, so even pool credits spent on provider-served work, which cost the treasury their full amount, stay inside it. The share can be lowered or ended (Section 21).

We also recognise that a share of revenue distributed in proportion to tokens staked is exactly the kind of feature that regulators and courts examine when deciding whether an arrangement is an investment contract. Section 17.5 describes the current US guidance. Whether the pool's design is acceptable is a question for counsel, and counsel sign-off on the token design is part of the launch gate.

15Season 0: Idle Points#

Season 0 is the network's public testnet season: 42 days with real traffic, before any token exists. Idle Points record two things the Gateway can measure for itself — capacity that was verifiably available, and work that someone paid for. Their purpose is to find out which operators and users actually make the network work, in a way that is hard to fake.

No amount is promised. Whether Season 0 points lead to any reward, in what form, of what size and from what source has not been decided. $IDYL is a fair launch with no reserved supply, so no tokens are set aside for points. Points may never be worth anything.

15.1Verified capacity#

Points follow capacity that the Gateway has measured, not capacity a node claims. The measurement is the simultaneous capacity check described in Section 7.3: one benchmark job per node, sent to every node at the same instant, timed by the Gateway. Each node carries a moving average of its measured throughput in tokens per second (tps), and a node that has not passed a capacity check in the last 24 hours accrues nothing.

15.2Availability points#

Once in every 10-minute slot, at a random moment inside it, each node that is online, unpaused, waiting for work or working, and has passed a capacity check in the last 24 hours accrues:

Text
points = (10 / 60) × sizeFactor × capacityFactor × reliability × sealedFactor

sizeFactor      by the memory need of the model it was checked on (the largest catalog model it serves):
                ≤ 8 GB → 1.0     ≤ 16 GB → 1.5     ≤ 24 GB → 2.0     > 24 GB → 3.0
capacityFactor  = clamp(tps / 20, 0.1, 1)
reliability     = the node's reliability score (Section 6.1)
sealedFactor    = 2 for a sealed node, 1 otherwise

A healthy machine serving an 8 GB-class model at 20 tokens per second or more accrues about 1 point per hour. A machine that generates 5 tokens per second accrues a quarter of that. A larger model, a better record and sealed hardware each raise the rate; none of them can be claimed, only measured.

15.3Paid work#

WhoPointsDaily limit
A node1 point per $0.001 it is owed for jobs paid with bought credits, doubled for jobs it served sealed3 × the availability points it accrued that UTC day
A paying wallet1 point per $0.01 of bought credits it consumed100 points per wallet per UTC day

Only funded spend counts. Credits bought with USDC, SOL, a card or $IDYL earn points when they are spent. Granted credits — the weekly credit pool and promotional grants — pay for requests like any other credits but earn no points, for the wallet or for the node; where a request is paid partly with granted credits, the node's paid-work points are scaled to the bought part. Free-tier, Pro-allowance and guest traffic earn no points for anyone. If they did, an operator could send free requests to their own node and be rewarded for it. The cap on a node's paid-work points ties them to its verified capacity, so buying one's own inference cannot outrun real availability.

15.4Referral#

A node may name a referrer wallet when it first registers. The referrer earns a bonus equal to 10% of that node's points for 90 days, capped at 1,000 points per referrer per season; the node's own points are not reduced. The referrer is fixed at first registration and cannot be changed, and it cannot be the node itself or the node's own payout address.

15.5Limits#

  • No fingerprint, no points. A node sends a hardware fingerprint — a one-way hash of stable machine traits — unless its operator opts out. A node without one earns nothing.
  • One earning node per machine. Among nodes with the same fingerprint, only the earliest registered earns. The others earn 0 and are flagged.
  • Three earning nodes per network address per day. Counted with a daily salted hash of the address, held in memory.

The fingerprint is supplied by the client, and a modified client can lie about it. It stops casual duplication; the simultaneous capacity check is the real defence, because a machine that pretends to be several must divide its measured speed among them.

15.6Penalties and flags#

  • Every slash point recorded during the season forfeits 1% of the node's season points.
  • A canary mismatch, or failing more than half of its capacity checks over 24 hours (once it has had at least 4), flags a node for review. So does a second node on the same computer, and a slash for tampering, which also forfeits the node's season points.
  • Flagged nodes stay on the public leaderboard, marked as flagged with the reasons. They are excluded from the snapshot, together with any referral bonus they produced, unless the operator deliberately includes them after review.

15.7Vesting#

The snapshot records a vesting schedule for any reward that may later be attached to points: 25% at token launch and 75% linearly over the following 90 days. Under that schedule, what has not vested is forfeited if the node is offline for 7 or more consecutive days during vesting, or is slashed for tampering. The schedule is recorded in the export; it would be enforced by a claim mechanism that does not exist yet. Recording a schedule is not a promise that there will be anything to vest.

15.8Season, snapshot and API#

The season starts at IDYL_SEASON0_START — by default the first start of the Season 0 Gateway, which is then persisted — and runs for 42 days. GET /api/points/season returns the rules as data, the start, the end and the totals. GET /api/points/leaderboard lists the top 500 nodes or users, and GET /api/points/:id returns one node's or wallet's points, rank, breakdown, factors, measured throughput, flags and vesting preview.

At the end, npm run points:export reads the Gateway's state and writes a snapshot — per id, the points, their breakdown and any flag — together with a SHA-256 Merkle root. A leaf is sha256("<id>:<points with exactly six decimals>"); leaves are sorted by their bytes; an inner node is sha256(0x01 ‖ left ‖ right). The export is deterministic, so anyone holding the same state reproduces the same root, and every participant can check their own entry against the published one. The rules in plain language are in Season 0.

16Economics#

16.1Pricing#

Callers pay per token, with input and output priced separately. The target rates for the beta, in USD per million tokens, for the original catalog are:

ModelModel idInputOutput
Llama 3.1 8Bllama3.1:8b$0.03$0.05
Qwen 2.5 7Bqwen2.5:7b$0.03$0.05
Mistral 7Bmistral:7b$0.03$0.05
DeepSeek R1 Distill 8Bdeepseek-r1:8b$0.04$0.08
gpt-oss 20Bgpt-oss:20b$0.06$0.20
Qwen 2.5 Coder 32Bqwen2.5-coder:32b$0.10$0.25
Llama 3.3 70Bllama3.3:70b$0.20$0.40
Any other model—$0.05$0.10

The full catalog, including the newer Open models and the Unbound tier, is in Appendix B. Target rate, beta. The cost of a request is:

Text
cost = (inputTokens × inputRate + outputTokens × outputRate) / 1,000,000
       × 1.3                   if the request is Sealed (relay or end-to-end)
       × (1 − Pro discount)    if it is Sealed and the wallet is Pro (0.10) or Pro+ (0.20)

Usage inside the free tier, a Pro allowance or guest access costs the caller nothing and is metered only.

16.2Revenue split#

FlowShare
Serving node85% of inference spend
Protocol15% of inference spend
— of which: weekly $IDYL buyback & burn50% of protocol revenue (7.5% of spend)
— of which: treasury (operations, audits, grants)50% of protocol revenue (7.5% of spend)

The split is the same for every tier and every grade, and it applies to the amount actually charged: a Sealed request charged at 1.3× owes the sealed node 85% of the higher amount. The node's 85% is owed on every credit-paid charge: in USD where the credits were bought with money or granted, in $IDYL where they were bought with $IDYL. The protocol's 15% exists only where money arrived. On charges paid with credits bought in $IDYL the protocol's share is 5/90 of the tokens, and it is burned. On charges paid with granted credits there is no protocol share, and the node's share is charged to the treasury (Section 13.9).

16.3Unbound premium#

Unbound models are priced at roughly 1.5× comparable Open models:

Unbound modelRate (in / out)Comparable Open modelRate (in / out)Ratio (in / out)
Qwen3 8B Unbound$0.05 / $0.08Qwen3 8B$0.03 / $0.051.67× / 1.60×
DeepSeek R1 8B Unbound$0.06 / $0.12DeepSeek R1 Distill 8B$0.04 / $0.081.50× / 1.50×
Gemma 3 12B Unbound$0.07 / $0.14Gemma 3 12B$0.05 / $0.101.40× / 1.40×
Qwen3 14B Unbound$0.08 / $0.16Qwen3 14B$0.05 / $0.101.60× / 1.60×
gpt-oss 20B Unbound$0.09 / $0.30gpt-oss 20B$0.06 / $0.201.50× / 1.50×
Qwen3 32B Unbound$0.15 / $0.38Qwen 2.5 Coder 32B$0.10 / $0.251.50× / 1.52×
Llama 3.3 70B Unbound$0.30 / $0.60Llama 3.3 70B$0.20 / $0.401.50× / 1.50×

Llama 3.2 3B Unbound ($0.03 / $0.05) and Mistral Small 24B Unbound ($0.10 / $0.30) have no Open counterpart in the catalog. Target rates, beta.

The premium has one purpose: it pays the operators who opt in. Serving Unbound models carries legal, reputational and personal costs that serving Open models does not, and a network that asks operators to accept those costs should pay for them. Because the split is unchanged, the serving node is owed 85% of the higher price. The premium is not a toll on the Floor check, which every request receives at no extra charge.

16.4Sealed multiplier#

Both Sealed grades cost 1.3× the model's rate. The multiplier pays for hardware that is scarcer and more expensive to run than an idle consumer machine: a datacenter GPU in confidential-computing mode, in a confidential virtual machine, operated by someone who maintains an attestation pipeline. Relay and end-to-end cost the same, so that nobody has a price reason to choose the weaker of the two. Pro lowers the multiplier to 1.17× and Pro+ to 1.04×.

16.5Guard jobs#

Guard jobs are metered to the node that serves them at a flat $0.01 per 1M tokens. Callers are not billed for The Floor. The Gateway records these fees separately as a protocol cost (floorFeesTotalUsd). They are metered only: they are not part of the real-money ledger in this version, and how they will be settled — the expectation is from the treasury's operations budget — will be published before they are. They do not change the 85% that serving nodes are owed or the 50/50 division of protocol revenue.

16.6Worked examples#

A single request, paid from credits. A caller sends 3,000 input tokens to llama3.3:70b and receives 800 output tokens.

LineCalculationAmount (USD)
Input3,000 / 1,000,000 × $0.200.000600
Output800 / 1,000,000 × $0.400.000320
Total charged0.000920
Owed to the serving node (85%)0.000920 × 0.850.000782
Protocol (15%)0.000920 × 0.150.000138
— buyback & burn (50%)0.000069
— treasury (50%)0.000069

The same request, Sealed. Either Sealed grade multiplies the charge by 1.3:

LineCalculationAmount (USD)
Total charged0.000920 × 1.30.001196
Owed to the sealed node (85%)0.001196 × 0.850.0010166
Protocol (15%)0.001196 × 0.150.0001794
For a Pro wallet0.000920 × 1.3 × 0.90.0010764
For a Pro+ wallet0.000920 × 1.3 × 0.80.0009568

The same request on Unbound. The same token counts on huihui_ai/llama3.3-abliterated:70b:

LineCalculationAmount (USD)
Input3,000 / 1,000,000 × $0.300.000900
Output800 / 1,000,000 × $0.600.000480
Total charged0.001380
Owed to the serving node (85%)0.001380 × 0.850.001173
Protocol (15%)0.001380 × 0.150.000207
— buyback & burn (50%)0.0001035
— treasury (50%)0.0001035

A month of workload. An agent platform sends 300 million input tokens and receives 50 million output tokens on llama3.3:70b over a month, all paid from credits.

LineCalculationAmount (USD)
Input300 × $0.2060.00
Output50 × $0.4020.00
Total charged80.00
Owed to the nodes that served it (85%)68.00
Protocol (15%)12.00
— buyback & burn (50%)6.00
— treasury (50%)6.00

The same month on Sealed costs $104.00, of which $88.40 is owed to sealed nodes.

A guard node's view. A node that classifies 10,000 requests in a day, averaging 400 metered tokens per guard job, meters 4,000,000 tokens × $0.01 per million = $0.04 for the day. Guard capacity is a contribution, not a business.

An operator's view. These numbers are illustrative, not a forecast. A node that serves 20 million input and 5 million output tokens of llama3.1:8b in a day generates $0.60 + $0.25 = $0.85 of spend at target rates. If all of it were paid from credits, the node would be owed $0.7225; if all of it were free-tier traffic, the node would be owed nothing, and $0.7225 would be its metered figure. At these rates, running a node makes economic sense for hardware whose marginal cost is close to zero — a machine that is already on and already paid for — and much less sense for hardware bought or powered specifically to serve. IDYL makes no representation that running a node will be profitable. Operators should compare expected earnings with their own electricity cost.

16.7No emissions#

IDYL does not mint tokens to pay nodes. There is no inflation schedule and no liquidity-mining programme. A node is owed money when, and only when, it serves a request that was paid for from credits. This makes node income smaller than an emissions-subsidised network might advertise at the start, and it makes that income real: it follows what callers chose to spend. Where the credits spent were granted rather than bought — the weekly pool, a promotion — the node's share is charged to the treasury's half of the protocol's revenue, never paid out of new tokens, and the ledger shows the treasury's net position. Where the credits were bought with $IDYL, the node is paid with those same tokens, which already existed (Section 13.9).

16.8Metered and paid#

Every money figure IDYL publishes is one of two kinds, and says which.

MeteredPaid
CountsEvery settled request, valued at target ratesOnly requests billed to credits
Includes free-tier, Pro-allowance and guest usageYesNo
Creates an amount owed to a nodeNoYes: 85% of the charge in USD, or 85/90 of the tokens behind it where the credits were bought with $IDYL
Counts as paid revenueNeverOnly the part paid with credits bought with USDC, SOL or a card
Feeds the buyback queueThe metered queue, a notional figureThe paid queue, which funds real buybacks
Wheretreasury and node earnedUsd in the Ledgertreasury.paid, node payable and the weekly report

On a network that is mostly free-tier, metered figures will be far larger than paid ones. Only the paid figures describe money.

17$IDYL#

Your GPU is napping. Bill someone for it.

17.1Supply and launch#

PropertyValue
ChainSolana (SPL token)
LaunchFair launch on pump.fun, after the launch gate is met (Section 23.2)
Total supply1,000,000,000 (fixed; pump.fun standard)
PresaleNone
Venture allocationNone
Team allocationNone
Dev buyDisclosed publicly; locked on Streamflow with a 6-month vest
Contract addressCA: announced at launch

A pump.fun fair launch means every buyer, including the people who build IDYL, acquires tokens from the same public bonding curve at the same terms. There is no reserved supply and no private round. If the developers buy at launch, the purchase is disclosed publicly and the tokens are locked on Streamflow with a 6-month vest; the lock is verifiable on-chain. The token does not exist yet. Until launch, any address presented as the IDYL contract is not ours.

17.2Five jobs#

$IDYL is designed to have work to do from the day it launches, and every one of its jobs is funded by what callers pay or by the holder's own choice — never by issuance.

  1. Node bond. Nodes bond $IDYL to receive paid jobs; the mainnet minimum is 10,000 IDYL. Bond raises routing weight up to a 2.00× cap (Section 6.2) and is slashable: missed deadlines, canary mismatches and proven tampering slash bond according to the schedule in Section 7.5, and slashed tokens are burned, not redistributed. Unbonding has a 7-day cooldown.
  2. Stake for Pro. Staking 5,000 or 50,000 $IDYL unlocks a larger daily allowance and a lower Sealed price (Section 14). The stake is never slashed and can be withdrawn after a 7-day cooldown.
  3. The credit pool. Stakers share a weekly pool of usage credits equal to a fixed share of the previous week's paid revenue. It is a rebate in service, capped by revenue that has already arrived. It is never yield.
  4. Pay with $IDYL. A 10% discount on credits when paying in $IDYL. The tokens are not sold: they pay the node that did the work (85/90), and the protocol's cut (5/90) is burned (Section 13.7).
  5. Buyback and burn. The protocol takes 15% of the inference revenue paid in money. Half of that funds a weekly on-chain buyback of $IDYL, and the purchased tokens are burned. Each transaction is recorded and published.

Jobs 1 and 4 can meet. A node that is paid in $IDYL receives the token it needs for its bond, so a caller's payment can become a node's collateral without anyone selling. We describe that loop because it is real, and we promise nothing about it: it exists only to the extent that callers choose to pay in $IDYL, and it says nothing about what the token will be worth.

None of IDYL's products requires holding $IDYL. Chat, the API and Desktop work without it.

17.3What is live, and when#

JobState todayWhat it needs to go live
Node bond, slash and burnProgram written for devnet: 42 unit tests pass and the integration suite passes on a local validator. Never run on devnet or mainnet; unaudited (one internal review, not an audit); slash window and two-step admin built. The Gateway records slash points off-chainAn independent audit, published; deployment to mainnet; the token
Stake for ProThe same program, in the same state. Pro can be set by operator override for testingThe same
Credit poolBuilt and running on the Gateway. Zero until there is paid revenue and an eligible stakerPaid revenue and stakers
Pay with $IDYL: node pass-through and burnBuilt; disabledThe token and its mint address
Buyback and burnThe paid buyback queue accrues from paid revenue. No buyback has been executedThe token, a published buyback wallet and a published schedule

The two on-chain jobs depend on IDYL Bond reaching mainnet, and we have committed that it will not hold mainnet funds before an independent audit is published. The launch sequence in Section 23.3 therefore puts that audit before the token. If it is not complete, the token does not have its first two jobs on day one, and we will say so rather than launch as though it did.

17.4What $IDYL is not#

  • It is not equity and not a claim on IDYL's revenue, treasury or assets.
  • It pays no dividend, interest or yield. Bonded tokens earn nothing by themselves; a node earns only by serving paid jobs. Staked tokens earn nothing by themselves; a staker receives service, and usage credits that expire.
  • It is not required to use the API or IDYL Chat.
  • It carries no promise of governance rights. Any future governance role will be proposed publicly before adoption.
  • Its price is set by an open market. Buybacks are funded by actual paid revenue, which may be small or zero, and are not a price-support commitment.
  • Season 0 points are not $IDYL and are not a claim on it.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

17.5Regulatory context#

We describe the current United States guidance as we understand it, because two of $IDYL's jobs sit close to the questions regulators ask. This is information, not legal advice.

The interpretation of March 17, 2026. The Securities and Exchange Commission published a Commission interpretation of how the federal securities laws apply to crypto assets, which the Commodity Futures Trading Commission joined. It sorts crypto assets into five categories: digital commodities, digital collectibles, digital tools, stablecoins and digital securities (summary by DLA Piper). Under it, digital commodities, digital collectibles and digital tools are not securities in themselves, the status of a stablecoin depends on its features, and digital securities are securities. The interpretation also explains how an asset that is not a security can still be sold as part of an investment contract — when an issuer makes representations or promises to undertake essential managerial efforts from which buyers would reasonably expect profit — and how such a contract can end.

The staff FAQs of September 25, 2026, and their revision. The staff of the SEC's Division of Corporation Finance published answers to frequently asked questions about that interpretation. Question 2.5 addresses token buybacks. As first published, it said that where a crypto system is functional, announcing a buyback programme would not be a representation or promise to undertake essential managerial efforts. On September 28, 2026 the staff revised it to apply only where a system is functional and has no central party, as reported at the time by the trade press (Unchained, The Defiant). For a system that is not functional, the answer says such an announcement could be that kind of promise if the issuer presents the buyback as creating yield or a return for holders. It does not address a system that is functional but still has a central party. A neighbouring answer, Question 2.4, uses the same condition: once a functional system has no central party, the issuer's statements likely would not create a new investment contract. The FAQs are staff views: they are not rules, the Commission has neither approved nor disapproved them, and they have no legal force.

What this means for IDYL, as we read it.

  • The IDYL Gateway is a central party today. It is operated by the core contributors, and it authenticates callers, routes requests, runs The Floor, keeps the ledger and would execute the buyback. The favourable reading of the buyback answer is limited to functional systems with no central party. IDYL does not fit it, we do not rely on it, and nobody should describe IDYL's buyback as covered by it.
  • We do not claim a category for $IDYL. Classification under the five categories depends on the facts and on how a token is offered. It is a question for counsel, not for a whitepaper.
  • Three features need particular scrutiny under an investment-contract analysis: the revenue-funded buyback and burn, the credit pool shared among stakers in proportion to stake, and any statement that ties the token's value to the work of the people who build IDYL. We have designed each to avoid promising profit — the buyback follows revenue on a schedule fixed in advance, the pool is paid in service, capped by revenue and expires, and official communication never discusses price or returns. Design intent does not decide a legal question.
  • Paying nodes in $IDYL raises its own questions. Work that callers buy with $IDYL is paid to nodes in $IDYL. How that is treated for payments, tax and securities purposes, for the protocol and for node operators, is part of what counsel reviews. We have not had that advice yet.
  • Staff views move. This one changed within three days of publication. Anything written here may be out of date.

Outside the United States. Other jurisdictions have their own regimes, including the European Union's Markets in Crypto-Assets Regulation, with its rules on crypto-asset white papers and marketing. This document is not a white paper under that regulation. Selling prepaid credits for stablecoins, SOL and card payments raises separate questions about payments, anti-money-laundering and consumer-protection law, discussed in Section 22.

Counsel review is a launch-gate item. The token does not launch until counsel has reviewed and signed off on the token design, including the buyback, the credit pool and Pay in $IDYL (Section 23.2). If that review requires a feature to change or be removed, it will be.

18Transparency and weekly reports#

Trust is a list of things that can be checked. This section describes what the Gateway publishes about itself, and the rule behind all of it: published values come from what the software actually does, or from what the operator explicitly sets — never from a default that sounds good.

18.1The transparency endpoint#

GET /api/transparency returns, in machine-readable form:

FieldContent
storesEvery kind of data the Gateway persists, derived from the sections it actually writes. A test fails if code begins persisting something that is not listed
neverStoresWhat is never written to disk or logs, including prompts and replies
retentionHow long each kind of data is kept
logsContainPromptsfalse
nodeVisibilityA plain statement of what the serving node can see at each grade
canaryA warrant canary: published with a dated statement and the date by which the next one is due, or not_published
requestsLegal requests received and complied with in a stated period, or not_published

The canary and the request counts are set only by the Gateway operator, through an admin endpoint, and are persisted. The software never generates them. A value the operator has not set is reported as not_published, not filled in. If a published canary is not renewed by its nextUpdateBy date, assume it has lapsed.

18.2Weekly reports#

The Gateway keeps one snapshot per ISO week (UTC), for 52 weeks, at GET /api/reports (the index) and GET /api/reports/weekly?week=YYYY-Www:

  • nodes online, average and maximum, from samples taken every 5 minutes;
  • requests, success rate and tokens served, and requests by what paid for them;
  • metered spend, labelled metered;
  • paid revenue and its split, labelled paid, beside the total of all credits consumed, and the real-money ledger at the end of the week with its change during the week;
  • amounts owed to nodes: accrued and paid;
  • the buyback queue and recorded burns;
  • The Floor's counts;
  • the Sealed share of paid requests;
  • Idle Points issued;
  • guest requests;
  • credits bought, by asset, and credit-pool distributions.

Two figures sit side by side in a report, and they are different things. paid.revenueUsd is paid revenue as this paper defines it: charges paid with credits that were bought with USDC, SOL or a card (Section 13.9). paid.creditsConsumedUsd is every credit consumed, including credits that were granted or bought with $IDYL, which are not revenue.

A bad week is reported in the same format as a good one. The launch gate in Section 23.2 is measured against these reports.

18.3Burn records#

A burn happens on Solana, from the treasury multisig. Afterwards the operator records it with POST /admin/burns {tx, amountIdyl, at}. The record carries the transaction signature and its explorer link, and recording is idempotent per transaction. Burned totals change only from recorded transactions that anyone can look up; the Gateway itself does not read the chain to confirm them. The $IDYL that Pay in $IDYL queues for burning leaves the queue the same way, through a separate record of the burn's transaction. Until the first burn, the record is empty, and it says so.

18.4The trust checklist#

Every commitment IDYL makes about privacy, Sealed, money, the token, safety and code is listed with an honest status and a place to verify it in the Trust checklist, and on the site's trust page. Items that depend on the launch are marked as pending, not as done.

19Distribution#

A network is only useful where its users already are. v0.3 ships four ways to reach it. None of them is a partnership, and this paper announces none.

19.1MCP server#

packages/mcp-server is a Model Context Protocol server with no dependencies, speaking over standard input and output. It gives any MCP-capable assistant or agent two tools: idyl_chat, which sends a chat request at community or sealed grade (Sealed · relay), and idyl_models, which lists the models available now. It uses an ordinary API key and the public API. It is not published to the npm registry; it is installed from a release archive or run from a clone.

19.2Examples#

The examples/ directory holds short, runnable examples: curl, the OpenAI SDKs for Python and Node.js, LangChain, the Vercel AI SDK, Sealed · relay with one extra header, and Sealed · end-to-end from Node.js using the same client module as IDYL Chat.

19.3Self-hosting#

A Docker Compose file starts a complete private network — Ollama, a Gateway and a node — on one machine, and a Render blueprint deploys a Gateway with the site. npm run package assembles a release directory: archives of the Node CLI, the MCP server, the self-hosting bundle and the website, the brand kit, the documentation and examples, any desktop installers that have been built, a SHA256SUMS file, and a manifest that says for each file how it was checked. Container images are built by the release workflow and exist once a release has been published; none has been yet. The self-hosting guide covers configuration. A self-hosted Gateway is its operator's own network: it is not the IDYL network, and its operator is responsible for keeping The Floor in place.

19.4OpenRouter plan#

OpenRouter puts many inference providers behind one API. IDYL's API is OpenAI-compatible, which is the technical precondition for being listed as a provider there. The OpenRouter plan maps each published requirement to IDYL's current state. Four cannot be met today: an email address on a company domain, monthly invoicing by a legal entity, a model feed in OpenRouter's schema, and measured uptime of 95% or better on production capacity. Nobody at OpenRouter has been contacted. IDYL is not listed on OpenRouter and has no agreement with it. This is a plan, and its status is Roadmap.

20Privacy and security#

20.1What a node sees#

On Community, a node necessarily sees the plaintext of every prompt it serves and every completion it produces. A model cannot compute on text it cannot read, and on consumer hardware there is no practical way to hide a prompt from the machine running inference. Any description of a decentralized inference network that claims nodes see only token counts, or only encrypted data, is wrong for consumer hardware. Callers should assume that an independent operator can read what they send at Community grade. A guard node, likewise, sees the text it classifies: the latest user message and the system prompt.

On the Sealed grades the software inside the enclave still reads the prompt — it must — but the owner of the machine is excluded by hardware, within the limits set out in Section 12.10.

What no node receives, at any grade: the caller's wallet, API key, guest id, IP address or payment information.

20.2Mitigations#

  • Transport encryption. All traffic between caller and Gateway, and between Gateway and node, uses TLS. Content is not exposed to the networks in between.
  • A grade for sensitive work. Sealed · relay removes the machine's owner from the set of parties who can read a request; Sealed · end-to-end also removes the Gateway.
  • No content logging. The Gateway, the IDYL Node and IDYL Desktop do not write prompt or completion content to logs or disk. The Gateway records the metadata needed for metering and routing — model, token counts, latency, outcome and serving node. The Floor records only per-category counts.
  • Rotation and minimal payloads. As described in Section 12.11.
  • Operator policy. Operators agree not to log, store, inspect or reuse content. Violations, where provable, are treated as tampering. Many violations would not be provable, and we do not pretend otherwise.
  • Trusted-operator pools (roadmap). Callers will be able to restrict their traffic to a named pool of operators they trust.

Guidance for callers. At Community grade, do not send secrets, credentials, regulated data or personal data you are not permitted to share with third parties. For sensitive workloads use Sealed — understanding its limits and its unvalidated status — run inference on nodes you operate yourself, or use a provider directly under your own agreement.

20.3Security model#

  • Node identity. Each node signs every protocol request with its ed25519 key (Section 5.1). A stolen key allows impersonation, redirection of what the node is owed if the payout address is changed, and loss of bond; operators must protect it like a wallet key. IDYL Desktop stores it encrypted with the operating system's credential store.
  • Caller identity. API keys and Unbound attestations are bound to a wallet through signed nonces. A leaked API key allows usage against the caller's allowance and credit balance — and, for an attested wallet, Unbound usage; keys can be reissued, which revokes the old one at once.
  • Operator privacy. A node's record is public at /api/nodes/:id and on the Ledger: display name, payout address, hardware summary, client version, performance, points and what it is owed. The hardware fingerprint is not part of the public record. The CLI can withhold the hardware summary and the fingerprint; operators should choose a name and payout address they are comfortable publishing.
  • Sybil resistance. On mainnet, paid jobs require a minimum bond of 10,000 IDYL per node, which makes running many fake nodes costly. In testnet there is no bond requirement; the capacity checks, the fingerprint rule and the per-address limit of Section 15 stand in for it where rewards are concerned.
  • Untrusted output. A malicious node can return harmful or manipulative text, including content designed to mislead software agents. Unbound models can produce disturbing or false content by design. Callers should treat model output as untrusted input, as they would with any model.
  • Untrusted guard verdicts. A guard node could return false verdicts. The Floor prefers the operator's own guard endpoint when one is configured, applies the local prefilter regardless, and treats fabricated verdicts as tampering.
  • Payment verification. The Gateway credits a Solana payment only after reading the transaction from an RPC endpoint it is configured to trust, and converts SOL and $IDYL at a price from a price service it is configured to trust. Both are external dependencies; their failure modes are in Section 22.
  • Operator endpoints. Administrative actions — granting promotional credits, recording payouts and burns, setting the canary, testnet overrides — require a single admin token. Whoever holds it can alter the ledger. It should be treated as a production secret and is a custody risk of its own.
  • The Gateway is trusted. In the current architecture the Gateway sees request content in transit at Community and Sealed · relay grades, runs The Floor, controls routing, verifies attestations and keeps the money ledger in a single state file. It is operated by the core contributors, its code is MIT-licensed, and reducing reliance on it is a governance goal (Section 21).

21Governance#

IDYL begins with a small, accountable operator and decentralizes in stages, each gated by working software.

Today. The core contributors operate the Gateway. Protocol parameters — rates, the revenue split, the Sealed multiplier, the credit-pool share, the Pay-in-$IDYL discount, the slashing schedule, the bond multiplier, the minimum bond, the Pro thresholds, the Season 0 rules and The Floor's policy — are set by an M-of-N multisig whose signers and threshold will be published before launch. The same multisig holds the upgrade authority for IDYL Bond, controls the treasury, pays node batches and executes burns. Parameter changes are announced before they take effect and recorded publicly. Season 0 rules do not change during the season, except to close an exploit, and then with a public note. The Floor's blocked categories can be extended, but the three blocked categories in Section 10.2 will not be removed.

Next. Publish the MIT-licensed Gateway, Node and Desktop code openly, document how independent parties can run Gateways that keep The Floor in place, publish the treasury, buyback and payout wallets, and move parameters, node settlement and buyback execution into on-chain programs with public, auditable logic.

Later. Reduce the multisig's discretion to emergency powers, move slashing determinations to automatically verifiable rules, and consider mechanisms through which node operators and callers can propose and ratify parameter changes. We make no commitment about the form those mechanisms will take, and no commitment that $IDYL will carry governance rights.

Treasury spending — operations, audits and grants — will be reported publicly on a regular schedule, alongside the weekly reports.

22Risks#

Demand. Target rates, compatibility and reliability may not attract sustained paid demand. Without paid demand there is nothing owed to nodes, no credit pool and no buyback.

Supply quality. Idle machines are, by nature, intermittent. Owners reclaim them without notice, consumer networks are variable, and hardware is heterogeneous. Routing and retries mitigate this but cannot make an individual node as dependable as a dedicated server. Desktop's idle gating makes this more pronounced, by design.

Verification limits. As Section 7.6 explains, verification is statistical. Subtle cheating — slightly heavier quantization, occasional truncation — may persist for some time before it is detected, and some forms may not be detectable at all with current techniques.

Safety-layer limits. As Section 10.5 explains, The Floor makes mistakes in both directions, checks prompts but not outputs, and checks only the latest turn. Harmful content can pass it; legitimate requests can be blocked by it.

Sealed has not been validated on real hardware. The attestation verifier, the Sealed Channel and the in-enclave Floor have only been exercised with a simulated attester. The claim names expected from real vendor tokens come from documentation, not from tokens we obtained. First contact with real confidential hardware may reveal mismatches that require changes, and until then Sealed should not be relied on for anything that matters. One operational consequence is already visible: vendor tokens can be short-lived — Intel's documented sample token is valid for 5 minutes — so a sealed node may need to reach the vendors' attestation services every few minutes, and an interruption of those services would take Sealed capacity offline within minutes. How long the Gateway should accept an attestation is described in Section 12.4 as the code stands today; it may change once real tokens have been seen.

TEE vendor trust and side channels. Sealed depends on NVIDIA's and Intel's or AMD's hardware, firmware, attestation services and signing keys. A flaw or compromise in any of them undermines the grade, and such flaws have been found repeatedly. Physical attacks on the memory bus, demonstrated in 2025, are outside the vendors' threat models and within reach of a node operator. Under hardware verification the software inside the enclave is not proven at all. Side channels — timing, sizes, access patterns — remain at every level.

Legal exposure for Unbound operators. An operator who serves Unbound models runs a model on their own machine that generates text for strangers. Whether that is lawful, and who is responsible for what is generated, depends on where the operator lives. Some jurisdictions restrict or criminalise producing or distributing certain content — for example obscene or sexually explicit material, extremist or terrorist material, content that glorifies certain crimes, or defamatory statements — regardless of who asked for it. Some regulate online services that host user-generated or AI-generated content. Some impose duties on providers of AI systems. The Floor blocks three categories that are illegal almost everywhere; it does not track the law of any particular country. Operators must check their own position before opting in, and must switch Unbound off if they are unsure. Nothing in this paper is legal advice.

Legal exposure for the network. The same questions apply to the Gateway operator and to IDYL as a project. Laws on AI services, online safety and content moderation are changing quickly in many jurisdictions, and IDYL may have to restrict the Unbound tier, change The Floor's policy or withdraw Unbound in some regions.

Payments, anti-money-laundering and consumer protection. Selling prepaid credits is a payments business. Accepting stablecoins, SOL and card payments from wallets identified only by a public key may bring the Gateway operator within money-transmission, payment-services, anti-money-laundering, sanctions or stored-value rules in some jurisdictions, and those rules may require identity checks that IDYL's no-account design does not perform. Prepaid balances held for consumers raise consumer-protection questions: refunds, expiry, disclosure, what happens to balances if the service stops. There is no automated refund and no written refund policy yet. A card processor can suspend an account, reverse payments or refuse the business, particularly one associated with the Unbound tier. Any of these could force payment methods to be restricted, changed or withdrawn.

Price-feed and RPC trust. The Gateway credits Solana payments on the word of one RPC endpoint and prices SOL and $IDYL from one price service. A wrong, stale or manipulated price credits too much or too little; a thinly traded token is easy to move for the 15 minutes an intent lasts. A faulty or malicious RPC endpoint could report a payment that did not happen or hide one that did. The per-payment and per-day limits bound the damage; they do not remove the dependency.

Payments not yet exercised against real services. The payment code has been tested only against local stand-ins for Stripe, a Solana RPC node and a price service. First contact with the real services may reveal differences that have to be fixed before real money is accepted (Section 13.11).

Card fraud and self-dealing. Credits bought with a stolen card can be spent before the chargeback arrives, and a wallet can spend credits on a node its owner runs to turn them into a payable. Manual, reviewed payouts and the purchase limits bound both; they do not prevent them.

Grants are paid by the treasury. Two features create amounts owed to nodes in USD without bringing in money: credits from the weekly pool, and promotional credits granted by the operator. Both are charged to the treasury's half of the protocol share. The pool is capped so that this half always covers it. Promotional grants are not capped by the code, and a large enough programme would push the treasury's net position below zero. The ledger publishes that position as treasuryNetUsd, and solvent: false when it is negative.

Nodes paid in $IDYL bear its price. Work bought with $IDYL is paid to nodes in $IDYL. The number of tokens is fixed when the caller buys the credits; their value when the node is paid can be lower, and for a memecoin it can be far lower. A node that needs dollars to pay for electricity is exposed to that. The path is also untested: it cannot run before a token exists.

Key custody for the treasury and payouts. The treasury receives every payment. Node payouts and burns are executed by hand from a multisig and then recorded with an admin token. A compromised signer, a compromised admin token, a mistaken batch or a lost key could lose funds, misstate the ledger or leave nodes unpaid. Payables are recorded on the Gateway's ledger, which lives in one state file: losing it without a backup would lose the record of balances and of what nodes are owed. Until settlement is on-chain, nodes and credit holders rely on the operator.

Points farming. Season 0 is designed against farming, not proof against it. A fingerprint can be forged by a modified client. Capacity checks can be gamed by renting real hardware for the minutes a check runs, or by an operator with several real machines and addresses. Wallets can pay for inference they do not need in order to earn points, up to the daily cap. Rules can be closed during the season only by changing them, which we will do only with public notice. And points may never be worth anything, which is its own risk for anyone who spends money or electricity to collect them.

Abuse. Unbound models will be used for harm the classifier does not catch or does not cover: scams and phishing text, harassment, malware assistance, disinformation, non-consensual sexual content about real adults. The Acceptable Use Policy forbids these uses, and the Gateway operator can revoke keys and attestations. But IDYL does not store prompts, cannot see most abuse, cannot see end-to-end requests at all, and cannot verify age. Rate limits, quotas and prices bound the volume, not the intent.

Reputational and platform risk. A network that serves unrefusing models can become the subject of a single damaging story, fairly or not. Hosting providers, code hosts, wallet providers, payment processors, app distribution channels, social platforms and model libraries may restrict or remove projects associated with such models. Third-party model builds may be withdrawn from the Ollama library or changed. Any of these could interrupt the network or one of its products with little notice.

App signing and distribution. Until signing certificates are configured, Desktop releases are unsigned. Users will see operating-system warnings and must bypass them, which also makes them easier targets for impersonated downloads. Automatic updates on macOS require signed builds. Some installers have been built but never run on their operating system. Signing certificates can be refused or revoked. Security software may flag an app that runs background network jobs. Download only from the links in the Desktop guide.

Privacy. On Community, nodes see the plaintext of the prompts they serve, and guard nodes see the text they classify. People using Unbound may share more sensitive material than they would elsewhere, which raises the stakes. Payments on Solana are public and link a wallet to its use of the service.

Regulatory and securities risk. The legal treatment of digital tokens, decentralized networks and AI services varies by jurisdiction and is changing. As Section 17.5 sets out, the Gateway is a central party, the buyback and the credit pool are the kind of features an investment-contract analysis examines, and the most recent staff guidance does not cover IDYL's situation. $IDYL could be characterised in ways that restrict its distribution, trading or use, and features could have to change or be withdrawn. Participants are responsible for compliance in their own jurisdictions.

Token volatility. $IDYL will trade on open markets and may lose most or all of its value. Bonded and staked tokens are exposed to that volatility, and bonded tokens to slashing. A node's bond may be worth far less when it is withdrawn than when it was posted. A Pro stake that qualifies today may be worth little tomorrow, and the thresholds are set in tokens, not dollars.

Concentration. In early phases the Gateway, the guard capacity, the sealed capacity, the multisig and much of the supply may sit with a few parties, creating single points of failure and of trust.

Smart-contract risk. IDYL Bond is unaudited and has never run on devnet or mainnet. No third-party security audit has been completed; its tests have run only on a developer's machine and a local validator. An internal review — one AI reviewer, no second reviewer, no outside party — is not an audit. That review found and fixed one Medium issue (a token mint with a close authority could be closed and re-created after setup, with powers that could empty the vault) and one Low (a mint with a freeze authority could lock the vault); both were in how the program checks the token it accepts. The program now has 42 unit tests, including randomized checks against an in-memory ledger, and its integration suite passes on a local validator. That one review found two real faults is a reason to expect an independent audit to find more. Programs can contain bugs that lead to loss of bonded or staked funds. The program will not hold mainnet funds until an independent audit is published.

Two risks the review first accepted are now closed in the code (not yet run on devnet).

  • What a stolen slash key can do is bounded. The gateway's slash key can slash only for a missed deadline (0.1% per call) or a failed canary check (1% per call), and at most 5% of what a node had bonded (including unbonding tokens) when its 24-hour window opened. Two windows can follow each other directly, so within any 24 hours that is at most 9.75% of a bond if the node adds nothing. A 100% slash for proven tampering is a separate instruction that needs the admin's signature. No slash can reach stake-for-Pro positions, slashed tokens are burned rather than taken, and the admin can replace the slash key at once. The admin key remains the single point of failure for node bonds, which is why it must be a multisig before mainnet.
  • The admin transfer is two-step. The current admin proposes a new key, and it gains power only when that key signs to accept; a proposal can be cancelled. A mistyped address can no longer take over or strand the program's administration.

BYOK provider terms. BYOK routing, when built, will use each caller's own key under the caller's own agreement with the provider. Providers may restrict how keys are used through intermediaries; callers remain responsible for complying with their provider terms.

Operational risk. Bugs in the Gateway, its plugins, The Floor, the Node or Desktop, outages of the hosting provider, or compromise of operator keys could interrupt service or cause losses.

23Roadmap and the launch gate#

The roadmap is organised by phase rather than date. Each phase begins when the previous one is working, not when a calendar says so.

23.1Roadmap#

PhaseScopeStatus
0 — Testnet betaGateway, Node and Ledger; wallet-signed API keys; free tier of 200,000 tokens per key per day; canaries and off-chain slash pointsBeta (testnet)
0.2 — Use it, Build with it, Earn from itIDYL Chat; IDYL Desktop; the catalog with Open and Unbound tiers; The Floor; the Unbound attestation; guard jobsBeta (testnet)
0.3 — Provable and paidThree privacy grades and the Sealed Channel; guest access; credits by Solana Pay and card; the real-money ledger and payout procedure; IDYL Pro and the credit pool; capacity checks and Idle Points; transparency and weekly reports; MCP server, examples and self-hostingBuilt, Beta (testnet). Sealed not validated on real hardware; no payout made yet
S0 — Season 0A public testnet season of 42 days, reported weekly against the launch gateNot started. Begins when the Season 0 Gateway is deployed
Gate — Launch gateThe seven conditions in Section 23.2Not met
1 — Token launch$IDYL fair launch on pump.fun; dev buy, if any, disclosed and locked on Streamflow (6-month vest); CA announced at launchPre-launch. Waits for the gate
2 — Bond on mainnetIndependent audit; IDYL Bond on mainnet; 10,000 IDYL minimum bond for paid jobs; on-chain slashing and burn; stake for Pro read from mainnetProgram written for devnet; not deployed; unaudited
3 — SettlementScheduled node payouts in a published asset; first buyback and burn; on-chain settlementRoadmap. The manual procedure is built
3.1 — HardeningSealed validated on real confidential hardware; a published, measured node image; output-side Floor; multi-turn classification; signed and notarised Desktop builds; third-party security review of the GatewayRoadmap
4 — ReachIDYL Exchange; BYOK Router; an OpenRouter listingRoadmap
5 — Trust and decentralizationIndependent Gateways that keep The Floor; on-chain parameters; trusted-operator pools; reduced multisig discretionRoadmap

23.2The launch gate#

$IDYL does not launch on a date. It launches when all seven of the following are true at the same time, and stay true through one full reporting week. These are targets, not data. None has been measured, and none has been met.

#ConditionTarget
1SupplyAt least 100 nodes online, every day of the week
2PeopleAt least 1,000 people using IDYL Chat in the week
3WorkAt least 50 million tokens served in the prior week
4RevenuePaid revenue on every day of that week
5Provable privacyIDYL Sealed live with attestation
6SecurityZero open critical security issues
7LawCounsel sign-off on the token design

How we will read them:

  • Measured in public. Conditions 1 to 4 are measured from the Gateway's own records and published with the weekly report for the week in question. The report as built does not yet carry every measure in the form the gate needs. It has tokens served for the week (condition 3). It has nodes online as a weekly average and maximum, not a figure for each day (condition 1). It has no count of distinct Chat users, which is hard to define in a system without accounts (condition 2). And it has paid revenue for the week, not for each day (condition 4). For each of these we will publish how the number was counted together with the result, and a count we cannot explain will not be used.
  • Paid means paid. Condition 4 counts revenue from credits that callers bought with USDC, SOL or a card, as the real-money ledger records it. Credits granted by the operator, credits from the pool and credits bought with $IDYL do not count.
  • Attestation means real hardware. For condition 5, a simulated attestation does not count. Sealed is live when at least one node has attested on real confidential-computing hardware, the result has been checked with the independent verifier, and the "not validated" notices have been replaced with what was actually validated.
  • Critical means critical. Condition 6 covers the Gateway, the node software, Desktop, the web app and IDYL Bond. An issue is critical if it could lose user funds, expose prompt content beyond what a grade promises, or let someone forge an attestation, a payment or a payout.
  • Sign-off means sign-off. Condition 7 is a written review by qualified counsel of the token design as it will launch, including the buyback, the credit pool and Pay in $IDYL. If counsel requires changes, the changes come first.

The gate is a minimum, not a trigger. Meeting it permits a launch; it does not oblige one, and it will not be relaxed to meet a date.

23.3The launch sequence#

  1. Season 0. The Season 0 Gateway is deployed, the rules are fixed and published at /api/points/season, and weekly reports begin. With each weekly report we will publish where each of the gate's seven conditions stands.
  2. Before launch. The Season 0 snapshot and its Merkle root are published. The independent audit of IDYL Bond is published and the program is deployed to mainnet. The treasury, buyback and payout wallets, and the multisig's signers and threshold, are published. Counsel signs off.
  3. Launch. The gate is met for a full week. $IDYL launches fairly on pump.fun. The contract address is announced from the official channels at that moment and not before. Any dev buy is disclosed and locked.
  4. After launch. The token's mint is configured, which switches on Pay in $IDYL. Pro status is read from mainnet stake. The first weekly buyback and burn runs at a time fixed in advance, and its result is published even if it is zero.

The operational detail is in the launch playbook.

IDYL builds on a body of work in decentralized compute, confidential computing and model access. The projects below are described briefly and generally; each has its own design goals.

Akash Network is a decentralized cloud marketplace built with the Cosmos SDK. Tenants describe container deployments, and providers bid to host them through a reverse auction. Akash sells general-purpose compute, including GPUs, by the lease; IDYL sells inference by the token, with routing per request.

io.net aggregates GPU capacity from independent datacenters, crypto miners and other sources into clusters that customers rent for machine-learning workloads, with settlement on Solana. Its unit of sale is cluster capacity; IDYL's is a metered API call served by a single node.

Bittensor is a network of specialised subnets in which miners produce machine-intelligence outputs and validators score them, with the TAO token distributed by emission according to those scores. IDYL takes a different economic path: no emissions, with node income funded entirely by callers.

Petals is an open-source system for running large language models collaboratively, BitTorrent-style, by splitting a model's layers across volunteer machines so that participants can run models too large for any one of them. IDYL routes each request to a single node that holds the whole model, trading maximum model size for simplicity and latency.

exo is open-source software that combines devices a person already owns — laptops, desktops, phones — into one cluster that can run a model larger than any single device. It is oriented to a user's own hardware; IDYL connects independent operators and callers who do not know each other.

OpenRouter provides a single, OpenAI-compatible API in front of many model providers, with unified billing and fallback between providers. IDYL shares the goal of one key for many models; its supply comes from independent nodes rather than from model providers, and it reaches closed models only through BYOK.

Confidential computing and remote attestation. Intel TDX and AMD SEV-SNP isolate a virtual machine's memory from its host, and NVIDIA's confidential-computing mode extends that isolation to a GPU. NVIDIA's Remote Attestation Service and Intel Trust Authority issue signed tokens describing the state of that hardware. IDYL's Sealed grades consume those tokens; they do not replace or improve on them, and they inherit their limits.

Llama Guard is a family of open safety classifiers from Meta, trained to label prompts and responses against a hazard taxonomy aligned with MLCommons. The Floor uses Llama Guard 3 1B as its guard model.

Refusal-direction research. Work published in 2024 showing that refusal in many chat models is mediated by a single direction in the model's activations is the basis of the abliteration technique behind the Unbound builds IDYL serves.

Appendix A. Parameters#

Network and token#

ParameterValueNotes
Token supply1,000,000,000 $IDYLFixed; pump.fun standard
Node share of inference spend85%All tiers and grades
Protocol take rate15%All tiers and grades
Buyback & burn share of protocol revenue50%Weekly; transactions recorded
Treasury share of protocol revenue50%Operations, audits, grants
Unbound premium≈ 1.5× comparable Open ratesRange 1.40×–1.67×; see Appendix B
Guard job fee$0.01 per 1M tokensMetered only
Guard modelllama-guard3:1b (≈ 1.6 GB)Tier floor; not user-selectable
Floor: blocked categoriesS3, S4, S9HTTP 451 floor_blocked
Floor: care categoryS11HTTP 200 care response; idyl.floor = "care"
Floor: no guard capacityUnbound: HTTP 503 floor_unavailable; Open: prefilter only
Unbound attestationWallet-signed message; 18+ and policy acceptanceMissing: HTTP 403 unbound_attestation_required
Bond multiplier1 + min(0.5 · log10(1 + bond / 10000), 1.0)0 → 1.00×, 10k → 1.15×, 100k → 1.52×, 1M → 2.00×
Multiplier cap2.00×
Routing scorereliability² × (1 / (1 + p50LatencyMs / 1000)) × multiplier
Reliability EWMAα = 0.1, initial 0.9
SelectionPower-of-two-choices weighted by scoreEligible: serves model, free concurrency, tier opt-in, grade
Retries2, each to a different nodeNone for Sealed · end-to-end
Job deadline60 s (default)
First-token deadline15 s
Long-poll window≤ 25 s; 204 if no job
Slash: missed deadline0.1% of bondBurned; 1 slash point in testnet
Slash: canary mismatch1% of bondBurned; 10 slash points in testnet
Slash: proven tampering100% of bondBurned
Minimum bond for paid jobs10,000 IDYLMainnet
Unbond cooldown7 days
Dev buy lockStreamflow, 6-month vestDisclosed publicly
Desktop idle threshold3 minutes without inputDefault; configurable
Desktop pause on batteryOnDefault on laptops

Access and payments#

ParameterValueNotes
Free tier200,000 tokens per API key per UTC dayPer wallet; Community only
Free tier and UnboundUnbound models needing ≤ 12 GBLarger ones need credits or Pro
Guest proof-of-work18 leading zero bits of SHA-256Challenge valid 5 minutes, single use
Guest token10 requests per UTC day; valid 24 hoursOpen models needing ≤ 12 GB; Community only
Guest request limitsPrompt ≤ 4,000 characters; reply ≤ 512 tokens
Guest tokens per IP address3 per UTC daySalted hash in memory
Admission orderGuest, then Pro, then credits, then the free tier
Minimum balance to admit on credits$0.001
Overdraft floor−$0.01
Top-up size$1 to $1,000 per payment
Top-up daily limit$2,000 per wallet per UTC dayCounts open payment requests
Solana Pay intent lifetime15 minutesPrice fixed for the intent; a payment landing up to 2 minutes late still counts; at most 5 open intents per wallet
Pay in $IDYL discount10%Credit = amount ÷ 0.9; of the tokens behind spent credits, 85/90 pay the serving node and 5/90 are queued for burning
Stripe webhook tolerance5 minutes
Payout minimum$1 accrued in USD, or 1 IDYL accrued in $IDYL, and a payout addressManual batch, one per asset

Privacy grades and Sealed#

ParameterValueNotes
Gradescommunity, sealed-relay, sealed-e2eReturned in x-idyl-privacy; -simulated suffix in development
Sealed multiplier1.3×Both Sealed grades; credits only
Sealed hardwareNVIDIA H100, H200 or B200 class in confidential mode; Intel TDX or AMD SEV-SNP hostNot validated on real hardware
Enclave keyECDH P-256, memory onlykeyId = base64url(SHA-256(public key))
Attestation nonce32 bytes; 5 minutes; single use
Attestation validityEarliest token expiry, at most 24 hoursOpt-in fixed lifetime of 60 s to 24 hours (IDYL_SEALED_ATTESTATION_TTL_SEC). The node re-attests at least every 12 hours and before expiry
Token checksIssuer, signature, validity times (60 s tolerance), required claims, bindingKey sets cached 1 hour
Verification levelsmeasured, hardware, simulatedNo measured image published yet
Channel primitivesECDH P-256, HKDF-SHA256, AES-256-GCMISC1
Replay windowRejects timestamps > 5 minutes old or > 1 minute ahead, and reused ephemeral keysUp to 100,000 remembered requests per enclave key; refuses new ones when full
Padding (reference implementations)Requests to a multiple of 256 bytes; frames to a multiple of 16 bytes, at most one every 100 msBlunts the token-length leak; does not hide overall length or timing
Node rotation memory10 minutesIn memory; applies whenever another node can take the request

IDYL Pro and the credit pool#

ParameterValueNotes
Pro threshold≥ 5,000 $IDYL staked1,000,000 tokens per day; Sealed −10%
Pro+ threshold≥ 50,000 $IDYL staked5,000,000 tokens per day; Sealed −20%
Stake read cache5 minutes
Unstake cooldown7 daysMainnet
Stake slashingNever
Credit pool share0.05 of the previous ISO week's paid revenueIDYL_CREDIT_POOL_SHARE; refused above 0.075; 0 switches the pool off
Pool distributionMondays 00:00 UTCPro rata by eligible stake
Pool eligibilityStaked or last added to ≥ 7 days before the snapshot
Pool credit expiry30 days

Season 0#

ParameterValueNotes
Season length42 daysFrom IDYL_SEASON0_START
Capacity check interval30 minutesSimultaneous wave; one job per node
Capacity check validity24 hoursResult needs ≥ 120 output characters
Throughput measure(output characters ÷ 4) per second, first token to completionMeasured by the Gateway
Availability accrualEvery 10 minutes: (10/60) × sizeFactor × capacityFactor × reliability × sealedFactor
sizeFactor≤ 8 GB → 1.0; ≤ 16 GB → 1.5; ≤ 24 GB → 2.0; > 24 GB → 3.0By the benchmarked model
capacityFactorclamp(tps / 20, 0.1, 1)
sealedFactor2 for sealed nodes
Node paid-work points1 per $0.001 owed on jobs paid with bought credits; × 2 when served sealedCapped at 3 × the day's availability points. Granted credits earn nothing
User points1 per $0.01 of bought credits consumed (cash or $IDYL)Capped at 100 per wallet per UTC day. Granted credits earn nothing
Referral bonus10% of the referred node's points for 90 daysCapped at 1,000 points per referrer per season
Earning nodes per fingerprint1The earliest registered
Earning nodes per IP address3 per UTC daySalted hash in memory
Slash penalty1% of season points per slash point
FlagCanary mismatch, or > 50% of capacity checks failed over 24 hoursExcluded from the snapshot
Vesting recorded25% at token launch; 75% linear over 90 daysNo reward is promised
Vesting forfeitOffline 7 or more consecutive days, or slashed for tampering
Reward poolNot decidedNo amount is stated anywhere

The launch gate#

ParameterValueNotes
Nodes online≥ 100 dailyTarget
Chat users≥ 1,000 weeklyTarget
Tokens served≥ 50,000,000 in the prior weekTarget
Paid revenueEvery day of that weekTarget
SealedLive with attestationTarget
Critical security issues0 openTarget
CounselSign-off on the token designTarget

Appendix B. Model catalog#

Target rates in USD per 1M tokens, beta. Minimum memory is approximate guidance for 4-bit builds: unified memory on Apple silicon, GPU memory (VRAM) on machines with a dedicated GPU. Sealed rates are 1.3× the rates shown and are listed in Pricing. The live catalog, with the number of nodes serving each model, is published at /api/catalog.

Tier: Open#

Open-weight models with their original behaviour, including their built-in refusals. All are covered by the free tier. Guests may use those that need 12 GB or less.

ModelModel id (Ollama tag)Min. memory (approx.)InputOutputGuests
Llama 3.1 8Bllama3.1:8b8 GB$0.03$0.05Yes
Qwen 2.5 7Bqwen2.5:7b8 GB$0.03$0.05Yes
Mistral 7Bmistral:7b8 GB$0.03$0.05Yes
Qwen3 8Bqwen3:8b8 GB$0.03$0.05Yes
DeepSeek R1 Distill 8Bdeepseek-r1:8b8 GB$0.04$0.08Yes
Qwen3 14Bqwen3:14b12 GB$0.05$0.10Yes
Gemma 3 12Bgemma3:12b12 GB$0.05$0.10Yes
gpt-oss 20Bgpt-oss:20b16 GB$0.06$0.20No
Qwen 2.5 Coder 32Bqwen2.5-coder:32b24 GB$0.10$0.25No
Llama 3.3 70Bllama3.3:70b48 GB$0.20$0.40No
Qwen3.6 27Bqwen3.6:27b24 GB$0.10$0.25No
Qwen3.6 35B-A3Bqwen3.6:35b-a3b28 GB$0.08$0.25No
Gemma 4 31Bgemma4:31b24 GB$0.10$0.25No
Gemma 4 26B-A4Bgemma4:26b20 GB$0.06$0.20No
Gemma 4 12Bgemma4:12b12 GB$0.05$0.10Yes
Gemma 4 E4Bgemma4:e4b10 GB$0.03$0.05Yes
Gemma 4 E2Bgemma4:e2b8 GB$0.02$0.03Yes
Any other model——$0.05$0.10No

Tier: Unbound#

Abliterated builds from the Ollama publisher huihui_ai. Opt-in for callers (attestation) and operators (--unbound or the Desktop switch). Any model whose tag contains abliterat or uncensored is in this tier, listed or not. Guests cannot use this tier.

ModelModel id (Ollama tag)Min. memory (approx.)InputOutputFree tier
Llama 3.2 3B Unboundhuihui_ai/llama3.2-abliterate:3b4 GB$0.03$0.05Yes
Qwen3 8B Unboundhuihui_ai/qwen3-abliterated:8b8 GB$0.05$0.08Yes
DeepSeek R1 8B Unboundhuihui_ai/deepseek-r1-abliterated:8b8 GB$0.06$0.12Yes
Gemma 3 12B Unboundhuihui_ai/gemma3-abliterated:12b12 GB$0.07$0.14Yes
Qwen3 14B Unboundhuihui_ai/qwen3-abliterated:14b12 GB$0.08$0.16Yes
gpt-oss 20B Unboundhuihui_ai/gpt-oss-abliterated:20b16 GB$0.09$0.30Credits or Pro
Mistral Small 24B Unboundhuihui_ai/mistral-small-abliterated:24b20 GB$0.10$0.30Credits or Pro
Qwen3 32B Unboundhuihui_ai/qwen3-abliterated:32b24 GB$0.15$0.38Credits or Pro
Llama 3.3 70B Unboundhuihui_ai/llama3.3-abliterated:70b48 GB$0.30$0.60Credits or Pro
Qwen3.6 27B Unboundhuihui_ai/qwen3.6-abliterated:27b24 GB$0.15$0.38Credits or Pro
Qwen3.6 35B-A3B Unboundhuihui_ai/qwen3.6-abliterated:35b-a3b28 GB$0.12$0.35Credits or Pro

Tier: Floor#

Not user-selectable: hidden from /v1/models, and a chat request for it returns 400 model_not_selectable. Served to The Floor by guard nodes and by the operator's guard endpoint, and run inside the enclave by sealed nodes. Other tags containing llama-guard are also tier floor and are never offered; The Floor uses only llama-guard3:1b.

ModelModel id (Ollama tag)DownloadMin. memory (approx.)Guard fee
Llama Guard 3 1Bllama-guard3:1b≈ 1.6 GB2 GB$0.01 per 1M tokens, metered

Appendix C. Glossary#

TermMeaning
AbliterationRemoving a model's built-in refusal behaviour by editing its weights; the basis of the Unbound tier
AdmissionThe step that decides what pays for a request: a guest allowance, a Pro allowance, credits or the free tier
Attestation (hardware)Signed evidence from a hardware vendor's service that a machine is running in confidential-computing mode; what makes a node sealed
BindingThe hash that ties one attestation to one nonce, one node and one enclave key
Burn queueThe protocol's cut of $IDYL payments (5/90 of the tokens behind spent credits), waiting to be burned from the treasury multisig
BYOKBring your own key: routing to a closed provider with the caller's own API key, used only for that caller
CanaryA prompt with a known reference output, used to test a node's honesty
Capacity checkA benchmark job sent to every node at the same instant, timed by the Gateway, to measure real throughput
Care responseThe short reply The Floor returns, instead of forwarding, when it detects a self-harm signal
CommunityThe default privacy grade: an idle consumer machine; the serving node sees the prompt
Credit poolA weekly pool of usage credits, a fixed share (5% by default) of last week's paid revenue, shared among eligible stakers
CreditsA prepaid USD balance per wallet, spent at target rates
EnclaveThe isolated, encrypted region of memory inside a TEE
Enclave keyThe P-256 key pair a sealed node creates in memory; callers encrypt end-to-end requests to its public half
EWMAExponentially weighted moving average; used for node reliability and measured throughput
Fail-closedRefusing to serve when a safety check cannot run; The Floor's behaviour for Unbound
FingerprintA one-way hash of stable machine traits, used so that only one node per machine earns points
First-token deadlineTime within which a node must begin returning output (15 s)
Floor jobA classification job sent to a guard node on behalf of The Floor
GatewayThe OpenAI-compatible service that authenticates, admits, checks, routes, meters and relays requests
Guard modelThe safety classifier The Floor uses: Llama Guard 3 1B
Guest tokenA 24-hour token earned with proof-of-work, for trying Chat without a wallet
Idle PointsThe Season 0 record of verified capacity and paid work. Not a token and not a promise
ISC1IDYL Sealed Channel, version 1: the end-to-end encryption between a caller and an enclave
Launch gateThe seven conditions that must hold before $IDYL launches
LedgerThe public record of network supply, performance, Floor counts, paid revenue, payables and burns
Long-pollA request held open by the server until work is available or a timeout passes
LotOne purchase, pool grant or promotional grant inside a credit balance, with its own expiry
MeasuredThe verification level at which the software inside an enclave matches a published image
MeteredValued at target rates whether or not anyone paid. Not money
NodeThe IDYL client — CLI or Desktop — that connects a local model runtime to the network
Open tierOpen-weight models with their original behaviour, including built-in refusals
Open-weight modelA model whose weights are published and can be run on one's own hardware
p50 latencyMedian latency observed by the Gateway for a node
Paid revenueCredits actually consumed by paying callers. Not deposits
PayableWhat a node is owed for each credit-paid job it served: 85% of the charge in USD, or 85/90 of the tokens behind the charge in $IDYL
Power-of-two-choicesLoad-balancing rule: sample two candidates, choose the better
PrefilterThe Floor's local pattern check for unambiguous child-sexual-abuse terms
Privacy gradeCommunity, Sealed · relay or Sealed · end-to-end; returned in x-idyl-privacy
Proof-of-workA small computation a browser performs to obtain a guest token
QuantizationReducing the numerical precision of model weights to save memory; changes outputs
Reference classModel weights, quantization and backend under which outputs are expected to match
Sealed · end-to-endEncrypted on the caller's device to a key inside an attested enclave; the Gateway relays ciphertext only
Sealed · relayServed inside a TEE; the prompt passes through the Gateway in memory
Sealed providerA confidential-computing inference service a Gateway operator contracts with, used for Sealed · relay only
Season 0The public testnet season in which Idle Points are recorded
SlashRemoval of part or all of a node's bond as a penalty; slashed $IDYL is burned
Slash pointOff-chain record of a slashable event during testnet
SSEServer-sent events; the streaming format used by the OpenAI API
Stake for Pro$IDYL locked in IDYL Bond to unlock IDYL Pro. Never slashed
Target rateThe beta price per million tokens, subject to change
TEETrusted execution environment; hardware that isolates and attests running code
The FloorThe safety layer every request passes before a model sees it
Unbound attestationThe wallet-signed statement (18+, policy accepted) that unlocks Unbound for a wallet. Not a hardware attestation
Unbound tierAbliterated open-weight models, served only to attested wallets by opted-in nodes
Verification levelmeasured, hardware or simulated: what a hardware attestation actually proved

Appendix D. Engineering notes#

This paper describes what IDYL does and why. The documents below describe how, at the level of code, configuration and wire formats. Where one of them and this paper disagree about behaviour, the code is right and the paper has a bug; please report it.

DocumentContents
Sealed protocolThe normative ISC1 specification, test vectors and the full threat model
Engineering: sealedAttestation issuers and every claim checked; operator configuration; the Sealed API
Engineering: privacyIP hashing, node rotation, the transparency endpoint
Engineering: guestProof-of-work, guest tokens and limits
Engineering: paymentsCredits, Solana Pay, Stripe, the real-money ledger, payouts
Engineering: proStake reading, allowances, the credit pool
Engineering: pointsCapacity checks, the points rules as implemented, the export format
Engineering: reportsWeekly reports and burn records
Self-hostingDocker Compose, Render, sealed nodes, every environment variable, backups, upgrades, a security checklist
OpenRouter planWhat a listing requires and what is missing
ArchitectureComponents, the request pipeline, data model and trust boundaries
API referenceEvery endpoint, header and error code

Disclaimer#

This whitepaper is provided for information only. It describes software and a protocol under active development; its contents may change without notice, and components described as planned or on the roadmap may never be delivered. It is not an offer to sell, or a solicitation of an offer to buy, any token, security or other instrument in any jurisdiction, and it is not legal, tax, investment or financial advice. Its description of laws and regulatory guidance is a summary by non-lawyers and may be incomplete, out of date or wrong.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. You may lose all of the value you put into $IDYL. Running a node or IDYL Desktop, serving Unbound models, bonding or staking tokens, buying credits and using the network each carry the risks described in Section 22. Idle Points are not tokens and carry no promise of any reward. The credit pool is a rebate in service and is never a return. IDYL Sealed has not been validated on real confidential-computing hardware. This paper announces no listings, partners or audits. Prices are target rates for the beta, the launch gate is a set of targets, and network statistics are published only on the IDYL Ledger and in the weekly reports. CA: announced at launch; until then, any address presented as $IDYL's is not ours.

02 — Chat

IDYL Chat

11 min readdocs/CHAT.md

Private by default. Provable when it matters.

IDYL Chat is a chat app in your browser, served by the IDYL network. There is no account. You can start as a guest in a few seconds, or sign in with a Solana wallet instead of an email address. Your conversations stay on your device, and you choose how private each request is.

WhereThe IDYL app, first tab: app.html#chat
Sign-inNone for guests. Otherwise a Solana wallet signature (for example Phantom). No email, no password
CostGuests: 10 requests a day. With a wallet: 200,000 tokens a day, free. Beyond that, prepaid credits
ModelsOpen models, and Unbound models for adults who opt in
PrivacyThree grades: Community, Sealed · relay, Sealed · end-to-end. Every reply shows its grade
HistoryStored in your browser only. Optional passphrase encryption. One-tap delete
StatusBeta (testnet). Sealed has not been validated on real confidential-computing hardware

Get started#

As a guest#

  1. Open IDYL Chat at app.html#chat.
  2. Start typing. The first time, your browser spends a few seconds solving a small puzzle in the background. This replaces a sign-up form: it costs you nothing and makes it expensive for a script to open thousands of sessions.
  3. You have 10 requests a day, on the smaller Open models, for 24 hours.

A guest pass needs no wallet and is not linked to one. It cannot use Unbound models, Sealed, or credits. When you run out, Chat offers to connect a wallet.

With a wallet#

  1. Connect your wallet. Click Connect and approve in your wallet.
  2. Sign the key request. Your wallet shows a short message beginning IDYL API key request. Signing it is free and is not a transaction: it moves no funds and gives no one access to your wallet. The app receives an API key for your wallet and keeps it in your browser.
  3. Pick a model and type. Replies appear word by word as they are written.

IDYL will never ask for your seed phrase or private key. Only approve signature requests that show the IDYL messages described here.

What it costs#

You areYou getCost
A guest10 requests a day; prompts up to 4,000 characters; shorter repliesFree
Signed in with a wallet200,000 tokens a day on every Open model and the smaller Unbound modelsFree
Past your daily tokens, or using a large Unbound modelAny model, paid per token at the target ratesPrepaid credits
Using SealedRequests served only inside attested confidential hardwareCredits, at 1.3× the model's rate. Sealed is never free
On IDYL Pro1,000,000 or 5,000,000 tokens a day and a lower Sealed priceA stake of $IDYL, not a payment (IDYL Pro)

A token is a short piece of text, roughly three-quarters of a word; both your messages and the replies count. Daily allowances reset at 00:00 UTC and are per wallet, shared between Chat and any API key of the same wallet.

Models#

The model picker has two tabs.

  • Open — open-weight models such as Llama, Qwen, Gemma, Mistral, DeepSeek and gpt-oss, with their original behaviour, including their own refusals. This is the default.
  • Unbound — Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. Adults only, opt-in.

Each model shows how many computers on the network are serving it right now. A model with nobody serving it cannot be selected until someone does. Smaller models are faster; larger ones are usually better at hard questions.

Choose how private each request is#

Next to the model picker is a privacy switch: Community or Sealed.

GradeWhat it means
CommunityRuns on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.
Sealed · relayRuns inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.
Sealed · end-to-endEncrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.

A TEE is a protected area inside a datacenter machine whose owner cannot read what runs there by ordinary means. An enclave is that protected area, and an attestation is the hardware's signed evidence that it exists.

Community is the default. It is free within your allowance. It is not confidential: the computer that answers has to read your message, and its owner controls that computer. Do not send passwords, financial details or anything you would not show a stranger.

Sealed costs credits. When you switch it on:

  1. Chat first tries Sealed · end-to-end. Your browser encrypts the message to a key that exists only inside one attested machine. IDYL's Gateway carries it without being able to read it.
  2. If no machine offers end-to-end for the model you picked, Chat asks you once whether to use Sealed · relay instead, and shows what that means: your message is still kept from the owner of the machine that answers, but it passes through IDYL's Gateway in memory.
  3. Chat never falls back to Community. If no sealed machine can serve your model, you get a message saying so, and nothing is sent.

The badge on every reply#

Every reply carries a small badge with the grade it was actually served at and the machine that served it. If a development Gateway is using a simulated attestation, the badge says SIMULATED: no real protection is involved.

Check the proof#

Click the badge on a Sealed reply to open the attestation viewer. It shows:

  • which machine answered, and the record of its hardware attestation: what was verified, when, and until when;
  • its verification level, in plain words:
    • Measured — the hardware is genuine and the software inside matches a published IDYL image;
    • Hardware — the hardware is genuine, but the software inside is not on the published list, so what runs inside is not proven. No reproducible software image has been published yet, so this is the best level any machine can reach today;
    • Simulated — a development stand-in; nothing is protected;
  • a check, done in your browser, that the key your message was encrypted to is the key named in the attestation evidence;
  • the command that verifies the evidence independently, and a short list of what the grade does not cover;
  • a note that Sealed has not yet been validated on real confidential hardware.

What the check in your browser does, and does not do.

  • It confirms the binding: that the key your message was encrypted to is the key named in the hardware evidence. It does not verify the chip makers' signatures on that evidence.
  • IDYL's Gateway verified those signatures when the machine attested. Anyone can verify them again without taking the Gateway's word, with one command from the open-source repository: npm run verify:attestation -- <gateway> <attestationId>. The viewer shows the command already filled in, ready to copy (how to run it).
  • Without that step, end-to-end protects you from a Gateway that is curious or breached, not from one that substitutes keys. The list of keys comes from the Gateway.
  • The page you are using, including the code that encrypts, is served by the same Gateway. Running the open-source client yourself, from code you control, removes that trust (Sealed protocol).

What Sealed does not hide. At every grade IDYL's Gateway sees your wallet (or your guest pass, on Community), your IP address, the model you picked, when you send and receive, how large the messages are, how many tokens were used, and the result of the safety check with its category. End-to-end hides what you wrote and what came back, and nothing else. On end-to-end, sizes are rounded up, coarsely (requests to the next 256 bytes, reply pieces to the next 16), and timing is not hidden.

What the hardware evidence proves. A sealed machine shows two proofs, one for its graphics card and one for its processor. They share one thing only, a one-time value that also names the key. That shows genuine hardware answered; it does not show which software runs inside, or that the work runs on that graphics card.

What the first version leaves out. Sealed · end-to-end has no tool calls. It is not built to resist a future quantum computer. The protected machine keeps one key from start to restart, so someone who recorded your encrypted traffic and later obtained that key while it still existed could read it. And the safety check reads your message only; nothing checks what the model writes. More in Privacy.

Credits#

Credits are a prepaid balance in US dollars that belongs to your wallet. Chat uses them only when it has to: once your daily tokens are used, for large Unbound models, and for every Sealed request.

Buy credits. Open Buy credits in Chat or the Credits page (app.html#credits).

  1. Choose an amount, from $1 to $1,000.
  2. Choose how to pay:
    • USDC or SOL, on Solana. Chat shows a QR code and a link that opens your wallet. Pay it, and Chat confirms the payment for you automatically; your balance updates within moments.
    • Card, where the Gateway's operator has set it up. You pay on Stripe's page. IDYL never sees your card number.
    • $IDYL, at 10% off, once the token exists. Your tokens pay the node that did the work, and the protocol's cut is burned. Until the token exists this option is not offered.
  3. Your balance appears at the top of Chat and on the Credits page, with your payment history.

Good to know:

  • A payment on Solana cannot be reversed once it confirms. Check the amount and that the address is the one the app shows.
  • Credits stay with your wallet. They cannot be transferred, withdrawn or turned back into money. There is no automated refund, and no refund policy has been published yet.
  • Credits you buy do not expire. Credits you are given can: credit-pool credits last 30 days, and Chat shows what is about to expire.
  • Only credits you buy count for Season 0. Spending credits you bought earns Idle Points; spending credits you were given does not.
  • You pay for what you receive. If a reply is cut off, you pay only for the part that arrived.
  • Guests cannot hold credits. Connect a wallet first.

Full prices and a worked example are in Pricing.

Unbound#

The Unbound tab is locked until you sign a second message with your wallet. If you pick an Unbound model before signing, Chat asks for this one-time confirmation and then sends your message:

Text
IDYL Unbound access
wallet: <wallet>
I am 18 or older and I accept the IDYL Floor policy.
nonce: <nonce>

Read the Unbound policy before you sign; it is the policy the message refers to. Signing is free and is recorded for your wallet, so it also applies if you use the same wallet with the API. IDYL cannot check your age; the signature is your declaration.

The free daily tokens cover the smaller Unbound models. The largest ones need credits or IDYL Pro, and Chat tells you when that applies.

Unbound is not lawless. Every request still passes The Floor, and the Acceptable Use Policy applies.

Your history#

  • It stays in your browser. Conversations are saved in your browser's storage on this device, not on an IDYL server. There is no IDYL account to sync them to.
  • You can encrypt it. Set a passphrase in Chat's settings. Chat then encrypts your conversations before saving them, with a key made from your passphrase. The passphrase never leaves your device and is not saved: Chat forgets it when you close or reload the tab and asks for it again. If you forget it, the history cannot be recovered — nobody, including IDYL, has a copy.
  • You can delete everything. Delete everything removes your key, your guest pass, your conversations and your settings from this browser in one step. It cannot be undone. It does not affect your credits, which belong to your wallet: sign in again to see them.
  • Private browsing. If your browser blocks storage, Chat says so, and conversations last only until you close the tab.

Without a passphrase, anyone who can use your browser profile can read your history.

What the network knows about you#

  • No name, email or password. IDYL never asks for them.
  • A wallet is a pseudonym, not anonymity. The network knows which wallet a key belongs to, how many tokens it used today and its credit balance. Wallet addresses and payments on Solana are public and can sometimes be linked to people. If that matters to you, use a wallet you keep for this purpose.
  • Your IP address is not stored. It is never written to disk or to logs. It is used only in memory, to limit abuse.
  • The machine that answers you is told nothing about you — not your wallet, not your key, not your address. It receives your messages and the model settings, and nothing else.

The complete list of what is and is not stored is in Privacy.

Floor notices#

Every message passes The Floor, IDYL's safety layer, before any model sees it. Usually you will never notice it. When it does act, Chat tells you plainly:

You seeWhy
Blocked by The Floor, with the categoryThe Floor classified your message as one of three categories no tier serves: sex-related crimes, child sexual exploitation, or weapons capable of mass casualties. No model saw it, nothing was charged, and only a count was kept. A blocked message is also left out of the conversation history sent with later messages
A short, caring message with a Find a helpline buttonThe Floor detected a possible suicide or self-harm signal. Instead of a model's reply, The Floor answers with a brief note that links to findahelpline.com, where crisis lines are listed by country. If you are in danger now, contact your local emergency number
Unbound is pausedThe Floor's safety check could not run at that moment, so the Unbound request was refused rather than sent unchecked. Choose Try again, or Switch to Open; Open models keep working

On Sealed · end-to-end, where IDYL's Gateway cannot read your message, the same check runs inside the protected machine, and you see the same notices.

The Floor can be wrong. If it blocks something it should not have, you can rephrase, or report the kind of request (without sensitive details) on GitHub. The Floor stores no messages, only counts per category, so the specific request cannot be looked up.

Good to know#

  • AI models make mistakes and can state wrong things with confidence. Unbound models even more so. Check anything important.
  • Replies are not medical, legal or financial advice.
  • Using IDYL Chat does not require holding $IDYL.
  • The app has a Demo mode for looking around without a network. Everything in it is simulated and labelled "Demo"; no payment is made and no credits are real.
03 — Desktop

IDYL Desktop

28 min readdocs/DESKTOP.md

Your computer, earning while you're away.

IDYL Desktop is a free app for Mac, Windows and Linux. While you are not using your computer, it lends the computer's spare power to the IDYL network, which uses it to answer AI requests from people and apps. The moment you come back, it stops taking new work.

ItemValue
PlatformsmacOS (Apple silicon and Intel), Windows 10/11 (64-bit), Linux (x86-64)
NeedsNothing else: IDYL sets up its own AI engine (Ollama, open source) on first start, or uses yours
Default modeWhen idle: starts after 3 minutes without keyboard or mouse
Version0.4.0
StatusBeta (testnet). Most work is metered, not paid. Installers may be unsigned; see what was verified

Metered is not paid. The app shows what your computer's work is worth at the network's target rates. Most testnet requests are free-tier requests that nobody paid for, so nothing is owed for them. Only work a caller paid for from credits adds to what your computer is owed, and no payout has been made yet. IDYL makes no promise that running the app will be profitable; it costs electricity.

Prefer the command line? The IDYL Node CLI does the same job for servers and power users.

Download#

Download only from these links. They point to the official builds on the IDYL gateway.

Your computerFileLink
Mac with Apple silicon (M1, M2, M3, M4 and later)IDYL-mac-arm64.dmgDownload
Mac with an Intel processorIDYL-mac-x64.dmgDownload
Windows 10 or 11 (64-bit)IDYL-win-x64.exeDownload
Linux (x86-64), any distributionIDYL-linux-x86_64.AppImageDownload
Linux (x86-64), Debian and UbuntuIDYL-linux-amd64.debDownload

The full addresses are https://idylnetwork.com/downloads/<file>. CI uploads every build of main there; /downloads lists the current files with their sizes and SHA-256, and SHA256SUMS has the checksums. The download page is idyl-gateway-hvs1.onrender.com/download.html.

Which Mac do I have? Click the Apple menu → About This Mac. If it says Chip: Apple M…, choose Apple silicon. If it says Processor: Intel, choose Intel.

Installers and what was verified#

An installer can be built without ever being run on the system it is for. We label each one with what has actually been checked. This table describes the 0.3.0 build; the release notes of each release say the same for that release.

InstallerBuiltRun on its own systemSigned
IDYL-linux-x86_64.AppImageYesYesNo
IDYL-linux-amd64.debYesPartlyNo
IDYL-win-x64.exeYesNoNo
IDYL-mac-arm64.zip, IDYL-mac-x64.zipYesNoNo
IDYL-mac-arm64.dmg, IDYL-mac-x64.dmgNot yetNoNo

What that means, line by line:

  • Linux. Both files were built on Linux. The AppImage was run as shipped. The .deb package was unpacked and its app started, but it has not been installed with apt. Linux has no equivalent of Apple's or Microsoft's code signing, so check the checksum instead.
  • Windows. The installer was built on a Linux machine. Its contents were inspected — file headers, version, icon, the installer archive — but it has never been run on Windows.
  • macOS. The app bundles were built on a Linux machine as .zip files and have never been run on a Mac. They are unsigned, and macOS is expected to refuse a downloaded copy. The .dmg files that the download links point to can only be made on macOS and have not been built yet.
  • Signing. Nothing is signed, because no signing certificates exist yet.

The release pipeline is written to build each installer on its own operating system, start it once there, and sign it when certificates exist. That pipeline has not been run yet, and no release has been published. Until one is, the download links above answer "Not Found" and the only way to get the app is to build it from the repository. When a release exists, its notes will carry this same table for that release.

Check your download. The release pipeline publishes two checksum files: SHA256SUMS, which covers every file of a release, and SHA256SUMS-desktop.txt, which covers the installers alone. After downloading, compute the file's SHA-256 and compare it with the line for that file:

Shell
shasum -a 256 IDYL-mac-arm64.dmg            # macOS
sha256sum IDYL-linux-x86_64.AppImage        # Linux
Get-FileHash IDYL-win-x64.exe -Algorithm SHA256   # Windows PowerShell

A matching checksum shows the file is the one that was published. It does not show who published it; only a signed build does that.

What you need#

MinimumBetter
MacmacOS 14 Sonoma or later. The IDYL app itself runs on macOS 12 or later, but current Ollama needs macOS 14Apple silicon with 16 GB of memory or more
WindowsWindows 10 (22H2) or 11, 64-bitA dedicated NVIDIA or AMD graphics card with 8 GB of video memory or more
Linuxx86-64 desktop that can run AppImagesA dedicated graphics card with 8 GB of video memory or more
Memory8 GB of graphics memory, or a Mac with 8 GB (standard models will show as Tight there)16–24 GB opens up larger, better-paid models
Disk spaceAbout 5 GB free for one small model20–50 GB if you want several models
InternetA stable connection. Only text is sent, so speed matters less than stabilityWired or strong Wi-Fi
PowerPlugged inPlugged in, set not to sleep when you want it to serve overnight

Which memory counts? On a Mac with Apple silicon, it is the memory shown in About This Mac. On a Windows or Linux PC with a separate graphics card, it is the graphics card's own memory (video memory, or VRAM). The app detects this for you.

Intel Macs. IDYL Desktop installs and runs on Intel Macs, but Ollama uses only the processor there, not the graphics chip. Most models will be too slow to meet the network's time limits, so expect little or no work.

Older computers without a graphics card. The app will run, but it will probably recommend no models, or only the smallest, because answers must start within 15 seconds and finish within 60.

First launch on macOS#

  1. Open the downloaded .dmg file.
  2. Drag IDYL into the Applications folder.
  3. Open IDYL from Applications.

If the release is signed by Apple, it simply opens. Current beta releases may be unsigned, which means Apple has not checked them. macOS then shows a warning such as "IDYL" cannot be opened because Apple cannot check it for malicious software. This is expected for an unsigned app. Here is how to open it anyway — only do this for a file you downloaded from the links above.

macOS 14 Sonoma:

  1. In Applications, right-click (or Control-click) IDYL.
  2. Choose Open.
  3. In the warning, click Open again.

macOS remembers your choice; next time IDYL opens normally.

macOS 15 Sequoia and later (Apple removed the right-click shortcut):

  1. Double-click IDYL. When the warning appears, click Done (or OK).
  2. Open System Settings → Privacy & Security.
  3. Scroll down to the message about IDYL being blocked and click Open Anyway.
  4. Enter your password if asked, then click Open.

Why does this happen? Apple asks app makers to pay for a certificate and submit each version for checking. Until IDYL's release pipeline has those certificates, the app is published without them, and macOS warns you. The warning does not mean the app is harmful. It means macOS cannot tell you either way, which is why you should only open a copy that came from the official links.

First launch on Windows#

  1. Run the downloaded IDYL-win-x64.exe. If your browser says the file "isn't commonly downloaded", choose Keep (in Edge: … → Keep → Keep anyway).
  2. If a blue window says Windows protected your PC, click More info, then Run anyway.
  3. The installer runs on its own, without questions. It installs IDYL for your user only (no administrator password needed), adds Start menu and desktop shortcuts, and opens IDYL when it finishes.

Why does this happen? Windows SmartScreen warns about apps that are not signed with a code-signing certificate, or that few people have downloaded yet. Current beta releases may be unsigned. As with macOS, only continue if the file came from the official links.

First launch on Linux#

AppImage (any distribution)

  1. Make the file executable: right-click it → Properties → Permissions → allow running as a program. Or in a terminal: chmod +x IDYL-linux-x86_64.AppImage.
  2. Double-click it, or run ./IDYL-linux-x86_64.AppImage.

Some distributions need the libfuse2 package to run AppImages. If nothing happens, install it with your package manager and try again, or run ./IDYL-linux-x86_64.AppImage --appimage-extract-and-run.

.deb (Debian, Ubuntu and relatives)

Shell
sudo apt install ./IDYL-linux-amd64.deb

Then open IDYL from your applications menu. The .deb cannot update itself, because installing a package needs administrator rights; IDYL tells you when a new version exists and links to it.

Setup in three screens#

The first time IDYL opens, it walks you through three screens. Most people finish in about a minute, plus the time it takes to download a model.

1Welcome#

A short introduction. Click Get started.

2Setup#

IDYL looks at your computer and shows what it found: operating system, chip, memory and graphics memory.

It then sets up its AI engine. IDYL runs models with Ollama, a free, open-source model runtime, and brings its own copy, so there is nothing to install by hand:

  • If you already run Ollama, IDYL uses it and moves on.
  • Otherwise, IDYL starts downloading its engine as soon as this screen opens: a pinned Ollama release (about 0.2 GB on macOS, 1.5 GB on Windows and Linux), checked against its published SHA-256 checksum and deleted if it does not match. A progress bar shows the download, and an interrupted download resumes where it stopped. The engine runs only on this computer, at 127.0.0.1:11435, starts and stops with IDYL, and keeps models in Ollama's usual folder, so a later Ollama install shares them. If you open your own Ollama later, IDYL switches to it and stops its copy.

Next, IDYL recommends models that fit your computer's memory. Click to install them; you can pick them while the engine is still downloading and they follow right after. A progress bar shows each download; small models are a few gigabytes. You can add or remove models later.

3Payout#

You can enter a Solana wallet address for payouts, or choose Skip for now. It is optional, and you can add or change it later in Settings. IDYL checks that the address is a valid Solana address before saving it.

  • This is a receiving address only. IDYL never asks for your seed phrase or private key, and you should never type them into any app.
  • No payout has been made yet. The address tells the network where to send what your computer is owed once payouts run.

If someone referred you, you can also enter their wallet under Referred by. It is optional, it is sent only with your computer's first registration, and it cannot be changed afterwards. See Referrals.

IDYL also creates your computer's node identity at this step — a key that lets the network recognise your machine. You do not have to do anything; it is generated and stored securely for you (see Privacy and what's logged).

Click Finish. You are on the Home screen.

The Home screen#

The status orb#

The large circle in the middle — the IDYL "standby sun" — shows what your computer is doing at a glance.

What you seeWhat it means
DimPaused. Your computer is not taking work
OutlineWaiting. Ready and connected, waiting for a job or for you to step away
Breathing goldServing. Your computer is answering a request for the network right now

The switch#

One big switch: Earn while idle. On means IDYL may serve according to the mode you chose. Off means IDYL takes no work at all, whatever the mode.

Modes#

ModeWhat it doesGood for
When idle (default)Starts serving after 3 minutes without keyboard or mouse, or as soon as the screen is locked. Stops taking new work the instant you touch either oneEveryday computers you also use
Always onServes whenever IDYL is running and the switch is onA spare computer or a home server
ScheduleServes only within hours you choose, in your local time, for example 23:00–07:00 (a window can cross midnight)Overnight serving on a computer you use by day

When you come back, IDYL stops accepting new jobs immediately. A job that is already running is allowed to finish, which can keep your graphics card busy for up to a minute. Stopping it halfway would leave someone's request unanswered and count against your computer's reliability.

You can change the 3-minute wait in Settings (1 to 120 minutes). On a few Linux desktops the system does not report keyboard and mouse activity; IDYL then waits instead of guessing, and you can use Schedule or Always on.

Pause on battery#

On laptops, Pause on battery is on by default: IDYL never serves while your laptop is unplugged, whatever the mode. Plug in and it resumes on its own.

Today#

Below the orb, IDYL shows today's jobs, tokens (pieces of text produced) and a metered value, counted from midnight in your local time. Metered means what the work is worth at the network's target rates. It is not money you have received, and for most testnet work it is not money you are owed either. When the network does owe your computer money for paid work, a separate Payable figure appears: see Payouts.

The Activity screen lists your recent jobs (the last 300): model, tokens, duration and metered value. It never shows what was asked or answered. The network's own test jobs — spot checks and the Season 0 capacity checks — are labelled Network check. Your computer cannot tell them from a person's request while it answers; the app recognises them afterwards because they are metered at exactly $0.

Models and memory#

The Models screen lists every model on the network, in two tabs: Open and Unbound.

Each model card shows:

  • Size — roughly how much it downloads.
  • Fit — whether it suits your computer:
    • Fits — enough memory for the model with room to spare.
    • Tight — it may run, but slowly or with little room for anything else.
    • Too big — needs more memory than this computer has (approx.).
  • Installed — whether it is already on your computer, with one-click Install or Remove. Models that are too big are listed under "Needs more memory" and cannot be installed from the app.

How IDYL decides, using each model's approximate memory need:

Your computerFitsTight
Mac with Apple siliconNeed is at most 75% of the Mac's memory (macOS keeps the rest)Need is at most all of the memory
PC with a graphics card (4 GB or more)Need is at most the card's memoryNeed is up to 1.5× the card's memory, and there is plenty of system memory to spill into
No dedicated graphics cardNeed is at most half of system memoryUp to three quarters (expect it to be slow)

What that means in practice, for the standard versions of each model:

ComputerExamples that Fit
Mac with 8 GBLlama 3.2 3B Unbound only; the 8B models show as Tight
Mac with 16 GBLlama 3.1 8B, Qwen 2.5 7B, Mistral 7B, Qwen3 8B, DeepSeek R1 8B, Gemma 3 12B, Qwen3 14B
Mac with 24 GBAll of the above, plus gpt-oss 20B
Mac with 32 GBAlso Qwen 2.5 Coder 32B and the 24B and 32B Unbound models
Mac with 64 GB or moreAlso Llama 3.3 70B
PC with an 8 GB graphics cardThe 7B and 8B models
PC with a 12–16 GB graphics cardAlso Gemma 3 12B and Qwen3 14B; at 16 GB, gpt-oss 20B
PC with a 24 GB graphics cardAlso Qwen 2.5 Coder 32B and the 24B and 32B Unbound models

Memory needs are approximate. Other apps also use memory, and real speed depends on the graphics chip. The full list with prices is in the catalog. During setup, IDYL suggests up to three Open models, preferring ones that Fit.

Help run The Floor#

The Models screen also offers Llama Guard 3 1B, under "Help run The Floor — earns guard fees". It is a small safety model (about 1.6 GB) that checks requests before they are routed to any computer. If you install it, IDYL Desktop automatically offers it to the network, and your computer may receive short "guard" jobs. They pay a flat $0.01 per 1M tokens (target rate, metered on testnet) — a contribution to the network's safety rather than a meaningful source of earnings. As with any job, your computer reads the text it checks, and IDYL never shows or stores it.

Tips

  • Start with one or two models that Fit. A fast small model earns more reliably than a large one that misses time limits.
  • Models are stored by Ollama, not by IDYL. Removing a model in IDYL removes it from Ollama and frees the disk space.
  • The network only sends your computer requests for models you have installed.

Unbound (optional)#

Unbound models are open-weight models with their built-in refusal behaviour removed. They answer what standard models won't. They are optional, off by default, and pay more per token.

The Unbound tab on the Models screen stays locked until you switch on Serve Unbound models there and accept this acknowledgment:

Your computer generates the responses. Check that serving unrestricted models is legal where you live. The Floor blocks the worst categories but is not perfect.

Please take that seriously. Every request passes The Floor, IDYL's safety layer, before it reaches you, and the worst categories never arrive. But your computer will produce replies that standard models would refuse, and whether that is lawful depends on where you live. If you are unsure, leave it off.

You can switch Unbound off at any time, on the Models screen or in Settings. IDYL reconnects to the network straight away without the Unbound models; a job already running finishes first. Read the full Unbound policy before turning it on.

Private chat#

The Chat tab talks to the models on this computer and nothing else: your messages are not sent to the network, not saved to disk and not metered. Close the window and the conversation is gone.

  • Models: every model you installed, strongest first. Qwen3 and DeepSeek R1 models have a Think first switch for harder questions.
  • Unbound in chat needs its own 18+ confirmation, separate from serving Unbound to the network. After that, IDYL offers the strongest Unbound model that fits your computer in one click (Qwen3.6 27B Unbound on machines with about 24 GB or more).
  • The Floor applies here too. Every message passes the prefilter, and Unbound models also need a verdict from the Floor's guard model on your computer (Llama Guard 3 1B, about 1.6 GB). Without it, Unbound chat pauses and offers to install it.
  • Coding agent: the button shows ready-to-paste commands that open OpenCode or Claude Code with the selected model, pointed at IDYL's engine. The agent itself must be installed. Larger models, 27B and up, write noticeably better code.

Season 0 and Idle Points#

Season 0 is IDYL's public testnet season. During it, the network records Idle Points for computers that are verifiably available and for work that someone paid for. The Points screen in the app shows your computer's points.

Idle Points are a record of contribution. They are not $IDYL and not a promise of tokens or money. Whether they lead to any reward has not been decided, and no amount has been set. Do not leave a computer running on the expectation that they will be worth something.

What the screen shows:

On the screenWhat it means
Your points and rankThis computer's points for the season, and where it stands among nodes
Points follow verified capacityThe speed the network measured on your computer, in tokens per second, and when it last checked. About every half hour the network sends every computer a short test job at the same moment and times the reply. You do not need to do anything
The rate, as a small equationSize of the model × measured speed × reliability, and a doubling for sealed hardware (which consumer computers cannot be). The result is your points per hour while online and not paused
Where they came fromPoints by source: being available, paid work, referrals, and anything forfeited
What doesn't earn pointsFree-tier, Pro-allowance and guest requests; a computer that does not send its fingerprint; a second node on the same computer; time paused or offline
A note or flagIf the network has flagged this computer for review, the screen says so and gives the reasons. Flagged computers are left out of the final snapshot until reviewed
Vesting previewThe schedule the snapshot records in case a reward is ever attached: 25% at token launch, 75% over the following 90 days. A preview is not a promise

Paid work counts only when the person paid with credits they bought — with USDC, SOL, a card or $IDYL. Credits someone was given, from the weekly pool or a promotion, pay for requests like any others but earn your computer no points.

The full rules are in Season 0. The app shows what the network reports and invents nothing: if the Gateway you are connected to does not run Season 0, or cannot be reached, the screen says so and nothing is lost, because points are kept by the network, not by your computer.

Weekly share card#

The Points screen can make a picture of your week: requests served, tokens and the week. Save PNG or Copy image, and post it anywhere. It contains no prompts, no node ID and no earnings. Your payout wallet appears on it, in shortened form, only if you tick the box to show it. The network's own test jobs are not counted as requests.

Referrals#

  • If someone referred you: enter their wallet under Referred by during setup or in Settings, before your computer first registers with the network. The network keeps the referrer a computer sends with its first registration; after that the field is locked.
  • If you want to refer others: the Points screen and Settings show Your referral link. It is the download page with your payout address — or your node's ID, if you have not set a payout address. Someone who enters that address under "Referred by" before their first registration earns you a bonus of 10% of their computer's points for 90 days, up to 1,000 points a season. Their own points are not reduced. The download page does not fill the field in for them yet: they copy the address from the link.
  • A computer cannot refer itself.

The hardware fingerprint#

Only one node per computer can earn points. To make that rule work, IDYL Desktop sends the network a fingerprint: a one-way hash of stable traits of your computer (a system identifier, the processor, the number of cores, the amount of memory, the operating system). The system identifier itself never leaves your computer; only the hash does.

  • It is the same every time and for every install on this computer. That is deliberate, and it means the fingerprint is a stable pseudonymous identifier for your machine.
  • It is not shown in your computer's public record.
  • You can switch it off: Settings → Season 0 → Hardware fingerprint → Don't send. Your computer keeps working and keeps being metered. It earns no Idle Points.
  • It is separate from Share hardware summary: switching the summary off does not switch the fingerprint off.

More detail is in Privacy.

Updates#

IDYL Desktop checks GitHub Releases for a new version shortly after it starts and every 6 hours, on the stable channel only. What happens next depends on your build:

Your buildWhat IDYL does
WindowsDownloads the update in the background and installs it when you restart IDYL
macOS, signed with an Apple Developer IDDownloads and installs on restart
macOS, unsigned or ad-hoc signedCannot update itself. macOS only installs updates for apps signed with a Developer ID. IDYL tells you a new version exists and links to the download
Linux AppImageReplaces the AppImage file in place
Linux .debTells you a new version exists and links to the new .deb; installing a package needs administrator rights

Settings → Updates shows which of these applies to you, the version and when IDYL last checked, a Check for updates button, the switch Download updates automatically, and Build signature: what the operating system itself says about the copy you are running. When an update is ready, Restart to update appears in the window and in the tray menu; restarting first lets a running job finish.

Every update is checked against the SHA-512 published with the release before it is installed. A signed Windows build also checks the publisher; an unsigned one cannot. If no release has been published, Settings simply says that no updates are available.

Payouts#

  • Add or change your payout address in Settings.
  • It must be a Solana address (a string of 32–44 letters and numbers). IDYL checks it before saving.
  • It is public: anyone can see it on the Ledger next to your computer's record. Use an address you are comfortable publishing.

What your computer is owed. When someone pays for a request from prepaid credits and your computer serves it, 85% of what they paid is recorded as owed to your computer. The app shows it as Payable, in US dollars, separately from the metered figure, when the network reports it. Requests on the free tier, a Pro allowance or guest access are free to the person asking, so nothing is owed for them; they are metered only.

If the person paid in $IDYL. Once the token exists, people can buy credits with $IDYL. Work bought that way is owed to your computer in $IDYL rather than dollars: 85/90 of the tokens that paid for it. The number of tokens is fixed when the person pays; what they are worth when you receive them may be more or less. The app does not show this second amount yet. It is public with the rest at /api/payouts/<node id>.

How payouts work today. The network's operator pays in batches, by hand: every computer that is owed at least $1 (or at least 1 IDYL of the amount owed in $IDYL) and has a payout address is exported, paid from the treasury, and the payment is recorded publicly. Anyone can see what a computer is owed and has been paid at /api/payouts/<node id>.

  • No payout has been made yet, and the asset in which dollar amounts are paid, and the schedule, have not been published.
  • Without a payout address you cannot be paid. What you are owed keeps adding up until you set one.
  • On a testnet that is mostly free-tier, expect very little to be owed.

IDYL will never ask for your seed phrase, your private key or a "wallet sync". Anyone who does is attempting theft.

Privacy and what's logged#

IDYL Desktop is built to know as little as possible about the work it carries.

IDYL Desktop doesIDYL Desktop does not
Show each job's model, number of tokens, duration and metered earnings in the Activity screenShow, save or log the text of any request or reply
Store your settings, payout address, today's counters and the recent activity list on your computerRead your files, browsing, keystrokes or screen
Keep a small technical log (start-up, connection, job ids and timings) in its data folder, with any field that could hold text removedWrite request or reply text to that log, or anywhere else
Store your node identity key encrypted, using your system's secure storage (Keychain on macOS, the Windows data-protection system, the secret service on Linux)Open any port on your computer or accept incoming connections
Send your node name, a hardware summary (operating system, chip, memory, graphics card) unless you switch it off, and your payout address, if you set one, to the networkSend your email or location
Send a hardware fingerprint (a one-way hash that marks this computer) for Season 0, unless you switch it offSend the system identifier the fingerprint is made from
Send the referrer wallet you entered, once, with your computer's first registrationShare who referred you with anyone else
Check how long since you last used the keyboard or mouse, and whether the screen is locked, to decide when you are awayRecord what you typed or where you clicked

Your computer's public record on the network (the Ledger, and /api/nodes/<node id>) shows its node name, payout address (if set), hardware summary, app version, performance, Idle Points and what it is owed. The fingerprint is not part of it. Anyone can look it up. The node name defaults to your computer's name; change it in Settings if you prefer. Switch off Share hardware summary in Settings to keep the operating system, processor, memory and graphics card out of the public record.

One honest caveat. To answer a request, your computer has to read it. The text passes through IDYL Desktop and Ollama in plain form while the job runs; neither keeps it. In the same way, people who send requests to the network are told that the computer serving them can see what they send.

On Linux, if your desktop has no keyring or secret service (some minimal setups), the system cannot properly encrypt the identity key: it is then only obscured, or stored as a file readable by your user alone. Settings shows which protection your key has.

Settings#

SettingWhat it does
Gateway URLThe network address IDYL connects to. Default https://idylnetwork.com; leave it unless the IDYL website or docs tell you otherwise. Versions before 0.4.0 used https://idyl-gateway-hvs1.onrender.com, the same gateway; 0.4.0 moves them to the new address by itself. Must start with https:// (plain http:// is accepted only for this computer or your home network)
Node nameHow your computer appears on the public Ledger. Defaults to the computer's name
Jobs at once (concurrency)How many requests your computer may work on at the same time, 1 to 8. Default 1. Raise it only for a powerful graphics card
Launch at loginOn by default. IDYL starts quietly in the menu bar or tray when you log in
Start in trayOpen quietly in the menu bar (Mac) or system tray (Windows) without showing the window
Pause on batteryOn by default. Never serve while unplugged
Idle minutesHow long without keyboard or mouse before When idle mode starts serving (default 3, from 1 to 120)
Serve Unbound modelsOff by default. Turned on from the Models screen. See Unbound
Payout addressYour Solana receiving address
Referred by (wallet)The wallet that referred you. Optional. Sent once, with your computer's first registration, then locked
Your referral linkA link you can share. See Referrals
Share hardware summaryOn by default. Shows this computer's system, processor, memory and graphics on its public Ledger page. Off keeps them private
Hardware fingerprint (under Season 0)Don't send switches it off. Off means no Idle Points
Download updates automaticallyOn by default where your build can update itself. See Updates
Check for updatesChecks now. Updates come from the official gateway's /downloads (the newest build of main), never from a gateway set in Settings
Build signatureWhat your operating system reports about this copy: signed, ad-hoc signed or unsigned, and where it was built
Back up node keySaves a copy of your node identity to a file. Anyone with that file can act as your computer on the network. Keep it offline and private
Reveal data folderOpens the folder where IDYL keeps its settings
VersionThe app version, for support requests

The menu bar and tray#

IDYL keeps a small icon in the macOS menu bar or the Windows system tray. Click it for:

  • a status line (serving, waiting or paused) and today's totals,
  • Pause / Resume,
  • Open IDYL,
  • Restart to update, when an update is ready,
  • Quit IDYL.

Closing the window does not quit the app; it keeps working from the menu bar or tray, and IDYL tells you so the first time. Use Quit IDYL to stop it completely.

Uninstall#

First, quit IDYL from the menu bar or tray (Quit).

macOS

  1. Drag IDYL from Applications to the Trash.
  2. To remove its settings and your node identity, delete the folder ~/Library/Application Support/IDYL (in Finder: Go → Go to Folder…, paste the path).

Windows

  1. Settings → Apps → Installed apps → IDYL → Uninstall.
  2. The uninstaller keeps your settings and node identity, so a reinstall picks up where you left off. To remove them too, delete the folder %APPDATA%\IDYL (paste it into the File Explorer address bar).

Linux

  1. Turn off Launch at login in Settings first (it adds an entry in ~/.config/autostart), then quit IDYL.
  2. Delete the .AppImage file, or, if you installed the .deb, run sudo apt remove idyl-desktop.
  3. Delete ~/.config/IDYL to remove settings and the node identity.

Models are kept separately. Uninstalling IDYL removes its engine with its data folder, but leaves downloaded models in place, because Ollama and other apps may use them. To free that space, remove models in IDYL before uninstalling, or delete Ollama's model folder (~/.ollama on Mac and Linux, %HOMEPATH%\.ollama on Windows).

Deleting the data folder deletes your node identity. If you want to keep your computer's track record on the network, back up the node key first.

Troubleshooting#

What you seeWhat to do
macOS says IDYL "cannot be opened" or "cannot be verified"See First launch on macOS
macOS says IDYL "is damaged and can't be opened"This can happen with unsigned downloads on recent macOS. Make sure the file came from the official links, then open Terminal and run xattr -dr com.apple.quarantine /Applications/IDYL.app, and open IDYL again
Windows shows "Windows protected your PC"Click More info, then Run anyway. See First launch on Windows
Engine setup stops with an errorClick Try again; the download resumes. A checksum error means the download was damaged and was deleted. If it keeps failing, install Ollama yourself and open it: IDYL uses it instead
No models are recommendedYour computer's memory is below what the smallest models need, or no dedicated graphics card was found. See What you need
A model download stops or failsCheck your internet connection and free disk space, then click Install again; it resumes
The orb stays Outline for a long timeYou are connected and waiting. On the testnet there may simply be few requests for your models. Installing a popular small model can help
The orb stays DimThe switch is off, you are on battery with Pause on battery on, you are outside your Schedule, or you are using the computer in When idle mode
"Gateway unreachable"Check your internet connection. Check the Gateway URL in Settings against the IDYL website
Jobs fail or time outThe model may be too large or slow for your computer. Remove it and use one marked Fits
My computer's fan gets loudThat is the graphics card working. Use When idle or Schedule so it happens while you are away, or lower Concurrency
Serving stops overnightYour computer went to sleep. A sleeping computer cannot serve. Set it not to sleep while plugged in if you want it to serve overnight
Something elseOpen an issue on GitHub with the app version from Settings and what you saw. Activity entries contain no request text, so they are safe to share

FAQ#

How much will I earn? We can't tell you, and we won't guess. Your computer is owed money only for requests that someone paid for, and on the testnet most requests are free. The app shows metered value, which is not money. Running a computer costs electricity, so compare before you leave it on for this purpose.

What are Idle Points worth? Nothing, today. No reward has been decided and no amount has been set. They are a record of what your computer verifiably contributed during Season 0.

Why does the app send a fingerprint of my computer? So that only one node per computer earns Idle Points. It is a one-way hash, it is not in your public record, and you can switch it off in Settings under Season 0; your computer then earns no points.

Can my computer serve Sealed requests? No. Sealed needs datacenter graphics cards running in a confidential-computing mode. Consumer graphics cards and Macs cannot do that. Your computer serves Community requests, and the people sending them are told that the computer serving them can read what they send.

Will it slow down my computer? In When idle mode, it only works while you are away and stops taking work as soon as you return. A job already running can keep the graphics card busy for up to a minute. Ollama may also keep a model loaded in memory for a few minutes after a job, which uses memory but not processing power.

Does it use a lot of internet data? No. Requests and replies are text. Downloading models is the only large transfer, and it happens once per model.

Can the network see my files? No. IDYL exchanges job text with the network and with Ollama on your own computer, and nothing else. It opens no ports.

Can I see what people ask? No. The app shows only the model, size, duration and value of each job. Your computer processes the text while answering, but IDYL neither shows nor saves it, and operators agree not to look.

Is it safe to click past the macOS or Windows warning? Only for a file you downloaded from the official links in this guide. The warning means the operating system cannot confirm who made the app. It is there for good reasons; do not click past it for copies from anywhere else.

Do I need $IDYL or a crypto wallet? Not to use the app. A payout address is optional, though you cannot be paid without one. $IDYL does not exist yet. On mainnet, nodes that want paid jobs will need to bond $IDYL; that program is still on devnet and is not part of the app. $IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

Is it OK on a laptop? Yes. Pause on battery is on by default, and When idle mode works only while you are away. Laptops get warm under load, so keep vents clear.

Does it work while my computer sleeps? No. Set your computer not to sleep while plugged in if you want it to serve overnight; the screen can still turn off.

What is the difference between IDYL Desktop and the IDYL Node CLI? They do the same job and speak the same protocol. Desktop is for people who want an app; the CLI is for servers and people comfortable with a terminal. See Run a node.

What is Ollama, and do I need to install it? Ollama is a free, open-source app that runs AI models on your own computer. IDYL Desktop uses it to do the actual work. You don't need to install it: IDYL downloads and runs its own copy, or uses yours if you already have it.

04 — Pricing

IDYL Pricing

10 min readdocs/PRICING.md

One price list for every way to use the network. Every rate on this page is a target rate for the beta, in US dollars per 1 million tokens, and may change. Changes are announced before they take effect.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. Nothing on this page is an offer of a return on holding or staking $IDYL.

Plans at a glance#

PlanWho it is forWhat you getWhat it costs
GuestTrying IDYL Chat before connecting a wallet10 requests a day on Open models that need 12 GB or less. Community gradeFree. Your browser solves a small puzzle instead of signing in
FreeAnyone with a Solana wallet200,000 tokens per wallet per day. Every Open model; Unbound models that need 12 GB or less, after the 18+ attestation. Community gradeFree
Pay as you goDevelopers, agents and heavy usersEvery model, past the free allowance, at the target rates below. Sealed on requestPrepaid credits in USD, bought with USDC, SOL, a card, or $IDYL at 10% off
ProWallets with at least 5,000 $IDYL staked for Pro1,000,000 tokens a day on every model, Sealed at 10% off, a share of the weekly credit poolA stake, not a payment. It stays yours and can be withdrawn after a 7-day cooldown
Pro+Wallets with at least 50,000 $IDYL staked for Pro5,000,000 tokens a day, Sealed at 20% off, a share of the weekly credit poolAs Pro
SealedRequests that must be kept from the owner of the machine that serves themServed only inside attested confidential hardware. Two grades: relay and end-to-end1.3× the model's rate, always paid from credits

A token is a short piece of text, roughly three-quarters of a word. Both what you send and what you receive count.

Before you rely on any of this: Sealed has not been validated on real confidential-computing hardware. Card payments work only where the Gateway's operator has set them up. Pay in $IDYL works only after the token exists. Pro reads stake from a program that is unaudited and not yet deployed. See Status.

Target rates#

USD per 1M tokens, input / output. Target rate, beta. The Sealed column is the Community rate × 1.3 and applies to both Sealed grades.

Open models#

ModelModel idCommunitySealed (1.3×)
Llama 3.1 8Bllama3.1:8b$0.03 / $0.05$0.039 / $0.065
Qwen 2.5 7Bqwen2.5:7b$0.03 / $0.05$0.039 / $0.065
Mistral 7Bmistral:7b$0.03 / $0.05$0.039 / $0.065
Qwen3 8Bqwen3:8b$0.03 / $0.05$0.039 / $0.065
DeepSeek R1 Distill 8Bdeepseek-r1:8b$0.04 / $0.08$0.052 / $0.104
Qwen3 14Bqwen3:14b$0.05 / $0.10$0.065 / $0.13
Gemma 3 12Bgemma3:12b$0.05 / $0.10$0.065 / $0.13
gpt-oss 20Bgpt-oss:20b$0.06 / $0.20$0.078 / $0.26
Qwen 2.5 Coder 32Bqwen2.5-coder:32b$0.10 / $0.25$0.13 / $0.325
Llama 3.3 70Bllama3.3:70b$0.20 / $0.40$0.26 / $0.52
Qwen3.6 27Bqwen3.6:27b$0.10 / $0.25$0.13 / $0.325
Qwen3.6 35B-A3Bqwen3.6:35b-a3b$0.08 / $0.25$0.104 / $0.325
Gemma 4 31Bgemma4:31b$0.10 / $0.25$0.13 / $0.325
Gemma 4 26B-A4Bgemma4:26b$0.06 / $0.20$0.078 / $0.26
Gemma 4 12Bgemma4:12b$0.05 / $0.10$0.065 / $0.13
Gemma 4 E4Bgemma4:e4b$0.03 / $0.05$0.039 / $0.065
Gemma 4 E2Bgemma4:e2b$0.02 / $0.03$0.026 / $0.039
Any other model—$0.05 / $0.10$0.065 / $0.13

Unbound models#

Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. Adults only, opt-in, and every request passes The Floor. Unbound rates are about 1.5× comparable Open models; the premium pays the operators who opt in.

ModelModel idCommunitySealed (1.3×)In the free tier
Llama 3.2 3B Unboundhuihui_ai/llama3.2-abliterate:3b$0.03 / $0.05$0.039 / $0.065Yes
Qwen3 8B Unboundhuihui_ai/qwen3-abliterated:8b$0.05 / $0.08$0.065 / $0.104Yes
DeepSeek R1 8B Unboundhuihui_ai/deepseek-r1-abliterated:8b$0.06 / $0.12$0.078 / $0.156Yes
Gemma 3 12B Unboundhuihui_ai/gemma3-abliterated:12b$0.07 / $0.14$0.091 / $0.182Yes
Qwen3 14B Unboundhuihui_ai/qwen3-abliterated:14b$0.08 / $0.16$0.104 / $0.208Yes
gpt-oss 20B Unboundhuihui_ai/gpt-oss-abliterated:20b$0.09 / $0.30$0.117 / $0.39No: credits or Pro
Mistral Small 24B Unboundhuihui_ai/mistral-small-abliterated:24b$0.10 / $0.30$0.13 / $0.39No: credits or Pro
Qwen3 32B Unboundhuihui_ai/qwen3-abliterated:32b$0.15 / $0.38$0.195 / $0.494No: credits or Pro
Llama 3.3 70B Unboundhuihui_ai/llama3.3-abliterated:70b$0.30 / $0.60$0.39 / $0.78No: credits or Pro
Qwen3.6 27B Unboundhuihui_ai/qwen3.6-abliterated:27b$0.15 / $0.38$0.195 / $0.494No: credits or Pro
Qwen3.6 35B-A3B Unboundhuihui_ai/qwen3.6-abliterated:35b-a3b$0.12 / $0.35$0.156 / $0.455No: credits or Pro

A Sealed rate is listed for every model so that the price is known. Whether a model can be served Sealed depends on a sealed node or sealed provider offering that exact model. If none does, the request fails with 503 sealed_unavailable.

The Floor#

You are never charged for The Floor's safety check, and a request it stops costs nothing.

What each plan covers#

GuestFreePay as you goProPro+
Sign-inProof-of-work puzzleWalletWalletWallet and stakeWallet and stake
Daily allowance10 requests200,000 tokens—1,000,000 tokens5,000,000 tokens
Open modelsThose needing ≤ 12 GBAllAllAllAll
Unbound models (18+ attestation)NoneThose needing ≤ 12 GBAllAllAll
SealedNoFrom credits, 1.3×From credits, 1.3×From credits, 1.17×From credits, 1.04×
Request limitsPrompt ≤ 4,000 characters; reply ≤ 512 tokens————
Weekly credit pool—Only with a stakeOnly with a stakeShareShare
  • Sealed is never free. It is always paid from credits, on every plan. Pro lowers the price; it does not include Sealed in the allowance.
  • Large Unbound models are not in the free tier. Without credits or Pro, a request for one is refused: 402 credits_required if your wallet has never held credits, 402 insufficient_credits if its credits have run out.
  • Allowances reset at 00:00 UTC.

How a request is billed#

Text
cost = (inputTokens × inputRate + outputTokens × outputRate) / 1,000,000
       × 1.3                   if the request is Sealed
       × (1 − Pro discount)    if it is Sealed and your wallet is Pro (10%) or Pro+ (20%)

For each request the Gateway uses the first source that applies:

OrderSourceApplies whenYou see
1Guest allowanceYou hold a guest token and are within the guest limitsx-idyl-guest-remaining
2Pro allowanceYour wallet is Pro or Pro+, the request is Community, and today's allowance is not used upx-idyl-pro
3CreditsThe free tier does not cover the request, or today's allowance is used up, and you have at least $0.001 that is not reserved by your other requests in flightx-idyl-credits-remaining
4Free tierThe request is covered and you have tokens left todayx-ratelimit-remaining-tokens
  • Credits are used only when needed. A Community request inside your allowance never touches your balance.
  • You pay when the reply ends, for the tokens that were delivered. If a reply is cut off part-way, you pay only for the part you received.
  • A balance can dip slightly below zero, to at most −$0.01, because the cost is known only at the end. Your next top-up repays it first.
  • Nothing covers it? If your wallet has never held credits, you get 402 credits_required (the free tier does not cover that kind of request) or 429 insufficient_quota (today's allowance is used). If it has held credits and they have run out, you get 402 insufficient_credits in both cases.

Credits#

Credits are a prepaid balance in US dollars, kept per wallet.

Top-up size$1 to $1,000 per payment
Daily limit$2,000 per wallet per UTC day, counting payment requests that are still open
Ways to payUSDC, SOL or $IDYL with Solana Pay; card with Stripe Checkout
Pay with $IDYL10% off: $IDYL worth $9 buys $10 of credits (credit = amount ÷ 0.9)
Check your balanceIDYL app → Credits (app.html#credits), or GET /api/credits
Transfer or withdrawNot possible. Credits stay with the wallet that bought them and cannot be turned back into money or tokens
ExpiryPurchased credits do not expire in this version. Credits from the weekly pool expire after 30 days. Credits that expire soonest are spent first
RefundsThere is no automated refund in this version, and no written refund policy yet. It is an open item on the Trust checklist

Solana Pay. The app shows a QR code and a wallet link, then confirms the payment for you. You pay the IDYL treasury address shown; the Gateway checks the transaction on Solana and credits your balance. A payment counts once. USDC is taken at $1.00. SOL and $IDYL are converted at the price shown when you created the payment request, which is fixed for its 15 minutes; SOL is offered only where the Gateway's operator has set up a price source. If your payment lands more than 2 minutes after the request expired, it is not credited automatically: keep the transaction signature and contact the operator.

Card. Card payments run through Stripe Checkout; IDYL never sees your card number. The option appears only where the Gateway's operator has set it up.

Pay with $IDYL: 10% off. Your tokens pay the node that did the work; the protocol's cut is burned. The $IDYL you pay is not sold. As you spend the credits, 85/90 of the tokens behind them go to the nodes that served you, and 5/90 go into a public burn queue and are burned from the treasury multisig (Tokenomics). This option is switched off until $IDYL exists.

What a payment record keeps. Your wallet, the amount in USD, the asset, the units, the transaction reference or Stripe session id, and the time. No email address, name or IP address. See Privacy.

Pro and Pro+#

Pro is unlocked by staking $IDYL, not by paying a subscription. The stake is separate from node bonds and is never slashed. Unstaking takes a 7-day cooldown.

FreeProPro+
Staked $IDYL0≥ 5,000≥ 50,000
Daily allowance (Community)200,000 tokens1,000,000 tokens5,000,000 tokens
Unbound models in the allowanceThose needing ≤ 12 GBAllAll
Sealed rate1.3×1.3× less 10% (1.17×)1.3× less 20% (1.04×)
Weekly credit pool—Pro-rata sharePro-rata share

The weekly credit pool. Every Monday the Gateway sets aside a share of the previous week's paid revenue from work that nodes served — 5% by default, never more than 7.5% — and shares it, as usage credits, among everyone whose stake is at least 7 days old, in proportion to the amount staked; a stake below the Pro threshold shares in it too. It is capped by revenue that actually arrived, so it can be zero. It is paid in credits that can only buy inference and that expire after 30 days. It is a usage rebate. It is not yield, interest or a return on your stake, and it is never promised in dollars. Full rules are in IDYL Pro.

A worked example#

Maya builds a document-review tool. In one day her wallet does three things.

1. Ordinary requests. She sends 180,000 tokens of Community requests to llama3.3:70b. That is inside the 200,000-token free tier. Cost: $0.

2. A large batch. She then runs a batch of many requests on the same model: 3,000,000 input tokens and 400,000 output tokens in all. Her remaining 20,000 free tokens are used by the first few requests; every request after that is paid from credits. At target rates the whole batch is worth:

LineCalculationUSD
Input3,000,000 / 1,000,000 × $0.200.60
Output400,000 / 1,000,000 × $0.400.16
Batch at target rates0.76

Almost all of it — every request after her free tokens ran out — is deducted from her credits.

3. One confidential contract. She sends one clause Sealed: 3,000 input tokens, 800 output tokens.

LineCalculationUSD
At the Community rate3,000 / 1,000,000 × $0.20 + 800 / 1,000,000 × $0.400.000920
Sealed (× 1.3)0.000920 × 1.30.001196
If her wallet were Pro0.000920 × 1.3 × 0.90.0010764
If her wallet were Pro+0.000920 × 1.3 × 0.80.0009568

Sealed is paid from credits even though it is tiny, because Sealed is never part of an allowance.

Topping up. Maya buys $20 of credits. With USDC she pays $20.00. With $IDYL she would pay $IDYL worth $18.00 and receive $20.00 of credits; as she spent them, those tokens would go to the nodes that served her, less the protocol's cut, which is burned.

Where the money goes. Of every dollar Maya paid for and spent, 85 cents is owed to the node that served the request and 15 cents goes to the protocol: half to the weekly buyback and burn, half to the treasury (Tokenomics). Credits that were granted rather than bought also earn the node its 85 cents, which the treasury pays, and bring the protocol nothing. Credits bought with $IDYL pay the node in $IDYL instead of dollars.

A month at scale. 300 million input and 50 million output tokens on llama3.3:70b, all paid from credits: 300 × $0.20 + 50 × $0.40 = $80.00. The same month on Sealed: $104.00.

Status#

ItemStatus
Guest access, the free tier, creditsBeta (testnet)
Solana Pay (USDC, SOL)Beta (testnet). Settles real funds on the chain the Gateway is configured for
Card payments (Stripe)Built. Off unless the Gateway's operator configures Stripe
Pay in $IDYLBuilt. Off until the token exists
Sealed · relay and Sealed · end-to-endBeta (testnet). Not validated on real confidential-computing hardware; tested with simulated attestation only
Pro, Pro+ and the credit poolBeta (testnet). Stake is read from IDYL Bond, which is unaudited and not yet deployed; a testnet Gateway can set Pro status by hand
Paying nodes for credit-paid workBuilt as a manual batch. What each node is owed is public. No payout has been made yet

Prices are target rates for the beta and may change. Paid inference is a service purchase, not an investment. Credits are not a financial product and have no value outside the IDYL network.

05 — Privacy

IDYL Privacy

14 min readdocs/PRIVACY.md

Private by default. Provable when it matters.

This page says what IDYL stores, what it never stores, how long anything is kept, and who can read what you send. It describes how the software behaves. It is not a legal privacy policy; a formal policy reviewed by counsel is an open item on the Trust checklist.

AccountsNone. A Solana wallet signature, or a guest token, is the only identity
Prompts and repliesNever stored or logged by the Gateway, the IDYL Node or IDYL Desktop
Chat historyIn your browser only. Optional passphrase encryption. One-tap delete
IP addressesNever written to disk or to logs. In memory only: rate-limit counters for minutes, and salted hashes that change every day
Who can read a requestIt depends on the privacy grade you choose. See the next section
Live inventoryGET /api/transparency
StatusBeta (testnet). Sealed has not been validated on real confidential-computing hardware

Who can read your request#

Every request is served at one of three privacy grades. You choose; every reply tells you which grade it was actually served at, in Chat as a badge and in the API as the x-idyl-privacy header.

GradeWhat it means
Community (default)Runs on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.
Sealed · relayRuns inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.
Sealed · end-to-endEncrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.

A TEE is a protected area inside a datacenter machine. Software runs there in memory that the machine's owner cannot read by ordinary means, and the hardware can produce signed evidence of this, called an attestation. An enclave is that protected area.

The same thing, as a table of who can read the words you type:

WhoCommunitySealed · relaySealed · end-to-end
The owner of the computer that answers youYesNo, not by ordinary meansNo, not by ordinary means
IDYL's GatewayIt passes through in memory. Never storedIt passes through in memory. Never storedNo, provided the key it listed is the attested one (limits). It carries encrypted data only
The safety check, The FloorThe Gateway, and a guard machine that may be another nodeThe Gateway, and a guard that is the operator's own or a sealed nodeOnly inside the enclave
Someone watching the networkNoNoNo

Three things to hold on to:

  • Community is not confidential, and we never call it that. The computer that answers you has to read your message to answer it, and its owner controls that computer. Do not send passwords, keys, financial details, health or legal records, or anything you would not hand to a stranger.
  • Sealed · relay is not end-to-end. It keeps your request from the owner of the machine that serves it. IDYL's Gateway still handles it in memory.
  • Sealed is never downgraded. If no sealed machine can serve your model, you get an error. A Sealed request is never quietly served on a Community machine.

What the Gateway always sees#

At every grade, including Sealed · end-to-end, the Gateway sees:

The Gateway seesWhy
Which wallet is asking (or which guest pass), and from which IP addressTo check access and apply limits. The IP address is used in memory and never stored
Which modelTo check access and to price the request
When, and how large the request and the reply areIt relays them. On end-to-end, sizes are rounded up: the request to the next 256 bytes, each piece of the reply to the next 16 bytes
How many tokens to billThe serving machine reports the count, in the clear
What the safety check decided, and in which categoryTo keep the public counts of The Floor. Never the text
Which machine answeredIt chose it

On Community and Sealed · relay it also handles the text itself, in memory. On Sealed · end-to-end it does not: it cannot read the messages, the settings or the reply. From sizes and timing alone, though, an observer can often estimate how long a conversation is and what kind it is.

Sealed: the honest limits#

  • Not validated on real hardware. Sealed is built and tested with a simulated attestation service. No IDYL sealed node has yet proven itself on a real confidential GPU. We will say when one has.
  • "Hardware" verification does not prove the software. An attestation is shown with a level. measured means the software inside the enclave matches a published IDYL image. hardware means the hardware is genuine but the software inside it is not proven: its operator could be running something modified. measured needs IDYL to publish reproducible node images, which anyone can rebuild and compare. None has been published yet.
  • You learn the enclave's key from the Gateway. The Gateway lists the keys and is the party that checked the attestation. A dishonest Gateway could list a key of its own and read everything. End-to-end therefore protects you from a Gateway that is curious or breached, or that is served with a demand for stored data. It does not protect you from one that substitutes keys — unless you check the attestation evidence yourself with the independent verifier.
  • In a browser, you are trusting the page. IDYL Chat's code comes from the same Gateway that carries your encrypted message. If the Gateway were compromised it could serve a page that reads your message before encrypting it. Chat checks that the key it encrypts to is the key named in the attestation evidence (the binding). It does not check the chip makers' signatures on that evidence. The Gateway checked them, and anyone can check them again with npm run verify:attestation -- <gateway> <attestationId> (how). Running the open-source client yourself, from code you control, removes the need to trust the page.
  • The two hardware proofs share only a number. A sealed machine shows one proof for its graphics card and one for its processor. Both carry the same one-time value, and nothing else links them. That shows a genuine graphics card answered and that this machine holds the key; making sure the work really runs on that card is the job of a published software image, which does not exist yet.
  • Version 1 has limits. There is no forward secrecy on the enclave's side beyond a per-boot key: the enclave's key lasts for as long as the node runs, and someone who recorded your encrypted traffic and later obtained that key could read it. The encryption is not post-quantum: it is not designed to resist future quantum computers. Replies are not checked by The Floor, on any grade. Padding is coarse and timing is not hidden. Tool calls do not work end-to-end.
  • Hardware protection can be broken by someone with physical access and skill. Researchers showed such attacks in 2025, and the chip makers treat them as outside what their products defend against. On a network of independent operators, the operator has physical access.
  • On relay, a node is trusted to keep its identity key inside the enclave. A relay request is handed to whoever holds the serving node's identity key. The attestation names that node, but cannot prove where the key is kept unless the node runs a published, measured image, and none exists yet. End-to-end does not have this weakness.
  • A sealed provider is trusted on its own word. When a Sealed · relay request is served by a TEE provider rather than an IDYL node, the reply names the provider, and its confidentiality rests on that provider's own claims, which IDYL does not verify.

The full list is in the Whitepaper and the Sealed protocol.

What is never stored#

The IDYL Gateway, the IDYL Node and IDYL Desktop never write any of the following to disk or to logs:

  • the text of any prompt, message, system prompt, tool call or reply;
  • your conversation history (it lives only in your browser);
  • your IP address;
  • an email address, name, phone number or location (IDYL never asks for them);
  • card numbers or bank details (card payments are handled by Stripe);
  • an API key or guest token itself (only its SHA-256 hash);
  • wallet private keys or seed phrases. IDYL never asks for them. Anyone who does is attempting theft.

Logs. The Gateway's logs are one line per request and per job: the method, path and status, the timing, the job id, the node id, the model and the token counts. A wallet address appears when a key is issued. They never contain message text or an IP address.

What is stored#

The Gateway keeps one state file. This is what is in it.

DataWhyKept
SHA-256 of your API key → your wallet, and when the key was madeTo recognise your key without storing itUntil you make a new key
Unbound attestation: wallet and time signedTo serve Unbound only to wallets that declared they are 18 or olderKept
Daily usage: wallet → tokens used todayThe free tier and Pro allowancesThe current UTC day
Credit balance: wallet → balance, as individual purchases and grantsPay as you goWhile the wallet has a balance or history
Payment records: wallet, amount in USD, asset, units, the transaction reference and signature or the Stripe session id, timeTo credit a payment exactly once and show you your historyYour last 50 payments; the records that make a payment creditable only once, for about 13 months
Pro status for testing: wallet → staked amount, where the operator set it by handTestnet only. Real stake is read from Solana and cached for 5 minutesUntil the operator removes it
Idle Points: node or wallet → points by rule; a node's referrer; a node's hardware fingerprintSeason 0For the season and its published snapshot
Node records: id, name, models, payout address, hardware summary, version, performance, slash points, what the node is owed and has been paidRouting, the public Ledger, payoutsWhile the node is known. A node that never served a job and holds no bond is removed after 7 days offline
Guest sessions: SHA-256 of the guest token → a random id, expiry, requests used todayGuest limitsDeleted when the token expires, after 24 hours
Sealed attestations: node, key, verification level, times, and the vendor evidencePublic proof that a node was verifiedWhile current, then for 24 hours. Published at /api/attestations/…
Network counters: requests, tokens, latency, Floor counts per categoryPublic statistics48 hours, in hourly totals
Weekly reportsThe public weekly report52 weeks
Recorded burns and payouts: transaction, amount, timeThe public recordKept; they are public on Solana anyway
The canary statement and legal-request counts, when the operator has published themTransparencyUntil replaced

Nothing in this table contains the text of a request.

Held in memory only#

These exist only while the Gateway is running and are never written to disk. A restart clears them.

DataWhyLifetime
A request's model, messages and settingsTo serve itOnly while the job runs
Sign-in nonces and guest puzzlesSigning in5 minutes, single use
Your IP address, as a rate-limit counterRate limitsMinutes
A salted hash of your IP addressGuest and Season 0 limits per addressThe salt is random and replaced every UTC day, so yesterday's hashes cannot be recomputed
Which node served you last, under a salted hash of your key or guest tokenSo that your next request goes elsewhere10 minutes

What a node receives#

A node that serves your request receives the model, the messages and the settings — nothing else. It does not receive your wallet, your API key, your guest id, your IP address or anything about payments.

The text itself can still identify you if you put identifying details in it, and each request carries whatever earlier conversation your app includes.

Rotation. Whenever another node can take your request, your next request within 10 minutes is sent to a different node than your last one, so that no single operator collects a long run of one person's requests. When only one node can serve the model, it serves you again. Rotation does not apply to Sealed · end-to-end, where you encrypt to one machine's key.

Operators' obligations. Operators agree not to log, store, inspect or reuse content. The node software does not log it, and IDYL Desktop never shows it. On Community we cannot verify what an operator does with their own machine, and many violations would not be provable.

Guests#

You can try IDYL Chat without a wallet. Your browser solves a small puzzle — a few seconds of computation — and receives a guest token for 10 requests a day, on smaller Open models, at Community grade.

  • The guest token lives in your browser. The Gateway keeps only its SHA-256 hash, a random id and today's count, and deletes them when the token expires after 24 hours.
  • The Gateway allows at most 3 guest tokens per IP address per day. It counts with a salted hash held in memory, never with the address itself.
  • A guest request carries no wallet, so nothing links it to an on-chain identity. It still reaches a node in plaintext, like any Community request.

Payments#

  • Solana payments are public by nature. When you pay with USDC, SOL or $IDYL, the transfer from your wallet to the IDYL treasury is on Solana for anyone to see. It shows that your wallet bought IDYL credits, and how much.
  • Card payments go through Stripe. You enter card details on Stripe's page, never on IDYL. Stripe processes the payment under its own terms and privacy policy and may collect details such as an email address. IDYL keeps only the wallet, the amount, the Stripe session id and the time.
  • What IDYL keeps about a payment: wallet, amount in USD, asset, units, the transaction reference or session id, and the time. No email address, name or IP address.
  • Your balance is tied to your wallet. Anyone holding your API key can see your balance and your last 20 payments.
  • Stake is public. Pro status is read from your stake on Solana, which anyone can look up.

Your browser#

IDYL Chat keeps its data in your browser's storage on your device: your API key or guest token, your settings and your conversations.

  • Encrypt your history (optional). Set a passphrase in Chat. The app derives a key from it (PBKDF2-SHA256, 300,000 rounds and never fewer than 210,000) and encrypts conversations with AES-256-GCM before saving them. The passphrase never leaves your device and is not saved: the app forgets it when you close or reload the tab, and asks again. If you forget it, the history cannot be recovered.
  • Delete everything. One button removes the key, the guest token, the conversations and the settings from this browser. It cannot remove what a node already processed, because nodes keep nothing to remove.
  • Private browsing. If your browser blocks storage, Chat tells you, and conversations last only until you close the tab.
  • Anyone with access to your browser profile can read unencrypted history.

If you run a node#

Kept on your computerSent to the network
Settings, payout address, your node identity key (encrypted with the system's secure storage where available), today's counters, a list of recent jobs without their content, a technical log without contentNode name, models, a hardware summary (operating system, chip, memory, graphics card), software version, payout address if set, referrer wallet if set, a hardware fingerprint, heartbeats and job results

Your node's record is public on the Ledger: name, payout address, hardware summary, version, performance, points and what it is owed. Use a name and a payout address you are comfortable publishing.

The hardware fingerprint#

Season 0 lets only one node per machine earn points. To do that, the node sends a fingerprint: a one-way hash of stable traits of your computer.

  • What goes into it: an operating-system machine identifier, the processor model, the number of cores, the amount of memory, the operating system and the chip architecture. The machine identifier itself never leaves your computer; only the hash does.
  • It is the same for every install on one machine. That is deliberate. Two installs on one computer must produce the same value, or the rule would not work. It also means the fingerprint is a stable pseudonymous identifier for your machine: any Gateway your node registers with receives the same value, under any node key.
  • It is not part of your node's public record.
  • You can switch it off. In IDYL Desktop: Settings → Season 0 → Hardware fingerprint → Don't send. In the CLI: --no-fingerprint. A node that sends no fingerprint earns no Idle Points. Nothing else changes.
  • It is separate from the hardware summary. Switching off the public hardware summary does not switch off the fingerprint, and the other way round.
  • It is not proof. A modified client can send a false one. That is why points also depend on capacity the Gateway measures for itself (Season 0).

The weekly share card Desktop can make contains counts only, never content.

GET /api/transparency publishes, in a form software can read, what the Gateway stores, what it never stores, how long things are kept, that logs contain no prompts, the number of legal requests received and complied with, and a warrant canary: a dated statement, with the date by which the next one is due.

  • The list of what is stored is read from the file the software actually writes. An automated test fails if the code begins storing something that has no description, and at run time a section nobody has described is still listed, marked as undocumented. It is never hidden.
  • The canary and the request counts are set by the Gateway's operator. The software never generates them, and a value the operator has not set is shown as not published.
  • If a canary is not renewed by its due date, assume it has lapsed.
  • IDYL can only hand over what it has. Because the Gateway never stores content or IP addresses, a lawful request can reach only the data listed under What is stored.

Your controls#

You want toDo this
Use IDYL without linking anything to a walletGuest mode, within its limits
Keep IDYL separate from your main walletUse a wallet you keep only for IDYL
Keep a request from the owner of the machine that serves itChoose Sealed
Keep a request from IDYL's Gateway as wellChoose Sealed · end-to-end, and read its limits above
Stop using a keyRequest a new key; the old one stops working at once
Remove everything from this browserDelete everything in Chat
Keep history private on a shared computerSet a history passphrase
Avoid Unbound being linked to your walletDo not sign the attestation; it is recorded per wallet
Run a node without the fingerprintSwitch it off; the node then earns no points

Contact#

Report a privacy or security problem through GitHub private vulnerability reporting on the repository. Mail addresses at idylnetwork.com are not active yet.

06 — Trust

IDYL Trust Checklist

11 min readdocs/TRUST.md

Trust is a list of things you can check, not a feeling we ask you to have. This page lists every commitment IDYL makes about privacy, Sealed, money, the token, safety and code, with its current status and where to verify it. When an item changes status, this page changes with it.

StatusMeaning
DoneIn place and verifiable today
BuiltImplemented and covered by automated tests; running in the beta; not independently reviewed
Simulated onlyBuilt and tested, but only against a simulated stand-in for the real thing
PartialSome of it is in place; the gap is stated
At launchReady to do; happens at or before the token launch, and is empty until then
Not startedPlanned; no work done yet
RoadmapPlanned for a later phase

Nothing marked Built, Simulated only, Partial, At launch, Not started or Roadmap should be read as Done. "Built" is not "audited".

Privacy#

#CommitmentStatusVerify
P1No accounts: a wallet signature or a guest token is the only identityDoneAPI: Get an API key
P2Prompts and replies are never stored or logged by the Gateway, the Node or DesktopBuiltGET /api/transparency → logsContainPrompts: false
P3A job sent to a node carries only the model, the messages, the settings and the deadlines — no wallet, key, IP address or guest idBuiltThe job format in the API reference
P4IP addresses are never written to disk or to logs. In memory only: rate-limit counters for minutes, and salted hashes with a salt replaced dailyBuiltPrivacy
P5Node rotation: one identity is not sent to the same node twice within 10 minutes whenever another node can take the requestBuiltPrivacy
P6Every chat reply states the privacy grade it was served at (x-idyl-privacy)BuiltAny reply from the chat endpoints
P7Community is never described as confidential, and Sealed · relay is never described as end-to-endDone (policy)This documentation; the site and app copy
P8Chat history lives only in the browser, with optional passphrase encryption and one-tap deleteBuiltIDYL Chat; Privacy
P9A published inventory of what is stored, read from the file the Gateway actually writes; anything undescribed is listed as undocumented, never hiddenBuiltGET /api/transparency
P10A warrant canary, dated, with a next-update dateAt launch — the mechanism is built; the first statement is published by the operator. Until then the endpoint says not_publishedGET /api/transparency → canary
P11A count of legal requests received and complied withAt launch — shown as not_published until the operator sets itGET /api/transparency → requests
P12A formal privacy policy reviewed by counselNot started—
P13Per-address limits use the caller's real address behind a proxy, never one the caller wrote into X-Forwarded-ForBuilt; correct only if the operator sets IDYL_TRUST_PROXY to match the deploymentGET /admin/ip on the operator's Gateway (API)

Sealed#

#CommitmentStatusVerify
S1Sealed requests are served only by attested nodes or a configured sealed provider — never by a Community machineBuilt; enforced in the Gateway coreWhitepaper: job lifecycle
S2Sealed is never silently downgraded: no sealed capacity means an errorBuiltAPI errors
S3Attestation checks: issuer, signature against the vendor's keys, validity times, required claims, and a binding to the nonce, the node and the enclave keySimulated onlyEngineering: sealed
S4Validation on real confidential-computing hardware (NVIDIA confidential GPU with an Intel TDX or AMD SEV-SNP host)Not started — needs access to hardware—
S5End-to-end encryption to an enclave key (the IDYL Sealed Channel)Simulated onlySealed protocol
S5aWe say what end-to-end rests on: the browser checks the attestation binding, not the vendors' signatures; the Gateway lists the keys and serves the page. Without independent verification it protects against a curious or breached Gateway, not one that substitutes keys. Running the open-source client yourself removes the trust in the pageDone (policy)Privacy
S5bWe say what the Gateway sees at every grade: wallet, IP address, model, timing, sizes (padded: requests in 256-byte steps, reply frames in 16-byte steps), token counts, and The Floor's outcome and category idsDone (policy)Privacy
S5cWe state the limits of version 1: no tool calls end-to-end; no forward secrecy beyond a per-boot enclave key; not post-quantum; no checks of model output; coarse padding, timing not hiddenDone (policy)Sealed protocol
S5dWe say what the evidence proves: hardware proves genuine hardware, not the software image; measured needs published, reproducible node images; the GPU token and the CPU token share only the nonce bindingDone (policy)Whitepaper
S6The Floor runs inside the enclave for end-to-end requests, and only on the operator's guard or a sealed node for relaySimulated onlyWhitepaper
S7Public attestation records with the vendor evidenceBuilt; only simulated evidence has ever been recordedGET /api/attestations/<id>?evidence=1
S8An independent verifier that does not trust the GatewayBuilt; simulated evidence only so farThe command, below this table
S9Published, reproducible node images, so that measured verification is possibleNot started — today the best possible level is hardware, which proves genuine hardware and does not prove the software inside the enclaveWhitepaper
S10Independent review of the attestation verifier and the channelNot started—
S11Simulated attestation is refused unless explicitly enabled, and is labelled SIMULATED everywhereBuiltx-idyl-privacy ends in -simulated

To check an attestation yourself, from a copy of the open-source repository:

Shell
npm run verify:attestation -- <gateway> <attestationId>

It fetches the evidence and verifies the vendors' signatures against the vendors' own keys, without taking the Gateway's word. IDYL Chat does not do this for you: the browser checks only that the evidence names the key it encrypted to. Options and sample output are in the API reference.

Money#

#CommitmentStatusVerify
M1Payment records keep no email address, name or IP addressBuiltPrivacy
M2Solana payments are verified on-chain (reference, asset, amount, treasury) and credited onceBuiltAPI: Solana Pay
M3Card webhooks are verified (Stripe signature, 5-minute tolerance) and credited onceBuilt — off unless the operator configures StripeAPI: card
M4Paid figures are kept apart from metered figures, and both are labelledBuiltGET /api/stats.json → treasury.paid, treasury.labels
M585% of every credit-paid charge is recorded as owed to the node that served it: in USD, or in $IDYL where the caller paid in $IDYLBuilt; the $IDYL path cannot run before the token existsGET /api/payouts/<node id>
M5aEvery amount owed to a node is funded by something that arrived. Work bought with granted credits is charged to the treasury, and the treasury's net position is published, not hiddenBuiltGET /api/stats.json → treasury.paid.treasuryNetUsd, solvent
M6What each node is owed and has been paid is publicBuiltGET /api/nodes/<id> → payable
M7Node payoutsPartial — a manual batch procedure is built. No payout has been made. The payout asset and cadence are not publishedWhitepaper
M8Weekly reports: nodes, tokens, paid revenue and its split, payables, buyback queue, burns, Floor counts, Sealed share, pointsBuilt. Paid revenue counts only credits that were bought and then consumed; the total of all credits consumed, including granted ones, is shown beside itGET /api/reports
M9Every burn recorded with its Solana transactionAt launch — the record is built and empty; there is no token to burn yet. The Gateway records the transaction the operator gives it and does not check the chain itself; anyone can, with the signatureGET /api/reports/weekly
M10Treasury, buyback and payout wallets published, with the multisig's signers and thresholdAt launchLedger disclosures
M11A refund policy for credit purchasesNot started—
M12A review of payments, anti-money-laundering and consumer-protection obligations by counselNot startedWhitepaper: risks
M13Durable books: every state write is fsync'ed and renamed into place, the previous file is kept as state.json.bak, and an answer that says a payment, payout or burn is recorded is sent only after the write is on diskBuilt. One file on one disk: no database, no replication. Back it upArchitecture: persisted sections

Token#

#CommitmentStatusVerify
T1The token launches only after the launch gate is metDone (policy) — the gate is published; it is not metWhitepaper: the launch gate
T2The contract address is published only at launch, from official channelsDone (policy)CA: announced at launch on every surface
T3Fair launch on pump.fun: no presale, no venture or team allocationAt launchpump.fun coin page; the mint on any Solana explorer
T4Any dev buy disclosed and locked on Streamflow, 6-month vestAt launchThe Streamflow contract in the launch disclosure
T5No emissions: nodes are owed money only for credit-paid work, funded from what callers paid and never from new tokensDone (design)Tokenomics
T6Stake for Pro is never slashedBuilt — in a program that passes its unit tests and has not been deployed or auditedprograms/idyl-bond
T7Independent audit of IDYL Bond before it holds mainnet fundsNot started — the program is unaudited and has never run on devnet or mainnet. An internal review exists (one AI reviewer, no second reviewer, no outside party): it found and fixed one Medium issue (mint close authority) and one Low (freeze authority). 42 unit tests; the integration suite passes on a local validator. It is not an auditprograms/idyl-bond/AUDIT-NOTES.md
T7aRepeated slashing bounded on-chain: a per-node daily window, and 100% slashes only from the admin multisigBuilt, not yet on devnet — the slash key may slash only for reasons 0 and 1, within the per-call caps and at most 5% of the node's bond per 24-hour window (at most 9.75% within any 24 hours across a window boundary); 100% tamper slashes are a separate admin-only instruction. Tested on a local validator and, for the 24-hour rollover, in LiteSVMprograms/idyl-bond/AUDIT-NOTES.md (L-2)
T7bA two-step admin transfer, so a mistaken handover cannot lock the program's administrationBuilt, not yet on devnet — propose_admin by the current admin, accept_admin signed by the new key; a proposal can be cancelledprograms/idyl-bond/AUDIT-NOTES.md (L-3)
T8The credit pool is capped by last week's paid revenue (5% by default, never more than 7.5%) and is never described as yieldBuilt; Done (policy)IDYL Pro
T9$IDYL received as payment is never sold: it pays the node that did the work (85/90), and the protocol's cut (5/90) is burnedBuilt — off until the token existstreasury.paid.nodePayableIdyl, idylQueuedForBurn
T10No price talk, yield claims or invented partnerships from official accountsDone (policy)Launch playbook
T11Counsel sign-off on the token design, including the buyback, the credit pool and Pay in $IDYLNot started — required by the launch gateWhitepaper: regulatory context

Safety#

#CommitmentStatusVerify
F1The Floor checks every request, on every tier and every grade, before a model sees itBuiltGET /api/floor
F2Unbound fails closed when The Floor cannot runBuiltAPI: The Floor
F3The Floor stores counts per category, never promptsBuiltGET /api/floor
F4Unbound only for wallets that signed the 18+ attestation, from operators who opted inBuiltUnbound policy
F5One policy, one source file, identical in the Gateway and in the enclaveBuiltA test fails if the two copies differ
F6Output-side checkingRoadmapWhitepaper
F7An abuse reporting channelPartial — GitHub private reporting now; abuse@idylnetwork.com once mail is set up on the domainUnbound: reporting abuse

Code and releases#

#CommitmentStatusVerify
C1All code MIT-licensed and publicAt launch — the repository is made public before launchgithub.com/thetradeexpert444/idyl
C2The Gateway, the Node and the MCP server have no runtime dependenciesDonepackage.json files
C3Release artifacts published with SHA256SUMSBuiltnpm run package
C4Each Desktop installer labelled with what was actually verified: built, run on its own operating system, signedDone (policy)Desktop: installers
C5Signed and notarised Desktop buildsNot started — builds are unsigned until certificates are configured; macOS auto-update needs signed buildsDesktop: first launch
C6Private vulnerability reporting enabledAt launchRepository → Security
C7Third-party security review of the GatewayNot started—
C8Bug bountyNot started—

Network and Season 0#

#CommitmentStatusVerify
N1Every public number comes from the Gateway; unreachable means —, never an estimateDone (policy)The site and app
N2Team-operated nodes, guard capacity and sealed capacity are labelledAt launchLedger
N3Points follow capacity the Gateway measured itself, in a simultaneous checkBuiltSeason 0
N4Season 0 rules published as data and unchanged during the season, except to close an exploit, with noticeBuiltGET /api/points/season
N5No Season 0 reward amount is stated anywhere, because none has been decidedDone (policy)This documentation
N6The Season 0 snapshot is published with a SHA-256 Merkle rootBuiltnpm run points:export
N7The launch gate is reported against every weekPartial — the weekly report exists, but does not yet carry nodes online per day, paid revenue per day or a count of Chat users. We will publish how each was countedWeekly reports

The launch gate, today#

$IDYL launches only when all seven conditions hold for a full reporting week. They are targets, not data.

#ConditionTargetToday
1Nodes online≥ 100, every dayNot measured — Season 0 has not started. The report has a weekly average and maximum, not a daily figure
2People using IDYL Chat≥ 1,000 in the weekNot measured. The software does not count distinct users yet
3Tokens served≥ 50 million in the prior weekNot measured. The weekly report carries this figure
4Paid revenueOn every day of that weekNot measured. The ledger has paid revenue for the week and the last 24 hours, not for each day
5IDYL SealedLive with attestation on real hardwareNot met — simulated only
6Critical security issuesZero openNot assessed by a third party
7CounselSign-off on the token designNot started

How to read this page#

  • "Built" is not "audited". Automated tests show the code does what it is meant to under the conditions we tested. They do not show that it is free of bugs, and they are not an independent review.
  • "Simulated only" means exactly that. The Sealed verifier and the encrypted channel have been run against attestation tokens signed by a local test key, not against tokens from NVIDIA or Intel on real confidential hardware.
  • "At launch" items are empty today. A canary that has not been published is shown as not published, not as "all clear".
  • Policies can be broken. Items marked "Done (policy)" are promises about what we say and do. Hold us to them.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

07 — Season 0

Season 0: Idle Points

12 min readdocs/SEASON0.md

Points for capacity we can verify, not for clicks.

Season 0 is IDYL's public testnet season: 42 days with real traffic, before any token exists. Idle Points record two things the Gateway can measure for itself: machines that were really available and really fast, and work that someone really paid for. There are no points for following, posting, holding, signing up or inviting people who do nothing.

Length42 days from the start of the Season 0 Gateway
Who earnsNode operators (IDYL Desktop and the CLI) and wallets that pay for inference
Where to see themIDYL Desktop's Points screen, the app's Points page (app.html#points), GET /api/points/<node id or wallet>
StatusBeta (testnet). Not started until the Season 0 Gateway is deployed

No reward is promised, and no amount has been set. Idle Points are a record of contribution. They are not $IDYL, not money and not a claim on anything. Whether they lead to any reward, in what form, of what size and from what source has not been decided. $IDYL is a fair launch with no reserved supply, so no tokens are set aside for points. Points may never be worth anything. Do not spend money or electricity on the expectation that they will.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

How points work, in short#

YouEarn
Keep a verified machine onlineAbout 1 point an hour for a healthy machine serving an 8 GB-class model; more for larger models, sealed hardware and a better record
Serve requests someone paid for1 point per $0.001 you are owed for that work, doubled for sealed work, up to 3 × your availability points for the day. Only work paid with credits that were bought counts
Pay for inference you use1 point per $0.01 of credits you bought and then spend, up to 100 points a day
Refer an operatorA bonus of 10% of that node's points for 90 days, up to 1,000 points a season

How capacity is checked#

Anyone can claim to have a fast machine. So the Gateway measures it.

About every 30 minutes, the Gateway sends every online node one short test job at the same instant. The exact gap varies at random between 15 and 45 minutes, so a test cannot be predicted. It looks like any other chat job; your node cannot tell the difference. The Gateway times the reply itself, from the first word to the last, and works out your speed in tokens per second. It does not use any number your node reports.

  • The test runs on the largest model from the catalog that your node serves.
  • The reply must be long enough to measure: at least 120 characters.
  • The Gateway keeps a running average of your speed. One slow test does not define you.
  • A test your node fails or does not answer counts as a speed of zero, so skipping tests does not protect a good average.
  • If your node takes more than about 2 seconds to start answering, the extra wait is counted as writing time. Holding the answer back and releasing it in one burst does not look fast.
  • A test your node missed because it was paused, offline or busy with real work is not held against it. A test it accepted and then did not answer in time is a missed job like any other: the usual deadlines apply (15 seconds to the first word, 60 seconds in all), and a miss records a slash point.
  • Keep your largest model loaded. The test always uses the largest catalog model your node offers. If your model runtime unloads idle models — Ollama does after 5 minutes by default — each test starts with a reload. A reload of more than 2 seconds lowers your measured speed; one of more than 15 seconds misses the test. Set a longer keep-alive, or offer only models your machine starts quickly.
  • Your node must have passed a test in the last 24 hours to earn anything.

Why all at once? Because a single computer that pretends to be five nodes has to answer five tests at the same moment, so each "node" is measured at about a fifth of the real speed.

Availability points#

Once in every 10 minutes, a node that is online, not paused, waiting for work or working, and has passed a capacity check in the last 24 hours earns:

Text
points = (10 / 60) × size × speed × reliability × sealed
FactorValue
sizeBy how much memory the model you were tested on needs: up to 8 GB → 1.0 · up to 16 GB → 1.5 · up to 24 GB → 2.0 · more than 24 GB → 3.0
speedYour measured tokens per second ÷ 20, never below 0.1 and never above 1
reliabilityYour node's reliability score, between 0 and 1: the same score used for routing
sealed2 for a sealed node (attested confidential hardware), otherwise 1

Examples, per hour online:

MachinesizespeedreliabilitysealedPoints per hour
A laptop serving an 8 GB model at 25 tokens/s, reliability 0.961.01.00.9610.96
The same laptop at 5 tokens/s1.00.250.9610.24
A 24 GB graphics card serving a 24 GB model at 30 tokens/s, reliability 0.982.01.00.9811.96
A workstation serving a 48 GB model at 12 tokens/s, reliability 0.953.00.60.9511.71
A sealed datacenter node serving a 48 GB model at 40 tokens/s, reliability 0.993.01.00.9925.94

Speeds above 20 tokens per second earn no more than 20 does. The rule rewards machines that are fast enough to be useful, not the fastest machine in the room.

The size factor belongs to the model your node was tested on. If your node stops offering that model, the factor falls back to 1.0 until the next test.

Paid-work points#

If you run a node: 1 point for every $0.001 you are owed for jobs that a caller paid for with credits they bought, and 2 points per $0.001 for jobs you served sealed. In any one UTC day, these points are capped at 3 × the availability points you earned that day. Paid work that arrives early in the day is counted as the day's availability points grow; whatever is still above the cap at midnight UTC is dropped.

If you pay for inference: 1 point for every $0.01 of credits your wallet spends, up to 100 points per wallet per UTC day. Credits you buy but do not spend earn nothing.

Only funded spend counts. "Bought" means bought with USDC, SOL, a card or $IDYL. Credits that were granted — your share of the weekly credit pool, or promotional credits from the operator — pay for requests like any others, but they earn no points, for you or for the node that serves you. Nobody paid for them, so rewarding them would reward nothing. Where a request is paid partly with granted credits, only the bought part counts.

Example. A node earns 14 availability points in a day and is owed $0.03 for paid jobs. That is 30 paid-work points, under its cap of 42, so the day's total is 44. If it had been owed $0.06, the 60 points would be capped at 42.

What does not earn points#

These earn nothing, for anyone:

  • Free-tier requests. Requests covered by a wallet's free 200,000 tokens earn nothing, for the user or for the node that serves them. Otherwise anyone could send free requests to their own node.
  • Pro-allowance requests. The same, for the same reason.
  • Spend of granted credits. Credit-pool and promotional credits earn nothing, for the wallet that spends them or for the node that serves the request.
  • Guest requests.
  • Safety checks. Guard jobs for The Floor are metered but earn no points.
  • Requests served by a sealed provider. No node did the work.
  • The Gateway's own test jobs. Canaries and capacity checks pay nothing and earn nothing by themselves.
  • Time while paused or offline.
  • Time without a recent capacity check. No passed check in 24 hours, no availability points.
  • A node with no fingerprint. See below.
  • A second node on the same machine. Only the first one registered earns.
  • A fourth node behind one network address on the same day.
  • Anything outside the season's 42 days.
  • Anything the Gateway cannot measure: social posts, follows, wallet age, token holdings, sign-ups.

Referrals#

  • CLI: add --referrer <wallet> the first time you run the node.
  • Desktop: paste the referrer's wallet under Referred by (wallet) during setup or in Settings, before the node first registers.

The referrer earns a bonus equal to 10% of the referred node's points for 90 days. The node's own points are not reduced.

  • The referrer is recorded at the node's first registration and cannot be changed afterwards.
  • A node cannot refer itself, and its referrer cannot be its own payout address. If the referrer later turns out to be the node's payout address, the referral is void and the bonus is taken back. A second node on the same computer does not count as a referrer either.
  • The 90 days run from the node's first registration.
  • A referrer can earn at most 1,000 referral points per season, however many nodes they refer.
  • A referred node that earns nothing passes on nothing.

The fingerprint rule#

To apply "one earning node per machine", your node sends a hardware fingerprint: a one-way hash of stable traits of your computer. What goes into it, and how to switch it off, is explained in Privacy.

  • No fingerprint, no points. If you switch it off, your node works normally and earns nothing in Season 0.
  • One earning node per fingerprint. If several nodes report the same fingerprint, only the earliest registered earns. The others earn 0 and are flagged.
  • At most 3 earning nodes per network address per day: the three that registered first among those online. This is a limit, not an accusation; a node held back by it is not flagged. The Gateway counts with a salted hash of the address that changes daily and is never stored.
  • Running several real machines is fine. Each has its own fingerprint and earns on its own measured capacity.

The fingerprint is reported by your own software, and modified software can lie. We know. That is why the capacity check does the real work: a faked second node still has to share one machine's speed.

What these rules cannot prove#

We would rather say this than have a speed bump mistaken for a wall.

  • An address is not a person. Someone with several network addresses can run more than three earning nodes. Each still has to pass the simultaneous tests with real speed.
  • The tests measure speed, not which model wrote the answer. A node that claims a large model and answers with a small one is caught by spot checks against honest nodes, when there are some, not by the capacity test.
  • The start-up allowance can be gamed a little. Up to about 2 seconds before the first word are not counted, which can make a slow machine look somewhat faster than it is.
  • An operator can pay themselves. Someone can buy credits and send requests that their own node serves. It costs them the protocol's cut each time — 15% of the charge with credits bought for cash, 5/90 of the tokens with credits bought in $IDYL — and it is bounded: paid-work points stop at 3 × the day's availability points, and usage points at 100 per wallet per day.

Penalties and flags#

What happensEffect
Your node records a slash point (a missed deadline is 1; a canary mismatch is 10)Each slash point forfeits 1% of the season points your node holds at that moment
A canary mismatchYour node is flagged for review
Your node fails more than half of its capacity checks over 24 hours, once it has had at least 4Your node is flagged for review
Your node is slashed for tamperingIts season points are forfeited and it is flagged
Your node shares a fingerprint with an earlier nodeIt earns 0 and is flagged

A flagged node stays on the public leaderboard, marked as flagged, with the reasons shown. Flagged nodes are left out of the final snapshot, together with any referral bonus they produced, unless the operator of the Gateway deliberately includes them after review. If you think a flag is wrong, open an issue on GitHub with your node id; job records contain no content, so they are safe to share.

Vesting#

The final snapshot records a vesting schedule, in case a reward is ever attached to points:

WhenShare
At token launch25%
Over the following 90 days, evenly75%

Under that schedule, whatever has not yet vested is forfeited if your node is offline for 7 or more days in a row during vesting, or is slashed for tampering.

Read this carefully: the schedule is recorded, not paid. It would be enforced by a claim mechanism that has not been built, for a reward that has not been decided. A vesting schedule is not a promise that there will be anything to vest.

Season dates and rules#

Season 0 starts when the Season 0 Gateway is deployed and runs for 42 days. GET /api/points/season always returns the exact start and end, whether the season is upcoming, active or ended, the rules in force as data, and the season totals.

Rules do not change during the season, with one exception: if a rule turns out to be exploitable, it can be closed, with a public note of what changed and from when.

The snapshot#

At the end of the season the Gateway's operator runs npm run points:export. It writes a snapshot — for every node and wallet, its points, how they were earned and whether it is flagged — and a single fingerprint of the whole file, called a Merkle root. The root is published. Anyone can then check that their own entry is in the snapshot and that the snapshot was not changed afterwards. The export is deterministic: the same data always produces the same root. How the root is computed, with a worked example, is in the points engineering note.

Where to see your points#

WhereWhat
IDYL DesktopThe Points screen: your node's points, the breakdown, your measured speed, whether you are earning right now and why not, any flags
IDYL appapp.html#points: your points and the leaderboard
APIGET /api/points/season, GET /api/points/leaderboard?kind=nodes or kind=users, GET /api/points/<node id or wallet> (API reference)

Node points are recorded against the node's id. A wallet's points are the paid-usage and referral points recorded against that wallet.

Questions#

Will points become tokens? Nothing is promised and nothing has been decided, including whether there will be any reward at all. $IDYL has no supply reserved for points.

How much is a point worth? Nothing, today. No amount has been set, and we will not guess.

Can I buy points? Only by paying for inference you actually use: 1 point per $0.01 of bought credits spent, capped at 100 a day. Granted credits earn nothing. Paying for inference you do not need, in order to collect points that may be worth nothing, is a way to lose money.

Does staking or holding $IDYL earn points? No. The token does not exist during Season 0, and points are for capacity and paid work.

Why did my points grow slowly today? Check your measured speed and reliability on Desktop's Points screen or at GET /api/points/<node id>, which also lists the reasons a node is not earning. A slow test, a paused machine, a missed deadline or a lost capacity check all lower the rate.

I run two computers. Is that allowed? Yes. Each machine earns on its own measured capacity. Two nodes on the same machine earn once.

Why does a faster machine not earn more above 20 tokens per second? Because the network needs many machines that are fast enough, more than it needs a few that are very fast.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

08 — Pro

IDYL Pro

7 min readdocs/PRO.md

Stake $IDYL. Use more of the network.

IDYL Pro is a usage plan that you unlock by staking $IDYL instead of paying a subscription. A Pro wallet gets a larger daily allowance, a lower price on Sealed requests and a share of a weekly pool of usage credits. The stake stays yours: it is never slashed, and you can withdraw it after a 7-day cooldown.

ProAt least 5,000 $IDYL staked for Pro
Pro+At least 50,000 $IDYL staked for Pro
Where the stake livesThe IDYL Bond program on Solana, in a position separate from node bonds
Can it be slashed?Never
Unstake cooldown7 days
StatusBeta (testnet). The stake program is written for devnet, has not been deployed and is unaudited. $IDYL does not exist yet, so nobody can stake real tokens today

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. Staking for Pro buys access to a service. It is not an investment, it pays no interest, and the value of staked tokens can fall to zero.

What you get#

FreeProPro+
Staked $IDYL—≥ 5,000≥ 50,000
Daily allowance, Community grade200,000 tokens1,000,000 tokens5,000,000 tokens
Unbound models in the allowanceThose needing 12 GB or lessAllAll
Sealed requests1.3× the model's rate10% off (1.17×)20% off (1.04×)
Weekly credit pool—Pro-rata sharePro-rata share
  • The daily allowance replaces the free tier for your wallet. It covers Community requests on every model, including the large Unbound models, and resets at 00:00 UTC. Past it, requests are paid from credits at target rates; without credits they wait for the reset.
  • Sealed is never free. It is always paid from credits, Pro or not. Pro lowers the Sealed price and nothing more: a Pro wallet with no credits cannot use Sealed.
  • Unbound still needs the attestation. Staking does not replace the 18+ declaration, and no payment, bond or stake buys an exemption from The Floor.
  • Pro applies to your wallet, so it applies to every API key of that wallet and to IDYL Chat.

How it works#

  1. Stake. Your wallet calls stake_pro on the IDYL Bond program. Your tokens move into a program-owned vault, recorded in a position that only your wallet controls.
  2. The Gateway reads your stake from Solana and remembers it for 5 minutes, so a new stake or an unstake can take that long to show. Only the active stake counts; tokens in the unstaking cooldown do not.
  3. Use the API or Chat as usual. The app's Pro page (app.html#pro) and GET /api/pro show your tier and how much of today's allowance you have used.
  4. Unstake. Call request_unstake_pro. The amount leaves your active stake at once — so your tier can drop at once — and becomes withdrawable after 7 days with withdraw_pro.

The weekly credit pool#

Every Monday at 00:00 UTC the Gateway forms a pool of usage credits and shares it among everyone with an eligible stake, in proportion to the amount staked. A stake below the Pro threshold receives its share too.

Text
pool       = 5% × last week's paid revenue        (the default share; 0 turns the pool off; above 7.5% the Gateway does not start)
your share = pool × your stake ÷ all eligible stake
  • Paid revenue means credits that were bought with USDC, SOL or a card and actually spent last week on work that nodes served. Deposits that were not spent, free-tier, guest and Pro-allowance usage, promotional credits, credits bought with $IDYL and credits from the pool itself are not paid revenue. The pool cannot feed on itself.
  • Your stake must be at least 7 days old. A position counts only if it was staked, or last added to, at least 7 days before the Monday snapshot. Adding to your stake restarts that clock.
  • Pool credits are usage credits. They pay for inference on IDYL and nothing else. They cannot be transferred, sold or withdrawn, and they expire 30 days after they are granted. They are spent before credits you bought.
  • The pool can be zero. It depends entirely on last week's paid usage. If nobody paid last week, there is no pool this week.
  • GET /api/pro shows the last pool: the week, its total size in USD of credits and the number of wallets that shared it.

What the pool is, and is not#

The pool is a usage rebate funded by last week's revenue. It returns some of the network's use to the people who lock tokens in order to use it, in the only form the network produces: inference.

It is not yield, interest, a dividend, rewards or a return on your tokens. It is never promised in dollars. We do not quote it per token staked, because that would describe a rate, and there is no rate. Its share of revenue is a setting, 5% by default and never more than 7.5%, that can be lowered or ended (Whitepaper).

Why it is capped at 7.5%. Pool credits bring in no new money. When they are spent, the node that served the request is still owed its 85% in USD, and that is paid from the treasury's half of the protocol share — 7.5% of the same revenue the pool is taken from. At 7.5% or less, that half always covers the pool, so every amount owed to a node stays funded. Spending pool credits earns no Season 0 points.

Do not stake $IDYL in order to earn from the pool. Stake it if you want the allowance and the Sealed discount for your own use.

Before you stake#

  • The token does not exist yet. $IDYL launches only after the launch gate is met. Until then nobody can stake real tokens, and any contract address you are shown is not ours.
  • The program is unaudited and not deployed. It is written for devnet. Its 42 unit tests pass and its integration suite passes on a local validator; nothing has run on devnet or mainnet. An internal review exists: one AI reviewer, no second reviewer, no outside party. It found and fixed one Medium and one Low issue, both in how the program checks the token it accepts. It is not an audit. Stake for Pro cannot be slashed by any key, and the program's admin key changes hands only in two steps (propose, then accept). The program will not hold mainnet funds before an independent audit is published.
  • Your tier is as fresh as the Gateway's last look. The Gateway believes its Solana RPC endpoint about who staked what, re-reads a stake every 5 minutes, and keeps the last good answer for up to 6 hours if that endpoint is failing.
  • The thresholds are in tokens, not dollars. The dollar value of 5,000 $IDYL will move with the market, in both directions.
  • Your tokens are locked for 7 days after you ask for them back, and can lose value during that time. A second unstake request restarts the 7 days for everything you have waiting, including an amount that was already free to withdraw. Withdraw first, then ask again.
  • Pro on a testnet proves nothing. Before the program reaches mainnet, a Gateway operator can set a wallet's Pro status by hand for testing. That is not on-chain stake.

On-chain layout#

For wallets, explorers and auditors. The position is a program-derived address with seeds ["stake", owner], 136 bytes:

OffsetSizeField
08Anchor discriminator
832owner (public key)
408amount (u64, little-endian) — the active stake the Gateway reads
488unstaking_amount (u64)
568unstake_ready_at (i64, Unix seconds)
648staked_at (i64, Unix seconds)
721bump
7363reserved

$IDYL has 6 decimals, so 5,000 $IDYL is 5000000000 base units.

A Pro stake is separate from a node bond. A node bond is collateral that can be slashed for bad work. A Pro stake is never slashed, never counts as a node bond and never raises any node's routing weight.

Staking a token to unlock a service, with a share of usage credits on top, can look to a regulator like an arrangement that rewards holders for other people's work. In the United States, the Securities and Exchange Commission's interpretation of March 17, 2026 describes when a token that is not itself a security can still be sold as part of an investment contract, and SEC staff published further answers in September 2026. We summarise both in the Whitepaper.

We designed Pro so that it promises no profit, pays in service rather than money, and is capped by revenue that already exists. Whether that is enough under the law of any country is a question for lawyers, not for this page. Counsel sign-off on the token design is part of the launch gate, and if counsel requires Pro or the pool to change, it will change. Nothing here is legal advice.

API#

MethodPathAuthReturns
GET/api/proOptional API keyThe thresholds, the last pool, the stake program, and — with a key — your tier, stake, allowance and usage today
GET/api/creditsAPI keyYour balance, including pool credits and when they expire

Details are in the API reference.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

09 — Unbound

IDYL Unbound: Policy and Guide

15 min readdocs/UNBOUND.md

Unbound is IDYL's tier of open-weight models with their built-in refusal behaviour removed. It is for adults who choose it, served by operators who choose it, and every request passes The Floor first. Unbound, not lawless.

ItemValue
Who can use itAdults (18+) who sign the Unbound attestation with their wallet
Who serves itNode operators who switch it on (--unbound, or Serve Unbound models in IDYL Desktop)
Safety layerThe Floor: every request, every tier
PricingAbout 1.5× comparable Open models (target rates, beta)
What the free tier coversUnbound models that need 12 GB of memory or less. Larger ones are paid from credits or covered by an IDYL Pro allowance (Pricing)
GuestsGuest access cannot use Unbound. A wallet and its signed attestation are required
StatusBeta (testnet)

This document is the IDYL Floor policy that the attestation refers to. It contains the Acceptable Use Policy. If you sign the attestation, you are agreeing to both.

In plain words#

Most AI chat models are trained to say no to some questions. Sometimes that protects people. Often it just gets in the way: a novelist writing a violent scene, a nurse asking about overdose levels, an adult asking a frank question about sex, a security researcher testing their own systems.

Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. IDYL serves them in a separate tier called Unbound.

Three things stay true on Unbound:

  1. The Floor still applies. A small set of the worst requests is stopped before any model sees it. That is the same on every tier.
  2. The rules still apply. The Acceptable Use Policy below covers things no automatic check can see, such as targeting a real person.
  3. The law still applies. To you where you are, and to the operator whose computer answers you.

What Unbound is not: lawless, limitless or exempt from rules. The phrases that would suggest otherwise are on IDYL's never-say list, and nobody speaking for IDYL uses them.

An Unbound model is not smarter or better informed than the original. It is simply less likely to decline, and it can be somewhat less accurate. It may state false things with confidence. Treat what it says the way you would treat anything a stranger tells you.

Who can use it#

  • Adults only. You must be 18 or older, and of legal age to access such content where you live if that age is higher.
  • By choice. Nobody is placed on Unbound by default. Open models remain the default everywhere.
  • With a signed attestation. Your wallet signs a short statement once. IDYL cannot verify your age or identity from a wallet; the signature is your declaration, and it is attributable to you.
  • Not where it is unlawful. If accessing this kind of content is illegal where you are, do not use Unbound.

If you are under 18, please use the Open models. They are the same network, with the models' original safeguards.

Getting access#

The attestation is a property of your wallet. Sign it once and it applies to IDYL Chat and to every API key of that wallet.

The message you sign is always exactly this, with your wallet address and a one-time nonce filled in:

Text
IDYL Unbound access
wallet: <wallet>
I am 18 or older and I accept the IDYL Floor policy.
nonce: <nonce>

Signing a message is not a transaction. It costs nothing, moves no funds and grants no one access to your wallet.

In IDYL Chat#

  1. Open IDYL Chat (app.html#chat) and connect your wallet.
  2. Choose the Unbound tab in the model picker.
  3. Read the statement on screen. It is the message above.
  4. Approve the signature request in your wallet.
  5. The Unbound tab unlocks. Pick a model and start.

With the API#

  1. GET /api/nonce?wallet=<base58>&purpose=unbound returns { nonce, message }. The message is exactly the text above.
  2. Sign the UTF-8 bytes of message with the wallet's ed25519 key and base58-encode the signature.
  3. POST /api/attest with { wallet, signature, nonce } returns { wallet, unbound: true }.
  4. Call any Unbound model with an API key of that wallet.

Without the attestation, a call to an Unbound model returns 403 unbound_attestation_required. A complete script is in the API reference.

The attestation gives access; it does not pay. The daily free tier covers the Unbound models that need 12 GB or less. For the larger ones, a wallet without credits or IDYL Pro gets 402 credits_required.

The Floor#

The Floor is the safety layer in the IDYL Gateway. Before a request is sent to any node, The Floor reads the latest user message, together with the system prompt if there is one, and classifies it with Llama Guard 3 (llama-guard3:1b), an open safety classifier from Meta. A fast local pattern check for unambiguous child-sexual-abuse terms runs first, and works even when the classifier is unavailable.

Policy table#

Llama Guard 3 sorts requests into thirteen hazard categories. The Floor acts on four of them, identically on both tiers.

CodeCategoryWhat it coversOutcome, both tiers
S1Violent crimesEnabling or encouraging violence against people or animalsForwarded
S2Non-violent crimesFraud, scams, theft, hacking, drug and weapons crimesForwarded
S3Sex-related crimesSexual assault, trafficking, sexual harassmentBlocked (451)
S4Child sexual exploitationAny sexual content involving or sexualising minorsBlocked (451), also by the prefilter
S5DefamationFalse statements that damage a real person's reputationForwarded
S6Specialized adviceFinancial, medical and legal adviceForwarded
S7PrivacySensitive, non-public personal informationForwarded
S8Intellectual propertyInfringing copyrights, trademarks or patentsForwarded
S9Indiscriminate weaponsChemical, biological, radiological, nuclear weapons; mass-casualty explosivesBlocked (451)
S10HateDemeaning people for protected characteristicsForwarded
S11Suicide and self-harmSuicide, self-injury, disordered eatingCare response (200), not forwarded
S12Sexual contentExplicit sexual contentForwarded
S13ElectionsFalse information about how voting worksForwarded

The only difference between the tiers is what happens after "Forwarded": an Open model still applies its own built-in refusals; an Unbound model does not.

"Forwarded" means The Floor does not stop the request. It does not mean the use is permitted: the Acceptable Use Policy still applies to everything you send.

What you see when The Floor acts#

OutcomeHTTPWhat happens
Blocked (S3, S4, S9, or prefilter match)451 with error code floor_blockedNothing is sent to any node. IDYL Chat shows a notice instead of a reply
Care (S11)200Nothing is sent to any node. The Gateway itself replies with a short, caring message pointing to findahelpline.com, where you can find a crisis line in your country. The response carries idyl.floor = "care"
Passed200The request is routed to a node as usual

Every response carries an x-idyl-floor header with The Floor's outcome. The care response is not a crisis service and cannot assess or follow up. If you are in danger now, contact your local emergency number.

When The Floor cannot run#

The Floor needs guard capacity: either a guard endpoint run by the Gateway operator or nodes on the network that serve the guard model. If none is available:

  • Unbound requests are refused with 503 floor_unavailable. This is deliberate: Unbound models have no refusals of their own, so without the classifier there is not enough between the request and the model. Try again shortly.
  • Open requests continue with the local prefilter only, and the Gateway records the check as prefilter-only. Open models still apply their own refusals.

What The Floor stores#

Nothing you write. The Floor keeps only counts: how many checks it ran, how each ended (passed, prefilter-only, blocked, care, unavailable), how many requests it stopped in each of S3, S4, S9 and S11, and how often the classifier flagged each of the thirteen categories, including those it lets through. The last 24 hours are public at /api/floor. The Floor does not record which wallet, key or node a request came from.

How the check works, briefly#

  • The prefilter reads every message in the request — including earlier turns — for a short list of explicit child-sexual-abuse phrases, after normalising spelling tricks such as digits in place of letters. It is deliberately narrow and literal, and English-only. If a message uses one of those exact phrases, it is blocked even when the purpose is legitimate (for example a legal question); the response then points to the reporting hotlines.
  • The classifier reads the system prompt and your latest message. Very long text is checked on its beginning and end (up to 4,000 characters of system prompt and 12,000 of your message).
  • The whole check has a few seconds' budget. If no classifier answers in time, the rules in When The Floor cannot run apply.
  • On Sealed requests the same policy applies, in a place that does not defeat the privacy grade. A Sealed · relay request is classified only by the Gateway operator's own guard endpoint or by an attested sealed node, never by an ordinary machine. A Sealed · end-to-end request, which the Gateway cannot read, is classified inside the enclave, by the same policy code; the Gateway learns only the outcome and the category (Whitepaper).

Acceptable Use Policy#

This policy applies to everyone who uses IDYL, on every tier and through every client: IDYL Chat, the API and any application built on it. It is part of what you accept when you sign the Unbound attestation. Plain version: use it for yourself and your own work; do not use it against other people.

You may not use IDYL to#

  1. Create, request or share sexual content involving anyone under 18, in any form, including fiction, drawings described in text and "age-play" framing.
  2. Facilitate sexual violence or exploitation, or create sexual content about a real, identifiable person without their consent.
  3. Seek or provide help to make, acquire or deploy chemical, biological, radiological or nuclear weapons, or explosives capable of mass casualties.
  4. Target real people: harassment, threats, intimidation, stalking, doxxing, impersonation, or false statements of fact meant to damage someone's reputation.
  5. Commit or plan crimes against others, including fraud, scams, phishing, extortion and identity theft, or attacks on computer systems you are not authorised to test.
  6. Plan or incite violence against people or groups, or produce material that promotes or recruits for terrorism.
  7. Deceive people at scale: election disinformation, coordinated fake accounts, or fake reviews and testimonials presented as genuine.
  8. Send other people's personal or regulated data that you are not permitted to share with third parties.
  9. Deliberately evade The Floor — for example by encoding, splitting or disguising a blocked request — or attack, overload or abuse the network.
  10. Sign the attestation if you are under 18, or use Unbound where doing so is unlawful for you.
  11. Break the law that applies to you.

You may#

Unbound exists for adult, lawful use that standard models often refuse. Examples, not a complete list: fiction and role-play with dark or mature themes between adults; frank questions about sex, relationships and bodies; drug-safety and harm-reduction questions; security research on systems you own or are authorised to test; history, extremism and war studied as subjects; blunt medical, legal and financial questions (the answers are not professional advice); profanity, satire and humour that standard models find uncomfortable.

Enforcement#

  • The Gateway operator may revoke the API key and the Unbound attestation of a wallet that breaks this policy, and may refuse future keys for that wallet. In the current beta this is a manual maintenance action on the Gateway's state; a dedicated revocation tool is planned.
  • Operators who break their obligations below are removed from routing, and on mainnet are subject to slashing where the breach is provable.
  • IDYL responds to valid legal process. Because the Gateway and The Floor do not store prompts or replies, what IDYL holds is limited to metadata such as wallet addresses, token counts and the times keys and attestations were issued.

What IDYL will never allow#

These are fixed. No tier, setting, payment or attestation changes them.

  • Sexual content involving minors, in any form, on any tier.
  • Help with sexual crimes.
  • Help with weapons capable of mass casualties.
  • Unbound models served to a wallet that has not signed the attestation.
  • Unbound models served by a node whose operator has not opted in.
  • Unbound requests served when The Floor cannot check them.
  • Prompts stored by The Floor, or sold, or used to train models.
  • Marketing that presents IDYL as lawless or limitless (the banned phrases are on the never-say list).

The Floor's blocked categories can be extended; these three will not be removed.

For operators#

Serving Unbound models means your computer generates replies, for strangers, that a standard model would have refused. Some of them will be offensive or disturbing. You will not see them unless you go looking — the IDYL clients never display or store content — but they are produced on your hardware.

Opting in#

  • IDYL Desktop: Settings or the Models screen → Serve Unbound models. It is off by default. Turning it on shows this acknowledgment, which you must accept:

    Your computer generates the responses. Check that serving unrestricted models is legal where you live. The Floor blocks the worst categories but is not perfect.

  • IDYL Node CLI: add --unbound. Without it, the node does not advertise Unbound models even if they are installed. See Run a node.

Then install one or more Unbound models from the catalog, for example ollama pull huihui_ai/qwen3-abliterated:8b.

Your obligations#

  1. Check the law where you live, and where your machine is, before you opt in. Laws on producing and distributing sexual, violent, extremist or defamatory content differ by country, and some apply regardless of who asked. If you are unsure, do not opt in. Nothing here is legal advice.
  2. Serve exactly the catalog builds. Each Unbound model id names one published build. Do not substitute another model, a different quantization or a modified template under that id.
  3. Do not log, store, read or reuse content. This applies to every node; it matters more here. Keep your runtime's request logging off.
  4. Do not tamper with The Floor. If you also serve guard jobs, return the guard model's real verdicts. A fabricated verdict is tampering.
  5. Keep your machine secure and your node key private.
  6. Stop if you need to. You can switch Unbound off at any time. IDYL Desktop reconnects without Unbound models straight away; with the CLI, restart the node without --unbound. Jobs already running finish.

What you get#

Unbound jobs are priced at about 1.5× the rate of comparable Open models, and the split is the same as for every job: your node is owed 85% of what a caller pays from credits (in $IDYL, as 85/90 of the tokens behind the charge, where the caller bought the credits with $IDYL). Requests inside a caller's free tier or Pro allowance are metered, not paid, and nothing is owed for them. No payout has been made yet. IDYL makes no promise about how much Unbound traffic there will be.

What The Floor does for you#

Requests in the blocked categories, and self-harm requests, never reach your node. Unbound requests are not sent at all when The Floor cannot run. That is a real reduction in exposure. It does not remove the risk: the classifier makes mistakes, and it does not check what your model writes back.

Reporting abuse#

  • Child sexual abuse material. Report it to the authorities first: the NCMEC CyberTipline (United States), the Internet Watch Foundation (United Kingdom and international), or your national hotline listed by INHOPE. Do not copy, save or forward the material, including to IDYL.
  • Abuse of the network. Report misuse by callers, operators that break their obligations, Floor failures you can reproduce, or impersonation of IDYL privately through GitHub: open Report a vulnerability on the repository. A dedicated address, abuse@idylnetwork.com, will be used once mail is set up on the domain; until then it does not exist.
  • What to include. The time, the model, the x-request-id or x-idyl-job header if you have it, and the node id from x-idyl-node. Describe content rather than pasting it if it falls in a blocked category.
  • A false block. If The Floor blocks something it should not have, open a public GitHub issue describing the kind of request, without sensitive details. We cannot look up the specific request, because it was not stored.

Limits#

We would rather you know these now than discover them later.

  • The classifier makes mistakes both ways. It will sometimes block a legitimate request and sometimes miss a harmful one, especially if the request is disguised, encoded, split across turns or written in a language it handles less well. Meta's own published evaluation of Llama Guard 3 1B reports a false-positive rate of about 9% in English, with weaker results in some other languages.
  • It checks prompts, not replies. An Unbound model can still write something in a blocked category from a prompt that looked harmless. Checking replies is on the roadmap and not live.
  • It checks the latest message. Earlier turns of a conversation are not re-checked by the classifier, and very long messages are checked on their beginning and end only.
  • The prefilter is narrow. It catches a short list of explicit phrases in English and nothing else; the classifier does the rest.
  • Nodes see what you send. The Floor protects people from the worst content; it does not hide your words. The node that answers you sees your prompt in plaintext, and a guard node sees the text it classifies. Do not send anything you would not send to a stranger's computer.
  • Age is declared, not verified. The attestation records your statement; it does not check it.
  • The Floor follows a taxonomy, not the law of your country. Some content it forwards may be illegal where you are.
  • It runs in IDYL Gateways. Someone who runs modified software outside the IDYL network can remove it. That is not IDYL.

FAQ#

Is Unbound "uncensored"? No, and we don't call it that. Unbound models have their own refusals removed. The Floor, the Acceptable Use Policy and the law still apply.

Does IDYL check my age? No. It cannot, from a wallet. You declare it by signing. Signing falsely breaks this policy.

Does signing the attestation cost anything or give IDYL access to my wallet? No. It is a message signature, not a transaction. It moves no funds and grants no permissions.

Do Open models pass The Floor too? Yes. Every request on the network does. Open models also keep their own refusals.

Why was my request blocked? The classifier judged it to fall into S3, S4 or S9, or the prefilter matched. It can be wrong. Rephrasing to be clearer about legitimate intent sometimes helps. Deliberately disguising a request that really is in a blocked category breaks the policy.

Why did I get 503 floor_unavailable? No guard capacity was available at that moment, so The Floor could not check your Unbound request and refused it rather than serve it unchecked. Wait a little and retry. Open models keep working.

Why did I get a message about helplines instead of an answer? The Floor detected a possible suicide or self-harm signal. Instead of forwarding your message to a model, the Gateway answered with a short note and a link to findahelpline.com. If that was a mistake, we are sorry for the interruption. If it was not, please reach out to someone there.

Are my Unbound chats logged? Not by the Gateway, The Floor or the IDYL clients. In IDYL Chat, history is kept only in your browser. The node that serves each message does see it in plaintext.

Does The Floor check the model's replies? Not yet. Output-side checks are on the roadmap.

Why does Unbound cost more? The premium pays the operators who choose to serve it and accept the extra exposure. The split is unchanged: the serving node receives 85%.

Can I withdraw my attestation? Stop selecting Unbound models and none will be served to you. There is no self-service way to delete the attestation record in the current beta; if you want it removed from the Gateway, contact the project through the reporting channel above, or use a different wallet.

Is it legal for me to serve Unbound models? It depends on where you live. Check before you opt in; if unsure, don't. Nothing in IDYL's documentation is legal advice.

Can I see which requests The Floor blocked? Only the totals per category, at /api/floor. Nothing more is stored.

Is The Floor censorship? It is a minimum, not a filter on opinions. Three categories are blocked, one is answered with care, and everything else is forwarded. It is the same for every caller on every tier.

10 — Tokenomics

$IDYL Tokenomics

18 min readdocs/TOKENOMICS.md

$IDYL is the collateral and access token of the IDYL network. It has a fixed supply, a fair launch that waits for a published launch gate, five specific jobs and three ways its supply can fall. It has no emissions: nodes are paid from what callers pay, never from newly minted tokens.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. Contract address: CA: announced at launch. The token does not exist yet; until launch, any address presented as $IDYL's is not ours.

At a glance#

PropertyValue
ChainSolana (SPL token)
LaunchFair launch on pump.fun, after the launch gate is met
Total supply1,000,000,000 — fixed
Presale / private roundNone
Venture allocationNone
Team allocationNone
Dev buyDisclosed publicly; locked on Streamflow, 6-month vest
EmissionsNone
Node income85% of paid inference spend — every tier and grade; paid in USD, or in $IDYL where the caller paid in $IDYL
Protocol take rate15% of inference spend paid in money; 5% where the caller paid in $IDYL
Buyback & burn50% of the protocol's cash revenue, weekly, on-chain, recorded
Unbound premiumUnbound models priced at about 1.5× comparable Open models; the split is unchanged
Sealed multiplier1.3× the model's rate; the split is unchanged
Stake for Pro≥ 5,000 $IDYL (Pro), ≥ 50,000 $IDYL (Pro+); never slashed
Credit pool5% of the previous week's paid revenue, as usage credits that expire in 30 days
Pay with $IDYL10% off. The tokens pay the node that did the work (85/90); the protocol's cut (5/90) is burned
Guard-job fee$0.01 per 1M tokens, metered to the node that serves The Floor's classifier
Slashed bondBurned
Contract addressCA: announced at launch

v3 in one sentence. Real payments are now built, so every dollar a caller pays is tracked in a real-money ledger — 85% owed to the node that served the request, 15% to the protocol — and $IDYL gains three jobs beside bonding and the buyback: a stake that unlocks IDYL Pro, a revenue-capped pool of usage credits for stakers, and a discounted way to pay in which the tokens go to the node that did the work and the protocol's cut is burned. None of IDYL's products requires holding $IDYL.

Metered and paid#

Every money figure IDYL publishes is one of two kinds. Mixing them up would overstate the network, so they are always labelled.

MeteredPaid
CountsEvery settled request, valued at target ratesOnly requests billed to prepaid credits
Free-tier, Pro-allowance and guest usageIncludedExcluded: nobody paid
Creates an amount owed to a nodeNoYes: 85% of the charge in USD, or 85/90 of the tokens behind it where the credits were bought with $IDYL
Counts as paid revenueNeverOnly the part paid with credits bought with USDC, SOL or a card
Funds buybacksNo. The metered queue is a notional figureYes: 7.5% of paid revenue, which is the cash part
Where to see ittreasury and node earnedUsd in /api/stats.jsontreasury.paid, node payable, the weekly report

Everything below about money flowing — to nodes, to the buyback, to the pool — starts from paid revenue: credits that were bought with USDC, SOL or a card, and then spent. Credits bought with $IDYL and credits that were granted (the weekly pool, promotions) are spent the same way, but they are not revenue, because no money arrived. Each is settled by its own rule, described under Flows, so that every amount owed to a node is funded by something that did arrive. On a network that is mostly free-tier, paid figures will be a small fraction of metered ones.

Supply#

The total supply is 1,000,000,000 $IDYL, the pump.fun standard, created in full at launch. There is no mint schedule, no inflation and no reserve held back for later release. At launch we will publish the mint account so that anyone can confirm on-chain that no further tokens can be minted.

After launch, supply can only go down. Three mechanisms reduce it, all through the SPL Token burn instruction, which lowers the mint's recorded supply and is visible on any Solana explorer:

  1. Buyback and burn, funded by the protocol's share of paid revenue.
  2. The burn queue of payments made in $IDYL: the protocol's cut of those payments — 5/90 of the tokens behind the credits spent — is burned. The rest pays the nodes that did the work.
  3. Slashing, which burns bonded tokens taken from nodes that miss deadlines, fail canaries or tamper with work.

None of these has a target. The amount burned depends entirely on how much the network is paid, how people choose to pay and how often nodes misbehave. All three may be small or zero.

Launch mechanics#

Product before token. $IDYL does not launch on a date. It launches when the seven conditions of the launch gate — about nodes online, people using Chat, tokens served, daily paid revenue, Sealed, security and counsel sign-off — all hold for a full reporting week. They are targets; none has been met.

$IDYL launches on pump.fun. Every buyer, including the people who build IDYL, acquires tokens from the same public bonding curve on the same terms. When the curve completes, liquidity moves to a decentralized exchange pool under pump.fun's standard mechanics.

There is no presale, no private round, no venture allocation and no team allocation. Nothing is reserved for insiders, and nothing is reserved for Season 0 points.

Dev buy policy. If the developers buy at launch, the purchase is:

  • Disclosed publicly — wallet address, amount and transaction signature — on the IDYL Ledger and in the project's official channels.
  • Locked on Streamflow with a 6-month vest. The lock contract and its schedule are published with the disclosure and can be verified on-chain.

The contract address is published at launch through the project's official channels, which are listed on the website and in the repository. Social handles referenced in the repository are placeholders until they are claimed; verify the address against more than one official source before acting on it.

The five jobs#

Each job is funded by revenue or by the holder's own choice. None is funded by issuance, and none promises a return.

1Node bond#

Nodes bond $IDYL in IDYL Bond, a Solana program, to qualify for paid jobs and to raise their routing weight.

ParameterValue
Minimum bond for paid jobs (mainnet)10,000 IDYL
Routing multiplier1 + min(0.5 · log10(1 + bond / 10000), 1.0)
Multiplier cap2.00×
Unbond cooldown7 days
Slashable during cooldownYes
Bond (IDYL)Multiplier
01.00×
10,0001.15×
100,0001.52×
1,000,0002.00× (cap)

The multiplier is one factor in the routing score, alongside measured reliability and latency (see the Whitepaper, Section 6). The logarithm and the cap ensure that collateral helps but cannot buy unlimited priority.

Slash and burn. A bond has consequences:

OffenceSlash (share of bond)Testnet slash points
Missed deadline0.1%1
Canary mismatch1%10
Proven tampering100%—

Slashed tokens are burned from the bond vault. They are not paid to the protocol, the treasury, other nodes or insiders. The program caps each slash at the schedule above and takes from a node's active bond first, then from any balance in its unbonding cooldown, so a node cannot escape a pending penalty by unbonding. The cap bounds a single slash. The program does not count slashes, so the key that signs them is a trusted key: misused, it could burn any node bond, though never a Pro stake, and never to anyone's gain. This is an accepted risk that stays open until mainnet; a per-node daily limit, and 100% slashes accepted only from the admin multisig, are planned. In testnet, the Gateway records slash points off-chain on the same schedule (one point equals 0.1% of bond) and publishes them per node. No tokens are burned in testnet.

Bond is collateral, not yield. Bonded tokens earn nothing by themselves. A node earns only by serving paid jobs, and what it earns comes from what callers pay. Bond can be lost through slashing and through changes in the token's market price.

2Stake for Pro#

Staking $IDYL unlocks IDYL Pro: a larger daily allowance and a lower price on Sealed requests.

ProPro+
Staked $IDYL≥ 5,000≥ 50,000
Daily allowance (Community)1,000,000 tokens5,000,000 tokens
Sealed price1.3× less 10%1.3× less 20%

The stake sits in its own position in IDYL Bond, separate from node bonds. It is never slashed, never counts as a bond and never affects routing. Unstaking takes a 7-day cooldown.

Stake for Pro buys a service. Requests inside a Pro allowance are metered, not paid: the wallet pays nothing for them, and so nothing is owed to the node that serves them. That is a cost the network's operators and its design carry, and one reason the thresholds are parameters that can change.

3The credit pool#

Every Monday the Gateway forms a pool of usage credits and shares it among everyone with an eligible stake, in proportion to the amount staked. A stake below the Pro threshold receives its share too.

Text
pool       = 5% × paid revenue of the previous ISO week         (IDYL_CREDIT_POOL_SHARE)
your share = pool × your stake ÷ total eligible stake
  • Paid revenue here is cash revenue only: credits bought with USDC, SOL or a card and spent in that week on work that nodes served. Credits from the pool itself, promotional credits and credits bought with $IDYL do not count, so the pool cannot feed on itself.
  • A position is eligible only if it was staked, or last added to, at least 7 days before the snapshot.
  • Shares are usage credits. They pay for inference and nothing else, cannot be transferred or withdrawn, and expire after 30 days.
  • After a week with no paid revenue, the pool is zero.

It is a usage rebate, never yield. The pool is capped by revenue that has already arrived, is paid only in the network's own service, and is never promised in dollars or quoted per token. Do not describe it as yield, interest, rewards or a return, and do not stake in order to collect it.

It is a cost to the protocol, and a bounded one. Pool credits bring in no new money. When they are spent, the node that served the request is still owed its 85% in USD, and that is charged to the treasury's half of the protocol share. At the default share, if every pool credit were spent, the cost would be 4.25% of the previous week's paid revenue, against the 7.5% the treasury received from it. A share above 7.5% is refused: 7.5% of that revenue is the treasury's half, and the pool is taken on exactly the revenue that produced it. A share of 0 switches the pool off. The ledger publishes the treasury's net position as treasuryNetUsd, where anyone can watch it.

4Pay with $IDYL#

Credits can be bought with $IDYL at a 10% discount: $IDYL worth $9 buys $10 of credits (credit = amount ÷ 0.9).

Your tokens pay the node that did the work; the protocol's cut is burned. The $IDYL received is not sold. The credits remember the tokens that bought them, and when they are spent on work a node serves, the tokens behind the amount spent are released:

ShareGoes to
85/90The node that served the request, as an amount it is owed in $IDYL
5/90The burn queue, published as treasury.paid.idylQueuedForBurn and burned from the treasury multisig

No cash is involved. The discount comes out of the protocol's own share: the node receives the equivalent of 85% of the charge, as always, and the protocol keeps 5% instead of 15%, and burns it. The queue goes down only when a burn is recorded with its transaction.

What this means in practice:

  • A node paid this way is paid in $IDYL. The number of tokens is fixed when the caller buys the credits; what they are worth when the node is paid may be more or less.
  • A node that earns $IDYL can bond it. That is a real loop — a caller's payment can become a node's collateral without anyone selling — and it exists only to the extent callers choose to pay this way. It is not a promise about demand or price.
  • A sealed provider is the exception. When a Sealed · relay request is served by a sealed provider rather than an IDYL node, the provider is paid in cash, and the released tokens go to the treasury's token balance, published as idylTreasury.

The option is switched off until the token exists and its mint is configured. Nothing in this path has run with a real token.

5Buyback and burn#

The protocol takes 15% of the inference spend that was paid in money. Half of that — 7.5% of such spend — funds a weekly on-chain buyback of $IDYL, and the purchased tokens are burned. The other half funds the treasury: operations, audits, grants, and the node pay for work bought with granted credits.

What is live, and when#

JobState todayWhat it needs
Node bond, slash and burnProgram written for devnet; not deployed; unaudited. Slash points are recorded off-chainA published independent audit; mainnet deployment; the token
Stake for ProThe same program, in the same state. Pro can be set by operator override for testingThe same
Credit poolBuilt and running on the Gateway; zero until there is paid revenue and an eligible stakerPaid revenue and stakers
Pay with $IDYL: node pass-through and burnBuilt; disabledThe token and its mint address
Buyback and burnThe paid buyback queue accrues; no buyback has been executedThe token; a published buyback wallet and schedule

IDYL Bond will not hold mainnet funds until an independent audit is published. It is unaudited. Its 42 unit tests pass and its integration suite passes on a local validator; nothing has run on devnet or mainnet. An internal review by one AI reviewer — not an audit — found and fixed one Medium issue (a mint close authority) and one Low (a mint freeze authority). The two risks it first accepted are closed in the code: the slash key is limited to 5% of a node's bond per 24-hour window (100% tamper slashes need the admin), and the admin transfer is two-step.

Flows#

Diagram · Mermaid source
flowchart LR
  Caller["Caller"] -- "buys credits: USDC, SOL or card" --> Credits["Credit balance"]
  Caller -- "buys credits with $IDYL, 10% off" --> Held["$IDYL held with those credits"]
  Held -. "credits granted" .-> Credits
  Credits -- "cash-bought credits spent: paid revenue" --> Ledger["Real-money ledger"]
  Ledger -- "85%" --> Payable["Owed to the serving node, in USD"]
  Ledger -- "7.5%" --> Buyback["Buyback queue"]
  Ledger -- "7.5%" --> Treasury["Treasury"]
  Held -- "85/90, as the credits are spent" --> PayableIdyl["Owed to the serving node, in $IDYL"]
  Held -- "5/90, as the credits are spent" --> BurnQ["Burn queue"]
  Payable -- "manual batch from the multisig" --> Node["Node payout address"]
  PayableIdyl -- "manual batch from the multisig" --> Node
  Buyback -- "weekly market purchase of $IDYL" --> Burn["SPL burn: supply decreases"]
  BurnQ -- "burned from the multisig" --> Burn
  Treasury -. "pays nodes for work bought with pool and promo credits" .-> Payable
  Stakers["Stakers"] -- "stake $IDYL" --> Stake["Stake position"]
  Ledger -. "5% of last week's paid revenue, as credits" .-> Pool["Weekly credit pool"]
  Pool -. "pro rata, expires in 30 days" .-> Stakers
  NodeOp["Node operator"] -- "bonds $IDYL" --> Bond["Bond vault"]
  Bond -- "slash on failure or tampering" --> Burn

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

Solid lines are money or tokens moving. Dotted lines are credits or costs. The split applies identically to Open and Unbound requests and to every privacy grade.

Every amount owed to a node is funded by something that arrived. Which rule applies depends on what funded the credits that paid for the work:

Credits wereArrivedNode is owedProtocol's share
Bought with USDC, SOL or a cardMoney85% of the charge, in USD15%: 7.5% to the buyback queue, 7.5% to the treasury
Bought with $IDYLTokens85/90 of the tokens behind the charge, in $IDYL5/90 of those tokens, burned
Granted: the weekly pool, or a promotionNothing85% of the charge, in USD, charged to the treasuryNone

The treasury's half is what pays for the last row. The ledger publishes treasuryNetUsd — that half, less the cost of grant-funded work — and solvent, which turns false if it ever falls below zero. The pool alone cannot do that, because its share is capped. Promotional credits are the operator's decision and are not capped by the code.

Flow, for work bought with moneyShare of paid inference spend
Owed to the serving node85.0%
Buyback & burn7.5%
Treasury7.5%
Total100.0%

One case has no split. A Sealed · relay request served by a sealed provider, rather than by an IDYL node, is recorded gross as upstreamUsd: the provider did the work and is paid by the Gateway's operator under its own agreement.

Worked example. A month of paid usage on llama3.3:70b — 300 million input tokens at $0.20 per million and 50 million output tokens at $0.40 per million — costs $80.00 at target rates. The nodes that served it are owed $68.00. The protocol receives $12.00, of which $6.00 is queued for buyback and burn and $6.00 goes to the treasury. At the default share, the weekly credit pools formed from that revenue would total $4.00 of usage credits, shared among all eligible stakers. These are target rates for the beta and may change.

Unbound premium#

Unbound models — abliterated models, served only to wallets that signed the Unbound attestation and only by operators who opted in — are priced at roughly 1.5× comparable Open models (range 1.40×–1.67×; the full table is in the Whitepaper, Section 16.3).

The premium exists to pay the operators who accept the additional legal and reputational exposure of serving that tier. It flows through the same split as every other job.

Worked example. The month above, served on huihui_ai/llama3.3-abliterated:70b at $0.30 / $0.60 per million tokens, costs 300 × $0.30 + 50 × $0.60 = $120.00. The nodes are owed $102.00. The protocol receives $18.00: $9.00 for buyback and burn and $9.00 for the treasury. The premium is not a reason to expect more buyback; Unbound demand may be small or zero.

Sealed multiplier#

Both Sealed grades are charged at 1.3× the model's rate, to pay for confidential-computing hardware that is scarcer and costlier than an idle consumer machine. The split is unchanged and applies to the amount charged.

Worked example. The same month on llama3.3:70b, Sealed: $80.00 × 1.3 = $104.00. Sealed nodes are owed $88.40. The protocol receives $15.60: $7.80 for buyback and burn and $7.80 for the treasury. For a Pro wallet the charge would be $93.60, and for Pro+ $83.20.

Guard-job fees#

The Floor classifies every chat request with Llama Guard 3 1B before a model sees it. When that classification runs on a node rather than on the Gateway operator's own guard endpoint, the node is metered a flat $0.01 per 1M tokens for the guard job.

  • Callers are not billed for The Floor. A care response from The Floor carries zero tokens and does not count against any allowance.
  • The fee is a protocol operating cost, recorded separately (floorFeesTotalUsd). It does not reduce the 85% owed to the node that serves the chat request, and it does not change the 50/50 division of protocol revenue.
  • Guard fees are metered only in this version: they are not part of the real-money ledger. How they will be settled will be published before they are.

At $0.01 per million tokens, a guard node that meters 4 million tokens in a day — roughly 10,000 checks — meters $0.04. Guard capacity is a contribution to the network's safety, not an income source.

Node payouts#

What a node is owed is an entry in the Gateway's real-money ledger, public at /api/payouts/{nodeId}. A node has two payables: one in USD and one in $IDYL.

  1. Accrue. Each credit-paid job adds to the serving node's payable: 85% of its charge in USD, or, where the caller's credits were bought with $IDYL, 85/90 of the tokens behind the charge.
  2. Export. The operator runs npm run payouts:export, which writes one batch per asset: nodes with at least $1 accrued in USD, and nodes with at least 1 IDYL accrued in $IDYL. A node needs a payout address to appear.
  3. Pay. The operator pays each batch from the treasury multisig, the $IDYL batch in $IDYL.
  4. Record. The operator records the payment's transaction; each node's accrued amount falls and its paid amount rises. Recording is idempotent per transaction.

No payout has been made yet. The asset in which USD payables are paid, and the cadence, have not been published. Until settlement moves on-chain, a payable is an obligation recorded by the Gateway and settled by its operator, not a claim a node can enforce by itself.

Buyback and burn procedure#

  1. Accrue. Each charge paid with credits that were bought with USDC, SOL or a card adds 7.5% to the paid buyback queue, published as treasury.paid.buybackQueuedUsd in /api/stats.json.
  2. Schedule. Buybacks run once a week on a fixed UTC schedule announced before the first one. The timing is set in advance and is not chosen in response to the token's price.
  3. Buy. The queued amount is used to buy $IDYL on the open market from a published protocol wallet. Large amounts may be split into several orders to limit price impact. If the queued amount is too small to execute efficiently after network and swap fees, it rolls over to the following week.
  4. Burn. The purchased tokens, together with the tokens in the burn queue (the protocol's 5/90 cut of payments made in $IDYL), are destroyed with the SPL Token burn instruction, reducing the mint's supply. They are not sent to a holding wallet or a "dead" address.
  5. Record. The operator records each burn with its transaction signature. The burned total changes only from recorded burns, and each appears in the weekly report with its explorer link. The Gateway stores what the operator records; it does not read the chain to confirm it.
  6. Verify. Anyone can check the transactions, the protocol wallet's history and the mint's current supply on any Solana explorer, without relying on IDYL.

Before the token exists there is nothing to buy or burn. The paid queue accrues from paid revenue, and the burn record is empty and says so.

A note on what this is not. The buyback is a rule that follows revenue. It is not a commitment to support a price, and nobody speaking for IDYL presents it as creating yield or a return for holders. The current US regulatory guidance on buybacks, and why IDYL does not fall within its favourable reading while the Gateway is a central party, is set out in the Whitepaper. Counsel sign-off on the token design is a launch-gate item.

Slashing burns#

On mainnet, slashing is executed by IDYL Bond:

  1. The Gateway detects a slashable event — a missed deadline, a confirmed canary mismatch or evidence of tampering — and records it publicly.
  2. The slash authority submits a slash instruction naming the node, the amount and the reason. The program rejects any amount above the schedule's cap for that reason.
  3. The program burns the amount from the bond vault and emits an event recording the node, the reason and the amount.
  4. The transaction signature is published alongside the node's record.

Findings of proven tampering (100%) are made by the protocol multisig on published evidence in the early phases. The intention is to narrow this category to cases that can be verified automatically.

Season 0 points are not tokens#

Season 0 records Idle Points for verified capacity and paid work (Season 0). Points are not $IDYL. $IDYL has no supply reserved for them. Whether points lead to any reward, in what form, of what size and from what source has not been decided, and no amount is stated anywhere.

What we will never do#

  • Mint additional supply.
  • Sell a presale or a private round, or allocate tokens to venture investors or the team.
  • Leave a dev buy undisclosed or unlocked.
  • Launch the token before the launch gate is met.
  • Redistribute slashed tokens to the protocol, the team or any insider.
  • Sell $IDYL received as payment. It pays the node that did the work, and the protocol's cut is burned.
  • Promise returns, yield or price targets, or describe bonding, staking or the credit pool as a way to earn.
  • Present metered figures as revenue.
  • Announce partnerships, exchange listings or audits that do not exist.
  • Trade $IDYL from protocol wallets other than through the published buyback.
  • Publish a contract address before launch, or ask anyone to send tokens to "verify" a wallet.
  • Pool, share or resell consumer AI subscriptions, or ask for third-party account credentials.
  • Charge callers for The Floor, or let any payment, bond, stake or grade buy an exemption from it.
  • Require $IDYL to use IDYL Chat, the API or IDYL Desktop.

Disclaimer#

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. You may lose all of the value you put into $IDYL.

This document describes intended token mechanics for a network under active development. Parameters may change, and features marked as roadmap may not be delivered. It is not an offer to sell or a solicitation to buy any token or security in any jurisdiction, and it is not legal advice. Buybacks depend on actual paid revenue, which may be small or zero, and are not a commitment to support any price. The credit pool is a rebate in service and is never a return. Bonding exposes tokens to slashing and to market volatility; staking exposes them to market volatility and a cooldown. You are responsible for complying with the laws of your jurisdiction.

11 — Architecture

IDYL Architecture

31 min readdocs/ARCHITECTURE.md

This document describes how the IDYL network is built: its components, how a request moves through them, the data each one keeps, and where trust boundaries lie. It is written for engineers who want to run, audit or extend the system. For the reasoning behind the design, see the Whitepaper; for endpoint details, see the API reference; for the code-level notes of each plugin, see the engineering notes linked under Plugins.

ComponentLocationStatus
IDYL Gateway (core)services/gateway/libBeta (testnet)
Gateway pluginsservices/gateway/lib/plugins/NN-name.jsBeta (testnet)
The Floorservices/gateway/lib/floor.js, floor-policy.js (copied into the Node)Beta (testnet)
Model catalogservices/gateway/lib/catalog.js (source of truth; copies generated by npm run catalog)Beta (testnet)
IDYL Nodeservices/node (CLI cli.js + runtime lib/node.js)Beta (testnet)
Sealed node runtimeservices/node with --sealedBeta (testnet); not validated on real confidential hardware
Sealed clientapps/web/assets/sealed-client.js (browser and Node.js)Beta (testnet)
IDYL Desktopapps/desktop (Electron; vendors services/node/lib)Beta (testnet)
IDYL Chat and the appapps/web/app.html (static, served by the Gateway)Beta (testnet)
IDYL LedgerGateway endpoints under /api/Beta (testnet)
MCP serverpackages/mcp-serverBeta
IDYL Bondprograms/idyl-bond (Solana, Anchor)Written for devnet; not deployed; unaudited (internal review only)
IDYL Exchange, BYOK Router—Roadmap

System overview#

Diagram · Mermaid source
flowchart LR
  subgraph Callers
    SDK["OpenAI SDKs, agents, MCP server"]
    Chat["IDYL Chat (browser)"]
    Web["Browser: site, docs, Ledger"]
  end
  subgraph Gateway["IDYL Gateway (one Node.js process)"]
    Core["Core pipeline: identity, privacy grade, access, admission, availability"]
    Plugins["Plugins: privacy, sealed, guest, payments, pro, points, reports"]
    Floor["The Floor: prefilter + guard"]
    Router["Router: score + power-of-two-choices"]
    Jobs["Job manager: queue, deadlines, failover, relay"]
    Acct["Accounting: metering, 85/15 split"]
    Ledger["Ledger and reports"]
    Static["Static site: apps/web"]
    Store[("state.json")]
  end
  GuardURL["Guard endpoint (IDYL_FLOOR_URL, operator-run)"]
  subgraph Supply["Community machines"]
    Desk["IDYL Desktop"]
    Node["IDYL Node CLI"]
    Lib["Node runtime: services/node/lib"]
    Runtime["Ollama / vLLM / llama.cpp"]
  end
  subgraph SealedSupply["Sealed capacity"]
    SNode["Sealed node inside a confidential VM"]
    Provider["Sealed provider (optional)"]
  end
  Vendors["Vendor attestation services"]
  Solana["Solana: payments, stake, bond"]
  Stripe["Stripe (optional)"]

  SDK -- "HTTPS" --> Core
  Chat -- "HTTPS, key or guest token" --> Core
  Web -- "HTTPS" --> Static
  Web -- "HTTPS" --> Ledger
  Core --> Plugins
  Core --> Floor
  Floor -- "first choice" --> GuardURL
  Floor -- "floor jobs" --> Jobs
  Floor --> Router --> Jobs
  Jobs --> Acct --> Store
  Plugins --> Store
  Desk --> Lib
  Node --> Lib
  Lib -- "outbound HTTPS, signed long-poll" --> Jobs
  Lib -- "loopback HTTP" --> Runtime
  SNode -- "signed long-poll, attestation evidence" --> Jobs
  SNode -. "evidence for tokens" .-> Vendors
  Plugins -- "Sealed relay only" --> Provider
  Plugins -- "verify payments, read stake" --> Solana
  Stripe -- "signed webhook" --> Plugins

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

Every arrow that crosses a machine boundary is HTTPS initiated by the party at its tail. Nodes — CLI, Desktop or sealed — never accept inbound connections, which is why they work behind home routers and carrier-grade NAT.

Components#

Gateway core#

A single Node.js process with no third-party dependencies (built-in modules, fetch and WebCrypto only). It terminates the public API, runs The Floor, holds the job queue, chooses nodes, relays output, meters usage and serves the static website. One deployment can therefore run the entire stack.

ModuleResponsibility
lib/gateway.jsWires everything together; the request pipeline; public views; the plugin context
lib/plugins.jsThe plugin contract: loader, hooks, event bus, route table
lib/auth.jsWallet-signed nonces with a purpose (key or unbound), API key issuance (stores only sha256(apiKey)), Unbound attestations
lib/catalog.jsThe model catalog: ids, tiers (open, unbound, floor), names, families, approximate memory, target rates; the Unbound tag rule; the guard model and its fee
lib/floor.js, lib/floor-policy.jsThe Floor: prefilter, guard prompt and parsing, guard sources, hourly counters. The policy decision is a set of pure functions in floor-policy.js, shared byte-for-byte with the Node
lib/router.jsBond multiplier, routing score, weighted power-of-two-choices
lib/jobs.jsQueue, long-poll dispatch, first-token and job deadlines, failover, chunk relay, usage bounds; job kinds chat, canary, floor; targeted jobs, per-job plugin data
lib/registry.jsNode records: models, tiers, Unbound opt-in, payout, hardware, client, concurrency, reliability EWMA, latency samples, slash points, daily counters, status
lib/accounting.jsMetering at target rates with a price multiplier, the revenue split, guard-job fees, the per-wallet daily free tier
lib/pricing.jsTarget rates (from the catalog) and the 85/15 and 50/50 splits
lib/canary.jsPeriodic canary prompts and hash comparison
lib/stats.jsRolling 24-hour counters in hourly buckets, and 60-second throughput
lib/ratelimit.jsToken-bucket limits per API key and per IP
lib/models.jsCanonical model ids and aliases (Ollama tags, Hugging Face ids), derived from the catalog
lib/openai.jsRequest validation and OpenAI-format responses, including The Floor's care response
lib/store.jsSingle JSON state file; debounced writes that are fsync'ed and renamed into place; numbered snapshots; a backup of the previous good file; one section per core module and per plugin
lib/crypto.js, lib/base58.jsed25519 verification, SHA-256, base58 — on node:crypto only
lib/http.js, lib/static.js, lib/log.jsError format, CORS and the headers it exposes, the client address behind a proxy, body limits, static files, JSON logs without content
lib/config.jsConfiguration from environment variables, including IDYL_TRUST_PROXY

Plugins#

Every v0.3 feature is a plugin: a file lib/plugins/NN-name.js that exports a name and a register(ctx) function, and extends the Gateway only through the context it is given. Plugins load in filename order. Which ones load is set by createGateway({ plugins }) or IDYL_PLUGINS (all, none, or a list). A plugin that throws while registering stops the Gateway: it fails closed rather than starting half-configured.

FileNameProvidesEngineering note
10-privacy.jsprivacyDaily-salted IP hashes (memory only); node rotation; the x-idyl-privacy: community header; /api/transparencyprivacy
20-sealed.jssealedNode attestation and its verifier (lib/attest-verify.js); the enclave key directory; /v1/sealed/chat/completions; Sealed relay to sealed nodes or providerssealed
30-guest.jsguestProof-of-work challenges; guest tokens; guest admissionguest
40-payments.jspaymentsCredit lots; Solana Pay and Stripe; Pay in $IDYL; credit admission and deduction; the real-money ledger; node payables and payoutspayments
50-pro.jsproStake reading; Pro and Pro+ admission; Sealed discounts; the weekly credit poolpro
60-points.jspointsCapacity checks; Idle Points; limits and flags; the leaderboardpoints
70-reports.jsreportsWeekly reports; burn recordsreports

The context. A plugin receives the core objects (registry, accounting, auth, jobs, floor, stats), a logger, and these extension points:

Extension pointUse
route(method, path, handler), routePrefix(prefix, handler)Add endpoints. Paths under /api/ and /v1/ get CORS; /admin/* handlers must check the admin token themselves
persist(getter), saved, dirty()One persisted section of state.json per plugin
flush()A promise that resolves once a snapshot taken at or after the call is durably on disk, and rejects if that write failed. A plugin awaits it before it answers "recorded" for anything that must survive a crash: a payment, a payout
http.exposeHeaders(...names)Add response headers that browser code on another origin may read
provide(name, api), service(name)Cross-plugin services, resolved lazily at call time; a consumer must tolerate undefined
busThe event bus. A failing listener never breaks the request path
every(ms, fn)An interval, cleared when the Gateway closes
coreThe same pipeline pieces the chat endpoint uses — authenticate, rateLimit, resolvePrivacy, checkModelAccess, admit, freeTierCovers — for a plugin that owns an endpoint
hooksThe seven hooks below

Hooks.

HookWhen it runsWhat it may do
identityA Bearer token is not a known API keyResolve it to an identity, such as a guest
prepareAfter authentication, validation and the access checks; before admissionRefuse early; declare that the model is available without network nodes; restrict which nodes may classify the request for The Floor
admitNextDecide who pays. Hooks run in ascending priority: guest 10, pro 20, credits 30. The first { allow: true, via } wins; a hook may also refuse with 402, 403 or 429
beforeDispatchAfter The FloorTake over the response entirely, or add a node filter, headers and job metadata
statsView, nodeViewA public view is builtAdd fields
closeShutdownClean up

Services.

ServiceProvided byInterface
privacyprivacyipHash(ip) → hex. SHA-256 with a daily random salt, memory only
sealedsealedisSealedNode(nodeId), verification(nodeId) → measured, hardware, simulated or null, MULTIPLIER = 1.3
paymentspaymentsbalanceUsd(wallet), credit(wallet, usd, { kind, expiresAt, ref }), paidRevenueBetween(from, to) (cash revenue only), hasAccount(wallet), ledger()
proprostatus(wallet) → { tier, stakedIdyl, dailyTokens, sealedDiscount, usedToday, … }, stakers(), distributePool()
pointspointstotals() → { nodes, users, points }

Events.

EventEmitted byPayload
job.completedcoreJob, model, node, identity, usage, costUsd, nodeUsd, timings, meta, nodeResult
job.partialcoreThe caller left mid-stream; the output delivered is billed
job.failedcoreJob, model, node, identity, error code, meta
node.registered, node.heartbeatcoreThe node, the request body and the raw IP address, which listeners must hash and never persist or log
node.slashedcoreNode, points, reason, total
credits.consumedpaymentsWallet, USD, job, model, privacy, billing, the serving node, and how the amount was funded: cashUsd (credits bought with USDC, SOL or a card), idylFundedUsd (bought with $IDYL) and grantUsd (pool and promotional credits)
payment.receivedpaymentsWallet, amount, asset
pool.distributedproWeek, pool size, stakers
node.attestedsealedNode, attestation id, verification level

What plugins cannot do. The core, not the plugins, owns the rules that protect callers:

  • the order of the pipeline;
  • The Floor, on every request;
  • the two Sealed invariants described below;
  • node filters are AND-combined, so no plugin can widen another plugin's routing constraint;
  • only requests billed as free consume the free tier, and metering always applies the 85/15 split to the amount actually charged.

Paid revenue has one definition across plugins: credits bought with USDC, SOL or a card, when they are consumed. The payments plugin puts that part in cashUsd on every credits.consumed event; the reports plugin counts cashUsd as revenue and reports the whole amount separately as creditsConsumedUsd; the Pro plugin sizes the credit pool from paidRevenueBetween, which is the same cash figure, restricted to work that nodes served. Points use a wider but still funded measure: cashUsd plus idylFundedUsd. Spend of granted credits earns no points, for the wallet or for the node.

The real-money ledger is funded by construction: every amount owed to a node is backed by something that arrived. Cash-funded work owes the node 85% in USD and gives the protocol 15%, half to the buyback queue and half to the treasury. Work bought with $IDYL owes the node 85/90 of the tokens behind the charge, in $IDYL, and queues 5/90 for burning; no cash is involved. Work bought with granted credits (the pool, promotions) owes the node 85% in USD, charged to the treasury; the public view carries treasuryNetUsd and solvent. A node therefore has two payables, USD and $IDYL. Details are in the payments engineering note.

The Floor#

The Floor sits between admission and routing (Whitepaper, Section 10). It has three parts:

  • Prefilter. A short list of literal patterns for unambiguous child-sexual-abuse phrases, matched against every message after Unicode normalisation, lowercasing, punctuation collapsing and common digit-for-letter substitutions. Local, synchronous, no capacity needed.
  • Guard. Llama Guard 3 1B classifies the system prompt (up to 4,000 characters) and the latest user message (up to 12,000 characters, head and tail). Template markers are neutralised first. The Gateway tries IDYL_FLOOR_URL (OpenAI-compatible; chat mode sends messages, prompt mode sends the raw Llama Guard prompt to /completions), then guard nodes via floor jobs. An endpoint that fails is skipped for 15 seconds. The whole check has a budget of IDYL_FLOOR_TIMEOUT_MS (8,000 ms by default).
  • Decision. S3, S4, S9 → blocked (451). S11 → care (200, a fixed message). Anything else or safe → pass. No verdict → unavailable (503) for Unbound, prefilter-only for Open.

The decision functions live in floor-policy.js. npm run catalog copies that file to services/node/lib/floor-policy.js, and a test asserts the two are byte-identical. A sealed node runs the same prefilter and the same decision inside the enclave for end-to-end requests, with the guard model on its own runtime.

Model catalog#

lib/catalog.js is the single source of truth for every model id, tier, rate and memory figure. npm run catalog writes identical JSON copies to services/gateway/lib/catalog.json, services/node/lib/catalog.json and apps/web/assets/catalog.json, and a unit test fails if they drift. Any tag containing abliterat or uncensored is tier unbound whether or not it is listed. llama-guard3:1b is tier floor, hidden from /v1/models and not selectable for chat (400 model_not_selectable); other tags containing llama-guard are also tier floor and are never advertised. A model's approximate memory need also decides what guests may use (Open, ≤ 12 GB), what the free tier covers on Unbound (≤ 12 GB), and its size factor in Season 0.

Node#

A zero-dependency Node.js runtime (services/node/lib/node.js) with a thin CLI (services/node/cli.js). It registers the models the runtime exposes — filtered by tier: Unbound only with --unbound, the guard model only with --serve-floor — sends heartbeats, holds long-polls for work, forwards each job to the runtime, streams deltas back in sequenced chunks, and reports completion or failure. It signs every request with an ed25519 keypair in Solana's format; the public key is the node's identifier on the network.

At registration it sends an optional payout address, a hardware summary (--no-hardware to omit), a hardware fingerprint (lib/fingerprint.js; --no-fingerprint to omit) and, on first registration, an optional referrer (--referrer). See Run a node.

Sealed mode (--sealed --attestation-cmd "<cmd>") adds, inside a confidential VM:

  1. an enclave key pair (ECDH P-256), generated at start, held in memory and never written to disk;
  2. attestation before it takes jobs, then at least every 12 hours, before the attestation expires, after any re-registration or lost connection, and when the Gateway no longer shows the attestation as current: nonce → binding → the operator's command → two vendor tokens → POST /nodes/attest. A failed attempt does not stop the node: it serves ordinary jobs, retries with a backoff of 15 seconds up to 5 minutes, and receives no Sealed traffic until the Gateway accepts an attestation;
  3. service of job.ext.sealed jobs: decrypt → in-enclave Floor → inference → encrypted frames posted as deltas → completion with usage and The Floor's outcome;
  4. service of relay and ordinary jobs as usual;
  5. sealed: { keyId } in every register and heartbeat body, so that the Gateway knows which enclave key the process holds.

Its logs never contain plaintext or keys. services/node/scripts/attest-nvidia-intel.example.sh is an untested example attestation command; attest-sim.mjs is a development-only simulated attester that refuses to run unless IDYL_ALLOW_SIMULATED_TEE=1.

Sealed client#

apps/web/assets/sealed-client.js is one ES module, using WebCrypto only, that runs in IDYL Chat and in Node.js 22. It lists enclave keys, builds the ISC1 envelope, posts it, decrypts and orders the response frames, and checks an attestation record's binding. It does not verify the vendors' signatures on the evidence: the Gateway did when the node attested, and npm run verify:attestation -- <gateway> <attestationId> repeats that without trusting the Gateway. Its test vectors (services/node/test/isc1-vectors.json) are shared with the node's tests and with a self-test that runs in the browser, so the two ends of the channel are tested against the same bytes.

IDYL Desktop#

An Electron app (ESM main process) that wraps the same node runtime. A prebuild step copies services/node/lib and the catalog into apps/desktop/src/engine-vendor/, so Desktop ships the exact engine the CLI uses and registers as desktop/0.3.0.

Main-process moduleResponsibility
controller.jsOwns settings, identity, Ollama, the gate, the engine and metering; publishes one state snapshot to the window and the tray; Unbound acknowledgment flow
engine.jsAdapter to the vendored node runtime, including the referrer and fingerprint options. The fingerprint itself is computed by the engine (services/node/lib/fingerprint.js), never by the app
gate.jsServing decision: onboarding, switch, Ollama up, models present, battery, schedule, idle state (powerMonitor idle time and screen lock)
identity.jsNode keypair generated on first run, sealed with safeStorage; explicit export to solana-keygen JSON
ollama.jsDetects Ollama at http://localhost:11434, lists models, pulls with streamed progress (POST /api/pull), deletes
hardware.js, catalog.jsHardware detection and the Fits / Tight / Too big rule
points.jsThe Points screen's view model: maps what the Gateway answers at /api/points/:nodeId and /api/points/season, and invents nothing
updater.jsAuto-update against GitHub Releases; what each build can and cannot do
signature.jsThe running build's signing status, asked from the operating system
meter.jsLocal day counters and the last 300 activity entries — metadata only
settings.jsValidated settings in userData/settings.json
logger.jsRotating metadata-only log in userData/logs/, dropping any field named like content

Packaging is electron-builder: macOS .dmg and .zip (arm64, x64; minimum macOS 12), Windows NSIS one-click per-user installer (x64), Linux .AppImage and .deb (x86-64). The release workflow builds on tag v* or manual dispatch, signs only when signing secrets are configured, and publishes the update metadata the updater reads. What has been verified for each installer is listed in the Desktop guide.

IDYL Chat and the app#

Tabs of the static web app (app.html). Chat obtains a guest token with proof-of-work computed in a Web Worker (assets/pow-worker.js) or an API key with a wallet signature, optionally signs the Unbound attestation, lists models from /api/catalog, and streams replies. For Sealed it uses the sealed client: end-to-end first, relay only after asking. It reads x-idyl-privacy, x-idyl-attestation, x-idyl-floor and the error code to show the grade badge, the attestation viewer and Floor notices. Credits are bought with a Solana Pay QR code drawn by a zero-dependency encoder (assets/qr.js). Conversation history and the key are kept in the browser's local storage, optionally encrypted (assets/v3-vault.js: PBKDF2-SHA256 with 300,000 rounds → AES-256-GCM, the passphrase held in memory only); nothing about a conversation is stored server-side. A Demo mode simulates every feature with visible "Demo" labels.

Ledger#

Public, read-only endpoints on the Gateway with CORS open to all origins: /api/stats.json, /api/leaderboard, /api/nodes/:id, /api/catalog, /api/floor, /api/payouts/:nodeId, /api/sealed/keys, /api/attestations/…, /api/points/…, /api/pro, /api/transparency and /api/reports. Monetary figures are of two kinds and are labelled: metered value at target rates, and paid figures from the real-money ledger. Recorded burns change only when the operator records a real on-chain burn.

MCP server#

packages/mcp-server is a zero-dependency Model Context Protocol server over standard input and output. It exposes idyl_chat (with privacy: community or sealed, which is Sealed · relay) and idyl_models, using an ordinary API key and the public API.

Bond#

An Anchor program on Solana with two kinds of position.

  • Node bonds. Nodes bond $IDYL into a program-owned vault; request_unbond starts a 7-day cooldown and withdraw releases tokens after it. A separate slash authority can slash a node; the program caps each slash at the published schedule (0.1%, 1% or 100% of stake, by reason), takes from the active bond before the unbonding balance, and burns the slashed amount. The caps bound one call: the program does not count calls, so the slash authority is a trusted key. The routing multiplier is computed off-chain by the Gateway from the bonded amount.
  • Stake-for-Pro positions. stake_pro, request_unstake_pro and withdraw_pro on a separate StakePosition account. Never slashable.

The program is written for devnet and has not been deployed. It has 42 unit tests (including randomized checks against an in-memory model), its interface description builds, and its integration suite passes on a local validator, for a classic SPL Token mint (76 tests) and for a Token-2022 mint (83); the 24-hour slash window rollover is tested in LiteSVM because a local validator's clock cannot be moved forward. Nothing has run on devnet or mainnet, and it has not had an independent audit: it is unaudited. An internal review by one AI reviewer is recorded in programs/idyl-bond/AUDIT-NOTES.md; it is not an audit. It found and fixed one Medium issue (a Token-2022 mint with a close authority could be closed and re-created after setup) and one Low (a mint with a freeze authority could lock the vault). The two risks it had accepted are now closed in the code: the slash key can slash only for a missed deadline or a failed canary check, and at most 5% of a node's bond within a 24-hour window (100% slashes for proven tampering need the admin's signature); and the admin key changes hands in two steps (propose, then accept).

Request pipeline#

POST /v1/chat/completions runs these steps in this order. The order is fixed by the core.

Diagram · Mermaid source
flowchart TD
  A["Authenticate: API key, guest token (identity hook), or anon in dev"] --> B["Rate limit: per IP and per key"]
  B --> C["Validate the body"]
  C --> D["Resolve privacy: community or sealed, else 400 invalid_privacy"]
  D --> E["Model access: guard model 400, Unbound without attestation 403"]
  E --> F["prepare hooks: sealed capacity, Floor guard restrictions"]
  F --> G["Admission: guest 10, pro 20, credits 30, then the free tier"]
  G -- "nothing pays" --> G1["402 credits_required / 402 insufficient_credits / 429 insufficient_quota / 403 guest"]
  G --> H{"A connected node serves the model, or a plugin said available?"}
  H -- "no" --> H1["503 model_unavailable"]
  H -- "yes" --> I["The Floor"]
  I -- "blocked" --> I1["451 floor_blocked"]
  I -- "care" --> I2["200 care response"]
  I -- "unavailable" --> I3["503 floor_unavailable"]
  I -- "pass or prefilter-only" --> J["beforeDispatch hooks: rotation, sealed routing, headers, metadata"]
  J -- "a plugin handled it" --> J1["Response from a sealed provider"]
  J --> K{"Sealed invariant: privacy is sealed and the job is not marked sealed?"}
  K -- "yes" --> K1["503 sealed_unavailable"]
  K -- "no" --> L["Dispatch: queue, route, long-poll delivery"]
  L --> M["Relay chunks; settle: meter, bill, split"]

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

The caller's address. Rate limits and the guest limit are per address, so the Gateway has to know the real one. By default it uses the address of the connection. Behind a proxy, IDYL_TRUST_PROXY says how to find it: a number N means N trusted proxies each append to X-Forwarded-For, and the Gateway takes the entry N from the right, which is the address the outermost trusted proxy saw; a header name (for example cf-connecting-ip) means the edge sets and overwrites that one header. Entries a client puts into X-Forwarded-For itself are further left and are ignored. A value that is not an IP address falls back to the connection's address, so a missing or forged header makes callers share a limit instead of escaping it. GET /admin/ip shows an operator what the Gateway takes their own address to be. Setup, with a test, is in the self-hosting guide.

Cross-origin callers. Every /api/ and /v1/ response allows any origin and exposes the headers a browser client needs to read: x-idyl-privacy, x-idyl-sealed-by, x-idyl-attestation, x-idyl-credits-remaining, x-idyl-guest-remaining, x-idyl-node, x-idyl-job, x-idyl-floor, x-request-id, retry-after and the two token rate-limit headers. A plugin adds its own with exposeHeaders.

Admission. Admit hooks run in ascending priority; the first to allow wins and labels the job's billing.

PriorityHookAllows whenbilling
10guestThe identity is a guest within the guest limits: Community, Open tier, ≤ 12 GB, 10 requests a dayguest
20proThe wallet is Pro or Pro+, the request is Community, and the daily allowance is not used uppro
30creditsThe free tier does not cover the request, or it is used up, and the balance is at least $0.001credits
—coreThe free tier covers the request and tokens remainfree

freeTierCovers({ tier, model, privacy }) is true when the privacy grade is Community and the model is not Unbound, or needs 12 GB or less, or no paid path exists (neither a payments nor a Pro plugin is loaded). A hook may also refuse outright. The guest hook refuses a guest outside the limits (402 guest_limit, 403 guest_model_not_allowed). The Pro hook refuses a Pro wallet whose allowance is used up and which has never held credits (429 insufficient_quota). The credits hook refuses a wallet that has held credits and has too little left (402 insufficient_credits); a wallet that has never held credits is left to the core. When no hook allows or refuses, the core decides: a guest gets 403 guest_not_allowed; a request the free tier does not cover gets 402 credits_required; an exhausted free tier gets 429 insufficient_quota.

Billing. job.meta.billing is the admitting hook's via (guest, pro, credits) or free, or anon on a development Gateway. Only free consumes the daily free tier. job.meta.priceMultiplier scales the metered cost — 1.3 for Sealed, less a Pro discount — and costUsd on job.completed is the amount actually charged, with nodeUsd 85% of it. The payments plugin deducts costUsd for credits jobs on job.completed and job.partial, once per job id, and records the real-money split, classing each charged amount by what funded the credits that paid it: cash, $IDYL or a grant. For the $IDYL part it releases the tokens behind the amount spent: 85/90 to the serving node's $IDYL payable and 5/90 to the burn queue, or all of them to the treasury's token balance when a sealed provider served the request. While a request runs it holds a reservation against the balance, so that requests in flight cannot overdraw it together.

The Sealed invariants#

Two rules are enforced by the core, so that no plugin bug can break them.

  1. A Sealed request is never served as Community. After the beforeDispatch hooks, if the request asked for sealed and no plugin has marked the job's privacy as a value starting with sealed (or answered the request itself), the core answers 503 sealed_unavailable. Nothing is sent to a node.
  2. A Sealed request is never classified by a Community machine. For a Sealed request, The Floor may use only IDYL_FLOOR_URL or a node for which service('sealed').isSealedNode(nodeId) is true. The filter is installed by the core before any plugin runs.

Sealed end-to-end#

POST /v1/sealed/chat/completions is owned by the sealed plugin and built from the same core pieces.

Diagram · Mermaid source
sequenceDiagram
  autonumber
  participant C as Caller
  participant G as Gateway
  participant N as Sealed node (enclave)
  participant R as Runtime in the enclave
  C->>G: GET /api/sealed/keys?model=…
  G-->>C: Enclave keys with attestation summaries
  C->>C: Ephemeral key, ECDH, HKDF, AES-256-GCM
  C->>G: POST /v1/sealed/chat/completions with model and envelope
  G->>G: Authenticate, rate limit, model access, admit against credits
  G->>G: Find the online sealed node that holds keyId and serves the model
  G-->>N: Job with ext.sealed, targeted, one attempt
  N->>N: Decrypt, check replay window
  N->>R: The Floor: prefilter, then the guard model
  alt blocked, care or unavailable
    N-->>G: One encrypted done frame, result with the Floor outcome
  else pass or prefilter-only
    N->>R: Inference, streaming
    loop frames
      N->>G: chunk with one encrypted frame
      G-->>C: data: sealed frame
    end
    N->>G: complete with usage and the Floor outcome
  end
  G-->>C: data: [DONE]
  C->>C: Decrypt, check order and the done frame

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

The Gateway sees the caller's wallet and IP address, the model, the timing, the sizes (padded: requests in 256-byte steps, frames in 16-byte steps), the node, the token counts the node reports, and The Floor's outcome with its category ids. It bills from that usage and records The Floor's outcome in the public counters from the node's plaintext result. A request the enclave cannot open is failed in plaintext with a reason code; the enclave never encrypts an error. Replays are refused from a set of accepted client keys and from a watermark that does not depend on the enclave's clock. If no online sealed node holds the key, it answers 409 sealed_key_unavailable.

Attestation#

Diagram · Mermaid source
sequenceDiagram
  autonumber
  participant N as Sealed node
  participant C as Operator attestation command
  participant V as Vendor attestation services
  participant G as Gateway
  N->>G: GET /nodes/attest/nonce (signed)
  G-->>N: nonce, 5 minutes, single use
  N->>N: binding = SHA-256 of tag, nonce, node id, enclave public key
  N->>C: Run with IDYL_ATTEST_BINDING
  C->>V: Evidence carrying the binding
  V-->>C: GPU token and CPU TEE token
  N->>G: POST /nodes/attest (signed) with nonce, public key, tokens
  G->>G: Issuer, signature via JWKS, validity times, required claims, binding
  G->>G: measured if the measurements are on the allow-list, else hardware
  G-->>N: Attestation recorded, valid at most 24 hours

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

An attestation lasts until the earlier of its two tokens expires, and never longer than 24 hours; IDYL_SEALED_ATTESTATION_TTL_SEC replaces the token rule with a fixed lifetime of 60 seconds to 24 hours. Vendor tokens can be short-lived (Intel's documented sample: 5 minutes), so on real hardware the node may attest every few minutes. hardware proves genuine hardware and not the software image; measured needs published, reproducible node images, which do not exist yet; and the two tokens share the binding and nothing else.

The verifier (lib/attest-verify.js) uses node:crypto only and is shared with scripts/verify-attestation.mjs, which performs the same checks without trusting the Gateway. Issuers come from IDYL_ATTESTATION_ISSUERS, defaulting to NVIDIA's Remote Attestation Service and Intel Trust Authority. A simulated issuer is accepted only with IDYL_ALLOW_SIMULATED_TEE=1, and every grade it produces carries -simulated.

Job lifecycle after dispatch#

Deadlines. A job must be picked up within 15 seconds or the caller receives 503 capacity_unavailable. Once assigned, the node must produce its first token within 15 seconds and finish within 60 seconds (default). A missed deadline fails the attempt, lowers the node's reliability and records one slash point. Floor jobs are additionally bounded by The Floor's time budget.

Failover. A node that fails or misses a deadline before any output reached the caller is replaced: the job is requeued to a different eligible node, up to 2 retries. After output has reached the caller, the stream ends with an error event. A Sealed · end-to-end job has a single attempt.

Sequencing. Every chunk carries a sequence number. Duplicates are ignored; a gap fails the attempt over to another node. Chunks for a job that has been reassigned are rejected with 409; chunks for a job that has ended receive 410, which tells the node to stop. Because a duplicate is harmless, the node sends a chunk, completion or failure report again (3 tries in under a second) when the host in front of the Gateway answers 502/503/504, the connection drops, or a try gets no answer; a completion that already landed is answered with its original receipt (200, "duplicate": true, the same usage and share) and is never settled twice. A 500 is not repeated.

Usage bounds. The Gateway accepts node-reported token counts only within plausible limits derived from the bytes actually relayed (a token is at least one byte). Outside those limits, or when counts are missing, it estimates from character length. A node therefore cannot inflate its earnings by over-reporting usage.

Client disconnects. If the caller disconnects, the job is cancelled, the node learns on its next chunk post, and any output already relayed is metered and, if the job was credit-paid, billed (job.partial). The node is not penalised. A caller that disconnects during The Floor's check receives nothing and no job is created.

Data model#

All durable Gateway state lives in one JSON file, state.json, in IDYL_DATA_DIR, with file mode 0600. Writes are debounced by about a second. Each write goes to its own temporary file, is fsync'ed, and is renamed over state.json; the directory is then fsync'ed where the platform allows it. Snapshots are numbered, so an older one never replaces a newer one, whichever writer finishes last. The previous good file is kept as state.json.bak, refreshed at most once a minute. A plugin that must not answer before its change is on disk awaits ctx.flush(). Backup and recovery are described in the self-hosting guide. A corrupt file is moved aside rather than overwritten, and with the payments plugin loaded the Gateway then refuses to start rather than open empty books beside the unreadable ones. Prompt and completion content is never persisted and never logged. IP addresses are never persisted.

This file now holds money: credit balances and what nodes are owed. It must be on durable storage and backed up.

Persisted sections#

SectionOwnerContents
nodescoreNode records
authcoreAPI key hashes, wallet → key, Unbound attestations
accountingcoreThe metered treasury figures; daily free-tier usage per wallet
stats, floor, canarycoreHourly counters; Floor counters; canary references
plugin:privacyprivacyThe canary statement and legal-request counts, when the operator has set them
plugin:sealedsealedAttestation records, including the vendor tokens
plugin:guestguestGuest-token hashes with a random id, expiry and today's count
plugin:paymentspaymentsCredit lots; payment records; open intents; the real-money ledger; node payables in USD and $IDYL and recorded payouts; the burn queue. Books schema 2: a build reads schema 2, migrates schema-1 books unless they hold $IDYL purchases (accounted differently under schema 1), and otherwise refuses to start
plugin:proproTestnet stake overrides; Pro usage today; pool history
plugin:pointspointsThe season; points by node and wallet; fingerprints; referrers; capacity-check results; flags
plugin:reportsreportsWeekly snapshots (52 weeks); recorded burns

GET /api/transparency derives its list of what is stored from these sections, and a test fails when a section is persisted without being listed.

Node record#

FieldTypeNotes
idstringNode's ed25519 public key, base58 (Solana address)
namestringOperator-chosen display name
modelsstring[]Canonical model ids the node serves (Unbound ids only if unbound)
modelMapobjectCanonical id → the runtime's native model name
unboundbooleanOperator opted in to Unbound at registration
payoutstring or nullBase58 Solana payout address
hardwareobject or null{ os, arch, cpu, cores, memGb, gpu, vramGb, unified }, bounded and sanitised. The fingerprint is not stored here
clientstringFor example cli/0.3.0 or desktop/0.3.0
concurrencyintegerMaximum simultaneous jobs
versionstringNode software version
bondnumberBonded $IDYL used for the routing multiplier
slashPointsintegerOff-chain testnet record; 1 point = 0.1% of bond
reliabilitynumberEWMA of outcomes, α = 0.1, starts at 0.9. A refusal counted in jobsRefused is not an outcome
latSamplesnumber[]Up to 64 recent time-to-first-token samples (ms)
p50LatencyMsnumberMedian of latSamples
throughputTokPerSecnumberEWMA of generation speed from ordinary jobs. Season 0 uses its own measurement from capacity checks
perModelobjectPer-model speed for routing: { <model>: { lat, p50, tps, n } }, up to 32 TTFT samples per model and 24 models. With 3+ samples it replaces the node-wide numbers when routing that model
tokensServed, jobs, jobsFailedintegerChat-job counters
jobsRefusedintegerJobs the node refused because the request itself was invalid and the gateway could not check it (an end-to-end Sealed request it cannot read). Not failures: no reliability change
floorJobs, floorTokensintegerGuard-job counters
earnedUsdnumberMetered: 85% share of all chat usage served plus guard fees, at target rates
todayobject{ day, jobs, tokens, earnedUsd, floorJobs } for the current UTC day
canaryChecks, canaryMismatches, canaryAt—Canary record
firstSeen, lastSeentimestampMilliseconds since epoch

Transient (memory only): inFlight, paused (idle gate), offline, load. A node is offline after 45 seconds without a signed request, busy when paused or at its concurrency limit, and online otherwise. Plugins add to the public view of a node — payable, sealed, points — from their own sections.

Keys, nonces, attestations and usage#

EntityStored asNotes
API keysha256(apiKey) → { wallet, createdAt }The key itself is shown once and never stored
Wallet → keywallet → key hashOne active key per wallet; reissuing rotates and revokes the old key
NonceMemory only{ nonce, exp, purpose }; up to 5 per wallet, valid 5 minutes, single use, bound to its purpose
Unbound attestationwallet → { at }Persisted; applies to every key of the wallet
Daily usagewallet → { day, tokens }UTC day; only free-billed requests; rotating a key does not reset the allowance
Guest tokensha256(guestToken) → { guestId, expiresAt, day, used }Deleted on expiry
Hardware attestationattestationId → { nodeId, keyId, publicKey, verification, gpu, cpuTee, verifiedAt, expiresAt, nonce, binding, tokenSha256, tokens }Public at /api/attestations/:id

Money#

EntityFieldsKind
Metered treasury (core)meteredSpendTotalUsd, nodePayoutsTotalUsd, protocolRevenueTotalUsd, buybackQueuedUsd, treasuryUsd, burnedTotalIdyl, floorFeesTotalUsdMetered. Despite its name, nodePayoutsTotalUsd is the metered node share, not money paid
Credit lot{ kind: purchase, pool or promo, amount, remaining, expiresAt?, ref, at }, integer micro-USD; a lot bought with $IDYL also keeps the token units receivedPaid
Payment recordWallet, amountUsd, asset, units, reference or session id, timePaid
Real-money ledgerPaid revenue, node payables by node in USD and in $IDYL, protocol share, buyback queue, the treasury's net position, upstreamUsd, idylQueuedForBurn, idylTreasuryPaid
Payout{ tx, asset, items: [{ nodeId, amountUsd or amountIdyl }] }Paid

Job (memory only)#

FieldNotes
id24 hex characters
kindchat, canary (the node is told chat) or floor (the node is told floor). Capacity checks are internal jobs the node sees as chat
model, messages, params, streamThe caller's request; held in memory only while the job is active
floorThe Floor's outcome for a chat job: pass or prefilter-only
metaPlugin data: billing, privacy, priceMultiplier, extra response headers, attestationId
nodeExtOpaque JSON delivered to the node as job.ext, such as a sealed envelope
nodeResultA small object (at most 4 KB) the node attached to its completion
targetNodeId, nodeFilter, maxAttemptsRouting constraints
statequeued → running → done, failed or canceled
attempts, excludedRetry count and nodes already tried
usage, finishReasonSet on completion

On-chain (IDYL Bond)#

AccountFields
Config (PDA)admin, slash_authority, mint, vault, min_bond, cooldown_secs, total_bonded, total_unbonding, total_slashed
NodeBond (PDA per owner)owner, amount, unbonding_amount, unbond_ready_at, slashed_total
StakePosition (PDA ["stake", owner], 136 bytes)discriminator (8) · owner (32) · amount u64 @40 · unstaking_amount u64 @48 · unstake_ready_at i64 @56 · staked_at i64 @64 · bump u8 @72 · reserved (63)

Client-side state#

ClientWhereWhat
IDYL ChatBrowser local storageAPI key or guest token, conversation history (optionally encrypted), model and grade choice
IDYL DesktopuserData (macOS ~/Library/Application Support/IDYL, Windows %APPDATA%\IDYL, Linux ~/.config/IDYL)settings.json, identity.json (sealed), meter.json (counters, last 300 job entries), logs/ (metadata only)
IDYL Node CLI~/.idyl/node-keypair.jsonKeypair, mode 0600
Sealed nodeMemoryThe enclave private key. Never on disk

Trust boundaries#

BoundaryWhat crosses itProtectionsResidual risk
Caller ↔ Gateway, Community and Sealed · relayPrompts, completions, API keyTLS; key stored only as a hash; rate limits; allowancesThe Gateway operator can see content in transit
Caller ↔ Gateway, Sealed · end-to-endCiphertext, the model name, the API keyISC1: ECDH P-256, HKDF-SHA256, AES-256-GCM; frame ordering; a replay set with a clock-independent watermark; coarse paddingThe Gateway sees the wallet, the IP address, the model, timing, padded sizes, token counts and The Floor's outcome and category ids. It lists the keys, and a browser client runs the page it serves. No tool calls, no enclave-side forward secrecy beyond a per-boot key, not post-quantum
Caller ↔ enclave keyThe caller's trust that a key belongs to an attested enclaveThe binding in both vendor tokens; public evidence; the independent verifierThe in-browser check covers the binding, not the vendors' signatures; without the independent verifier a Gateway that substitutes keys is not detected. Under hardware, the enclave's software is not proven. The two tokens share only the binding
Gateway ↔ Guard endpointLatest user message and system promptTLS; operator-run; optional bearer keyThe endpoint operator sees the classified text
Gateway ↔ Guard nodeLatest user message and system prompt, verdictSame as any node job; labelled floor; time budget; fabricated verdicts are tampering; Sealed requests go only to sealed guard nodesA Community guard node sees the text it classifies, and could return false verdicts
Gateway ↔ Community nodeJob payloads in plaintext, output chunks, usage reportsTLS; every node request signed with ed25519 over timestamp, method, path and body hash; skew limit; replay window; usage bounds; the node is not told which jobs are canaries or capacity checks; Unbound jobs only to opted-in nodes; rotationThe node operator sees the plaintext of every prompt it serves
Gateway ↔ Sealed nodeRelay: plaintext jobs. End-to-end: envelopes. Attestation evidenceThe above, plus attestation, expiry with the earliest vendor token and at 24 hours at the latest, re-attestation at least every 12 hours and before expiryAttestation trusts the hardware vendors; physical and side-channel attacks; not validated on real hardware
Gateway ↔ Sealed providerSealed · relay requests in plaintextTLS; the operator's contract with the providerThe Gateway does not verify the provider's attestation
Node ↔ RuntimePlaintext prompts and outputLoopback on the operator's own machine, or inside the enclaveFully under the operator's control on Community
Gateway ↔ Solana RPCPayment verification, stake readsChecks the reference, the asset and the treasury's balance change; idempotent creditingA faulty or malicious RPC endpoint could misreport a payment or a stake
Gateway ↔ Price serviceSOL and $IDYL pricesPrice fixed per intent; per-payment and per-day limitsA wrong or manipulated price credits too much or too little
Stripe ↔ GatewayCheckout completion eventsStripe-Signature HMAC, 5-minute tolerance, constant-time comparison, idempotent per event and sessionDepends on the webhook secret staying secret
Operator ↔ Admin endpointsPromotional credits, payouts, burns, canary, overridesA single bearer token; endpoints disabled without itWhoever holds the token can alter the ledger
Desktop ↔ OS credential storeSealed node secretsafeStorage (Keychain, DPAPI, libsecret/KWallet)On Linux without a keyring, the key is only obscured or protected by file mode
Wallet ↔ GatewaySigned key-request or attestation messageed25519 verification; single-use nonce valid 5 minutes and bound to its purposeWhoever controls the wallet can issue a key or attest; age is self-declared
Browser storageChat history and API keySame-origin storage; optional passphrase encryptionWithout a passphrase, anyone with access to the browser profile can read them
Gateway ↔ IDYL BondSlash instructionsSeparate slash and admin keys; the slash key is limited to missed deadlines and canary failures, a cap per call and at most 5% of a node's bond per 24-hour window; 100% tamper slashes need the admin; slashed tokens are burned; Pro stakes are out of reach; two-step admin handover; multisig custody plannedOpen until mainnet: the caps bound one call and the tampering reason allows 100%, so a compromised slash key could burn every node bond (planned: a per-node daily window, 100% only from the admin multisig); the admin transfer is a single step (planned: two-step)

What each party can and cannot do:

PartyCanCannot
CallerUse the API within allowances, credits and rate limits; choose a grade; attest for Unbound; see which node served a request, at which grade, and The Floor's outcomeSee other callers' traffic or keys; skip The Floor; get Sealed for free
Community node operatorRead the prompts and outputs of jobs routed to it; decline or fail jobs; opt in or out of Unbound and guard jobsImpersonate another node without its key; inflate usage beyond plausible bounds; tell canaries or capacity checks apart by protocol; receive Unbound jobs without opting in; receive requests The Floor blocked; receive or classify Sealed requests; learn who the caller is
Sealed node operatorRun the hardware; choose the software imageRead requests by ordinary means on genuine hardware. Under hardware verification they are trusted not to run modified software
Guard node operatorRead the text it classifies; return a verdictDecide alone when the operator's endpoint is configured and healthy; escape slashing for fabricated verdicts
Gateway operatorSee content in transit at Community and Sealed · relay; set routing and metering; run The Floor; record slash points; hold the money ledger; pay nodes; grant promotional creditsRead Sealed · end-to-end content served by an honest page and an honest enclave; mint $IDYL; exceed the on-chain cap of a single slash; slash a Pro stake; take slashed tokens (they are burned); withdraw nodes' bonds or stakers' positions
Network observerSee that traffic existsRead content protected by TLS

Failure handling#

SituationBehaviour
No node serves the modelImmediate 503 model_unavailable; nothing is queued and The Floor does not run
Unbound model, wallet not attested403 unbound_attestation_required
Guard model requested for chat400 model_not_selectable
Sealed requested, no sealed node or provider serves the model503 sealed_unavailable; nothing is sent to a Community node
Sealed · end-to-end, the key's node is gone409 sealed_key_unavailable; the client fetches keys again
Nothing pays for the request402 credits_required, 402 insufficient_credits or 429 insufficient_quota
A payment method is not configured503 payments_unavailable for that method
A payment is not yet visible on Solana{ "status": "pending" }; confirm again
Guard endpoint failsSkipped for 15 s; guard nodes are tried within the time budget
No guard verdict, Unbound503 floor_unavailable with Retry-After: 5
No guard verdict, OpenProceeds with the prefilter only; x-idyl-floor: prefilter-only
No node picks the job up within 15 s503 capacity_unavailable with Retry-After
Queue full503 queue_full with Retry-After
Node fails or misses a deadline before output reached the callerRequeue to a different node, up to 2 retries
Node fails mid-streamStream ends with an error; the attempt counts against the node; delivered output is billed
Node silent for 45 sMarked offline and excluded from routing
A sealed node's attestation expiresIt stops being sealed until it attests again; its keys leave the directory
A plugin throws while loadingThe Gateway does not start
A plugin's event listener throwsLogged; the request path is unaffected
The Gateway was down at pool timeThe credit pool is distributed on catch-up
Gateway restartQueued jobs fail with 503; state reloads from disk; nodes are offline until they contact the Gateway again; sealed nodes must attest again after re-registering

Deployment#

The repository includes a Render blueprint (render.yaml), a Dockerfile, and a Docker Compose file that starts Ollama, a Gateway and a node together; the self-hosting guide covers each. One web service runs the Gateway, which serves the API and apps/web from the same origin.

Durable state — keys, attestations, node records, credit balances, payment records and what nodes are owed — needs a persistent disk mounted at IDYL_DATA_DIR. An ephemeral filesystem is acceptable only for a Gateway that takes no payments. Guard capacity is configured with IDYL_FLOOR_URL, or provided by nodes running --serve-floor. Payments need a Solana RPC endpoint and a treasury address; card payments need Stripe keys. For local development, npm run dev starts the full v3 stack on port 8787: a Gateway with every plugin, four mock nodes (two Open, one Unbound, one Sealed with SIMULATED attestation), and a dev wallet with an API key, promotional credits and a testnet Pro override. npm run dev -- --minimal starts a keyless Gateway with no plugins and one mock node. Node operators need only outbound HTTPS to the Gateway.

Known limitations#

  • Single Gateway. The queue, rate limits, nonces, IP hashes and rotation memory are held in memory in one process. Running several Gateways requires shared state and is a roadmap item.
  • Trusted, central Gateway. The Gateway sees content in transit at two of the three grades, runs The Floor, verifies attestations and keeps the money ledger. Its code is MIT-licensed, and the governance path toward independent Gateways is described in the Whitepaper.
  • Sealed is unvalidated. Tested with a simulated attester only; no measured image is published; an in-browser client trusts the page.
  • Money in a JSON file. Balances and payables live in state.json. Writes are fsync'ed and a backup of the previous file is kept, but there is no database, no replication, no double-entry audit trail and no automated reconciliation against the treasury's on-chain balance.
  • Manual settlement. Node payouts and burns are executed by hand and recorded with an admin token.
  • External trust for payments. One RPC endpoint and one price service.
  • The Floor checks inputs only. Outputs are not classified, earlier turns are not re-classified by the guard, and the classifier errs in both directions. See Whitepaper, Section 10.5.
  • No revocation endpoint yet. API keys rotate when reissued, but there is no operator endpoint to revoke a key or an Unbound attestation; that is planned.
  • Statistical verification. Canary checks detect careless substitution, not a determined adversary; capacity checks measure speed, not identity. See Whitepaper, Section 7.
  • Bond not yet live. Routing uses bond amounts recorded by the Gateway; reading them from IDYL Bond on mainnet follows the program's audit.
12 — API

IDYL API Reference

65 min readdocs/API.md

The IDYL Gateway exposes an OpenAI-compatible API. Any client that speaks the Chat Completions API works by changing two settings: the base URL and the API key. IDYL Chat uses exactly this API.

ItemValue
Base URL (local)http://localhost:8787
Base URL (hosted testnet)https://idylnetwork.com (the older https://idyl-gateway-hvs1.onrender.com reaches the same gateway)
OpenAI base URL<base>/v1
AuthenticationAuthorization: Bearer idyl_sk_… (a wallet's API key) or Bearer idyl_gt_… (a guest token)
FormatJSON, UTF-8; streaming via server-sent events
Privacy gradescommunity (default), sealed-relay, sealed-e2e; returned in x-idyl-privacy on every chat reply
Safety layerEvery chat request passes The Floor before a model sees it
Version0.3.0
StatusBeta (testnet). Sealed has not been validated on real confidential-computing hardware

Examples below use environment variables:

Shell
export IDYL_BASE_URL=http://localhost:8787
export IDYL_API_KEY=idyl_sk_...   # see "Get an API key"

Example responses show the shape of real Gateway output. Identifiers and numbers in them are illustrative, not network data.

Quickstart#

Python#

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url=os.environ.get("IDYL_BASE_URL", "http://localhost:8787") + "/v1",
    api_key=os.environ["IDYL_API_KEY"],
)

resp = client.chat.completions.create(
    model="llama3.1:8b",
    messages=[{"role": "user", "content": "Summarise the idea of idle compute in one sentence."}],
)
print(resp.choices[0].message.content)

# Streaming
stream = client.chat.completions.create(
    model="qwen3:8b",
    messages=[{"role": "user", "content": "Write a haiku about a sleeping GPU."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

# Which node served the request, at which privacy grade, and what did The Floor decide?
raw = client.chat.completions.with_raw_response.create(
    model="llama3.1:8b",
    messages=[{"role": "user", "content": "ping"}],
)
print(raw.headers.get("x-idyl-node"), raw.headers.get("x-idyl-privacy"), raw.headers.get("x-idyl-floor"))
completion = raw.parse()

Node.js#

JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: `${process.env.IDYL_BASE_URL ?? "http://localhost:8787"}/v1`,
  apiKey: process.env.IDYL_API_KEY,
});

const resp = await client.chat.completions.create({
  model: "llama3.1:8b",
  messages: [{ role: "user", content: "Summarise the idea of idle compute in one sentence." }],
});
console.log(resp.choices[0].message.content);

// Streaming
const stream = await client.chat.completions.create({
  model: "qwen3:8b",
  messages: [{ role: "user", content: "Write a haiku about a sleeping GPU." }],
  stream: true,
});
for await (const chunk of stream) process.stdout.write(chunk.choices[0]?.delta?.content ?? "");

// Sealed relay: one extra header. Paid from credits; never served on a Community machine.
const sealed = await client.chat.completions.create(
  { model: "llama3.3:70b", messages: [{ role: "user", content: "Summarise this clause." }] },
  { headers: { "x-idyl-privacy": "sealed" } },
);

curl#

Shell
curl -s "$IDYL_BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $IDYL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama3.1:8b","messages":[{"role":"user","content":"Hello"}]}'

More examples — LangChain, the Vercel AI SDK, Sealed · relay and Sealed · end-to-end — are in the repository's examples/ directory, and an MCP server for agents is in packages/mcp-server.

Get an API key#

Keys are issued to a Solana wallet, not to an email address. The wallet signs a one-time message; the Gateway verifies the signature and returns a key. In the browser, the app does this with Phantom's signMessage at app.html#keys and in IDYL Chat.

  1. GET /api/nonce?wallet=<base58> returns a nonce and the exact message to sign. Nonces are single-use and expire after 5 minutes.
  2. Sign the UTF-8 bytes of message with the wallet's ed25519 key and base58-encode the 64-byte signature.
  3. POST /api/keys with { wallet, signature } returns the key.

Each wallet has one active key. Requesting a new key rotates it: the previous key stops working immediately. The Gateway stores only a SHA-256 hash of the key, so a lost key cannot be recovered — request a new one. Rotating a key keeps the wallet's Unbound attestation, its daily usage, its credits and its Pro status.

From the command line. The script below uses only Node.js built-ins (Node 20 or later) and a Solana keypair file, the 64-byte JSON array written by solana-keygen. Use a dedicated wallet for this, never a funded one.

JavaScript
// get-key.mjs — usage: IDYL_BASE_URL=http://localhost:8787 node get-key.mjs path/to/keypair.json
import { readFileSync } from "node:fs";
import { createPrivateKey, sign } from "node:crypto";

const BASE = process.env.IDYL_BASE_URL ?? "http://localhost:8787";
const ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
function base58(bytes) {
  let n = BigInt("0x" + (Buffer.from(bytes).toString("hex") || "0"));
  let out = "";
  while (n > 0n) { out = ALPHABET[Number(n % 58n)] + out; n /= 58n; }
  for (const b of bytes) { if (b !== 0) break; out = "1" + out; }
  return out;
}

const secret = Uint8Array.from(JSON.parse(readFileSync(process.argv[2], "utf8"))); // seed (32) + public key (32)
const wallet = base58(secret.subarray(32));
const privateKey = createPrivateKey({
  key: Buffer.concat([Buffer.from("302e020100300506032b657004220420", "hex"), secret.subarray(0, 32)]),
  format: "der",
  type: "pkcs8",
});

const { nonce, message } = await (await fetch(`${BASE}/api/nonce?wallet=${wallet}`)).json();
const signature = base58(sign(null, Buffer.from(message, "utf8"), privateKey));
const res = await fetch(`${BASE}/api/keys`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ wallet, signature, nonce }),
});
console.log(await res.json());

Guest access#

A guest can call the chat endpoint before any wallet exists, within tight limits. The sign-in is a proof-of-work puzzle.

  1. GET /api/guest/challenge returns { challenge, difficulty, expiresAt, algorithm }. A challenge lasts 5 minutes and is used up by its first submission, right or wrong.
  2. Find a non-negative integer counter such that sha256("<challenge>:<counter>") starts with difficulty zero bits (18 by default).
  3. POST /api/guest with { challenge, counter } returns a guest token, idyl_gt_…, valid for 24 hours.
  4. Use the token as a Bearer token on POST /v1/chat/completions. GET /api/guest with the same token says how many requests are left.
JavaScript
// guest.mjs — obtain a guest token with Node.js built-ins only
import { createHash } from "node:crypto";
const BASE = process.env.IDYL_BASE_URL ?? "http://localhost:8787";

const { challenge, difficulty } = await (await fetch(`${BASE}/api/guest/challenge`)).json();
const zeroBits = (buf) => { let n = 0; for (const b of buf) { if (b === 0) { n += 8; continue; } return n + Math.clz32(b) - 24; } return n; };
let counter = 0;
while (zeroBits(createHash("sha256").update(`${challenge}:${counter}`).digest()) < difficulty) counter++;

const res = await fetch(`${BASE}/api/guest`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ challenge, counter }),
});
console.log(await res.json()); // { guestToken: "idyl_gt_…", messagesLeft: 10, expiresAt, resetsAt, limits }

A fuller version, which also sends a message and reuses its token, is examples/guest-pow.mjs in the repository.

Guest limitValueWhen it is exceeded
Requests10 admitted requests per token per UTC day; the token lasts 24 hours402 guest_limit
PromptAt most 4,000 characters402 guest_limit
ModelsOpen tier, needing 12 GB or less403 guest_model_not_allowed
Privacy gradeCommunity only403 guest_model_not_allowed
Replymax_tokens is capped at 512, and set to 512 when the request names noneCapped without an error
Tokens per network address3 per UTC day429 guest_ip_limit
  • Every admitted guest response carries x-idyl-guest-remaining.
  • A request that cannot be served, or that the network fails to serve, does not use up one of the ten.
  • Guest errors add "idyl": { "guest": "<reason>" } to the body (daily_limit, prompt_too_long, model_size, tier or sealed) and suggest connecting a wallet.
  • A guest who asks for an Unbound model gets 403 unbound_attestation_required: that check comes before admission and applies to everyone.
  • The Gateway keeps only the SHA-256 hash of a guest token. It counts tokens per network address with a salted hash that changes every UTC day and is never written to disk.

Unbound access#

Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. They are served only to wallets that have signed the Unbound attestation, only by nodes whose operators opted in, and only after The Floor has checked the request. Read the Unbound policy first; the attestation accepts it.

  1. GET /api/nonce?wallet=<base58>&purpose=unbound returns a nonce and this exact message:

    Text
    IDYL Unbound access
    wallet: <wallet>
    I am 18 or older and I accept the IDYL Floor policy.
    nonce: <nonce>
  2. Sign the UTF-8 bytes of message with the wallet and base58-encode the signature.

  3. POST /api/attest with { wallet, signature, nonce } returns { wallet, unbound: true, attestedAt }.

  4. Call Unbound models with any API key of that wallet.

Nonces are bound to their purpose: a key-request signature never attests, and an attestation signature never issues a key. The attestation is recorded per wallet and persists across key rotations.

From the command line, continuing get-key.mjs above (same BASE, wallet, privateKey and base58):

JavaScript
// attest.mjs — sign the Unbound attestation for the same wallet
const n = await (await fetch(`${BASE}/api/nonce?wallet=${wallet}&purpose=unbound`)).json();
console.log(n.message); // read it: this is what you are signing
const sig = base58(sign(null, Buffer.from(n.message, "utf8"), privateKey));
const att = await fetch(`${BASE}/api/attest`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ wallet, signature: sig, nonce: n.nonce }),
});
console.log(await att.json()); // { wallet, unbound: true, attestedAt }

What the free tier covers. With the attestation, the free tier covers Unbound models that need 12 GB or less. Larger Unbound models are paid from credits or covered by a Pro allowance. Without either, a wallet that has never held credits gets 402 credits_required, and a wallet whose credits have run out gets 402 insufficient_credits.

Privacy grades#

Every request is served at one of three grades. The response header x-idyl-privacy always states the grade actually served.

Gradex-idyl-privacyWhat it meansHow to request it
CommunitycommunityRuns on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.The default
Sealed · relaysealed-relayRuns inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.x-idyl-privacy: sealed, or "idyl": {"privacy": "sealed"} in the body, on POST /v1/chat/completions
Sealed · end-to-endsealed-e2eEncrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.POST /v1/sealed/chat/completions with an encrypted envelope
  • The request value is community or sealed. Anything else returns 400 invalid_privacy.
  • Sealed is never served as Community. With no sealed capacity for the model, a relay request returns 503 sealed_unavailable and an end-to-end request returns 409 sealed_key_unavailable.
  • Sealed is never free. Both Sealed grades are paid from credits at 1.3× the model's rate, less 10% for Pro and 20% for Pro+. A Pro allowance does not pay for Sealed. Without credits: 402 credits_required (a wallet that has never held credits) or 402 insufficient_credits (a balance that is too low).
  • Guests cannot use Sealed.
  • At every grade the Gateway sees your wallet, your IP address, the model, timing, sizes, token counts, and The Floor's outcome and category ids. Sealed · end-to-end hides the content only (details).
  • A Sealed · relay reply also carries x-idyl-sealed-by. A Sealed · end-to-end reply carries x-idyl-attestation, the id of the attestation of the enclave key the request was encrypted to.
  • On a development Gateway that accepts simulated attestation, every Sealed value ends in -simulated, for example sealed-relay-simulated.

Nothing about Sealed has been validated on real confidential-computing hardware. See Sealed for the endpoints and the Whitepaper for the limits.

Endpoints#

Endpoints are grouped by who may call them. CORS is open (Access-Control-Allow-Origin: *) for /health, /api/* and /v1/*.

Public — no authentication#

MethodPathPurpose
GET/healthLiveness and version
GET/api/stats.jsonLedger: network, models, treasury (metered and paid)
GET/api/leaderboardLedger: per-node performance
GET/api/nodes/{id}One node's public record, including what it is owed, its points and its sealed state
GET/api/catalogFull model catalog with tiers, rates, memory and nodes online
GET/api/floorThe Floor's policy, guard capacity and 24-hour counts
GET/v1/models, /v1/models/{id}Models served by online nodes
GET/api/nonceNonce for key issuance or the Unbound attestation
GET/api/guest/challengeA proof-of-work challenge for guest access
POST/api/guestExchange a solved challenge for a guest token
GET/api/sealed/keys?model=Enclave keys of online sealed nodes, and whether Sealed · relay is available
GET/api/sealed/statsSealed counts: nodes by verification level, issuers trusted, attestations, requests. Counts only
GET/api/attestations/{id}One attestation record; ?evidence=1 adds the vendor tokens
GET/api/attestations/by-node/{nodeId}A node's current attestation record
GET/api/pay/methodsWhich payment methods this Gateway has enabled, and its limits
GET/api/payouts/{nodeId}What a node is owed and has been paid
GET/api/proPro thresholds and the last credit pool; with a key, your own status
GET/api/points/seasonSeason 0 rules as data, dates and totals
GET/api/points/leaderboardTop 500 nodes or users by points
GET/api/points/{id}Points for one node id or wallet
GET/api/transparencyWhat is stored, never stored and for how long; canary; legal requests
GET/api/reportsIndex of weekly reports
GET/api/reports/weekly?week=One weekly report

Wallet-signed#

MethodPathPurpose
POST/api/keysIssue or rotate an API key
POST/api/attestRecord the Unbound attestation for a wallet

API key — Authorization: Bearer idyl_sk_…#

MethodPathPurpose
POST/v1/chat/completionsChat completion, streaming or not. Also accepts a guest token
POST/v1/sealed/chat/completionsSealed · end-to-end chat completion
GET/api/usageToday's free-tier usage
GET/api/creditsBalance, expiring credits, Pro status, free tier, payments, spend
POST/api/pay/solana/intentCreate a Solana Pay payment request
POST/api/pay/solana/confirmVerify a Solana payment and credit the wallet
POST/api/pay/stripe/checkoutCreate a Stripe Checkout session

Guest token — Authorization: Bearer idyl_gt_…#

MethodPathPurpose
POST/v1/chat/completionsChat completion within the guest limits
GET/api/guestRequests left today, and the limits

Signed by a payment processor#

MethodPathPurpose
POST/api/pay/stripe/webhookCalled by Stripe. Verified with the Stripe-Signature header

Node-signed — the node's ed25519 key#

MethodPathPurpose
POST/nodes/registerRegister a node
POST/nodes/heartbeatLiveness, load, pause state
GET/nodes/jobs/nextLong-poll for a job
POST/nodes/jobs/{id}/chunkStream output deltas
POST/nodes/jobs/{id}/completeFinish a job with usage
POST/nodes/jobs/{id}/failReport a failure
GET/nodes/attest/nonceA nonce for a hardware attestation
POST/nodes/attestSubmit attestation evidence

Admin — IDYL_ADMIN_TOKEN#

Operator endpoints. They return 404 unless IDYL_ADMIN_TOKEN is set, and are not part of the public API. See Operator endpoints.

MethodPathPurpose
GET/admin/stateInternal state for debugging
POST/admin/bondRecord a node's bond for routing during testnet
POST/admin/creditsGrant promotional credits
POST/admin/credits/revokeTake back unspent purchased credits after a refund or a chargeback
GET/admin/payoutsList what each node is owed, in USD and in $IDYL
POST/admin/payoutsMark a payout batch as paid
POST/admin/pay/idyl-burnedRecord that $IDYL in the burn queue was burned
GET/admin/ipShow which address the Gateway takes a request to come from
POST/admin/proSet a wallet's Pro status for testing
POST/admin/transparencyPublish the canary and legal-request counts
POST/admin/burnsRecord a buyback burn

Ledger#

GET /health#

Shell
curl -s "$IDYL_BASE_URL/health"
JSON
{ "ok": true, "version": "0.3.0", "uptimeSec": 5321 }

GET /api/stats.json#

The public Ledger summary. Cached for 5 seconds.

Shell
curl -s "$IDYL_BASE_URL/api/stats.json"
JSON
{
  "network": {
    "nodesOnline": 2,
    "nodesTotal": 3,
    "capacityTokPerSec": 140,
    "requests24h": 118,
    "tokensServed24h": 96420,
    "avgLatencyMs": 640,
    "successRate": 0.9915,
    "unboundNodesOnline": 1,
    "throughputTokPerSec": 12.4,
    "sealedNodesOnline": 0
  },
  "models": [
    { "id": "llama3.1:8b", "name": "Llama 3.1 8B", "nodes": 2, "priceInPerMTok": 0.03, "priceOutPerMTok": 0.05 }
  ],
  "treasury": {
    "protocolRevenue24hUsd": 0.000513,
    "buybackQueuedUsd": 0.001204,
    "burnedTotalIdyl": 0,
    "paid": {
      "revenue24hUsd": 0.000005,
      "revenueTotalUsd": 0.000005,
      "nodePayableUsd": 0.000008,
      "nodePayableIdyl": 0.001062,
      "protocolUsd": 0.000001,
      "buybackQueuedUsd": 0,
      "treasuryNetUsd": -0.00000325,
      "solvent": false,
      "upstreamUsd": 0,
      "idylQueuedForBurn": 0.000063,
      "idylTreasury": 0,
      "treasuryUsd": 0.000001,
      "grantNodeCostUsd": 0.00000425,
      "grantUpstreamUsd": 0,
      "upstreamCashUsd": 0,
      "upstreamIdylFundedUsd": 0,
      "nodeAccruedTotalUsd": 0.000008,
      "nodePaidTotalUsd": 0,
      "nodeAccruedTotalIdyl": 0.001062,
      "nodePaidTotalIdyl": 0,
      "idylFundedUsd": 0.000005,
      "grantFundedUsd": 0.000005,
      "writtenOffUsd": 0,
      "creditsPurchasedTotalUsd": 15,
      "creditsGrantedTotalUsd": 2,
      "creditsExpiredTotalUsd": 0,
      "creditsRevokedTotalUsd": 0,
      "purchasedCreditsOutstandingUsd": 14.99999,
      "idylReceivedTotal": 2250,
      "idylHeldForCredits": 2249.998875,
      "idylBurnedTotal": 0,
      "label": "paid",
      "note": "Collected money only. …"
    },
    "labels": {
      "protocolRevenue24hUsd": "metered",
      "buybackQueuedUsd": "metered",
      "burnedTotalIdyl": "on-chain burns recorded by the operator",
      "paid": "paid"
    }
  },
  "updatedAt": "2026-11-22T02:18:45.401Z",
  "meta": {
    "network": "testnet",
    "version": "0.3.0",
    "note": "Top-level revenue figures are metered at target rates, not collected. Money actually collected and owed is under treasury.paid."
  },
  "guest": { "activeTokens": 0, "tokensIssuedTotal": 0, "requestsAdmittedTotal": 0, "messagesPerDay": 10, "powBits": 18 },
  "payments": { "solana": true, "stripe": false, "payInIdyl": false },
  "pro": { "program": { "id": null, "cluster": "devnet" }, "poolShare": 0.05, "lastPool": null }
}

The paid block above was captured from a local test in which three wallets each spent $0.000005 of credits on the same node: one had bought them with USDC, one with $IDYL (2,250 IDYL for $10 of credits, at a test price), and one had been granted them. Only the first is revenue. The node is owed USD for the first and the third, and $IDYL for the second: 85/90 of the 0.001125 IDYL behind that charge, with 5/90 queued for burning. The granted credits cost the treasury more than its half had earned, so treasuryNetUsd is negative and solvent is false. Amounts this small also show the ledger's rounding to millionths.

FieldMeaning
network.nodesOnlineNodes with a signed request in the last 45 s (online or busy)
network.nodesTotalNodes known to the Gateway
network.capacityTokPerSecSum over unpaused nodes of measured generation speed × concurrency
network.requests24hRequests routed to nodes that reached a final outcome in the last 24 h. Requests The Floor blocked or answered with care are not counted here; they appear in /api/floor
network.tokensServed24hPrompt + completion tokens of settled requests, last 24 h
network.avgLatencyMsMean client-perceived time to first token, last 24 h; null if no data
network.successRateSuccessful ÷ finished requests, last 24 h; null if no data
network.unboundNodesOnlineConnected nodes that opted in to Unbound and serve at least one Unbound model
network.throughputTokPerSecTokens of settled chat requests in the last 60 s, divided by 60
network.sealedNodesOnlineOnline nodes with a current, verified attestation. On a development Gateway, sealedNodesSimulated says how many of them are simulated
models[]Selectable models served by connected nodes, with target rates (USD per 1M tokens); the guard model is not listed
treasury.protocolRevenue24hUsdMetered. Protocol share (15%) of all usage in the last 24 h, valued at target rates, whether or not anyone paid
treasury.buybackQueuedUsdMetered. 50% of the metered protocol share. A notional figure
treasury.burnedTotalIdyl$IDYL burned on-chain, as recorded by the operator with each burn's transaction
treasury.labelsSays which of the fields above are metered and which are paid
guest, payments, proPresent when those plugins are loaded: guest counters, which payment methods are enabled, the stake program and the last credit pool
meta.noteA plain statement of what the top-level revenue figures are

treasury.paid — the real-money ledger. Only this block describes money. Every amount owed to a node is funded by something that arrived, and the ledger classes each charge by what funded the credits that paid it:

Credits wereNode is owedProtocol's share
Bought with USDC, SOL or a card ("cash")85% of the charge, in USD15%: half to the buyback queue, half to the treasury
Bought with $IDYL85/90 of the tokens behind the charge, in $IDYL5/90 of those tokens, queued for burning. No cash is involved
Granted: the weekly credit pool, or a promotion85% of the charge, in USD, charged to the treasuryNone
FieldMeaning
revenue24hUsd, revenueTotalUsdPaid revenue: cash-bought credits that were consumed. Deposits are not revenue until they are used. Promotional credits, credit-pool credits and credits bought with $IDYL are never counted here
nodePayableUsdWhat nodes are owed in USD and have not yet been paid
nodePayableIdylWhat nodes are owed in $IDYL and have not yet been paid
protocolUsdThe protocol's 15% of cash revenue from node-served work
buybackQueuedUsdHalf of protocolUsd, queued for the buyback and burn
treasuryNetUsdThe other half, less what grant-funded work has cost: the 85% owed to nodes for work paid with pool or promotional credits
solventfalse when treasuryNetUsd is below zero: grants have cost more than the treasury's half has earned
upstreamUsdSealed · relay requests served by a sealed provider, recorded gross. No node is owed for these and no split is taken
idylQueuedForBurn$IDYL waiting to be burned: the protocol's 5/90 cut of the tokens behind spent $IDYL-bought credits
idylTreasury$IDYL released to the treasury when $IDYL-bought credits paid for provider-served work

Further accounting detail in the same block:

FieldMeaning
treasuryUsdThe treasury's half of protocolUsd, before the cost of grants
grantNodeCostUsd, grantUpstreamUsdWhat grant-funded work has cost the treasury: the 85% owed to nodes, and grant-funded requests served by a sealed provider. treasuryNetUsd is treasuryUsd less both
upstreamCashUsd, upstreamIdylFundedUsdThe parts of upstreamUsd paid with cash-bought and with $IDYL-bought credits
nodeAccruedTotalUsd, nodePaidTotalUsd, nodeAccruedTotalIdyl, nodePaidTotalIdylLifetime totals behind the two payables
idylFundedUsd, grantFundedUsdCharges paid with $IDYL-bought credits, and with granted credits. Neither is revenue
writtenOffUsdWork that no balance could cover, beyond the $0.01 overdraft. Nobody is paid for it
creditsPurchasedTotalUsd, creditsGrantedTotalUsd, creditsExpiredTotalUsd, creditsRevokedTotalUsdCredits bought, granted (pool and promotional), expired unused, and taken back after a refund or chargeback
purchasedCreditsOutstandingUsdBought credits not yet spent: money held for service still owed to callers
idylReceivedTotal, idylHeldForCredits, idylBurnedTotal$IDYL ever received as payment; the part still backing unspent credits; the part recorded as burned. At every moment, received = held + accrued to nodes + queued for burning + burned + treasury

The payments engineering note has the full accounting rules.

The top-level treasury fields are metered: they value every request at target rates, including free-tier, Pro-allowance and guest usage. Without the payments plugin, treasury.paid is absent and meta.note says that no payments settle.

GET /api/leaderboard#

Per-node performance, up to 500 nodes, sorted by tokens served.

Shell
curl -s "$IDYL_BASE_URL/api/leaderboard"
JSON
{
  "nodes": [
    {
      "id": "HBAWL9K6DdkqoVdE96Fz1beC9L2rpeqisrHe4hRBQjsH",
      "wallet": "HBAW…QjsH",
      "name": "studio-m2",
      "models": ["llama3.1:8b", "qwen3:8b", "llama-guard3:1b"],
      "tokensServed": 48210,
      "jobs": 61,
      "successRate": 0.9839,
      "latencyMs": 610,
      "bond": 0,
      "earnedUsd": 0.001437,
      "status": "online",
      "lastSeen": "2026-11-21T15:36:49.592Z",
      "reliability": 0.9712,
      "score": 0.5859,
      "bondMultiplier": 1,
      "slashPoints": 1,
      "concurrency": 2,
      "tiers": ["open", "floor"],
      "unbound": false
    }
  ],
  "updatedAt": "2026-11-21T15:36:56.200Z"
}

status is online (can take a job), busy (paused by its owner or at its concurrency limit) or offline (no signed request for 45 s). latencyMs is the node's median time to first token over its last 64 jobs. score is the routing score defined in the Whitepaper. earnedUsd is metered: the node's 85% share of all chat usage it served, plus guard-job fees, at target rates. It is not what the node is owed; that is payable in /api/nodes/{id}.

GET /api/nodes/{id}#

One node's public record, by node id (base58 public key). Used by IDYL Desktop and the app's Earn view. Returns 404 node_unknown for an unknown id.

Shell
curl -s "$IDYL_BASE_URL/api/nodes/HBAWL9K6DdkqoVdE96Fz1beC9L2rpeqisrHe4hRBQjsH"
JSON
{
  "id": "HBAWL9K6DdkqoVdE96Fz1beC9L2rpeqisrHe4hRBQjsH",
  "name": "studio-m2",
  "status": "online",
  "models": ["llama3.1:8b", "qwen3:8b", "llama-guard3:1b"],
  "tiers": ["open", "floor"],
  "unbound": false,
  "tokensServed": 48210,
  "jobs": 61,
  "floorJobs": 240,
  "earnedUsd": 0.001437,
  "today": { "day": "2026-11-21", "jobs": 19, "tokens": 15020, "earnedUsd": 0.000412, "floorJobs": 72 },
  "reliability": 0.9712,
  "successRate": 0.9839,
  "latencyMs": 610,
  "bond": 0,
  "bondMultiplier": 1,
  "slashPoints": 1,
  "payout": "8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx",
  "hardware": { "os": "macos", "arch": "arm64", "cpu": "Apple M2 Pro", "cores": 12, "memGb": 32, "gpu": "Apple M2 Pro", "vramGb": null, "unified": true },
  "client": "desktop/0.3.0",
  "version": "0.3.0",
  "concurrency": 2,
  "paused": false,
  "firstSeen": "2026-11-20T09:12:04.118Z",
  "lastSeen": "2026-11-21T15:36:49.592Z",
  "note": "earnedUsd is metered at target rates and is not money owed. payable is real: in USD, 85% of what cash-bought and granted credits paid for requests this node served; in $IDYL, 85/90 of the tokens behind $IDYL-bought credits spent on them; both minus payouts.",
  "sealed": null,
  "payable": { "accruedUsd": 0.000782, "paidUsd": 0, "lifetimeUsd": 0.000782, "accruedIdyl": 0, "paidIdyl": 0, "lifetimeIdyl": 0 },
  "points": { "season": 0, "points": 12.74, "rank": 31, "today": 1.365, "earning": true, "flagged": false, "reasons": [], "verifiedTps": 24.6, "pointsPerHour": 0.1638 }
}
FieldMeaning
todayThe current UTC day. Like the all-time jobs and tokensServed, today.jobs and today.tokens count chat jobs only; guard work is counted in today.floorJobs, and today.earnedUsd includes both
earnedUsd, today.earnedUsdMetered at target rates. Not money owed
payable.accruedUsd, payable.paidUsd, payable.lifetimeUsdPaid. What the node is owed in USD and has not yet been paid — 85% of the work it served that was paid with cash-bought or granted credits, minus payouts; what has been paid, from recorded payouts; and everything it has ever accrued
payable.accruedIdyl, payable.paidIdyl, payable.lifetimeIdylPaid. The same for work that callers paid for with $IDYL: 85/90 of the tokens behind each charge, owed and paid in $IDYL. Zero until the token exists
sealedWhile the node is sealed: { attestationId, keyId, verification, verifiedAt, expiresAt, gpu, cpuTee, privacy: { e2e, relay } }. Otherwise null
pointsA summary of the node's Idle Points, when the points plugin is loaded: total, rank, today, whether it is earning now and why not (reasons), the measured tokens per second and the current points per hour. Details at /api/points/{id}
hardwareThe hardware summary the node sent. The hardware fingerprint is never part of this record
pausednull while the node is offline

GET /api/catalog#

The full model catalog, including models no node serves right now. Cached for 5 seconds.

Shell
curl -s "$IDYL_BASE_URL/api/catalog"
JSON
{
  "models": [
    {
      "id": "qwen3:8b",
      "name": "Qwen3 8B",
      "tier": "open",
      "family": "qwen",
      "params": "8B",
      "minMemGb": 8,
      "priceInPerMTok": 0.03,
      "priceOutPerMTok": 0.05,
      "nodesOnline": 2,
      "ollamaTag": "qwen3:8b",
      "description": "Alibaba's Qwen3 8B with an optional thinking mode. Strong reasoning for its size."
    },
    {
      "id": "huihui_ai/qwen3-abliterated:8b",
      "name": "Qwen3 8B Unbound",
      "tier": "unbound",
      "family": "qwen",
      "params": "8B",
      "minMemGb": 8,
      "priceInPerMTok": 0.05,
      "priceOutPerMTok": 0.08,
      "nodesOnline": 1,
      "ollamaTag": "huihui_ai/qwen3-abliterated:8b",
      "description": "Qwen3 8B with its refusal behavior removed."
    },
    {
      "id": "llama-guard3:1b",
      "name": "Llama Guard 3 1B",
      "tier": "floor",
      "family": "llama-guard",
      "params": "1B",
      "minMemGb": 2,
      "priceInPerMTok": 0.01,
      "priceOutPerMTok": 0.01,
      "nodesOnline": 1,
      "ollamaTag": "llama-guard3:1b",
      "description": "Meta's Llama Guard 3 safety classifier. Powers The Floor; not selectable for chat."
    }
  ],
  "otherModels": { "priceInPerMTok": 0.05, "priceOutPerMTok": 0.1 },
  "notes": {
    "prices": "Target rates in USD per 1M tokens (beta).",
    "minMemGb": "Approx. memory for 4-bit quantizations: RAM on Apple Silicon, GPU VRAM on Windows/Linux with a dedicated GPU."
  },
  "updatedAt": "2026-11-21T15:36:56.210Z"
}
FieldMeaning
tieropen (original behaviour), unbound (refusal behaviour removed; attestation required) or floor (the guard model; not selectable)
minMemGbApproximate memory for a 4-bit build: unified memory on Apple silicon, VRAM with a dedicated GPU. It also decides what guests may use (Open, ≤ 12) and what the free tier covers on Unbound (≤ 12)
priceInPerMTok, priceOutPerMTokTarget rates, USD per 1M tokens, at Community grade. Sealed is 1.3× these. For floor, the guard-job fee metered to the serving node
nodesOnlineConnected, unpaused nodes serving the model now
otherModelsTarget rate for any model not in the catalog

The full list is in the Whitepaper, Appendix B. A tag that is not listed but contains abliterat or uncensored is treated as unbound; one that contains llama-guard is treated as floor.

GET /api/floor#

The Floor's published policy, guard capacity and counts for the last 24 hours. No content is ever included. Cached for 5 seconds.

Shell
curl -s "$IDYL_BASE_URL/api/floor"
JSON
{
  "policy": {
    "blocked": ["S3", "S4", "S9"],
    "care": ["S11"],
    "categories": {
      "S1": "Violent Crimes", "S2": "Non-Violent Crimes", "S3": "Sex-Related Crimes", "S4": "Child Sexual Exploitation",
      "S5": "Defamation", "S6": "Specialized Advice", "S7": "Privacy", "S8": "Intellectual Property",
      "S9": "Indiscriminate Weapons", "S10": "Hate", "S11": "Suicide & Self-Harm", "S12": "Sexual Content", "S13": "Elections"
    },
    "model": "llama-guard3:1b",
    "failClosed": ["unbound"],
    "helpline": "https://findahelpline.com"
  },
  "guardNodesOnline": 2,
  "floorUrlConfigured": true,
  "checks24h": 1412,
  "blocked24h": { "S3": 1, "S4": 0, "S9": 2, "S11": 3 },
  "outcomes24h": { "pass": 1398, "prefilterOnly": 8, "blocked": 3, "care": 3, "unavailable": 0 },
  "prefilterBlocks24h": 0,
  "flagged24h": { "S1": 4, "S2": 9, "S3": 1, "S4": 0, "S5": 0, "S6": 2, "S7": 1, "S8": 0, "S9": 2, "S10": 1, "S11": 3, "S12": 6, "S13": 0 },
  "limits": "Classifiers make mistakes both ways. Only requests are checked; output-side auditing is on the roadmap. The Floor stores counts per category, never prompts.",
  "updatedAt": "2026-11-21T15:36:56.214Z"
}
FieldMeaning
policyBlocked categories, care categories, the category names, the guard model, the tiers that fail closed, and the helpline linked from care responses
guardNodesOnlineConnected, unpaused nodes serving llama-guard3:1b
floorUrlConfiguredWhether the Gateway operator has configured a guard endpoint (IDYL_FLOOR_URL)
checks24hFloor checks in the last 24 h
blocked24hRequests stopped per acted-on category; S11 counts care responses
outcomes24hChecks by outcome: pass, prefilterOnly (Open request with no guard verdict), blocked, care, unavailable (Unbound request refused for lack of guard capacity)
prefilterBlocks24hBlocks decided by the prefilter alone
flagged24hHow often the guard flagged each category, including categories The Floor lets through

Checks that ran inside an enclave for Sealed · end-to-end requests are included in these counts: the sealed node reports the outcome and category codes, never content.

Keys and identity#

GET /api/nonce#

Query parameterRequiredDescription
walletYesBase58 Solana public key
purposeNokey (default) for an API key, or unbound for the Unbound attestation
Shell
curl -s "$IDYL_BASE_URL/api/nonce?wallet=8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx"
JSON
{
  "nonce": "d1bb61912e6a23060904f001aaeebae6",
  "message": "IDYL API key request\nwallet: 8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx\nnonce: d1bb61912e6a23060904f001aaeebae6",
  "expiresAt": "2026-11-21T15:41:33.381Z",
  "purpose": "key"
}

The message depends on the purpose, with \n as a newline character:

purposeMessage
keyIDYL API key request\nwallet: <wallet>\nnonce: <nonce>
unboundIDYL Unbound access\nwallet: <wallet>\nI am 18 or older and I accept the IDYL Floor policy.\nnonce: <nonce>

Up to 5 live nonces are kept per wallet; each is valid for 5 minutes, single-use, and accepted only for its own purpose.

POST /api/keys#

FieldTypeRequiredDescription
walletstringYesBase58 Solana public key
signaturestringYesBase58 ed25519 signature (64 bytes) over the key-request message bytes
noncestringNoThe nonce being answered; if omitted, any live key-request nonce for the wallet is tried
Shell
curl -s -X POST "$IDYL_BASE_URL/api/keys" \
  -H "Content-Type: application/json" \
  -d '{"wallet":"8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx","signature":"<base58 signature>"}'
JSON
{
  "apiKey": "idyl_sk_7nAkJ6Vg3pbf1Xj5pmB9eJG3Q7Pzr2muRvftHgtobU2y",
  "wallet": "8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx",
  "dailyFreeTokens": 200000,
  "unbound": false
}

The key is shown once. Store it as a secret. unbound reports whether the wallet has signed the Unbound attestation.

POST /api/attest#

Records the Unbound attestation for a wallet. See Unbound access. This is the wallet's 18+ declaration; it is unrelated to the hardware attestations under Sealed.

FieldTypeRequiredDescription
walletstringYesBase58 Solana public key
signaturestringYesBase58 ed25519 signature (64 bytes) over the attestation message bytes
noncestringRecommendedThe purpose=unbound nonce being answered; if omitted, any live attestation nonce for the wallet is tried
JSON
{ "wallet": "8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx", "unbound": true, "attestedAt": "2026-11-21T15:42:10.004Z" }

The attestation is a signed self-declaration; the Gateway does not and cannot verify age. It is stored as the wallet and the time of signing.

GET /api/usage#

Today's free-tier usage for the calling key. Not part of the OpenAI API; provided for dashboards. For credits, Pro status and payments, use /api/credits.

Shell
curl -s "$IDYL_BASE_URL/api/usage" -H "Authorization: Bearer $IDYL_API_KEY"
JSON
{
  "wallet": "8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx",
  "day": "2026-11-21",
  "tokensUsed": 36,
  "dailyFreeTokens": 200000,
  "remainingTokens": 199964,
  "resetsAt": "2026-11-22T00:00:00.000Z",
  "unbound": true
}

GET /api/guest/challenge#

Returns a proof-of-work challenge. Single-use; expires after 5 minutes. An address that has already received its 3 tokens for the day gets 429 guest_ip_limit here, before it does any work.

JSON
{
  "challenge": "f9ed0b6a0ff68aaa3fbe6d9b060ca0d4",
  "difficulty": 18,
  "expiresAt": "2026-11-22T02:16:23.597Z",
  "algorithm": "sha256(\"<challenge>:<counter>\")"
}

difficulty is the number of leading zero bits required of sha256("<challenge>:<counter>"). The default is 18 (IDYL_GUEST_POW_BITS).

POST /api/guest#

FieldTypeDescription
challengestringA challenge from GET /api/guest/challenge
counterinteger or stringA non-negative integer that satisfies the challenge
JSON
{
  "guestToken": "idyl_gt_6417aypUK912nMiwRDeEC93Z89HymCtzm6GuNFK85zv7",
  "messagesLeft": 10,
  "expiresAt": "2026-11-23T02:11:23.609Z",
  "resetsAt": "2026-11-23T00:00:00.000Z",
  "limits": {
    "messagesPerDay": 10,
    "privacy": "community",
    "tier": "open",
    "maxModelMemGb": 12,
    "maxPromptChars": 4000,
    "maxCompletionTokens": 512,
    "models": ["llama3.1:8b", "qwen2.5:7b", "mistral:7b", "deepseek-r1:8b", "qwen3:8b", "qwen3:14b", "gemma3:12b"]
  }
}

The token is shown once; the Gateway keeps only its SHA-256. It is valid for 24 hours. Errors: 400 invalid_challenge (unknown, used or expired), 400 invalid_pow (the proof does not hold; request a new challenge), 429 guest_ip_limit, 503 guest_capacity.

GET /api/guest#

With Authorization: Bearer idyl_gt_…. Returns { messagesLeft, messagesPerDay, resetsAt, expiresAt, limits }. An unknown or expired token returns 401 guest_token_expired.

Chat#

GET /v1/models#

Selectable models currently served by at least one connected node, in the OpenAI list format. The idyl object is an extension with node count, target rates, display name and tier. The guard model is never listed. For the full catalog, including models no node serves right now, use /api/catalog.

Shell
curl -s "$IDYL_BASE_URL/v1/models"
JSON
{
  "object": "list",
  "data": [
    {
      "id": "llama3.1:8b",
      "object": "model",
      "created": 1795275408,
      "owned_by": "idyl-network",
      "idyl": { "nodes": 2, "priceInPerMTok": 0.03, "priceOutPerMTok": 0.05, "name": "Llama 3.1 8B", "tier": "open", "speed": { "tokPerSec": 41, "firstTokenMs": 620 } }
    },
    {
      "id": "huihui_ai/qwen3-abliterated:8b",
      "object": "model",
      "created": 1795275412,
      "owned_by": "idyl-network",
      "idyl": { "nodes": 1, "priceInPerMTok": 0.05, "priceOutPerMTok": 0.08, "name": "Qwen3 8B Unbound", "tier": "unbound" }
    }
  ]
}

idyl.speed appears once a node has served a model at least three times: the fastest online node's generation speed (tokens per second) and median time to the first token, measured by the gateway on real requests.

GET /v1/models/{id} returns a single entry, or 404 model_not_found if no online node serves it. Listing an Unbound model does not require an attestation; calling one does.

Model ids. Canonical ids are Ollama tags. Common aliases — Hugging Face ids such as meta-llama/llama-3.1-8b-instruct, or untagged names such as llama3.1 — resolve to the canonical id.

ModelModel idTierInputOutputFree tierGuests
Llama 3.1 8Bllama3.1:8bopen$0.03$0.05YesYes
Qwen 2.5 7Bqwen2.5:7bopen$0.03$0.05YesYes
Mistral 7Bmistral:7bopen$0.03$0.05YesYes
Qwen3 8Bqwen3:8bopen$0.03$0.05YesYes
DeepSeek R1 Distill 8Bdeepseek-r1:8bopen$0.04$0.08YesYes
Qwen3 14Bqwen3:14bopen$0.05$0.10YesYes
Gemma 3 12Bgemma3:12bopen$0.05$0.10YesYes
gpt-oss 20Bgpt-oss:20bopen$0.06$0.20YesNo
Qwen 2.5 Coder 32Bqwen2.5-coder:32bopen$0.10$0.25YesNo
Llama 3.3 70Bllama3.3:70bopen$0.20$0.40YesNo
Qwen3.6 27Bqwen3.6:27bopen$0.10$0.25YesNo
Qwen3.6 35B-A3Bqwen3.6:35b-a3bopen$0.08$0.25YesNo
Gemma 4 31Bgemma4:31bopen$0.10$0.25YesNo
Gemma 4 26B-A4Bgemma4:26bopen$0.06$0.20YesNo
Gemma 4 12Bgemma4:12bopen$0.05$0.10YesYes
Gemma 4 E4Bgemma4:e4bopen$0.03$0.05YesYes
Gemma 4 E2Bgemma4:e2bopen$0.02$0.03YesYes
Llama 3.2 3B Unboundhuihui_ai/llama3.2-abliterate:3bunbound$0.03$0.05YesNo
Qwen3 8B Unboundhuihui_ai/qwen3-abliterated:8bunbound$0.05$0.08YesNo
DeepSeek R1 8B Unboundhuihui_ai/deepseek-r1-abliterated:8bunbound$0.06$0.12YesNo
Gemma 3 12B Unboundhuihui_ai/gemma3-abliterated:12bunbound$0.07$0.14YesNo
Qwen3 14B Unboundhuihui_ai/qwen3-abliterated:14bunbound$0.08$0.16YesNo
gpt-oss 20B Unboundhuihui_ai/gpt-oss-abliterated:20bunbound$0.09$0.30NoNo
Mistral Small 24B Unboundhuihui_ai/mistral-small-abliterated:24bunbound$0.10$0.30NoNo
Qwen3 32B Unboundhuihui_ai/qwen3-abliterated:32bunbound$0.15$0.38NoNo
Llama 3.3 70B Unboundhuihui_ai/llama3.3-abliterated:70bunbound$0.30$0.60NoNo
Qwen3.6 27B Unboundhuihui_ai/qwen3.6-abliterated:27bunbound$0.15$0.38NoNo
Qwen3.6 35B-A3B Unboundhuihui_ai/qwen3.6-abliterated:35b-a3bunbound$0.12$0.35NoNo
Any other model—open (unless the tag marks it Unbound)$0.05$0.10Open: yes. Unbound: noNo

USD per 1M tokens, Community grade. Target rate, beta. Sealed is 1.3× these rates and is never in the free tier. "Free tier: No" means the model needs credits or a Pro allowance.

POST /v1/chat/completions#

Creates a chat completion. Compatible with the OpenAI Chat Completions request and response formats. Every request passes The Floor before it is routed.

Request headers

HeaderNotes
AuthorizationBearer idyl_sk_… or Bearer idyl_gt_…
x-idyl-privacyOptional. community (default) or sealed. The body field idyl.privacy is equivalent

Request body

FieldTypeNotes
modelstringRequired. Canonical id or alias. Unbound models require an attested wallet; the guard model is not selectable
messagesarrayRequired, 1–512 entries. Roles system, user, assistant, tool, developer (treated as system). Content is a string or an array of text / image_url parts
streambooleanServer-sent events when true
stream_options.include_usagebooleanAdds a final chunk with usage when streaming
temperaturenumber0–2
top_pnumber0–1
max_tokens / max_completion_tokensinteger1–131,072. Limited to 512 for guests
stopstring or string[]Up to 4 sequences
seedintegerPassed to the runtime; outputs can still differ across nodes
presence_penalty, frequency_penaltynumber−2 to 2
response_formatobjecttext, json_object or json_schema, if the node's runtime supports it
tools, tool_choicearray, anyUp to 64 tools, if the model and runtime support tool calling
reasoning_effortstringnone, minimal, low, medium or high, for thinking models. none turns thinking off where the model allows it. A node may default a slow model to none; set it to get the thinking back
nintegerOnly 1 is supported
idyl.privacystringOptional. community or sealed

image_url parts carry the image inline as a data: URL (data:image/png;base64,…); they are passed through to the node and are useful only with vision-capable models. A remote image URL (https://…, http://… or any other scheme) is refused with 400 unsupported_value and param naming the part (messages[i].content[j].image_url.url): nodes are other people's computers, and their runtime (vLLM, the llama.cpp server) would download the URL from the operator's own network. Nodes check this again themselves, because the gateway cannot read an end-to-end Sealed request: a sealed request with a remote image URL fails with sealed_bad_request, before The Floor or the model runs. The Floor classifies text parts only.

Order of checks. Identity and rate limits; request validation; the privacy grade (invalid_privacy); model access (model_not_selectable, unbound_attestation_required); sealed capacity for a Sealed request (sealed_unavailable); admission, which decides what pays (guest allowance, then Pro allowance, then credits, then the free tier); model availability (model_unavailable); The Floor; routing. A request that fails an earlier check never reaches a later one, so a Sealed request for a model with no sealed capacity is answered 503 before anyone is asked to pay.

Non-streaming response

JSON
{
  "id": "chatcmpl-6dbcf7def1049a51bc2d9676",
  "object": "chat.completion",
  "created": 1795275409,
  "model": "llama3.1:8b",
  "system_fingerprint": "idyl-beta",
  "choices": [
    {
      "index": 0,
      "message": { "role": "assistant", "content": "Idle hands, paid." },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 14, "completion_tokens": 4, "total_tokens": 18 },
  "idyl": { "node": "HBAWL9K6DdkqoVdE96Fz1beC9L2rpeqisrHe4hRBQjsH", "job": "6dbcf7def1049a51bc2d9676", "attempts": 1, "floor": "pass" }
}

The idyl object is an extension: the serving node, the job id, the number of attempts (more than 1 if the Gateway failed over) and The Floor's outcome. Reasoning models may add message.reasoning_content.

Streaming response

Shell
curl -sN "$IDYL_BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $IDYL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama3.1:8b","stream":true,"stream_options":{"include_usage":true},
       "messages":[{"role":"user","content":"Say something about idle GPUs."}]}'
Text
data: {"id":"chatcmpl-282b…","object":"chat.completion.chunk","created":1795275409,"model":"llama3.1:8b","system_fingerprint":"idyl-beta","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}

data: {"id":"chatcmpl-282b…","object":"chat.completion.chunk","created":1795275409,"model":"llama3.1:8b","system_fingerprint":"idyl-beta","choices":[{"index":0,"delta":{"content":"Idle "},"logprobs":null,"finish_reason":null}]}

data: {"id":"chatcmpl-282b…","object":"chat.completion.chunk","created":1795275409,"model":"llama3.1:8b","system_fingerprint":"idyl-beta","choices":[{"index":0,"delta":{"content":"hands, paid."},"logprobs":null,"finish_reason":null}]}

data: {"id":"chatcmpl-282b…","object":"chat.completion.chunk","created":1795275409,"model":"llama3.1:8b","system_fingerprint":"idyl-beta","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}

data: {"id":"chatcmpl-282b…","object":"chat.completion.chunk","created":1795275409,"model":"llama3.1:8b","system_fingerprint":"idyl-beta","choices":[],"usage":{"prompt_tokens":14,"completion_tokens":4,"total_tokens":18}}

data: [DONE]

If a node fails after output has started, the Gateway cannot retry without duplicating text. The stream then carries one final event, data: {"error": {...}}, and closes without [DONE]. Output already delivered is billed.

Response headers#

HeaderMeaning
x-idyl-privacyThe grade actually served: community, sealed-relay or sealed-e2e (with -simulated appended on a development Gateway using simulated attestation)
x-idyl-sealed-bySealed · relay only: node when an attested IDYL sealed node served the request (node-simulated on a development Gateway), or provider:<name> when a configured sealed provider did
x-idyl-attestationSealed · end-to-end only: the id of the attestation of the enclave key the request was encrypted to, for /api/attestations/{id}. For a relay reply, look the serving node up with x-idyl-node at /api/attestations/by-node/{nodeId}
x-idyl-nodePublic key of the node that served the request (absent on a care response and on provider-served requests)
x-idyl-floorThe Floor's outcome: pass, prefilter-only, care or blocked
x-idyl-job, x-request-idJob id; quote it when reporting a problem
x-idyl-credits-remainingCredit-paid requests: the wallet's balance in USD, with six decimals. On a non-streamed reply it is the balance after the charge; on a streamed reply, the balance when the request was admitted
x-idyl-proRequests paid by a Pro allowance: pro or pro_plus
x-idyl-guest-remainingGuest requests: requests left today for this guest token
x-ratelimit-limit-tokensThe daily allowance that applies: the free tier, or the Pro allowance when it paid
x-ratelimit-remaining-tokensThat allowance's remainder when the request was admitted
retry-afterSeconds to wait, on 429 and 503 responses

Browsers on another origin can read all of these: they are listed in Access-Control-Expose-Headers on every /api/ and /v1/ response.

The Floor#

The Floor checks every chat request after the access checks, admission and the availability check, and before routing. Its full design is in the Whitepaper, Section 10; the policy is in UNBOUND.md.

OutcomeHTTPx-idyl-floorWhat the caller receives
Pass200passA normal completion from a node
Prefilter only (Open model, no guard verdict)200prefilter-onlyA normal completion; only the local prefilter ran
Care (S11)200careA short assistant message with a link to findahelpline.com; idyl.floor = "care", idyl.node = null, zero usage. No model is involved and nothing is charged
Blocked (S3, S4, S9 or prefilter)451blockedError floor_blocked; the body adds idyl: { floor: "blocked", categories }. For S4, the message names reporting hotlines. Nothing is charged
Unavailable (Unbound model, no guard verdict)503—Error floor_unavailable with Retry-After: 5

Sealed requests. A Sealed · relay request is classified only by the operator's guard endpoint or by a sealed node, never by a Community guard node. A Sealed · end-to-end request is classified inside the enclave; the outcome is delivered inside the encrypted stream (below), not as an HTTP status.

Care response. Streaming and non-streaming requests both receive a well-formed completion, so clients render it like any reply:

JSON
{
  "id": "chatcmpl-0f6b2c9d8e7a6b5c4d3e2f10",
  "object": "chat.completion",
  "created": 1795275409,
  "model": "llama3.1:8b",
  "system_fingerprint": "idyl-beta",
  "choices": [
    {
      "index": 0,
      "message": { "role": "assistant", "content": "I'm really sorry you're going through this. You deserve support from a real person right now. If you might act on thoughts of hurting yourself, please call your local emergency number. You can find free, confidential helplines in your country at https://findahelpline.com. Talking to someone can help." },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 0, "completion_tokens": 0, "total_tokens": 0 },
  "idyl": { "node": null, "job": null, "floor": "care" }
}

Blocked response.

JSON
{
  "error": {
    "message": "Blocked by The Floor (S9 Indiscriminate Weapons). IDYL does not serve this content.",
    "type": "invalid_request_error",
    "param": null,
    "code": "floor_blocked"
  },
  "idyl": { "floor": "blocked", "categories": ["S9"] }
}

The OpenAI SDKs raise a 451 as an API error; read error.code to tell it apart from other failures. Do not retry a floor_blocked request unchanged.

Sealed#

Nothing in this section has been validated on real confidential-computing hardware. The endpoints work and are tested with a simulated attester only, and the examples below were captured from one, which is why they say simulated. Read the honest limits before relying on Sealed. The wire protocol and its threat model are specified in the Sealed protocol.

There are two ways to use Sealed.

Sealed · relaySealed · end-to-end
EndpointPOST /v1/chat/completions with x-idyl-privacy: sealedPOST /v1/sealed/chat/completions
ClientAny OpenAI clientThe client module apps/web/assets/sealed-client.js (browser or Node.js 22), or your own implementation of the Sealed protocol
The Gateway seesThe request, in memory, and everything in the next columnCiphertext only, and around it: your wallet, your IP address, the model, timing, sizes (padded), token counts, and The Floor's outcome and category ids
Served byAn attested sealed node; if none serves the model, a configured sealed providerThe one attested node whose key you encrypted to
FailoverAmong sealed nodesNone: fetch keys again, encrypt again, retry
Response headersx-idyl-privacy: sealed-relay, x-idyl-sealed-byx-idyl-privacy: sealed-e2e, x-idyl-attestation
Tool callsPassed throughNot in version 1 of the protocol

What Sealed protects, and what it does not#

Read this before you rely on either grade. The full threat model is in the Sealed protocol.

What end-to-end rests on.

  • The client module checks the attestation binding: that both evidence tokens carry the hash of the Gateway's nonce, the node id and the enclave key you encrypt to. It does not verify the vendors' signatures on those tokens.
  • The Gateway verified those signatures when the node attested. Anyone can verify them again, without taking the Gateway's word, with npm run verify:attestation -- <gateway> <attestationId> (below).
  • Without that step, end-to-end protects a request from a Gateway that is curious or breached, not from one that substitutes keys. The Gateway is the party that lists the keys.
  • In the web app, the JavaScript that encrypts is served by the same Gateway that relays the ciphertext. Running the open-source client yourself, from code you control, removes that trust.

What the Gateway sees at every grade. Your wallet, your IP address, the model, the timing, the sizes, the token counts, and The Floor's outcome and category ids. End-to-end hides the content of the request and of the reply, and nothing else. Sizes are padded coarsely: a request to the next 256 bytes, each reply frame to the next 16 bytes. Timing is not hidden.

What a verification level proves.

  • hardware proves genuine hardware. It does not prove the software image that runs inside the enclave.
  • measured needs published, reproducible node images to compare against. None is published yet. A Gateway operator can configure an allow-list of their own (IDYL_SEALED_MEASUREMENTS), but until images are published and reproducible, a measured result means little to anyone else.
  • The GPU token and the CPU token share one thing only: the nonce binding. That shows a genuine GPU answered for this nonce and that this enclave holds the key. It does not show that this enclave computes on that GPU.

Limits of version 1 of the protocol.

  • No tool calls in end-to-end requests.
  • No forward secrecy on the enclave's side beyond a per-boot key. Someone who records the ciphertext and later obtains that key, while it still exists, can read every request sent to it and every reply.
  • Not post-quantum.
  • No Floor check of what the model writes. The Floor classifies the request only, at every grade.
  • Padding is coarse and timing is not hidden.

GET /api/sealed/keys#

Lists the enclave keys of online, unpaused sealed nodes, measured nodes first, and says whether Sealed · relay is available.

Query parameterRequiredDescription
modelNoModel id. Without it, keys for every model are listed
Shell
curl -s "$IDYL_BASE_URL/api/sealed/keys?model=llama3.1:8b"
JSON
{
  "keys": [
    {
      "nodeId": "FuPvAnuTXQ4dz1FLTvgty9qz1Ez2zjEePRC1wGwux37w",
      "keyId": "ZPK5UF04gK6W1MWcWVP8lgs673tbsAvx0vsjfX7t3us",
      "publicKey": "BFZAVl/SHXHyq0Hnl3Heq+KZE/DuLIn2arzIt8S1rl+XHDVUO4ZYQn727tuoPst3g9nk0OrbikoCBg3CbtIcEKw=",
      "attestationId": "979510cfb147a01909127b9db8a98812",
      "verification": "simulated",
      "gpu": { "issuer": "SIMULATED GPU attester - dev only", "simulated": true, "bindingClaim": "eat_nonce", "…": "…" },
      "cpuTee": { "issuer": "SIMULATED CPU TEE attester - dev only", "simulated": true, "bindingClaim": "attester_held_data", "measurements": { "tdx_mrtd": "b257…", "…": "…" }, "measured": false, "matchedMeasurement": null, "…": "…" },
      "verifiedAt": "2026-11-22T02:18:43.637Z",
      "expiresAt": "2026-11-23T02:18:43.000Z",
      "models": ["llama3.1:8b"],
      "privacy": "sealed-e2e-simulated"
    }
  ],
  "multiplier": 1.3,
  "notice": "IDYL Sealed has not yet been validated on real confidential-computing hardware. Treat every attestation shown here as unproven until that validation is published.",
  "relay": { "available": true, "privacy": "sealed-relay-simulated", "sealedBy": "node-simulated" }
}
FieldMeaning
keyIdbase64url(SHA-256(public key)), 43 characters. Identifies the key in an envelope
publicKeyThe enclave's ECDH P-256 public key: 65 raw bytes, Base64
attestationIdThe attestation this key is bound to
verificationmeasured, hardware or simulated. Under hardware, the software inside the enclave is not proven
gpu, cpuTeeA summary of each vendor token: issuer, algorithm, times, the claim that carries the binding, the claims the Gateway required, and for the CPU token its measurements and whether they matched the allow-list
privacyThe grade an end-to-end request to this key will be labelled with
multiplierThe Sealed price multiplier, before any Pro discount
noticeThe standing statement that Sealed has not been validated on real hardware
relayWhether a Sealed · relay request for this model can be served right now, at which grade and by what

An empty keys array means no end-to-end capacity for that model right now.

GET /api/sealed/stats#

Counts only: sealed nodes online by verification level, the issuers this Gateway trusts and whether it accepts simulated ones (allowSimulated), how many measurements are on the allow-list, the attestation lifetime policy, attestations verified and rejected (by reason), end-to-end and relay request counts (endToEnd.failed: the node failed; endToEnd.refused: the enclave refused the request as invalid), and The Floor's outcomes as reported by enclaves. Use it to see how a Gateway is configured before you trust its Sealed labels: a Gateway with allowSimulated: true is a development Gateway.

POST /v1/sealed/chat/completions#

A Sealed · end-to-end chat completion. The request and the reply are encrypted with the IDYL Sealed Channel (ISC1); the Gateway relays ciphertext and holds no key that opens it.

Request body

FieldTypeNotes
modelstringRequired. The canonical model id, in the clear, for access checks and pricing. It is also bound into the ciphertext
streambooleanServer-sent events when true
sealedobjectRequired. The ISC1 envelope: { v: 1, keyId, epk, iv, ct }, binary fields in Base64

The body must not contain messages.

Envelope fieldMeaning
vProtocol version: 1
keyIdThe enclave key the request is encrypted to
epkThe caller's ephemeral P-256 public key, new for every request
ivA random 12-byte AES-GCM nonce
ctAES-256-GCM ciphertext followed by its 16-byte tag. The plaintext is JSON { v: 1, model, messages, params, ts }

The Gateway authenticates the key, applies rate limits and model access rules, admits the request against credits, and delivers the envelope to the node that holds keyId. Unlike the plain endpoint, it cannot check the request's content: validation and The Floor run inside the enclave.

Streaming response

Text
data: {"sealed":{"n":0,"ct":"k0Jf…"}}

data: {"sealed":{"n":1,"ct":"Zb81…"}}

data: {"sealed":{"n":2,"ct":"Qm3x…"}}

data: [DONE]

Non-streaming response

JSON
{
  "id": "sealed-778612362112d5d287c61dc6",
  "object": "idyl.sealed.completion",
  "model": "llama3.1:8b",
  "sealed": [
    { "n": 0, "ct": "k0Jf…" },
    { "n": 1, "ct": "Zb81…" },
    { "n": 2, "ct": "Qm3x…" }
  ]
}

Each frame decrypts, with the response key and its frame number, to one of:

Frame plaintextMeaning
{"d": {"content": "…", "reasoning": "…"}}A piece of the reply. Either member may be absent
{"done": true, "finish_reason", "usage", "floor": {"outcome", "categories"}, "message"}The last frame, exactly one. floor.outcome is pass, prefilter-only, blocked, care or unavailable; message carries the refusal, the care message or an explanation when there is no reply

A client must reject a missing frame, a frame out of order, a frame after the last one, and a stream that ends without the done frame. When The Floor's outcome inside the enclave is blocked, care or unavailable, no inference runs and the request is not billed. The Gateway learns the outcome and the category ids in plaintext, for its public counters, and has to take the enclave's word for them.

Response headers: x-idyl-privacy: sealed-e2e, x-idyl-attestation, x-idyl-node, x-idyl-job, and x-idyl-credits-remaining. Do not base a security decision on them: they come from the Gateway. What is cryptographically bound is the key you encrypted to.

Errors specific to this endpoint

StatuscodeWhen
400invalid_envelope, model_not_canonical, plaintext_not_allowedThe request is not a valid sealed request: a malformed envelope (including an epk that is not a point on P-256), a model alias instead of the canonical id, or a messages field
402credits_required, insufficient_creditsSealed is never free
409sealed_key_unavailableNo online sealed node holds keyId and serves the model. Fetch the keys again, encrypt again and retry
502upstream_failedThe enclave refused or failed the request. The message names the enclave's reason code, for example sealed_replayed_request or sealed_stale_request (the device clock is more than 5 minutes slow or 1 minute fast)
502sealed_frame_invalidThe node returned something that is not a frame sequence
503sealed_unavailable, capacity_unavailableNo capacity

Failures are never encrypted. A request the enclave cannot open — a wrong key, a damaged or replayed envelope, a stale timestamp — is answered with a plaintext failure code and no encrypted frame. When the code says the request itself was at fault (sealed_bad_request, sealed_model_mismatch, sealed_stale_request, sealed_future_request, sealed_replayed_request, sealed_decrypt_failed), the Gateway does not hold it against the node: no reliability cost, and it is not counted as a failed request in the network statistics (endToEnd.refused in GET /api/sealed/stats counts it). The enclave encrypts nothing for a request that did not open: an encrypted error would reuse a key and nonce once the genuine request arrived. Replays are refused without relying on the enclave's clock, which the host controls: the enclave keeps the client key of every request it accepted (up to 100,000, refusing new requests when full) and a watermark below which nothing is accepted again. A failure after the stream has started arrives as data: {"error":{…}}, and the stream ends.

With the client module. The same module runs in IDYL Chat and in Node.js 22. examples/sealed-e2e.mjs is a complete program.

JavaScript
import { listSealedKeys, sealedChat, checkBinding, SealedError } from "./apps/web/assets/sealed-client.js";

const base = process.env.IDYL_BASE_URL;
const keys = await listSealedKeys(base, "llama3.1:8b");            // measured keys first
const key = keys.find((k) => k.verification === "measured") ?? keys[0];
if (!key) throw new Error("no end-to-end capacity for this model");

const reply = await sealedChat({
  base,
  apiKey: process.env.IDYL_API_KEY,
  model: "llama3.1:8b",
  messages: [{ role: "user", content: "Summarise this contract clause." }],
  params: { temperature: 0.2 },
  key,
  onDelta: (d) => process.stdout.write(d.content ?? ""),
});
console.log(reply.privacy, reply.verification, reply.attestationId, reply.usage, reply.floor);

const summary = await (await fetch(`${base}/api/attestations/${reply.attestationId}?evidence=1`)).json();
console.log(checkBinding(summary, { keyId: reply.keyId }));           // { ok, reason, binding, checks }

sealedChat resolves to { content, reasoning, finishReason, usage, floor, message, attestationId, nodeId, jobId, privacy, keyId, verification }. It throws a SealedError whose .code is the Gateway's error code for an HTTP failure, or one of frame_gap, frame_reordered, frame_auth_failed, frame_malformed, frame_after_done, truncated for an integrity failure (with .partial holding the text authenticated so far).

checkBinding recomputes the binding from an attestation record and compares it with the binding claims inside both evidence tokens. It does not verify the tokens' signatures. It shows that the record is consistent, not that the hardware is genuine; for that, use the verifier below.

GET /api/attestations/{id}#

One attestation record. GET /api/attestations/by-node/{nodeId} returns a node's current record. Add ?evidence=1 for the raw vendor tokens. An unknown id returns 404 attestation_not_found. The most recent ended attestations stay readable for 24 hours, marked with the reason they ended.

Shell
curl -s "$IDYL_BASE_URL/api/attestations/979510cfb147a01909127b9db8a98812?evidence=1"
JSON
{
  "attestationId": "979510cfb147a01909127b9db8a98812",
  "nodeId": "FuPvAnuTXQ4dz1FLTvgty9qz1Ez2zjEePRC1wGwux37w",
  "keyId": "ZPK5UF04gK6W1MWcWVP8lgs673tbsAvx0vsjfX7t3us",
  "publicKey": "BFZAVl/SHXHyq0Hnl3Heq+KZE/DuLIn2arzIt8S1rl+XHDVUO4ZYQn727tuoPst3g9nk0OrbikoCBg3CbtIcEKw=",
  "verification": "simulated",
  "status": "current",
  "sealed": true,
  "gpu": { "issuer": "SIMULATED GPU attester - dev only", "iss": "http://127.0.0.1:36993/simulated/gpu", "simulated": true, "alg": "ES256", "bindingClaim": "eat_nonce", "bindingEncoding": "hex", "claims": { "x-nvidia-overall-att-result": true }, "…": "…" },
  "cpuTee": { "issuer": "SIMULATED CPU TEE attester - dev only", "simulated": true, "alg": "ES256", "bindingClaim": "attester_held_data", "bindingEncoding": "base64", "claims": { "attester_type": "TDX" }, "measurements": { "tdx_mrtd": "b257…", "…": "…" }, "measured": false, "matchedMeasurement": null, "…": "…" },
  "verifiedAt": "2026-11-22T02:18:43.637Z",
  "expiresAt": "2026-11-23T02:18:43.000Z",
  "expiryPolicy": "token",
  "nonce": "fee0aabd63254709af1ae7c741744b13346d44d4e21fb5a54d89067e1608154e",
  "binding": "60de5ba6938def338c53dabe64f2b7cf74ab8e76dd785612bcbcf002cf8f420f",
  "tokenSha256": { "gpu": "e0f63d1e…", "cpu": "6c5320c6…" },
  "privacy": { "e2e": "sealed-e2e-simulated", "relay": "sealed-relay-simulated" },
  "explanation": "SIMULATED. Development only: no confidential hardware is involved and nothing is protected.",
  "notice": "IDYL Sealed has not yet been validated on real confidential-computing hardware. Treat every attestation shown here as unproven until that validation is published.",
  "evidence": { "gpu": "<JWT>", "cpu": "<JWT>" }
}
FieldMeaning
verificationmeasured: the tokens are valid and the CPU token's measurements match a published node image on the Gateway's allow-list. hardware: the tokens are valid and the hardware is genuine; which software runs inside the enclave is not proven. simulated: development only; proves nothing
explanationThe same, in one sentence, for display
status, sealedcurrent while the attestation is in force. It ends when it expires, when the node attests again, registers again or loses contact
nonce, bindingThe Gateway's nonce and SHA-256("ISC1-BIND" ‖ nonce ‖ nodeId ‖ publicKey). Both tokens must carry this binding
tokenSha256SHA-256 of each vendor token
evidenceThe raw tokens; present only with ?evidence=1
expiresAt, expiryPolicyBy default (token) the earliest token expiry, and never more than 24 hours after verifiedAt. An operator can set a shorter fixed lifetime (fixed)

Verify an attestation yourself#

The Gateway's word is not the proof: the Gateway is the party that lists the keys and verified the tokens, so a dishonest Gateway could list a key of its own with made-up evidence. checkBinding does not catch that. The repository's verifier does. It fetches the evidence, verifies the token signatures against key sets it fetches from the issuers itself, recomputes the key id and the binding, re-derives the verification level from its own configuration, and prints PASS or FAIL for each check. It never asks the Gateway which issuers to trust.

Shell
npm run verify:attestation -- "$IDYL_BASE_URL" 979510cfb147a01909127b9db8a98812
# or by node id; fail unless the level is at least "hardware":
npm run verify:attestation -- "$IDYL_BASE_URL" <nodeId> --require hardware
OptionMeaning
--issuers <json or @file>The issuers to trust, in the format of IDYL_ATTESTATION_ISSUERS. Default: the built-in NVIDIA and Intel issuers
--measurements <json or @file>Published node images, in the format of IDYL_SEALED_MEASUREMENTS, for the measured level
--require measured or hardwareFail unless this run verified at least that level
--allow-expiredJudge the tokens at the time the Gateway verified them, for an attestation that has ended
--allow-simulatedAccept issuers marked simulated. Development only
--jsonOne JSON object instead of text

Exit code 0 means every check passed, 1 that at least one failed, 2 that it could not run. Output from a development Gateway with the simulated attester (abridged):

Text
PASS  summary              attestation e03c1279… of node BA3KJyQ3…, fetched with evidence
PASS  enclave key          keyId = base64url(sha256(publicKey)) = NaU_Tc5o…
PASS  binding              sha256("ISC1-BIND" || nonce || nodeId || publicKey) = 6883583b…
PASS  evidence             token hashes match the summary
PASS  gpu token signature  ES256 kid nMev8cSZ… verified with the key set at http://127.0.0.1:44961/.well-known/jwks.json
PASS  gpu token binding    claim eat_nonce (hex) equals the recomputed binding
PASS  cpu token signature  …
PASS  cpu token binding    claim attester_held_data (base64) equals the recomputed binding
PASS  level                "simulated" — the same as the gateway reports
INFO  simulated            SIMULATED tokens: no confidential hardware is involved and nothing is protected

RESULT: PASS — verified level: simulated (SIMULATED, development only)

Run without --allow-simulated, the same attestation fails at gpu issuer, as it should: a simulated issuer is not a trusted one.

A PASS means the tokens are genuine tokens from the configured issuers, bound to this node id, this enclave key and the Gateway's nonce. It does not prove what the vendors' services checked internally, and at level hardware it does not prove which software runs inside the enclave. Until Sealed has run on real hardware nobody, including us, has seen this verifier pass against real vendor tokens.

Credits and payments#

Credits are a prepaid USD balance per wallet. See Pricing for the plain-language version.

  • A request is paid from credits when the free tier does not cover it (any Sealed request; an Unbound model that needs more than 12 GB) or when the daily allowance is used up.
  • To start a credit-paid request, the wallet needs a balance of at least $0.001 that is not reserved by its other requests in flight. The Gateway reserves an estimate while a request runs and charges the real cost when it completes: tokens × the model's rate, times 1.3 for Sealed, less the Pro discount on Sealed.
  • Credits are spent soonest-expiring first, then oldest first. Purchased credits do not expire. Credit-pool credits expire after 30 days; promotional credits expire if the operator set an expiry.
  • A balance can dip to −$0.01 on the last request. The next credits added repay that first. Anything beyond it is written off, and no node is paid for it.
  • Pay with $IDYL: 10% off. Your tokens pay the node that did the work; the protocol's cut is burned. Credits bought with $IDYL keep the tokens that bought them. As those credits are spent on node-served work, 85/90 of the tokens behind the amount spent become owed to the serving node in $IDYL and 5/90 are queued for burning. When a sealed provider served the request, the tokens go to the treasury instead. The protocol never sells them. The option is off until the token exists.

GET /api/credits#

Shell
curl -s "$IDYL_BASE_URL/api/credits" -H "Authorization: Bearer $IDYL_API_KEY"
JSON
{
  "wallet": "8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx",
  "balanceUsd": 24.998804,
  "availableUsd": 24.998804,
  "credits": { "purchasedUsd": 19.998804, "poolUsd": 0, "promoUsd": 5, "overdraftUsd": 0 },
  "expiring": [{ "usd": 5, "expiresAt": "2026-12-22T02:18:44.332Z", "kind": "promo" }],
  "pro": null,
  "freeTier": { "limit": 200000, "remaining": 0, "resetsAt": "2026-11-23T00:00:00.000Z", "plan": "free" },
  "payments": [
    { "at": "2026-11-21T15:20:11.000Z", "method": "solana", "asset": "USDC", "amountUsd": 20, "creditUsd": 20, "units": "20000000", "reference": "9xQe…", "signature": "5hG2…" }
  ],
  "spend": { "todayUsd": 0.001196, "last7dUsd": 0.001196 },
  "methods": { "solana": true, "stripe": false },
  "payInIdyl": { "enabled": false, "discount": 0.1, "note": "Pay with $IDYL: 10% off. Your tokens pay the node that did the work; the protocol's cut is burned." },
  "limits": { "minUsd": 1, "maxUsd": 1000, "dailyCapUsd": 2000 }
}
FieldMeaning
balanceUsdThe balance across all lots, less any overdraft
availableUsdThe balance less what requests in flight have reserved
creditsThe balance by kind: purchased, credit-pool, promotional, and the overdraft owed
expiringLots with an expiry, soonest first. They are spent first
proThe wallet's Pro status, or null
freeTierThe daily allowance that applies: the free tier (plan: "free"), or the Pro allowance that replaces it (plan: "pro" or "pro_plus")
paymentsThe last 20 payments. A record holds the method, the asset, the amounts, the units, the reference and the transaction signature or Stripe session id, and the time. No email, name or IP address
spendCredits consumed today and over the last 7 days
methods, limitsWhich payment methods are enabled, and the purchase limits
payInIdylWhether paying in $IDYL is enabled on this Gateway, the discount, and the rule in one sentence

GET /api/pay/methods#

Lists the payment methods this Gateway has enabled, the assets it accepts and its limits. A method that is not configured is reported as disabled with the reason, and its endpoints answer 503 payments_unavailable.

JSON
{
  "solana": {
    "enabled": true,
    "recipient": "8fDqgzX9KAZVkXi2e33tyQaa3JtZiia8JKPDVY8yGHsU",
    "cluster": "mainnet-beta",
    "commitment": "confirmed",
    "intentTtlSec": 900,
    "assets": {
      "USDC": { "enabled": true, "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "decimals": 6 },
      "SOL": { "enabled": true, "mint": null, "decimals": 9, "price": "feed" },
      "IDYL": { "enabled": false, "mint": null, "decimals": 6, "price": null, "discount": 0.1, "note": "Pay with $IDYL: 10% off. Your tokens pay the node that did the work; the protocol's cut is burned.", "reason": "Paying in $IDYL is not enabled: the token mint is not configured (IDYL_TOKEN_MINT)" }
    }
  },
  "stripe": { "enabled": false, "reason": "STRIPE_SECRET_KEY is not set" },
  "limits": { "minUsd": 1, "maxUsd": 1000, "dailyCapUsd": 2000 },
  "credits": { "minBalanceToStartUsd": 0.001, "overdraftFloorUsd": -0.01, "sealedMultiplier": 1.3, "payInIdylDiscount": 0.1 }
}

solana.recipient is the treasury address. Compare it with the address published in the repository before you pay.

POST /api/pay/solana/intent#

Creates a payment request.

FieldTypeDescription
amountUsdnumber1 to 1,000, with at most two decimals. The amount to pay, in USD
assetstringUSDC (default), SOL or IDYL
Shell
curl -s -X POST "$IDYL_BASE_URL/api/pay/solana/intent" \
  -H "Authorization: Bearer $IDYL_API_KEY" -H "Content-Type: application/json" \
  -d '{"amountUsd":20,"asset":"USDC"}'
JSON
{
  "intentId": "pi_3vQB7B6MrGtZucNq",
  "recipient": "8fDqgzX9KAZVkXi2e33tyQaa3JtZiia8JKPDVY8yGHsU",
  "asset": "USDC",
  "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "decimals": 6,
  "amount": "20",
  "units": "20000000",
  "reference": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin",
  "solanaPayUrl": "solana:8fDqgzX9KAZVkXi2e33tyQaa3JtZiia8JKPDVY8yGHsU?amount=20&spl-token=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&reference=9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin&label=IDYL&message=IDYL%20credits%20%2420.00",
  "expiresAt": "2026-11-21T15:51:33.000Z",
  "priceUsed": 1,
  "priceSource": "peg",
  "amountUsd": 20,
  "creditUsd": 20
}
FieldMeaning
recipientThe treasury address (IDYL_TREASURY_ADDRESS). Pay only this address
amount, unitsThe amount in the asset, as a decimal string and as an integer string in the asset's smallest unit
referenceA fresh public key. Include it in the transaction, as the payment URL does; the Gateway finds the payment by it
priceUsed, priceSourceUSD per unit of the asset, fixed for this request. peg for USDC, which is taken at $1.00; feed for a price service; fixed for a price the operator set
creditUsdThe credit that will be granted. For IDYL it is amountUsd / 0.9: pay $9, receive $10 of credits
expiresAt15 minutes after creation. A transaction that lands up to 2 minutes later still counts

Limits: amountUsd from 1 to 1,000 per payment and 2,000 per wallet per UTC day, counting open payment requests; at most 5 open requests per wallet. IDYL is refused with 503 payments_unavailable until the token's mint is configured.

StatuscodeWhen
400invalid_amount, invalid_assetThe amount is out of range or has more than two decimals; the asset is unknown
429daily_cap_exceeded, too_many_open_intentsThe wallet's daily purchase limit, or 5 open requests
503price_unavailableNo reliable price for SOL or $IDYL right now. Retry, or pay with USDC
503payments_unavailableThe method or asset is not configured
503storage_unavailableThe Gateway could not write the payment request to disk, so none was created. Retry shortly

POST /api/pay/solana/confirm#

Verifies a payment on-chain and credits the wallet.

FieldTypeDescription
intentIdstringThe payment request being paid
signaturestringOptional. The transaction signature. Without it, the Gateway looks the payment up by the request's reference

The Gateway reads the transaction from its Solana RPC endpoint and requires that it is confirmed (or finalized, if the operator asks for that) and without error, that the reference key is among its account keys, and that the treasury's balance of the right asset rose by at least units.

JSON
{
  "status": "confirmed",
  "intentId": "pi_3vQB7B6MrGtZucNq",
  "signature": "5hG2…",
  "asset": "USDC",
  "amountUsd": 20,
  "creditUsd": 20,
  "creditedUsd": 20,
  "balanceUsd": 39.998804,
  "confirmationStatus": "confirmed"
}

While no matching transaction is found the answer is { "status": "pending", "intentId", "expiresAt" }; call again. Confirmation is idempotent per signature and per request: a payment is credited once, however often it is submitted, and a repeat answers with alreadyCredited: true.

StatuscodeWhen
400payment_failed, payment_reference_missing, payment_wrong_mint, payment_not_received, payment_amount_shortThe transaction failed, does not carry the reference, pays another asset, does not pay the treasury, or pays too little
400invalid_signature_formatsignature is not a base58 transaction signature
404intent_unknownNo such payment request for this key
409intent_already_paid, signature_already_usedThe request was paid by another transaction, or the transaction was used for another request
410intent_expiredThe request expired unpaid, or the transaction landed too late. A late payment is not credited automatically: keep the signature and contact the operator
502rpc_unavailableThe Solana RPC endpoint did not answer. Nothing was changed; retry

POST /api/pay/stripe/checkout#

FieldTypeDescription
amountUsdnumber1 to 1,000

Returns { "url": "https://checkout.stripe.com/…", "sessionId", "amountUsd", "creditUsd", "expiresAt" }. Send the user to url. The session lasts one hour and carries the wallet in its metadata, and nothing else about the user. The card number is entered at Stripe and never reaches the Gateway. 502 stripe_error means Stripe did not create the session and nothing was charged.

POST /api/pay/stripe/webhook#

Called by Stripe, not by clients. The Gateway verifies the Stripe-Signature header — HMAC-SHA256 with the webhook secret over the exact bytes received, a five-minute tolerance, a constant-time comparison — and credits the wallet on checkout.session.completed (or checkout.session.async_payment_succeeded), once per event and per session, and only when Stripe reports the session as paid. A request that fails verification is rejected with 400 invalid_signature or 400 signature_expired; a verified body that is not a Stripe event, with 400 invalid_event. The header is checked before the body is read: with no Stripe-Signature, no numeric t, no 64-hex v1 or a timestamp outside the tolerance, the request is refused at once and the connection is closed, without the body being read. A plausible header gets its body read (up to 1 MB) and fully verified, the timestamp included again.

GET /api/payouts/{nodeId}#

What a node is owed and has been paid, in USD and in $IDYL. Public.

JSON
{
  "nodeId": "8iuc3HaZLh2dkxJBNBAhtFJrxtkuSNLGneQAd1Wy3eB6",
  "payout": "GwmfpCYHqEnqPt8oJciZPz1fNCtafELuSjPYYMDhgEip",
  "accruedUsd": 1.2431,
  "paidUsd": 0,
  "lifetimeUsd": 1.2431,
  "accruedIdyl": 0,
  "paidIdyl": 0,
  "lifetimeIdyl": 0,
  "minPayoutUsd": 1,
  "minPayoutIdyl": 1,
  "payouts": [],
  "note": "accruedUsd and accruedIdyl are owed now. …"
}

A node has two payables. accruedUsd rises by 85% of every charge for work the node served that was paid with credits bought for cash or granted. accruedIdyl rises by 85/90 of the tokens behind every charge paid with credits bought in $IDYL; it stays zero until the token exists. A payout is a manual batch per asset: the operator exports nodes with at least $1 accrued in USD, or at least 1 IDYL accrued in $IDYL, and a payout address, pays them from the treasury, and records the batch (Operator endpoints). payouts lists the last 50 recorded payouts with their transaction, asset, amount (amountUsd, or amountIdyl for a payout made in $IDYL) and time. No payout has been made yet, and the asset in which USD payables are paid and the schedule have not been published.

IDYL Pro#

GET /api/pro#

Public. With an API key it also returns you.

Shell
curl -s "$IDYL_BASE_URL/api/pro" -H "Authorization: Bearer $IDYL_API_KEY"
JSON
{
  "thresholds": {
    "pro": { "stakedIdyl": 5000, "dailyTokens": 1000000, "sealedDiscount": 0.1 },
    "pro_plus": { "stakedIdyl": 50000, "dailyTokens": 5000000, "sealedDiscount": 0.2 }
  },
  "lastPool": null,
  "pool": {
    "share": 0.05,
    "nextDistributionAt": "2026-11-23T00:00:00.000Z",
    "minStakeAgeDays": 7,
    "creditsExpireAfterDays": 30,
    "enabled": true,
    "maxShare": 0.075,
    "note": "A usage rebate funded by a share of last week's paid revenue, paid in usage credits that expire. It may be zero. It is never yield and never an amount per token."
  },
  "program": { "id": null, "cluster": "devnet" },
  "you": {
    "tier": "pro",
    "stakedIdyl": 12000,
    "usedToday": 184220,
    "dailyTokens": 1000000,
    "sealedDiscount": 0.1,
    "resetsAt": "2026-11-23T00:00:00.000Z",
    "stakedAt": "2026-11-12T09:30:00.000Z",
    "source": "override"
  }
}
FieldMeaning
thresholdsThe stake needed for each tier, its daily allowance and its discount on Sealed
you.tiernull, pro or pro_plus
you.stakedIdyl, you.sourceThe active stake, and where the Gateway read it: chain (the stake program on Solana, cached for 5 minutes) or override (set by the operator on a testnet)
you.stakedAtWhen the stake was last increased. The credit pool counts a stake only once it is 7 days old, and adding to a stake restarts its age
lastPoolThe last weekly credit pool: { weekOf, poolUsd, stakers, distributedAt }. null before the first one
poolThe pool's rules: its share of the previous week's paid revenue (0.05 by default), whether the pool is on (enabled is false when the share is 0), the largest share a Gateway accepts (maxShare), the next distribution time, the minimum stake age and how long pool credits last
programThe stake program's id and cluster; id is null when none is configured

A Pro allowance pays for Community requests on any model, including the large Unbound models, up to the daily allowance. Past it, a wallet with credits pays from them; a wallet that has never held credits gets 429 insufficient_quota until 00:00 UTC. A Pro allowance never pays for Sealed.

The credit pool is a usage rebate capped by the previous week's paid revenue from work that nodes served. poolUsd is a total, in credits that expire. It is not a rate and it is not yield (IDYL Pro).

Idle Points#

Season 0. Points are a record of verified capacity and paid work. No reward is promised and no amount has been set (Season 0).

Only funded spend earns points: credits bought with USDC, SOL, a card or $IDYL. Spending granted credits — credit-pool and promotional credits — earns nothing, for the wallet or for the node that served the request; when a request is paid partly with granted credits, the node's paid-work points are scaled to the bought part. Free-tier, Pro-allowance and guest requests earn nothing.

GET /api/points/season#

The rules in force as data, the season's start and end, and the totals.

JSON
{
  "season": 0,
  "name": "Season 0",
  "status": "active",
  "start": "2026-11-22T02:20:46.936Z",
  "end": "2027-01-03T02:20:46.936Z",
  "days": 42,
  "rules": { "capacityCheck": {}, "availability": {}, "paidWork": {}, "usage": {}, "referral": {}, "limits": {}, "penalties": {}, "noPoints": [], "vesting": {} },
  "totals": { "nodes": 0, "users": 0, "points": 0, "flaggedNodes": 0 },
  "capacityChecks": { "waves": 5, "lastWaveAt": "2026-11-22T02:20:55.049Z" },
  "rewardPool": "The reward pool’s size and funding are not decided. Idle Points are a record of contribution, not $IDYL and not a promise of tokens or money.",
  "updatedAt": "2026-11-22T02:20:56.302Z"
}

rules (shown empty here) carries every constant the Gateway applies: the capacity-check interval, limits and formula; the availability formula with its size factors and the capacity clamp; the paid-work and usage rates and caps; the referral share, duration and cap; the fingerprint and network-address limits; the penalties and the flags; what earns nothing; and the vesting schedule. It is the authoritative copy of the numbers in Season 0. rewardPool is a sentence, not a number, on purpose.

GET /api/points/leaderboard#

Query parameterDescription
kindnodes (default) or users

Returns { kind, season, entries, total, updatedAt }: the top 500 by points.

  • A node entry is { rank, id, name, points, today, verifiedTps, model, flagged, reasons }. Flagged nodes are listed, marked as flagged.
  • A user entry is { rank, id, points }, and id is shortened to the first and last four characters of the wallet.

Any other kind returns 400 invalid_kind.

GET /api/points/{id}#

id is a node id or a wallet. Anything that is not a base58 Solana address returns 400 invalid_id; an address the Gateway has never seen returns a record with zero points.

JSON
{
  "id": "AJvwtsifhm42ajMB3miWHwYD3xGuiu91SQhcCeQuiMLQ",
  "kind": "node",
  "points": 43.52,
  "rank": 17,
  "today": { "day": "2026-11-22", "points": 1.92, "availability": 1.365, "paidWork": 0.555, "paidWorkCap": 4.095, "usage": 0, "usageCap": 100 },
  "breakdown": { "availability": 13.44, "paidWork": 30.4, "usage": 0, "referral": 0, "forfeited": 0.32 },
  "factors": { "sizeFactor": 1.5, "capacityFactor": 1, "reliability": 0.91, "sealedFactor": 1, "model": "gpt-oss:20b", "minMemGb": 16, "pointsPerSlot": 0.2275, "pointsPerHour": 1.365 },
  "verifiedTps": 24.6,
  "flagged": false,
  "reasons": [],
  "vestingPreview": { "atLaunch": 10.88, "linear": 32.64, "linearDays": 90, "perDay": 0.362667, "forfeitIf": ["node offline 7 or more days in a row during vesting", "node slashed for tampering"], "note": "A preview in points: … not a promise of tokens or money." },
  "season": { "status": "active", "start": "2026-11-22T02:20:46.936Z", "end": "2027-01-03T02:20:46.936Z" },
  "updatedAt": "2026-11-22T02:20:56.305Z",
  "lastCheckAt": "2026-11-22T02:20:55.157Z",
  "lastPassAt": "2026-11-22T02:20:55.157Z",
  "checks24h": { "passed": 44, "failed": 2 },
  "earning": true,
  "slashPoints": 0,
  "referral": { "referrer": null, "status": "none", "until": null }
}
FieldMeaning
todayToday's points by rule, with today's caps: paid-work points are capped at 3 × today's availability points, usage points at 100 per wallet
breakdownSeason points by rule: availability, paid work (nodes), usage (paying wallets), referral bonus, and points forfeited through slash points
factorsThe node's current factors in the availability formula, the model it was last checked on, and the resulting points per 10-minute slot and per hour. null for a wallet
verifiedTpsThe node's measured throughput in tokens per second: a moving average of the Gateway's own capacity checks. null until a check has passed
lastCheckAt, lastPassAt, checks24hWhen the node was last checked, when it last passed, and the last 24 hours' results
earning, reasonsWhether the node is earning availability points right now, and if not, why: each reason has a code, a plain message and whether it is a review flag. Codes include no_fingerprint, no_capacity_check, duplicate_fingerprint, ip_limit, paused, offline, capacity_checks_failing, canary_mismatch and tampering
flaggedWhether the node is flagged for review. Flagged nodes stay listed and are left out of the snapshot unless the operator exports it with --include-flagged
referralThe referrer the network has on record for this node, its status and when the bonus ends
vestingPreviewThe schedule the snapshot records, applied to this entry's points. It is expressed in points, and it is not a promise of a reward

The figures above are illustrative; the shape is what the Gateway returns.

Transparency and reports#

GET /api/transparency#

JSON
{
  "generatedAt": "2026-11-22T02:20:47.210Z",
  "stores": [
    {
      "section": "accounting",
      "owner": "core",
      "title": "Metering and the daily free tier",
      "contains": ["Network totals metered at target rates: …", "Per wallet: the tokens used from today’s free tier."],
      "personalData": "Wallet address with one number (tokens used today).",
      "retention": "Free-tier usage is dropped when the UTC day ends. Totals are kept.",
      "fields": ["treasury", "usage"],
      "documented": true
    }
  ],
  "neverStores": ["Prompts and responses. They are relayed in memory and are never written to disk or to logs.", "…"],
  "retention": { "prompts": "Not stored. Held in memory only while the request is being served.", "logs": "…", "ipAddresses": "…" },
  "logsContainPrompts": false,
  "nodeVisibility": "Community: the request runs on an idle consumer machine, and the serving node sees the prompt and the response. …",
  "canary": { "status": "not_published", "statement": null, "updatedAt": null, "nextUpdateBy": null },
  "requests": { "status": "not_published" }
}
FieldMeaning
storesOne entry per section of the Gateway's state file: who owns it (the core or a plugin), what it contains, what personal data is in it, how long it is kept and its field names. The list is read from the file the Gateway actually writes. A section nobody has described appears with documented: false; it is never hidden
neverStoresWhat is never written to disk or logs
retentionHow long each kind of data is kept, including what lives in memory only
logsContainPromptsAlways false
nodeVisibilityWhat a serving node can see, at each grade
canary{ status: "published", statement, updatedAt, nextUpdateBy }, or status: "not_published" with the other fields null
requests{ received, complied, period }, or { status: "not_published" }

The canary and request counts are set only by the operator and are never generated by the software. If nextUpdateBy has passed, treat the canary as lapsed.

GET /api/uptime#

How often IDYL could actually answer, measured by the gateway itself once a minute. Each check records whether the gateway was running, whether an unpaused node served an open model, whether a node served Unbound and The Floor could classify, and whether The Floor could classify. A minute without a check (a restart, a deploy) counts as down for everything. Counts only: no node ids, no requests.

JSON
{
  "since": "2026-11-24T10:34:00.000Z",
  "sampleSec": 60,
  "windows": {
    "h24": { "gateway": 99.86, "open": 99.31, "unbound": 98.9, "floor": 99.31, "samples": 1438, "expected": 1440 },
    "d7": { "gateway": 99.9, "open": 99.5, "unbound": 99.1, "floor": 99.5, "samples": 10070, "expected": 10080 },
    "d30": null
  },
  "hours": [{ "t": "2026-11-24T10:00:00.000Z", "n": 26, "open": 26, "unbound": 25, "floor": 26 }]
}

Percentages have two decimals; a window is null until tracking has run for at least one check. hours covers the last 30 days. The same h24, d7 and d30 figures appear under uptime in GET /api/stats.json, which also reports network.openNodesOnline and network.floorNodesOnline.

GET /api/reports#

The index of weekly reports the Gateway holds: up to 52 ISO weeks.

JSON
{
  "current": "2026-W47",
  "retentionWeeks": 52,
  "weeks": [
    {
      "week": "2026-W47",
      "start": "2026-11-16T00:00:00.000Z",
      "end": "2026-11-23T00:00:00.000Z",
      "status": "in_progress",
      "url": "/api/reports/weekly?week=2026-W47",
      "requests": 3,
      "tokensServed": 51,
      "meteredSpendUsd": 0.000002,
      "paidRevenueUsd": 0,
      "burnedIdyl": 0,
      "pointsIssued": 0
    }
  ],
  "burns": { "count": 0, "totalIdyl": 0 },
  "labels": {
    "meteredSpendUsd": "Metered at target rates. Counts every request, whoever paid for it (free tier, Pro, guest, credits). A measure of work, not revenue.",
    "paidRevenueUsd": "Paid: credits that were bought and then consumed. Real money."
  },
  "updatedAt": "2026-11-22T02:11:23.765Z"
}

GET /api/reports/weekly#

Query parameterDescription
weekAn ISO week, YYYY-Www, for example 2026-W47. Without it, the current week

One week's snapshot, in these blocks:

BlockContents
networkNodes online (average and maximum of samples taken every 5 minutes), requests, success rate, tokens served, and requests by what paid for them (free, pro, guest, credits)
meteredSpend at target rates for every request, and the notional buyback queue. A measure of work, not revenue
paidPaid revenue in the week (revenueUsd), all credits consumed (creditsConsumedUsd), funding (how the credits consumed were funded: cashUsd, idylUsd, grantUsd), the number of credit-paid requests, the split, and ledger: the cumulative fields of treasury.paid with their change over the week and their value at the end
nodePayablesWhat nodes accrued and were paid in the week, and what is outstanding, in USD and in $IDYL
buyback, burnsThe buyback queue, paid and metered, and every recorded burn with its transaction and explorer link
floorThe Floor's counts by outcome and by category
sealedSealed's share of credit-paid requests and revenue, sealed nodes online, attestations
pointsIdle Points issued in the week and in total
guestsGuest requests and tokens, guest sessions issued, and the most active at once
depositsCredits bought, by asset. Deposits are not revenue until they are used
creditPoolCredit-pool distributions in the week
notesHow to read the report

Two figures sit side by side in paid. paid.revenueUsd is paid revenue: the part of the week's charges that was paid with credits bought with USDC, SOL or a card. paid.creditsConsumedUsd is every credit consumed in the week, including promotional, credit-pool and $IDYL-bought credits, which are not revenue. A figure given as { "change", "end" } is the change during the week and the value at its end. A value of null means the source was not reporting, for example because payments are not enabled. A week that does not exist returns 400 invalid_week; a week with no data, or older than 52 weeks, returns 404 report_not_found.

Errors#

Errors use the OpenAI format: an HTTP status and a JSON body with an error object. Some errors add an idyl object beside it with machine-readable detail.

JSON
{
  "error": {
    "message": "\"huihui_ai/llama3.3-abliterated:70b\" is not part of the free tier and your credit balance is $0.0000. Add credits at app.html#credits. Staking for IDYL Pro (app.html#pro) also covers it.",
    "type": "insufficient_quota",
    "param": null,
    "code": "insufficient_credits"
  },
  "idyl": { "credits": { "balanceUsd": 0, "reservedUsd": 0, "requiredUsd": 0.001, "reason": "not_in_free_tier" } }
}

Requests and access

StatuscodeWhenWhat to do
400invalid_json, missing_model, invalid_model, missing_messages, invalid_value, unsupported_valueThe request body is invalid; param names the fieldFix the request
400bad_url, abortedThe request URL could not be parsed, or the client closed the connection while sending the bodyFix the URL, or send the request again
400invalid_privacyx-idyl-privacy or idyl.privacy is not community or sealedUse one of the two values
400model_not_selectableThe guard model llama-guard3:1b was requested for chatChoose a chat model
400invalid_wallet, invalid_signature_format, invalid_purpose, nonce_expiredKey or attestation input is invalid, or the nonce expired or has the wrong purposeRequest a fresh nonce with the right purpose
401invalid_api_keyMissing, unknown or rotated keyCheck the Authorization header; reissue a key
401invalid_signatureWallet signature does not match the nonce messageSign the exact message bytes
403unbound_attestation_requiredAn Unbound model was requested without the wallet attestation (always the case for guests)Sign the Unbound attestation, or use an Open model
404model_not_found, node_unknown, attestation_not_found, not_foundUnknown model, node id, attestation or endpointCheck /v1/models, /api/leaderboard
405method_not_allowedWrong HTTP method for the path; the Allow header lists the methods it takesUse a method from Allow
413payload_too_largeBody exceeds the endpoint's limit: 16 KB for key, attestation, guest token and payment request bodies, 1 MB elsewhere (see Rate limits and allowances)Shorten the request
429rate_limit_exceededRequest rate above the limits belowWait for Retry-After seconds

What pays

StatuscodeWhenWhat to do
402credits_requiredThe free tier does not cover this kind of request — any Sealed request, or an Unbound model that needs more than 12 GB — and the wallet has never held creditsAdd credits (app.html#credits). For large Unbound models on Community, staking for IDYL Pro also works. Pro does not make Sealed free
402insufficient_creditsCredits are needed and the wallet's unreserved balance is below $0.001. idyl.credits.reason says why credits were needed: sealed, not_in_free_tier or allowance_usedAdd credits, or for allowance_used wait for the UTC-day reset
429insufficient_quotaThe daily free tier or Pro allowance is used up, and the wallet has never held creditsAdd credits, or wait for the reset time in the message

Guests

StatuscodeWhenWhat to do
400invalid_challenge, invalid_powThe challenge is unknown, used or expired, or the proof of work does not holdRequest a new challenge
401guest_token_expiredUnknown or expired guest tokenGet a new one, or connect a wallet
402guest_limitThe token has used its 10 requests for the day (idyl.guest: "daily_limit"), or the prompt is over 4,000 characters ("prompt_too_long")Connect a wallet for a free API key
403guest_model_not_allowedA guest asked for Sealed, or for a model outside the guest setUse an Open model needing ≤ 12 GB on Community, or connect a wallet
403guest_not_allowedA guest token was used where no plugin admits guestsConnect a wallet
429guest_ip_limitThis network address already received 3 guest tokens todayConnect a wallet, or wait for 00:00 UTC
503guest_capacityToo many open challenges or stored tokensRetry after Retry-After

Sealed

StatuscodeWhenWhat to do
400invalid_envelope, model_not_canonical, plaintext_not_allowedEnd-to-end: the request is not a valid sealed requestBuild the envelope with the client module
409sealed_key_unavailableEnd-to-end: no online sealed node holds that key and serves the modelFetch /api/sealed/keys again, encrypt again, retry
502sealed_frame_invalidEnd-to-end: the node returned something that is not a frame sequenceRetry
503sealed_unavailableNo sealed node or sealed provider serves the model. Nothing was sent to a Community nodeRetry later, or choose a model with sealed capacity
400, 502, 503, 504upstream_rejected, upstream_auth_failed, upstream_model_unavailable, upstream_unreachable, upstream_error, upstream_invalid_response, upstream_rate_limited, upstream_timeoutRelay served by a sealed provider: the provider rejected, refused, failed or timed outupstream_rejected is about your request; the others are not. Retry later

Payments

StatuscodeWhenWhat to do
400invalid_amount, invalid_asset, invalid_signature_formatThe amount, asset or transaction signature is malformedFix the request
400payment_failed, payment_reference_missing, payment_wrong_mint, payment_not_received, payment_amount_shortThe transaction does not pay what the payment request asks forPay with the request's Solana Pay link
404intent_unknownNo such payment request for this keyCreate a new one
409intent_already_paid, signature_already_usedThe payment request or the transaction was already usedNothing to do; check /api/credits
410intent_expiredThe payment request expiredCreate a new one. If you paid late, keep the signature and contact the operator
429daily_cap_exceeded, too_many_open_intentsThe wallet's daily purchase limit, or 5 open payment requestsWait, or pay an open request
502rpc_unavailable, stripe_errorThe Solana RPC endpoint or Stripe did not answer. Nothing was changedRetry
503payments_unavailable, price_unavailableThe method or asset is not configured, or no reliable price is availableUse another method; see /api/pay/methods
503storage_unavailableThe Gateway could not write its state to disk, so it will not say that a payment request, a grant, a payout or a burn is recordedRepeat the same request after retry-after; it is applied once

The Floor and the network

StatuscodeWhenWhat to do
451floor_blockedThe Floor classified the request as S3, S4 or S9, or the prefilter matchedDo not retry unchanged; see the Unbound policy
502upstream_failedThe node failed and no other node could take the job. For an end-to-end request, the message names the enclave's reasonRetry
502upstream_interruptedThe node stopped mid-streamRetry; partial output was delivered and billed
503model_unavailableNo online node serves the modelTry another model or retry later
503floor_unavailableUnbound request while The Floor has no guard capacity (fail-closed)Retry after Retry-After, or use an Open model
503capacity_unavailableNo node picked up the job within 15 sRetry after Retry-After
503queue_full, gateway_restartingTemporary Gateway conditionRetry after Retry-After
500internal_errorUnexpected Gateway errorRetry; report the x-request-id if it persists

The OpenAI SDKs retry 429 and 5xx responses automatically, with backoff. They do not retry 402, 403, 409, 410 or 451.

Rate limits and allowances#

LimitValueScope
Free tier200,000 tokens per dayPer API key (per wallet), UTC day; Community only; Unbound models up to 12 GB
Pro allowance1,000,000 tokens per day; Pro+ 5,000,000Per wallet, UTC day; Community only; every model. Replaces the free tier
Guest allowance10 requests per dayPer guest token, UTC day
Guest tokens3 per dayPer network address, UTC day
Guest challenges30 per minutePer IP address
API requests120 per minute, burst 60Per API key
API requests300 per minute, burst 150Per IP address
Key issuance and attestation20 per minutePer IP address (/api/nonce, /api/keys, /api/attest and /api/guest combined)
Payment requests10 per minutePer wallet (/api/pay/solana/intent and /api/pay/stripe/checkout)
Payment confirmations40 per minutePer wallet
Credit purchases$1 to $1,000 each; $2,000 per day; 5 open payment requestsPer wallet, UTC day
Request body16 KB on /api/keys, /api/attest, /api/guest, /api/pay/solana/intent, /api/pay/solana/confirm and /api/pay/stripe/checkout; 1 MB elsewherePer request
Wrong admin credentials10, then 1 per minutePer network address, all /admin/* endpoints combined (429 admin_locked)

Free tier. Tokens are prompt plus completion tokens of settled requests. A request is admitted while any allowance remains, and its full usage is then counted, so the final free request of a day can take usage slightly past 200,000. Rotating a key does not reset the allowance, because usage is tracked per wallet. Only requests billed as free consume it: requests paid from credits, a Pro allowance or a guest allowance do not. The Floor's guard checks and care responses do not count. When it is exhausted, a wallet that holds credits pays from them; a wallet whose credits have run out gets 402 insufficient_credits; a wallet that has never held credits gets 429 insufficient_quota until 00:00 UTC.

Limits are token buckets: a client can burst up to the burst size, then sustain the per-minute rate. Operators of a self-hosted Gateway can change the defaults (see Configuration).

Unread uploads. An answer sent before the Gateway has read a request's body (an early 401, 404, 405, 429 or 503, or a page served to a GET that carries a body) carries Connection: close, and the Gateway closes the connection, when that body is declared larger than 16 KB or has no declared length (chunked) and has not fully arrived. It does not read the rest of the upload. A smaller body is read and discarded and the connection stays open, as does the connection of a request whose body the Gateway did read.

Node protocol#

Nodes talk to the Gateway over outbound HTTPS only. Most operators should use IDYL Desktop or the IDYL Node CLI, which implement everything below. This section is for people writing their own node or auditing the protocol.

Signature scheme#

Every /nodes/* request carries three headers:

HeaderValue
x-idyl-nodeThe node's ed25519 public key, base58 — this is the node id
x-idyl-tsUnix time in milliseconds, as a decimal string
x-idyl-sigBase58 ed25519 signature (64 bytes) over the signing string

The signing string is:

Text
${ts}.${METHOD}.${pathWithQuery}.${sha256hex(body)}
  • METHOD is upper case (GET, POST).
  • pathWithQuery is the request path including any query string, e.g. /nodes/jobs/next?nodeId=HBAW…QjsH.
  • sha256hex(body) is the lowercase hex SHA-256 of the exact body bytes sent; for a request without a body it is the hash of the empty string, e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.

The Gateway rejects timestamps more than 60 seconds from its clock (401 clock_skew, with serverTime in the body so the node can correct) and remembers every accepted signature for 2 minutes, rejecting replays (401 replay).

These header checks come before the body is read. A request with missing or malformed signature headers, a stale timestamp or a replayed signature is answered 401 at once, without its body being read, and the Gateway closes the connection. Only then is the body read (up to 1 MB) and the signature verified against it.

A minimal signer using only Node.js built-ins:

JavaScript
import { createHash, createPrivateKey, sign } from "node:crypto";

// secret: 64-byte Solana keypair (seed + public key); base58: as in get-key.mjs above
export function signedFetch(base, secret, base58) {
  const nodeId = base58(secret.subarray(32));
  const key = createPrivateKey({
    key: Buffer.concat([Buffer.from("302e020100300506032b657004220420", "hex"), secret.subarray(0, 32)]),
    format: "der",
    type: "pkcs8",
  });
  return async (method, pathWithQuery, body) => {
    const raw = body === undefined ? "" : JSON.stringify(body);
    const ts = String(Date.now());
    const digest = createHash("sha256").update(raw).digest("hex");
    const sig = base58(sign(null, Buffer.from(`${ts}.${method}.${pathWithQuery}.${digest}`, "utf8"), key));
    return fetch(base + pathWithQuery, {
      method,
      headers: { "content-type": "application/json", "x-idyl-node": nodeId, "x-idyl-ts": ts, "x-idyl-sig": sig },
      body: raw || undefined,
    });
  };
}

POST /nodes/register#

FieldTypeNotes
namestringDisplay name, up to 32 characters ([A-Za-z0-9_ .-])
modelsstring[]Model names as the runtime reports them; mapped to canonical ids
concurrencyinteger1–64, default 1
versionstringNode software version
pausedbooleanRegister in a paused state (idle-only mode)
unboundbooleanOpt in to serving Unbound models. Without true, Unbound models in models are ignored
payoutstring or nullBase58 Solana payout address (32 bytes). Invalid values are rejected with 400 invalid_payout
hardwareobjectOptional { os, arch, cpu, cores, memGb, gpu, vramGb, unified }; bounded and sanitised, unknown fields dropped from the public record
hardware.fingerprintstringOptional. Season 0: a SHA-256 hex hash of stable machine traits. Used only for the one-earning-node-per-machine rule; never part of the public node record. Without it the node earns no Idle Points. It is sent even when the rest of the hardware summary is withheld, unless the operator switches it off
referrerstringOptional. Season 0: the base58 wallet that referred this node. Recorded at the node's first registration only, and immutable afterwards. It cannot be the node itself or its own payout address
sealedobjectOptional, sealed nodes only: { keyId }, the id of the enclave key this process holds. A restarted node holds a new key, and the Gateway drops the attestation of the old one. Also sent with heartbeats
clientstringClient identifier, e.g. cli/0.3.0 or desktop/0.3.0
nodeIdstringOptional; must equal x-idyl-node
JSON
{
  "ok": true,
  "nodeId": "HBAWL9K6DdkqoVdE96Fz1beC9L2rpeqisrHe4hRBQjsH",
  "name": "studio-m2",
  "models": ["llama3.1:8b", "llama-guard3:1b"],
  "tiers": ["open", "floor"],
  "unbound": false,
  "payout": "8YRGSUpP44MKc2FF1bpmfwXA9Y5hmB6qK8URe17bM4tx",
  "ignoredModels": ["huihui_ai/qwen3-abliterated:8b"],
  "heartbeatSec": 15,
  "pollTimeoutSec": 25,
  "firstTokenMs": 15000,
  "jobTimeoutMs": 60000,
  "serverTime": 1795275408411
}

ignoredModels lists Unbound models that were dropped because unbound was not true; it is omitted when empty. A node that offers llama-guard3:1b becomes guard capacity for The Floor. The opt-in is fixed at registration: to change it, register again. A sealed node must attest again after every registration.

POST /nodes/heartbeat#

Send every heartbeatSec (15 s). A node with no signed request for 45 s is marked offline.

FieldTypeNotes
loadnumberOptional machine load, informational
pausedbooleanPause or resume receiving jobs
modelsstring[]Optional updated model list, filtered by the registration's unbound flag
statusstring"offline" to sign off cleanly
JSON
{ "ok": true, "status": "online", "serverTime": 1795275408420 }

GET /nodes/jobs/next?nodeId=<id>#

Long-poll. The Gateway holds the request for up to 25 seconds and answers 204 No Content if no job arrives; the node then polls again. A node may hold up to concurrency + 2 polls at once.

JSON
{
  "job": {
    "id": "6dbcf7def1049a51bc2d9676",
    "attempt": 1,
    "kind": "chat",
    "model": "llama3.1:8b",
    "messages": [
      { "role": "system", "content": "Be brief." },
      { "role": "user", "content": "Say something about idle GPUs." }
    ],
    "params": { "temperature": 0.2 },
    "firstTokenMs": 15000,
    "deadlineMs": 60000
  }
}

This is everything a node receives. A job carries no wallet, API key, guest id, IP address or payment information.

model is the node's own native name for the model, as registered. params contains only the sampling and format fields the caller set. kind is chat for ordinary jobs, canaries and capacity checks alike — the node is never told that a job is a test — and floor for guard jobs, which carry one user message to classify, temperature: 0, a small max_tokens and deadlines bounded by The Floor's time budget. Answer a floor job with the guard model's raw output (safe, or unsafe followed by category codes).

A job may also carry ext, an opaque object from a Gateway plugin. For a Sealed · end-to-end job, ext.sealed is the ISC1 envelope and messages is empty: only a sealed node holding the matching enclave key can serve it.

POST /nodes/jobs/{id}/chunk#

JSON
{ "attempt": 1, "seq": 0, "deltas": [{ "content": "Idle " }] }

seq starts at 0 and increases by 1 per post. Each delta may carry content, reasoning_content or OpenAI-style tool_calls fragments. Responses: 200 {"ok": true}; a repeated seq is acknowledged as a duplicate; a gap fails the attempt over (409 sequence_gap); a job reassigned elsewhere returns 409 job_reassigned; a job that has ended — for example because the caller disconnected — returns 410 job_gone, and the node should stop generating.

For a Sealed · end-to-end job, each delta's content is the compact JSON of one encrypted frame, {"n": <frame number>, "ct": "<Base64>"}.

POST /nodes/jobs/{id}/complete#

JSON
{ "attempt": 1, "usage": { "prompt_tokens": 14, "completion_tokens": 4 }, "finish_reason": "stop" }

May include final deltas. The Gateway accepts reported token counts only within bounds derived from the bytes actually relayed; otherwise it estimates. Response: 200 {"ok": true, "usage": {...}, "earnedUsd": 0.0000043} with the usage that was metered and the node's metered share for the job (85% of the chat job's charge, or the guard fee of $0.01 per 1M tokens for a floor job; 0 for canaries and capacity checks). A completion sent again by the node that completed the job, for the same attempt (its first try got no answer), is answered 200 with "duplicate": true and the same usage and earnedUsd for 2 minutes; nothing is metered twice. Any other completion for a job that has ended gets 410 job_gone.

A completion may also carry result, a small JSON object (at most 4 KB) for the plugin that created the job. A sealed node uses it to report The Floor's in-enclave outcome in plaintext — {"floor": {"outcome": "pass", "categories": []}} — so that the public Floor counters stay correct. It never contains content.

POST /nodes/jobs/{id}/fail#

JSON
{ "attempt": 1, "reason": "runtime returned 500" }

An honest failure report lowers reliability but records no slash point, and the Gateway retries the job elsewhere when it can. A missed deadline records a slash point.

GET /nodes/attest/nonce#

Sealed nodes only. A signed node request, like every /nodes/* call. Returns a nonce for a hardware attestation.

JSON
{ "nonce": "fee0aabd63254709af1ae7c741744b13346d44d4e21fb5a54d89067e1608154e", "expiresAt": "2026-11-22T02:23:43.381Z" }

The nonce is 32 bytes as 64 hex characters, valid for 5 minutes, usable once and only by the node it was issued to. A node may hold up to 4 unused nonces.

POST /nodes/attest#

Submits attestation evidence.

FieldTypeNotes
noncestringThe nonce from GET /nodes/attest/nonce
publicKeystringThe enclave's ECDH P-256 public key: 65 raw uncompressed bytes, Base64
gpustring or arrayA JWT from a configured GPU attestation issuer, or NVIDIA's whole detached bundle [["JWT","<overall>"],{"GPU-0":"<JWT>"}]
cpustringA JWT from a configured CPU TEE attestation issuer
gpuDetachedobjectOptional. Per-GPU tokens, {"GPU-0":"<JWT>"}, when they are sent separately. The Gateway then also checks each GPU's own claims

Both tokens must carry binding = SHA-256("ISC1-BIND" ‖ nonce (32 bytes) ‖ nodeId (32-byte public key) ‖ publicKey (65 bytes)): the GPU token as its attestation nonce (eat_nonce, hex), the CPU TEE token as the data the attester holds (attester_held_data, Base64). For each token the Gateway verifies the issuer, the signature against the issuer's key set, the validity times (60 seconds of tolerance), the claims the issuer's configuration requires, and the binding. The binding is accepted only in the claim the attester itself fills in, never in a field the host could set.

With the built-in issuers, the required claims are:

IssuerRequired
NVIDIA Remote Attestation Service (https://nras.attestation.nvidia.com)x-nvidia-overall-att-result: true, sub: NVIDIA-PLATFORM-ATTESTATION; per GPU, when detached tokens are sent: measurements matched, secure boot on, debug disabled
Intel Trust Authority (https://portal.trustauthority.intel.com)attester_type: TDX, tdx_is_debuggable: false, attester_tcb_status: UpToDate. The TDX measurement registers are compared with the allow-list for the measured level

No issuer for AMD SEV-SNP is built in; an operator can add one with IDYL_ATTESTATION_ISSUERS. None of these checks has been run against real vendor tokens: the built-in settings were written from the vendors' public documentation and one published sample token. Every claim checked is listed in the sealed engineering note.

JSON
{
  "ok": true,
  "attestationId": "979510cfb147a01909127b9db8a98812",
  "nodeId": "FuPvAnuTXQ4dz1FLTvgty9qz1Ez2zjEePRC1wGwux37w",
  "keyId": "ZPK5UF04gK6W1MWcWVP8lgs673tbsAvx0vsjfX7t3us",
  "verification": "simulated",
  "verifiedAt": "2026-11-22T02:18:43.637Z",
  "expiresAt": "2026-11-23T02:18:43.000Z",
  "ttlSec": 86399,
  "privacy": { "e2e": "sealed-e2e-simulated", "relay": "sealed-relay-simulated" },
  "explanation": "SIMULATED. Development only: no confidential hardware is involved and nothing is protected."
}

On success the node is sealed until the attestation ends: when it expires (the earliest token expiry, and never more than 24 hours), when the node attests again, when it registers again with a different key (a new process holds a new enclave key), or when it is out of contact for longer than the heartbeat timeout. An ended attestation never comes back; the node attests again. The full list of cases is in the sealed engineering note. The IDYL Node attests before it takes jobs, then at least every 12 hours, before its attestation expires (after 80% of the validity, or 30 minutes before the end if that comes later, and never more often than every 30 seconds), after any re-registration or lost connection, and when the Gateway no longer shows its attestation as current. A failed attestation does not stop the node: it keeps serving ordinary jobs, tries again after 15 seconds and then at growing intervals of up to 5 minutes, and receives no Sealed traffic until the Gateway accepts an attestation. It also tells the Gateway which key it holds in its register and heartbeat bodies (sealed: { keyId }).

Vendor tokens can be short-lived. Intel's documented sample token is valid for 5 minutes and NVIDIA's for 1 hour. With the default policy an attestation ends with its earliest token, so a node with 5-minute CPU tokens runs its attestation command again 4 minutes after each success. A Gateway operator who finds that too frequent can set IDYL_SEALED_ATTESTATION_TTL_SEC (60 to 86,400): the tokens must then be valid when the Gateway verifies them, and the attestation lasts the configured time, never more than 24 hours. That is a deliberate trade: the evidence is refreshed less often, and such records say "expiryPolicy": "fixed". None of this has been observed with real vendor tokens.

StatuscodeMeaning
400invalid_nonce, nonce_unknown, nonce_expired, invalid_public_key, missing_token, attestation_malformedThe submission is malformed, or the nonce is unknown, used or expired
403attestation_rejectedA token failed verification. idyl.reason names the check, idyl.token and idyl.claim where it failed
403simulated_tee_not_allowedThe tokens come from a simulated issuer and this Gateway does not accept them
409nonce_in_use, sealed_key_in_useThe nonce is being verified, or another node already attested this enclave key
503attestation_issuer_unavailable, nonce_capacityThe issuer's key set could not be fetched, or too many attestations are pending. Retry

Node errors#

StatuscodeMeaning
401unsigned, bad_node_id, bad_timestamp, bad_signatureMissing or malformed signature headers
401clock_skewTimestamp more than 60 s from Gateway time; body includes serverTime
401replaySignature already used
403node_mismatchnodeId in body or query differs from the signing key
400no_modelsRegistration without a usable model (including only Unbound models without unbound: true)
400invalid_payoutpayout is not a base58 Solana address
404node_unknownNot registered (or the Gateway lost state): register again
404job_unknownUnknown job id
409job_reassigned, sequence_gapThe attempt no longer belongs to this node
410job_goneThe job ended; stop work
413output_too_largeOutput exceeded the Gateway limit
429too_many_polls, rate_limit_exceededToo many concurrent polls or requests
503registry_fullThe Gateway cannot accept more nodes

Operator endpoints#

These exist for the party running a Gateway. They are enabled only when IDYL_ADMIN_TOKEN is set, and every call needs Authorization: Bearer <admin token> (or the same token in an x-idyl-admin header). Without the token configured they return 404 not_found; with a wrong token, 401 unauthorized. Wrong or missing credentials are counted per network address across all of them: after 10, that address gets 429 admin_locked on every operator endpoint, even with the right token, and one more attempt is allowed each minute (Retry-After says when). Right tokens are never counted, and other addresses are not affected. The token is checked before the HTTP method, so a wrong method gets the same 404, 401 or 429 as any other operator path, and 405 method_not_allowed (with an Allow header) only with the right token. They are not part of the public API, and whoever holds the token can alter the ledger: treat it as a production secret.

EndpointBodyEffect
GET /admin/state—Internal state for debugging: configuration, job summary, node records, counts. Never content
POST /admin/bond{ nodeId, amount }Records a node's bond for routing during testnet, before bonds are read from IDYL Bond
POST /admin/credits{ wallet, usd, expiresInDays?, note?, ref? }Grants promotional credits to a wallet (at most $10,000 per call). Recorded as a promo lot. With a ref, the grant is applied once. Spending promotional credits creates amounts owed to nodes with no matching income; they are charged to the treasury and lower treasuryNetUsd
POST /admin/credits/revoke{ wallet, usd, ref }Takes back purchased credits after a refund or a chargeback: only what is still unspent, never granted credits. ref is the Stripe session id or transaction signature being reversed, and is applied once. Returns revokedUsd and shortUsd, the part that had already been spent
GET /admin/payouts—Lists every node with an amount accrued: payout address, owed, paid, and whether it is payable now (at least $1 in USD or 1 IDYL in $IDYL, and a payout address)
POST /admin/payouts{ tx, asset, items: [{ nodeId, amountUsd or amountIdyl }] }Marks a payout batch as paid against a transaction. With asset: "IDYL" the items carry amountIdyl and settle $IDYL payables only; any other asset settles USD payables with amountUsd, and mixing the two is refused (400 invalid_items). Refuses an item above what the node is owed (400 payout_exceeds_accrued). Idempotent per tx
POST /admin/pay/idyl-burned{ tx, amountIdyl }Records that $IDYL in the burn queue was burned, and releases it from the queue. Refuses more than is queued. Idempotent per tx
GET /admin/ip—Shows which address the Gateway takes this request to come from, with the connection's address, the X-Forwarded-For entries and any edge headers it saw. Use it to check IDYL_TRUST_PROXY: the address shown must be yours, not a proxy's, and not a value you can set yourself
POST /admin/pro{ wallet, stakedIdyl, stakedAt? }Testnet only: sets a wallet's staked amount by hand; 0 removes the override. Proves nothing about on-chain stake
POST /admin/transparency{ canary?: { statement, nextUpdateBy } or null, requests?: { received, complied, period } or null }Publishes or withdraws the canary and request counts shown at /api/transparency. Never set by the software itself
POST /admin/burns{ tx, amountIdyl, at }Records a buyback burn with its transaction and explorer link, for the Ledger and the weekly report. Idempotent per tx

Errors from the operator endpoints:

StatuscodeWhen
404not_foundIDYL_ADMIN_TOKEN is not set, or there is no such operator endpoint
401unauthorizedThe admin token is missing or wrong
429admin_lockedThis address sent 10 wrong or missing admin credentials; one more attempt each minute. Wait for Retry-After
405method_not_allowedRight token, wrong HTTP method for the endpoint; Allow lists the methods it takes
400invalid_wallet, invalid_amount, invalid_value, invalid_asset, invalid_tx, invalid_items, invalid_ref, invalid_requestA field is missing or malformed; param names it. invalid_tx means tx is not a base58 transaction signature
400payout_exceeds_accrued, burn_exceeds_queue, revoke_exceeds_paymentMore than is owed to the node, more than is queued for burning, or more than the payment credited
404node_unknown, wallet_unknownNo such node, or a wallet that has never held credits. Nothing was changed
409ref_not_credited, ref_wallet_mismatchRevocation: the session was never credited, or it was credited to another wallet. Nothing was changed
409burn_conflict, burns_fullThe burn transaction is already recorded with another amount, or the burn record is full
503storage_unavailable, not_savedThe change could not be written durably to disk and was not applied. Repeat the same request; it is applied once

None of these endpoints moves money or tokens. They record what the operator did elsewhere, with the transaction that proves it. The Gateway does not check the transaction of a payout or a burn against the chain; anyone can, with the recorded signature.

Two operator scripts read the Gateway's state file directly:

CommandWhat it does
npm run payouts:exportWrites one payout batch per asset — JSON and CSV of payout address and amount — for nodes with a payout address and at least $1 accrued in USD, or at least 1 IDYL accrued in $IDYL
npm run points:exportWrites the Season 0 snapshot and its SHA-256 Merkle root. Flagged nodes are excluded unless --include-flagged is given

Configuration#

Self-hosted Gateways read these environment variables. Nothing is required for a Gateway to start. .env.example is the complete, commented list, and the self-hosting guide says what each variable is needed for and which are secrets.

Core#

VariableDefaultPurpose
PORT8787Listen port
HOST0.0.0.0Listen address
IDYL_DATA_DIRservices/gateway/dataDirectory for state.json and its backup state.json.bak. Every write is fsync'ed and renamed into place. Put it on a persistent disk and back it up (how): it holds balances and payables
IDYL_WEB_ROOTapps/webStatic site root
IDYL_PLUGINSallWhich plugins load: all, none, or a comma-separated list of privacy,sealed,guest,payments,pro,points,reports
IDYL_FREE_TOKENS_PER_DAY200000Free tier per key per UTC day
IDYL_FREE_UNBOUND_MAX_MEM_GB12Largest Unbound model, by approximate memory, that the free tier covers when a paid path exists
IDYL_RATE_KEY_RPM120Requests per minute per API key
IDYL_RATE_IP_RPM300Requests per minute per IP
IDYL_JOB_TIMEOUT_MS60000Job deadline
IDYL_FIRST_TOKEN_MS15000First-token and pickup deadline
IDYL_CANARY_MS600000Canary interval; 0 disables
IDYL_FLOOR_URLunsetOpenAI-compatible base URL serving the guard model, run by the Gateway operator. First choice for guard capacity, and the only non-sealed guard allowed to classify a Sealed · relay request
IDYL_FLOOR_KEYunsetBearer key for IDYL_FLOOR_URL, if it needs one
IDYL_FLOOR_MODELllama-guard3:1bModel name to request from IDYL_FLOOR_URL
IDYL_FLOOR_MODEchatchat sends messages to /chat/completions (Ollama, vLLM); prompt sends the raw Llama Guard prompt to /completions
IDYL_FLOOR_TIMEOUT_MS8000Time budget for one Floor check across all guard sources
IDYL_TRUST_PROXYoffHow to find the caller's address behind a proxy. A number N: N trusted proxies each append to X-Forwarded-For, and the Gateway takes the entry N from the right; entries further left come from the client and are ignored. A header name, such as cf-connecting-ip: the edge sets and overwrites that header. Off: the connection's own address. A value that is not an IP address falls back to the connection's address. Check the result with GET /admin/ip (how)
IDYL_OPENoffAllow /v1/chat/completions without a key — local development only. Unbound models still require an attested key
IDYL_ADMIN_TOKENunsetEnables the operator endpoints under /admin/*; unset means they return 404
LOG_LEVELinfodebug, info, warn, error, silent

Sealed#

VariableDefaultPurpose
IDYL_ATTESTATION_ISSUERSNVIDIA Remote Attestation Service (GPU) and Intel Trust Authority (CPU TEE)JSON array of trusted issuers that replaces the built-in ones: { name, kind: "gpu" or "cpu", iss, jwksUrl, bindingClaim, bindingEncoding: "hex" or "base64", require: {claim: value}, measurementClaims?, simulated? }. An entry with an unknown field stops the Gateway from starting
IDYL_SEALED_MEASUREMENTSunsetJSON array of {claim: value} objects: the allow-list of published node images. A match gives measured; no match gives hardware. Unset means no node can be measured
IDYL_ALLOW_SIMULATED_TEEoff1 accepts tokens from issuers marked simulated: true. Development only. Every grade then carries -simulated. Never set it on a Gateway other people use
IDYL_SEALED_ATTESTATION_TTL_SECthe tokens' own expiryA fixed attestation lifetime, 60 to 86,400 seconds. Never longer than 24 hours either way
IDYL_SEALED_UPSTREAMSunsetJSON array of sealed providers for Sealed · relay: { name, baseUrl, apiKeyEnv, models: { "<idyl model id>": "<provider model id>" } }. The provider's key is read from the variable named in apiKeyEnv; a provider without a key is disabled

Guest, payments and Pro#

VariableDefaultPurpose
IDYL_GUEST_POW_BITS18Proof-of-work difficulty for guest access, in leading zero bits
IDYL_SOLANA_RPC_URLunsetSolana RPC endpoint used to verify payments and read stake
IDYL_TREASURY_ADDRESSunsetThe address that receives Solana payments. Unset disables Solana Pay
IDYL_SOLANA_CLUSTERguessed from the RPC URLA label, and which explorer links are shown
IDYL_SOLANA_RPC_TIMEOUT_MS10000Timeout per RPC call
IDYL_PAY_COMMITMENTconfirmedconfirmed or finalized: how settled a payment must be before it is credited
IDYL_PAY_DURABLE_WAIT_MS2500The longest an answer that says "this is recorded" waits for the change to be durably on disk: a new payment request, a confirmed payment, a card acknowledgement, an operator change. If the write fails or takes longer, a payment request, a card acknowledgement and an operator change are answered 503 storage_unavailable and can be repeated; each is applied once. 0 switches the wait off; the maximum is 10000
IDYL_USDC_MINTMainnet USDCThe USDC mint accepted. USDC is taken at $1.00
IDYL_TOKEN_MINTunsetThe $IDYL mint. Unset disables Pay in $IDYL
IDYL_PRICE_URLunsetA Jupiter Price API v3 endpoint, for SOL and $IDYL prices. Without it or a fixed price, that asset is disabled
IDYL_PRICE_API_KEYunsetKey for the price endpoint, if it needs one
IDYL_PRICE_MIN_LIQUIDITY_USD0Refuse a price whose reported liquidity is below this
IDYL_PRICE_SOL_USD, IDYL_PRICE_IDYL_USDunsetFixed prices; they win over the price endpoint
IDYL_PAY_MIN_USD1Smallest payment
IDYL_PAY_MAX_USD1000Largest payment
IDYL_PAY_DAILY_CAP_USD2000Largest total per wallet per UTC day
STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRETunsetEnable card payments. Both are needed
IDYL_STRIPE_API_BASEhttps://api.stripe.comFor tests against a stand-in. Do not set it in production
IDYL_PUBLIC_URLunsetThe Gateway's public URL, for Stripe's return links. Needed for card payments
IDYL_BOND_PROGRAM_IDunsetThe IDYL Bond program that holds stake-for-Pro positions. Unset: Pro status comes only from operator overrides
IDYL_CREDIT_POOL_SHARE0.05Share of the previous week's paid revenue that forms the credit pool, from 0 (no pool) to 0.075. Refused above 0.075: the Gateway does not start, because spent pool credits still pay nodes 85%, out of the treasury's half of the protocol share, and a larger share could not be funded

Season 0 and reports#

VariableDefaultPurpose
IDYL_SEASON0_STARTFirst start, then persistedISO date or time at which the 42-day season begins
IDYL_BENCH_INTERVAL_MS1800000Average interval between capacity-check waves; 0 disables them, and with them availability points
IDYL_BENCH_START_ALLOWANCE_MS2000Start-up time not counted against a node in a capacity check (0 to 15,000)
IDYL_BENCH_ALLOW_ECHOsame as IDYL_OPEN1: a capacity check accepts an answer that only repeats the request. For the mock backend in development; leave it off otherwise
IDYL_REPORTS_SAMPLE_MS300000How often the weekly report samples the network

The privacy plugin has no variables. Its canary and request counts are set with POST /admin/transparency.

13 — Run a node

Run an IDYL Node

24 min readdocs/NODE.md

The IDYL Node connects a model runtime you already run — Ollama, vLLM or the llama.cpp server — to the IDYL network. It pulls jobs over outbound HTTPS, runs them locally, streams the output back and signs every request with its own keypair. It opens no ports, needs no dependencies beyond Node.js, and can be limited to the hours your machine would otherwise sit idle.

Tip

Most people should use IDYL Desktop instead. It is the same node in a one-click app for macOS, Windows and Linux: it detects your hardware, installs models that fit, serves only while you are away and pauses on battery. This guide is for servers, headless machines and people who prefer a terminal.

ItemValue
Programservices/node/cli.js — zero dependencies, version 0.3.0
RequiresNode.js 20 or later; a local OpenAI-compatible runtime
NetworkOutbound HTTPS to the Gateway only; no inbound ports
Identityed25519 keypair in Solana format, default ~/.idyl/node-keypair.json
Registers asclient: "cli/0.3.0"
Privacy grades servedCommunity on any machine. Sealed only on confidential-computing hardware, with --sealed
StatusBeta (testnet). Most traffic is metered, not paid; work a caller paid for from credits accrues an amount you are owed. The bond program is written for devnet and not yet deployed

Read before you run. A Community node necessarily sees the plaintext of every prompt it serves. Running one means accepting the privacy obligations in Security and privacy obligations.

Hardware#

Any machine that can run a model at a usable speed can serve it. What matters most is memory: the model must fit in GPU memory (VRAM) or, on Apple silicon, in unified memory, with room to spare. Approximate minimums for 4-bit builds, from the catalog:

Min. memory (approx.)Open modelsUnbound models (opt-in)
2 GB— (guard: llama-guard3:1b, see Serve The Floor)—
4 GB—huihui_ai/llama3.2-abliterate:3b
8 GBllama3.1:8b, qwen2.5:7b, mistral:7b, qwen3:8b, deepseek-r1:8b, gemma4:e2bhuihui_ai/qwen3-abliterated:8b, huihui_ai/deepseek-r1-abliterated:8b
10 GBgemma4:e4b—
12 GBqwen3:14b, gemma3:12b, gemma4:12bhuihui_ai/gemma3-abliterated:12b, huihui_ai/qwen3-abliterated:14b
16 GBgpt-oss:20bhuihui_ai/gpt-oss-abliterated:20b
20 GBgemma4:26bhuihui_ai/mistral-small-abliterated:24b
24 GBqwen2.5-coder:32b, qwen3.6:27b, gemma4:31bhuihui_ai/qwen3-abliterated:32b, huihui_ai/qwen3.6-abliterated:27b
28 GBqwen3.6:35b-a3bhuihui_ai/qwen3.6-abliterated:35b-a3b
48 GBllama3.3:70bhuihui_ai/llama3.3-abliterated:70b

Figures are rough guidance; check the runtime's model page for exact sizes, and leave headroom for context. CPU-only machines can serve small models, but often too slowly to meet the deadlines below. Ollama on Intel Macs runs on the CPU only.

Deadlines your machine must meet. The first token of each job must reach the Gateway within 15 seconds and the whole job within 60 seconds (default). A node that misses deadlines loses reliability, receives less traffic and records slash points. Choose models your hardware can serve comfortably, and keep them loaded in memory (see Troubleshooting).

Network. A stable connection matters more than raw bandwidth. Output is streamed in small chunks.

Power. IDYL makes no representation that running a node will be profitable. Target rates are low by design; compare expected earnings with your own electricity cost. The economics favour machines that are already on.

1Install a runtime and pull models#

Shell
# macOS
brew install ollama          # or download the app from ollama.com
ollama serve                 # skip if the desktop app is running

# Linux (installs a systemd service named "ollama")
curl -fsSL https://ollama.com/install.sh | sh

# Windows: run the installer from ollama.com

Pull one or more models using the canonical ids:

Shell
ollama pull llama3.1:8b
ollama pull qwen3:8b

Check that the OpenAI-compatible endpoint answers:

Shell
curl -s http://localhost:11434/v1/models

Use the default builds for each tag. A custom Modelfile (a different system prompt, template or quantization) changes outputs and will fail canary checks.

vLLM#

Shell
vllm serve Qwen/Qwen2.5-7B-Instruct --port 8000
# backend URL: http://localhost:8000/v1  (Hugging Face ids map to canonical ids automatically)

llama.cpp server#

Shell
llama-server -m ./qwen2.5-7b-instruct-q4_k_m.gguf --port 8080 --alias qwen2.5:7b
# backend URL: http://localhost:8080/v1

The llama.cpp server serves one model under whatever name you give it. Name it truthfully: advertising a model you are not running is treated as tampering.

2Install the node and create an identity#

One-line install#

On macOS or Linux:

Shell
curl -fsSL https://idylnetwork.com/install.sh | bash

On Windows (PowerShell):

PowerShell
irm https://idylnetwork.com/install.ps1 | iex

The installers need Node.js 20 or later already installed; they do not install Node for you. They need no administrator rights and change nothing system-wide. They:

  1. download the IDYL source from GitHub and copy the node CLI to ~/.idyl/app (Windows: %LOCALAPPDATA%\IDYL\app);
  2. create an idyl-node launcher in ~/.local/bin (Windows: %LOCALAPPDATA%\IDYL\bin, added to your user PATH unless IDYL_NO_PATH=1);
  3. create a node identity at ~/.idyl/node-keypair.json if none exists (on Windows, %USERPROFILE%\.idyl\node-keypair.json — the same ~/.idyl location the CLI uses on every operating system), and never touch an existing one;
  4. print the next steps.

Re-run the same command to update. After installing, idyl-node replaces node services/node/cli.js in every example below, for example idyl-node --gateway https://<gateway-url> --backend http://localhost:11434/v1.

Piping a script into a shell runs it with your permissions. Read it first if you prefer: download it, open it, then run it. The scripts are in scripts/ in the repository. Both installers download the repository archive without authentication, so they work only once the GitHub repository is public. install.ps1 has not yet been tested on a Windows machine; if it fails, use the from-source steps below and please report the error.

From source#

Shell
git clone https://github.com/thetradeexpert444/idyl.git
cd idyl
node services/node/cli.js --init

--init writes a new ed25519 keypair in Solana's solana-keygen format to ~/.idyl/node-keypair.json with file mode 0600, and prints the node id (the public key). It refuses to overwrite an existing keypair unless you add --force.

Back the keypair up. It is your node's identity: its reputation and history are attached to it, and on mainnet it controls the node's bond. Anyone holding the file can impersonate your node. Print the node id at any time with:

Shell
node services/node/cli.js --pubkey

3Run#

Shell
node services/node/cli.js \
  --gateway https://<gateway-url> \
  --backend http://localhost:11434/v1 \
  --name studio-m2 \
  --concurrency 2 \
  --payout <your-solana-address> \
  --idle-only

The hosted testnet Gateway URL is published on the website. On first contact the node registers the models its runtime reports, then holds long-polls for jobs. Expected output:

Text
[idyl-node 15:40:02] IDYL Node 0.3.0 · id HBAWL9K6DdkqoVdE96Fz1beC9L2rpeqisrHe4hRBQjsH
[idyl-node 15:40:02] gateway https://<gateway-url> · backend http://localhost:11434/v1
[idyl-node 15:40:03] registered HBAW…QjsH as "studio-m2" · models: llama3.1:8b, qwen3:8b · concurrency 2 · payout 8YRG…M4tx
[idyl-node 15:41:17] job 6dbcf7de done · llama3.1:8b · 412 tokens · 2310ms

The node never logs prompt or completion content — only job ids, model, token counts and timings. Your node appears on the Ledger (app.html#ledger) and at GET /api/nodes/<node id> within seconds.

What the node sends about your machine. At registration the node sends two things about the computer:

  • A hardware summary — operating system, architecture, CPU model, core count, memory, GPU name and GPU memory — so that the network can describe capacity honestly. Pass --no-hardware to send none.
  • A hardware fingerprint — a one-way hash that marks this machine, used only for Season 0's rule of one earning node per machine. Pass --no-fingerprint to send none; the node then earns no Idle Points. See Season 0: points, referrals and the fingerprint.

The node record at GET /api/nodes/<node id> is public: anyone can see the display name, payout address, hardware summary, client version, performance, points and what the node is owed. The fingerprint is not part of that record. Use a name and a payout address you are comfortable publishing.

Try it locally first#

From a clone of the repository, npm run dev -- --minimal starts a keyless local Gateway on http://localhost:8787 with no plugins, together with a node on the built-in mock backend, which echoes prompts deterministically and needs no GPU. Attach your own node to it from a second terminal:

Shell
npm run dev -- --minimal                                              # terminal 1
node services/node/cli.js --gateway http://localhost:8787 --backend http://localhost:11434/v1   # terminal 2

Requests to the minimal Gateway need no API key; see the API reference for the full request format. Plain npm run dev starts the full v3 stack instead — every plugin, four mock nodes including one Sealed node with SIMULATED attestation, and a dev API key printed at start, which requests then need. Your own node can join either. The mock backend also offers mock Unbound models (with --unbound) and a mock guard model (with --serve-floor) that answers unsafe with the given categories for any message containing a marker such as [[floor-test:S4]], [[floor-test:S11]] or [[floor-test:S4,S9]], and safe otherwise ([[floor-test:garbage]] and [[floor-test:fail]] simulate an unreadable verdict and a guard failure). Every Floor outcome can be tested this way without real models or real harmful text.

Flags#

FlagDefaultDescription
--init—Create a keypair and exit
--forceoffAllow --init to overwrite an existing keypair
--pubkey—Print the node id and exit
--keypair <path>~/.idyl/node-keypair.jsonKeypair file (env IDYL_KEYPAIR)
--gateway <url>—Gateway base URL (env IDYL_GATEWAY). Required to serve
--backend <url|mock>—OpenAI-compatible runtime URL, or mock. Required to serve
--backend-key <key>—Bearer key for the runtime, if it requires one (env IDYL_BACKEND_KEY)
--models a,bautoModels to serve. By default the node reads GET <backend>/models and re-checks every minute
--concurrency <n>2Parallel jobs, 1–64
--name <name>hostnameDisplay name on the Ledger, up to 32 characters
--payout <address>—Solana address (base58, 32 bytes) for payouts. Public on the Ledger. Without it, what you are owed accrues but cannot be paid
--unboundoffAlso serve Unbound (abliterated) models. See Serve Unbound models
--serve-flooroffAlso serve llama-guard3:1b as guard capacity for The Floor. See Serve The Floor
--no-think a,bnoneModels (ids, or prefixes ending in *) that answer without a thinking phase unless the caller sets reasoning_effort. For CPU-only machines, where thinking first can pass the Gateway's first-token deadline. Env IDYL_NO_THINK
--no-hardwareoffDo not send the hardware summary at registration
--referrer <address>—Season 0: the wallet that referred you (base58). Sent once, at the node's first registration, and fixed from then on
--no-fingerprintoffDo not send the hardware fingerprint. Without it this node earns no Idle Points
--sealedoffRun as a sealed node on confidential-computing hardware. Requires --attestation-cmd. See Run a sealed node
--attestation-cmd "<cmd>"—The command that obtains hardware attestation tokens for --sealed
--idle-onlyoffServe only while the machine is idle
--max-load <x>0.7With --idle-only: pause when load per CPU core exceeds this; resume at 85% of it
--quietoffLog only warnings and errors
--help, --version—Usage and version

Mock-backend flags for testing failure handling: --fail-rate <0..1>, --fail-mode error|stall, --mock-delay-ms <n>, --mock-seed <n>, --mock-variant <tag>.

Which models are advertised. Of the models your runtime lists (or --models names), the node advertises Open models always, Unbound models only with --unbound, and the guard model only with --serve-floor. Anything it leaves out is printed once at start, for example not serving huihui_ai/qwen3-abliterated:8b: unbound model: serve it with --unbound. The Gateway applies the same rule again, so a node that did not opt in can never receive an Unbound job. And the node enforces it a third time on every job it receives: a job for a model it does not advertise — an Unbound model without --unbound, the guard model without --serve-floor, or any model not in its list — is refused with model_not_served before the runtime is touched, whatever a Gateway asks for.

How --idle-only works. Every 5 seconds the node samples the one-minute load average per CPU core (on Windows, CPU utilisation). Above --max-load it pauses: the Gateway stops routing to it, and jobs already running finish. It resumes when load falls to 85% of the threshold. It measures CPU, not GPU, activity. Inference on the CPU raises the load itself, so CPU-only nodes may need a higher --max-load. IDYL Desktop gates on keyboard and mouse activity instead.

Stopping. Ctrl+C or SIGTERM signs the node off, lets in-flight jobs finish (up to about 65 seconds), then exits. Press Ctrl+C again to force.

Serve Unbound models#

Unbound models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. They pay about 1.5× the rate of comparable Open models, and they are served only to wallets that signed the Unbound attestation. Every request passes The Floor first.

Before you opt in, read the Unbound policy. The acknowledgment is the same as in IDYL Desktop, and the node prints it when --unbound is set:

Your computer generates the responses. Check that serving unrestricted models is legal where you live. The Floor blocks the worst categories but is not perfect.

Shell
ollama pull huihui_ai/qwen3-abliterated:8b
node services/node/cli.js --gateway https://<gateway-url> --backend http://localhost:11434/v1 --unbound

The registration line then ends with unbound on. Any model whose tag contains abliterat or uncensored is treated as Unbound, listed in the catalog or not. To stop serving Unbound, restart the node without --unbound.

Serve The Floor#

The Floor classifies every chat request with Llama Guard 3 1B before routing. Guard capacity comes first from the Gateway operator's own endpoint (IDYL_FLOOR_URL) and then from nodes that opt in with --serve-floor. Without any guard capacity, Unbound requests are refused, so guard nodes keep the Unbound tier available.

Shell
ollama pull llama-guard3:1b        # about 1.6 GB
node services/node/cli.js --gateway https://<gateway-url> --backend http://localhost:11434/v1 --serve-floor
  • Guard jobs are short: one classification of a request's latest user message and system prompt, answered with a few tokens. They are placed at the front of the queue and must complete within The Floor's time budget (8 seconds by default).
  • They pay a flat $0.01 per 1M tokens metered; in testnet they are metered only. They count toward your reliability like any job, and they appear in your node record as floorJobs.
  • Unlike canaries, guard jobs are labelled kind: "floor" in the job payload, and the log line reads floor check.
  • A guard node sees the text it classifies. The same privacy obligations apply. Return the model's real verdict: a fabricated verdict is tampering.
  • The guard model runs beside a chat model on most machines. Only the exact tag llama-guard3:1b is used; other guard variants are not advertised.

In IDYL Desktop, installing Llama Guard 3 1B from the Models screen ("Help run The Floor") does the same: the app then offers guard capacity automatically.

Season 0: points, referrals and the fingerprint#

Season 0 is the public testnet season. It records Idle Points for capacity the Gateway has measured itself and for work a caller paid for. The rules are in Season 0. No reward is promised and no amount has been set.

Capacity checks. About every 30 minutes the Gateway sends every online node one short test job at the same instant and times the reply. Your node cannot tell a test from a chat job. The test always uses the largest catalog model your node offers, so serve models your hardware runs comfortably and keep the largest one loaded in memory: Ollama unloads an idle model after 5 minutes by default (OLLAMA_KEEP_ALIVE changes that). A reload of more than 2 seconds lowers the measured speed, and one of more than 15 seconds misses the test, which is a missed deadline like any other. A node that has not passed a check in 24 hours earns nothing.

The fingerprint. To let only one node per machine earn, the node sends hardware.fingerprint: sha256("idyl-fp-v1|machine id|cpu|cores|memory|os|arch").

  • The machine id is read from the operating system (/etc/machine-id on Linux, the platform UUID on macOS, the machine GUID on Windows) and never leaves your computer; only the hash is sent. If no machine id can be read, the first network adapter's address is used instead, again only inside the hash.
  • It has no per-install salt, on purpose: two installs on one machine must produce the same value. That makes it a stable pseudonymous identifier for the machine: every Gateway your node registers with receives the same value, under any node key.
  • It is not shown in your node's public record.
  • --no-fingerprint sends none. The node serves and is metered as usual and earns no Idle Points. --no-hardware does not switch it off: the fingerprint is sent with or without the hardware summary.
  • In a container there is no machine id of its own. Mount the host's /etc/machine-id into the container, as the self-hosting guide describes; otherwise the node earns no points or shares a fingerprint with other containers.
  • If two nodes report the same fingerprint, only the earliest registered earns; the other earns 0 and is flagged.

Referrals. --referrer <wallet> names the wallet that referred you. It is recorded at your node's first registration and cannot be changed or added later, so set it the first time you run. It cannot be your node's own id or your own payout address. The referrer earns a bonus of 10% of your node's points for 90 days, capped at 1,000 points per referrer per season; your points are not reduced.

Shell
node services/node/cli.js \
  --gateway https://<gateway-url> \
  --backend http://localhost:11434/v1 \
  --payout <your-solana-address> \
  --referrer <referrer-wallet>

See your node's points at GET /api/points/<node id> or in the app at app.html#points.

Run a sealed node#

Not validated on real hardware. Sealed mode is implemented and tested with a simulated attester only. Nobody has yet run an IDYL sealed node on a real confidential GPU. The example attestation script is untested. If you have access to such hardware and try this, expect to find problems, and please report them.

A sealed node serves the two Sealed grades. It needs hardware that ordinary machines do not have:

RequirementDetail
GPUA datacenter GPU in confidential-computing mode: NVIDIA H100, H200 or B200 class
HostA confidential virtual machine on Intel TDX or AMD SEV-SNP
AttestationAccess to the vendors' attestation services, and a command that obtains their tokens
Not possible onGaming GPUs, Apple silicon, or any machine IDYL Desktop runs on. Consumer GPUs cannot do confidential computing

Run the node inside the confidential virtual machine, with --sealed and an attestation command:

Shell
node services/node/cli.js \
  --gateway https://<gateway-url> \
  --backend http://localhost:11434/v1 \
  --sealed \
  --attestation-cmd "/opt/idyl/attest.sh"

What --sealed does:

  1. Creates an enclave key at start: an ECDH P-256 key pair held in memory only, never written to disk. Callers encrypt end-to-end requests to its public half. A restart creates a new key.
  2. Attests the key to the Gateway before it takes jobs. The node asks the Gateway for a nonce, computes a binding of that nonce, its node id and its enclave key, and runs your attestation command with the binding in the environment variable IDYL_ATTEST_BINDING. The command has 60 seconds. The node attests again at least every 12 hours, before its attestation expires, after any re-registration or lost connection, and when the Gateway no longer shows its attestation as current.
  3. Serves Sealed · end-to-end jobs: it decrypts the request inside the enclave, runs The Floor there, runs the model, and returns encrypted frames.
  4. Serves Sealed · relay jobs, and ordinary jobs, as any node does.
  5. Reports its key. Every register and heartbeat message carries sealed: { keyId }, so the Gateway knows which enclave key this process holds. A restarted node holds a new key, and the Gateway ends the old attestation.

Its logs never contain plaintext or keys.

If attestation fails, the node keeps running. It goes on serving ordinary jobs, tries again after 15 seconds and then at growing intervals of up to 5 minutes, and receives no Sealed traffic until the Gateway accepts an attestation. Watch the log: a sealed node that never attests earns as an ordinary node and nothing more.

How long an attestation lasts. As built, an attestation ends when the earlier of its two vendor tokens expires, and never later than 24 hours after the Gateway verified it. Vendor tokens can be short-lived: Intel's documented sample token is valid for 5 minutes, NVIDIA's for 1 hour. The node attests again shortly before the end — after 80% of the validity, or 30 minutes before the end if that comes later, and never more often than every 30 seconds — so with 5-minute tokens your attestation command runs again 4 minutes after each success, and every run calls the vendors' services. A Gateway operator can instead set a fixed lifetime of 60 seconds to 24 hours (IDYL_SEALED_ATTESTATION_TTL_SEC): the tokens must be valid when they are verified, and the evidence is then refreshed less often. Nobody has run this against real vendor tokens yet, so treat the rhythm above as arithmetic from the code and the vendors' samples, not as experience.

The attestation command. Your command must obtain two signed tokens that both carry the binding, and print them as one line of JSON:

JSON
{"gpu": "<JWT from the GPU attestation service>", "cpu": "<JWT from the CPU TEE attestation service>"}
  • The GPU token must carry the binding as its attestation nonce. NVIDIA's service returns it as the claim eat_nonce, in hex.
  • The CPU TEE token must carry the binding as the data the attester holds. Intel Trust Authority returns it as attester_held_data, the 32 bytes in Base64.
  • gpu may also be NVIDIA's whole detached bundle, with one token per GPU; the Gateway then checks each GPU's own claims as well.
  • The Gateway verifies each token's issuer, signature, validity times, required claims and binding. The built-in issuers are NVIDIA's Remote Attestation Service and Intel Trust Authority; a Gateway operator can configure others. No issuer for AMD SEV-SNP is built in.

services/node/scripts/attest-nvidia-intel.example.sh is a documented example for NVIDIA with Intel TDX. It is untested: it has never been run on confidential-computing hardware. Treat it as a starting point.

Verification level. A successful attestation is recorded as measured if the software inside your enclave matches an image on the Gateway's published allow-list, and as hardware otherwise. measured needs published, reproducible node images, and none has been published yet. So today the best possible result is hardware, which tells callers that your hardware is genuine and that the software inside your enclave is not proven. The two tokens share one thing only, the binding: nothing else ties the attested GPU to the attested CPU enclave.

Check your own attestation. Once the node logs that it has attested, verify the record the way a careful caller would, from a clone of the repository: npm run verify:attestation -- <gateway> <attestationId> (or your node id in place of the attestation id). It fetches your evidence and checks the vendors' signatures against the vendors' own keys, without taking the Gateway's word. This matters because a caller's browser checks only the binding of your key, not those signatures.

What version 1 does not do. End-to-end jobs carry text only: no tool calls. The enclave key lasts from start to restart and there is no forward secrecy beyond it. The channel is not post-quantum. The Floor classifies the request, never what the model writes. And the Gateway still sees, for every job you serve, the caller's wallet and IP address, the model, the timing, the padded sizes, the token counts you report, and The Floor's outcome with its category ids.

The Floor inside the enclave. For end-to-end requests the Gateway cannot run The Floor, so your node does, on its own runtime. Install the guard model beside your chat models:

Shell
ollama pull llama-guard3:1b

Without it, Open requests are served on the prefilter alone and Unbound requests are refused, exactly as on the Gateway. Add --serve-floor as well if your node should also classify Sealed · relay requests for the Gateway: a relay request is classified only by the Gateway operator's own guard endpoint or on a sealed node, never on an ordinary one.

Development only: the simulated attester. services/node/scripts/attest-sim.mjs signs tokens with a local test key so that the whole flow can be exercised without hardware. It refuses to run unless IDYL_ALLOW_SIMULATED_TEE=1, the Gateway must be started with the same variable and with the issuers printed by --print-issuers, and everything it produces is labelled SIMULATED (the exact commands are in the self-hosting guide): the privacy grade becomes sealed-relay-simulated or sealed-e2e-simulated. A simulated node protects nothing. Never use it on a public Gateway.

Pricing and points. Sealed requests are charged at 1.3× the model's rate, and you are owed 85% of the charge. In Season 0 a sealed node's availability points are doubled, and so are its paid-work points for jobs served sealed.

Payouts#

--payout <address> attaches a Solana address to your node's registration. It is validated locally and by the Gateway (a base58 address that decodes to 32 bytes), shown on the Ledger and in GET /api/nodes/<id>. The payout address receives funds only; it never needs to sign anything for the node.

Metered and paid are different things.

MeteredPaid
What it countsEvery job you served, valued at target ratesOnly jobs a caller paid for from credits
Free-tier, Pro-allowance and guest jobsCountedNot counted: nobody paid, so nothing is owed
Where you see itearnedUsd in GET /api/nodes/<id>payable in GET /api/nodes/<id>, and GET /api/payouts/<id>
Is it money?NoYes: it is what you are owed

For every job paid from credits, 85% of the charge is recorded as owed to your node. You have two payables, because callers can pay in two ways:

Caller's credits wereYou are owedField
Bought with USDC, SOL or a card, or granted (the weekly pool, a promotion)85% of the charge, in USDpayable.accruedUsd, and payable.paidUsd once paid
Bought with $IDYL85/90 of the tokens behind the charge, in $IDYLpayable.accruedIdyl, and payable.paidIdyl once paid

payable.lifetimeUsd and payable.lifetimeIdyl are everything your node has ever accrued in each. Payment in $IDYL starts only when the token exists. The number of tokens you are owed is fixed when the caller buys the credits; what they are worth when you are paid may be more or less. Tokens you are paid can be bonded, sold or held: that is your decision, and nothing here is a forecast of their value.

How payouts happen. Payouts are a manual batch run by the Gateway's operator:

  1. The operator exports one batch per asset: every node with at least $1 accrued in USD, and every node with at least 1 IDYL accrued in $IDYL. A node needs a payout address to appear.
  2. The operator pays each batch from the treasury multisig, the $IDYL batch in $IDYL.
  3. The operator records the payment's transaction. Your accrued amount falls, your paid amount rises, and the payout appears at GET /api/payouts/<id>.

What you should know before counting on it:

  • No payout has been made yet. The asset in which USD payables are paid, and how often batches run, have not been published.
  • Without a payout address you cannot be paid. What you are owed keeps accruing until you set one.
  • It is recorded by the Gateway, not on-chain. What you are owed is an entry in the Gateway's ledger, settled by its operator. It is not yet a claim you can enforce by yourself.
  • Most testnet traffic is not paid. On a network that is mostly free-tier, expect your metered figure to be far larger than what you are owed.
  • On mainnet, paid jobs will require a bond of at least 10,000 IDYL. During the testnet there is no bond requirement.

IDYL makes no representation that running a node will be profitable.

4Run as a service#

Linux (systemd)#

Create a dedicated user, install the code and create the identity as that user:

Shell
sudo useradd --system --create-home --shell /usr/sbin/nologin idyl
sudo git clone https://github.com/thetradeexpert444/idyl.git /opt/idyl
sudo -u idyl node /opt/idyl/services/node/cli.js --init

/etc/systemd/system/idyl-node.service:

INI
[Unit]
Description=IDYL Node
After=network-online.target ollama.service
Wants=network-online.target

[Service]
Type=simple
User=idyl
Environment=IDYL_GATEWAY=https://<gateway-url>
ExecStart=/usr/bin/node /opt/idyl/services/node/cli.js --backend http://localhost:11434/v1 --name my-node --concurrency 2 --idle-only
Restart=on-failure
RestartSec=5
KillSignal=SIGTERM
TimeoutStopSec=75
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=read-only
PrivateTmp=true

[Install]
WantedBy=multi-user.target
Shell
sudo systemctl daemon-reload
sudo systemctl enable --now idyl-node
journalctl -u idyl-node -f

Adjust /usr/bin/node to the output of which node. TimeoutStopSec=75 gives in-flight jobs time to finish on shutdown. Add --payout, --unbound or --serve-floor to ExecStart as needed.

macOS (launchd)#

~/Library/LaunchAgents/network.idyl.node.plist:

XML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>network.idyl.node</string>
  <key>ProgramArguments</key>
  <array>
    <string>/opt/homebrew/bin/node</string>
    <string>/Users/you/idyl/services/node/cli.js</string>
    <string>--gateway</string>
    <string>https://gateway-url.example</string>
    <string>--backend</string>
    <string>http://localhost:11434/v1</string>
    <string>--name</string>
    <string>studio-m2</string>
    <string>--idle-only</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
  <key>KeepAlive</key>
  <true/>
  <key>ProcessType</key>
  <string>Background</string>
  <key>StandardOutPath</key>
  <string>/Users/you/Library/Logs/idyl-node.log</string>
  <key>StandardErrorPath</key>
  <string>/Users/you/Library/Logs/idyl-node.log</string>
</dict>
</plist>

Replace /Users/you with your home directory, the Gateway URL with the real one, and /opt/homebrew/bin/node with the output of which node. Then:

Shell
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/network.idyl.node.plist
launchctl kickstart -k gui/$(id -u)/network.idyl.node    # restart
launchctl bootout gui/$(id -u)/network.idyl.node         # stop and unload
tail -f ~/Library/Logs/idyl-node.log

A LaunchAgent runs while you are logged in, which suits a personal Mac. The Ollama desktop app must also be running, or run ollama serve as its own agent. On a personal Mac, IDYL Desktop does all of this for you.

Security and privacy obligations#

Running a node means handling other people's text. These obligations are conditions of serving on the network.

  1. Do not log, store, inspect or reuse content. The IDYL Node never writes prompts or completions to disk or logs. Keep it that way: do not add request logging, debugging proxies or packet capture in front of the node or the runtime, and make sure the runtime itself does not log request bodies (keep Ollama's debug logging off; check vLLM's request-logging options).
  2. Serve exactly what you advertise. The model behind each id must be the standard build of that model. Substituting a smaller model, a heavier quantization or a modified prompt template is detectable by canaries and, where provable, is tampering — 100% of bond on mainnet.
  3. Keep the runtime private. Ollama listens on 127.0.0.1:11434 by default; do not expose it to your network or the internet (for example, do not set OLLAMA_HOST=0.0.0.0). The node needs only loopback access to it.
  4. Protect the keypair. Keep ~/.idyl/node-keypair.json at mode 0600 (the node warns otherwise), back it up offline, and never share it. On mainnet it controls your bond.
  5. Keep the machine maintained. Apply operating-system and runtime updates, run the node as an unprivileged user, and keep the clock synchronised — signed requests are rejected if the clock is more than 60 seconds off.
  6. Understand what you serve. Callers' content is theirs, and you are responsible for operating lawfully where you are. If you serve Unbound models, you have checked that doing so is lawful where you live and accepted the operator obligations. If you serve guard jobs, you return real verdicts. If you cannot meet these obligations, do not run a node.

Bonding (devnet)#

On mainnet, nodes bond $IDYL in IDYL Bond to receive paid jobs. In testnet, nodes serve without a bond.

ParameterValue
Minimum bond for paid jobs (mainnet)10,000 IDYL
Routing multiplier1 + min(0.5 · log10(1 + bond / 10000), 1.0)
Multiplier at 0 / 10k / 100k / 1M IDYL1.00× / 1.15× / 1.52× / 2.00× (cap)
Unbond cooldown7 days; tokens remain slashable during it. A second unbond request restarts the 7 days for the whole waiting amount
SlashingMissed deadline 0.1% · canary mismatch 1% · proven tampering 100%; slashed tokens are burned

Status. IDYL Bond (programs/idyl-bond) is written for devnet, unaudited, and has never run on devnet or mainnet. An internal review by one AI reviewer — not an audit — found and fixed one Medium issue (a token mint with a close authority could be swapped after setup) and one Low (a mint with a freeze authority could lock the vault). It has 42 unit tests, and its integration suite passes on a local validator. What bounds a slash: the gateway's slash key can slash only for a missed deadline (0.1% per call) or a failed canary check (1% per call), and at most 5% of what your node had bonded (including unbonding tokens) when its 24-hour window opened; two windows can follow each other, so within any 24 hours that is at most 9.75% if you add nothing. A 100% slash for proven tampering needs the admin's signature (planned: a multisig), and the admin key changes hands only when the new key accepts. Your bond is still only as safe as the admin key. Its devnet address will be published in the repository when it is live. Until bonds are read from the program, the bond used for routing in testnet is recorded by the Gateway operator, and slash events are recorded off-chain as slash points (one point equals 0.1% of bond). The app's Bond view (app.html#bond) shows how the multiplier responds to bond size.

Bond is collateral, not yield: it earns nothing by itself and can be lost through slashing or market moves. $IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

Troubleshooting#

SymptomLikely causeFix
No keypair at …No identity yetnode services/node/cli.js --init
keypair … is readable by other usersLoose file permissionschmod 600 ~/.idyl/node-keypair.json
cannot list models from backendRuntime not running or wrong URLcurl http://localhost:11434/v1/models; check --backend
backend reports no modelsNothing pulledollama pull llama3.1:8b, or pass --models
not serving …: unbound model: serve it with --unboundAn Unbound model is installed but you did not opt inExpected. Add --unbound only if you intend to serve Unbound
--serve-floor: llama-guard3:1b is not installedGuard model missingollama pull llama-guard3:1b
register rejected: HTTP 400 … at least one modelNo usable model id, or only Unbound models without --unboundPass --models with a valid id, or add --unbound
--payout must be a base58 Solana addressTypo or wrong chainPaste a Solana address (32–44 base58 characters)
--referrer must be a base58 Solana addressTypo or wrong chainPaste the referrer's Solana wallet address
No Idle Points accrueNo fingerprint, no capacity check passed in 24 hours, the node is paused, or another node on this machine registered firstRemove --no-fingerprint; keep the node online and unpaused; check GET /api/points/<node id> for flagged and reasons
Sealed attestation is rejectedThe tokens do not carry the binding, come from an issuer the Gateway does not trust, or have expiredCheck that your command uses IDYL_ATTEST_BINDING for both tokens and prints one line of JSON; check the node's clock
A sealed node gets no Sealed jobsIts attestation failed, expired or was replaced; the log line starts with sealed:The node keeps serving ordinary jobs and retries by itself (15 seconds, then up to 5 minutes apart). Fix the attestation command; with short-lived vendor tokens, make sure it finishes well within the token lifetime
gateway unreachableURL, DNS, firewall or proxyCheck --gateway; confirm outbound HTTPS; the node retries with backoff
gateway unavailable (HTTP 502) (or 503, 504)The gateway is restarting, e.g. during a deploy (usually under a minute)Nothing; the node retries after 1, 2, 4 … up to 15 seconds and serves again as soon as the gateway answers
HTTP 401 … clock skewSystem clock more than 60 s offLinux: timedatectl set-ntp true; macOS: enable automatic date and time
Node shows busy on the Ledger--idle-only paused it, or all slots are in useRaise --max-load, drop --idle-only, or raise --concurrency
Jobs fail with node_deadlineModel too slow for the hardware, or cold-loadingUse a smaller model or lower --concurrency; keep models loaded, e.g. OLLAMA_KEEP_ALIVE=24h for the Ollama server
Guard jobs time outThe guard model was unloaded or the machine is saturatedKeep models resident (OLLAMA_KEEP_ALIVE); lower --concurrency
First job after a pause is slowRuntime unloaded the modelAs above: keep models resident
Canary slash points appearNon-standard build or templateUse default tags, update the runtime, remove custom Modelfiles
gateway does not know this node (restarted?)Gateway restarted and lost in-memory stateNothing; the node re-registers automatically
Node appears offlineHeartbeats not arriving for 45 sCheck logs and connectivity; restart the service

Still stuck? Open an issue on GitHub with the node's log lines (they contain no prompt content) and your node id.

14 — Self-host

Self-hosting IDYL

16 min readdocs/SELF-HOST.md

Run your own IDYL Gateway: the OpenAI-compatible API, the Ledger and the website in one process, with one JSON file as its database. This page covers Docker Compose, Render, running without Docker, sealed nodes, every environment variable, backups, upgrades, reverse proxies and a security checklist.

In short

Shell
git clone https://github.com/thetradeexpert444/idyl.git && cd idyl
cp .env.example .env                 # set IDYL_ADMIN_TOKEN (openssl rand -hex 32)
docker compose up -d                 # Ollama + model pull + Gateway + one Node
curl -s http://127.0.0.1:8787/health

Status: Beta (testnet). What has and has not been checked, as of 0.3.0:

  • Checked: the compose file passes docker compose config for both profiles; the exact file sets of both images were assembled and started outside Docker, the gateway with every plugin loaded; the node image's entrypoint and health check were run as shell scripts. The backup, restore and damaged-state recovery of section 7 were run against a local data directory with the same tar and cp commands, outside a container. Every IDYL_TRUST_PROXY mode was checked against /admin/ip with hand-made headers.
  • Not checked yet: no image has been built and no container started by the project, because the release workflow that builds both images and runs them (linux/amd64) before publishing has not run yet. The gpu profile, the Render blueprint (including its IDYL_TRUST_PROXY setting behind Render's edge), the nginx and Caddy snippets, and the commands of section 7 inside containers have not been exercised.

1Docker Compose#

Requirements: a current Docker Engine with Compose 2.24 or later, about 10 GB of disk for the default models, and 8 GB of free RAM (or a GPU) for the default chat model.

Start#

Shell
# 1. Configuration
cp .env.example .env
#    edit .env: IDYL_ADMIN_TOKEN=<output of: openssl rand -hex 32>

# 2. Start. From a clone this builds the gateway and node images first.
docker compose up -d

# 3. Watch the one-shot model download (about 6.5 GB with the defaults)
docker compose logs -f model-pull

# 4. Check
docker compose ps
curl -s http://127.0.0.1:8787/health
curl -s http://127.0.0.1:8787/v1/models

Open http://127.0.0.1:8787 for the site and http://127.0.0.1:8787/app.html for the app.

What starts:

ServiceWhat it doesData
ollama-cpu or ollama-gpuServes the models. Reachable only inside the compose network, as ollama:11434volume ollama-models
model-pullOne-shot: pulls IDYL_PULL_MODELS into Ollama, then exits
gatewayAPI, Ledger and site on 127.0.0.1:8787. Uses the stack's Ollama as The Floor's guard (IDYL_FLOOR_URL)volume gateway-data (/data/state.json)
nodeThe IDYL Node CLI. Starts after the pull, registers with the gateway and serves the Ollama modelsvolume node-keys (the node's keypair)

The gateway and the node run as an unprivileged user with a read-only root filesystem and no Linux capabilities.

Get a key and send a request#

The gateway requires an API key (IDYL_OPEN is off). Keys belong to a Solana wallet. Either open http://127.0.0.1:8787/app.html#keys and sign with a wallet, or create one from the clone with a keypair file:

Shell
export IDYL_BASE_URL=http://127.0.0.1:8787
export IDYL_API_KEY="$(node examples/get-key.mjs)"
./examples/curl.sh "Explain idle compute in one sentence."

More clients are in examples/. The first request to a model is slow while Ollama loads it into memory.

GPU#

Shell
docker compose --profile gpu up -d        # or COMPOSE_PROFILES=gpu in .env

The gpu profile gives Ollama all NVIDIA GPUs. The host needs the NVIDIA driver and the NVIDIA Container Toolkit. Exactly one profile must be active: with none, no Ollama starts and model-pull exits with an explanation. With GPUs, set the gateway deadlines back to their defaults in .env: IDYL_FIRST_TOKEN_MS=15000 and IDYL_JOB_TIMEOUT_MS=60000.

Small or CPU-only machines#

An 8B model on a CPU answers at a few tokens per second. The compose file therefore raises the gateway's deadlines to 60 s for the first token and 300 s per job. For a faster first run, pull a small model instead:

Shell
# in .env
IDYL_PULL_MODELS=llama3.2:3b llama-guard3:1b

Then use that model id in requests (IDYL_MODEL=llama3.2:3b for the examples). A model outside the IDYL catalog is served at the default rate for other models. Keep llama-guard3:1b: it is The Floor's guard model.

From a release bundle#

idyl-self-host-<version>.tgz contains this compose file, both Dockerfiles, .env.example, the Render blueprint and this page, without source code. Use it with the published images:

Shell
tar xzf idyl-self-host-0.3.0.tgz && cd idyl-self-host-0.3.0
cp .env.example .env                 # set IDYL_ADMIN_TOKEN
docker compose pull                  # ghcr.io/thetradeexpert444/idyl-gateway and idyl-node
docker compose up -d

The images exist once a release has been published by the release workflow, and GHCR keeps a newly pushed package private until its owner makes it public (package settings on GitHub). Until both are done, build from a clone.

Day to day#

Shell
docker compose logs -f gateway            # one JSON object per line; prompts are never logged
docker compose restart node
docker compose exec gateway node scripts/points-export.mjs      # Season 0 snapshot, written to /data/exports
docker compose exec gateway node scripts/payouts-export.mjs     # payout batches for nodes that are owed money, one per asset (USD, $IDYL)
docker compose down                       # stop; volumes stay
docker compose down -v                    # stop and DELETE all data, models and the node key

Paying nodes. payouts-export.mjs moves no money and changes no state. It reads state.json and writes two batches into /data/exports, because nodes are owed in two assets: payouts-<date>-usd.json and .csv (85% of what cash-bought and granted credits paid for the work a node served; nodes owed at least $1) and payouts-<date>-idyl.json and .csv (the $IDYL behind credits that were bought with $IDYL; nodes owed at least 1 $IDYL). Each JSON file holds the payout addresses, what was skipped and why, and a ready body for POST /admin/payouts. Pay a batch from the treasury, then record it with that call: it is idempotent per transaction, and one call settles one kind of payable. --min, --min-idyl, --out and --date change the defaults. Copy the files out with docker compose cp gateway:/data/exports ./exports.

To let other machines' nodes join, give them the gateway's public URL: idyl-node --gateway https://your-gateway.example.com --backend http://localhost:11434/v1. See NODE.md.

Season 0 note: Idle Points need a hardware fingerprint, which the node derives from the machine id. A container has none of its own. On a Linux host, uncomment the /etc/machine-id mount of the node service in docker-compose.yml; otherwise the containerised node earns no points or shares a fingerprint with other containers.

2Images without Compose#

Shell
# Gateway
docker build -t idyl-gateway .
docker run -d --name idyl-gateway -p 127.0.0.1:8787:8787 -v idyl-data:/data \
  -e IDYL_ADMIN_TOKEN="$(openssl rand -hex 32)" idyl-gateway

# Node (the build context is the repository root)
docker build -f services/node/Dockerfile -t idyl-node .
docker run -d --name idyl-node -v idyl-node-keys:/keys \
  --add-host host.docker.internal:host-gateway \
  -e IDYL_GATEWAY=https://your-gateway.example.com \
  idyl-node --backend http://host.docker.internal:11434/v1 --idle-only

Both images are node:22-alpine with the source files copied in; there is no install step because nothing has dependencies. The gateway image has a HEALTHCHECK on /health; the node image reports healthy while the gateway lists the node as online. .dockerignore is an allow-list, so nothing else from the working tree can reach an image.

3Without Docker#

Shell
git clone https://github.com/thetradeexpert444/idyl.git && cd idyl
export IDYL_ADMIN_TOKEN="$(openssl rand -hex 32)" IDYL_DATA_DIR=/var/lib/idyl
npm start                                   # node services/gateway/server.js, port 8787

Node.js 22 is what the project tests with. Run it under a process manager that restarts it and sends SIGTERM to stop: the gateway then finishes requests in flight and writes its state. npm run dev is the development stack and nothing in it is real: every plugin, mock nodes, a SIMULATED sealed node and a dev key with promo credits. npm run dev -- --minimal is the keyless variant (IDYL_OPEN=1) with one mock node and no plugins.

4Render#

render.yaml is a Blueprint for one web service that runs the gateway, which serves the API and the site from the same origin.

  1. Fork the repository. In Render choose New → Blueprint and select the fork.
  2. Render generates IDYL_ADMIN_TOKEN and asks for the variables marked sync: false. Leave what you do not use empty.
  3. Deploy. The service URL is your gateway URL.

Things to know:

  • The free plan loses all state. Its filesystem is wiped on every deploy and restart, and with it API keys, credits, payables, points and attestations. For anything real, use a paid instance, uncomment the disk block in render.yaml and set IDYL_DATA_DIR to its mount path. Do not take payments on an instance without a disk.
  • The Blueprint sets IDYL_TRUST_PROXY=cf-connecting-ip. Render terminates TLS in front of the service, and its edge has been reported to append to an X-Forwarded-For header that the client sent instead of replacing it (Render feedback board), so a position in that header is not a safe choice there. The project has not verified this setting on a live Render service. After the first deploy, confirm it with /admin/ip as described in section 9: clientIp must be your own public address, and it must not change when you send a made-up X-Forwarded-For. If it shows a proxy address instead, the header did not arrive; edgeHeaders in the same answer shows which single-address headers did.
  • Render gives the gateway no GPU. Guard capacity for The Floor comes from IDYL_FLOOR_URL or from nodes started with --serve-floor.
  • Stripe webhooks go to <service URL>/api/pay/stripe/webhook; set IDYL_PUBLIC_URL to the service URL.

5Sealed nodes#

IDYL Sealed runs requests inside a trusted execution environment. Nothing in it has been validated on real confidential-computing hardware yet. The operator guide is plugins/sealed.md; the protocol and its threat model are in SEALED-PROTOCOL.md.

What a sealed node needs:

  • Hardware: a datacenter GPU in confidential-computing mode (NVIDIA H100, H200 or B200 class) on an Intel TDX or AMD SEV-SNP host. Consumer GPUs cannot do this.
  • A command that produces the two vendor attestation tokens (GPU and CPU) bound to the node's enclave key. services/node/scripts/attest-nvidia-intel.example.sh is a documented starting point; it has not been run on such hardware by the project.
  • The node flags --sealed --attestation-cmd "<command>".

The node image and the standalone CLI archive carry that example and the simulated attester described below (/app/services/node/scripts/attest-* in the image, scripts/attest-* in the archive). They do not carry NVIDIA's or Intel's attestation tools: build your own image on top for a real sealed node.

On the gateway side the sealed plugin verifies NVIDIA NRAS and Intel Trust Authority tokens with its built-in settings. IDYL_SEALED_MEASUREMENTS is the allow-list of published node images: a node that matches is shown as measured, any other valid node only as hardware (genuine hardware, software not proven). IDYL_SEALED_UPSTREAMS adds TEE providers for Sealed relay.

For development only, a simulated attester exists. It protects nothing, refuses to run without IDYL_ALLOW_SIMULATED_TEE=1, and every grade it produces carries the word SIMULATED:

Shell
export IDYL_ALLOW_SIMULATED_TEE=1
node services/node/scripts/attest-sim.mjs serve &                                   # serves the test JWKS
IDYL_ATTESTATION_ISSUERS="$(node services/node/scripts/attest-sim.mjs --print-issuers)" npm start
node services/node/cli.js --gateway http://localhost:8787 --backend mock \
  --sealed --attestation-cmd "node services/node/scripts/attest-sim.mjs token"

Never set IDYL_ALLOW_SIMULATED_TEE on a gateway that other people use.

Checking an attestation without trusting the gateway. Anyone can verify the vendor signatures behind a sealed node, from a clone of the repository on any machine:

Shell
npm run verify:attestation -- https://your-gateway.example.com <attestation id or node id>

The script fetches the issuers' signing keys itself and never asks the gateway whom to trust; exit code 0 means every check passed. The gateway image carries the same script (docker compose exec gateway node scripts/verify-attestation.mjs http://127.0.0.1:8787 <id>), which is handy for an operator but is not an independent check when it runs on the gateway's own machine. examples/sealed-e2e.mjs shows the whole client-side sequence: list the enclave keys, check the key binding, verify the signatures, and only then encrypt to that key.

6Environment reference#

.env.example is the complete, commented list and the template for .env. The tables below are the same variables in short form. S marks a secret. Nothing is required for the gateway to start; the last column says what a variable is required for.

Core#

VariableDefaultPurposeRequired for
IDYL_ADMIN_TOKEN SunsetBearer token for /admin/*. Unset: those endpoints answer 404Operator endpoints
PORT, HOST8787, 0.0.0.0Listen port and address
IDYL_DATA_DIRservices/gateway/data (image: /data)Data directory: state.json, state.json.bak, exports/Durable state
IDYL_WEB_ROOTapps/webStatic site root
IDYL_OPEN01: chat without a key, unmetered. Development only
IDYL_FREE_TOKENS_PER_DAY200000Free tier per key per UTC day
IDYL_FREE_UNBOUND_MAX_MEM_GB12Largest Unbound model the free tier covers once a paid path exists
IDYL_FIRST_TOKEN_MS, IDYL_JOB_TIMEOUT_MS15000, 60000 (compose: 60000, 300000)Deadlines per attempt
IDYL_CANARY_MS600000Canary interval; 0 disables
IDYL_RATE_KEY_RPM, IDYL_RATE_IP_RPM120, 300Requests per minute per key and per IP
IDYL_TRUST_PROXY0 (the connection's address)A number N: N proxies you control append to X-Forwarded-For, and the entry N from the right is the client. Or a header name such as cf-connecting-ip that your edge sets. See section 9Correct client addresses behind a proxy
IDYL_PLUGINSallall, none or a list of privacy,sealed,guest,payments,pro,points,reports
LOG_LEVELinfodebug, info, warn, error, silent

The Floor#

VariableDefaultPurposeRequired for
IDYL_FLOOR_URLunset (compose: the stack's Ollama)OpenAI-compatible endpoint you run that serves Llama Guard 3Guard capacity without --serve-floor nodes
IDYL_FLOOR_KEY SunsetBearer key for that endpoint
IDYL_FLOOR_MODELllama-guard3:1bModel name at that endpoint
IDYL_FLOOR_MODEchatchat or prompt (raw /completions servers)
IDYL_FLOOR_TIMEOUT_MS8000Time budget per check

Sealed and attestation#

VariableDefaultPurposeRequired for
IDYL_ATTESTATION_ISSUERSbuilt-in NVIDIA NRAS and Intel Trust AuthorityJSON array that replaces the built-in issuersOther issuers; the simulated attester
IDYL_SEALED_MEASUREMENTSunsetJSON allow-list of published node imagesThe measured level
IDYL_ALLOW_SIMULATED_TEE01 accepts simulated issuers. Development onlyLocal Sealed demos
IDYL_SEALED_ATTESTATION_TTL_SECtokens' own expiryFixed attestation lifetime, 60 to 86400 s
IDYL_SEALED_UPSTREAMSunsetJSON array of TEE providers for Sealed relayProvider-served Sealed
the name in each provider's apiKeyEnv SunsetThat provider's API keyProvider-served Sealed

Payments, Solana and Stripe#

VariableDefaultPurposeRequired for
IDYL_SOLANA_RPC_URL S if it embeds a keyunsetJSON-RPC endpointSolana Pay; on-chain Pro
IDYL_TREASURY_ADDRESSunsetAddress that receives paymentsSolana Pay
IDYL_SOLANA_CLUSTERguessed from the RPC URLLabel and explorer links
IDYL_SOLANA_RPC_TIMEOUT_MS10000Timeout per RPC call
IDYL_PAY_COMMITMENTconfirmedconfirmed or finalized
IDYL_PAY_DURABLE_WAIT_MS2500Longest wait (0 to 10000 ms) for a change to the books to be on disk before the gateway answers: payment intents, confirmations, Stripe webhooks, and the admin calls for credits, payouts and burns. 0: never wait
IDYL_USDC_MINTmainnet USDCUSDC mint
IDYL_TOKEN_MINTunset$IDYL mint; unset disables paying in $IDYL (10% off; the tokens pay the serving node and a small part is burned, see PRICING.md)Pay in $IDYL
IDYL_PRICE_URLunsetJupiter Price API v3 endpointSOL and $IDYL prices, unless fixed
IDYL_PRICE_API_KEY SunsetKey for the price endpoint
IDYL_PRICE_MIN_LIQUIDITY_USD0Refuse prices with less liquidity
IDYL_PRICE_SOL_USD, IDYL_PRICE_IDYL_USDunsetFixed prices; win over the URL
IDYL_PAY_MIN_USD, IDYL_PAY_MAX_USD, IDYL_PAY_DAILY_CAP_USD1, 1000, 2000Purchase limits
STRIPE_SECRET_KEY SunsetStripe secret keyCard payments
STRIPE_WEBHOOK_SECRET SunsetWebhook signing secretCard payments
IDYL_PUBLIC_URLunsetPublic URL of this gatewayCard payments
IDYL_STRIPE_API_BASEhttps://api.stripe.comFor tests against a fake

Pro, guest, points, reports, transparency#

VariableDefaultPurposeRequired for
IDYL_BOND_PROGRAM_IDunsetIDYL Bond program idOn-chain Pro status
IDYL_CREDIT_POOL_SHARE0.05Share of last week's paid (cash) revenue returned to stakers as usage credits, 0 to 0.075 (0: no pool). Outside that range the gateway refuses to start
IDYL_GUEST_POW_BITS18Guest proof-of-work difficulty
IDYL_SEASON0_STARTfirst bootSeason 0 start (ISO time)A fixed season start
IDYL_BENCH_INTERVAL_MS1800000Capacity-check interval; 0 disables
IDYL_BENCH_START_ALLOWANCE_MS2000Start-up time not counted in a capacity check
IDYL_BENCH_ALLOW_ECHOsame as IDYL_OPEN1: a capacity check accepts an answer that only repeats the request (for the mock backend in development)
IDYL_REPORTS_SAMPLE_MS300000Sampling interval of the weekly report

The privacy plugin has no variables; its canary is set with POST /admin/transparency.

Compose only#

COMPOSE_PROFILES, IDYL_BIND, IDYL_PORT, IDYL_PULL_MODELS, IDYL_GATEWAY_IMAGE, IDYL_NODE_IMAGE, OLLAMA_IMAGE, OLLAMA_KEEP_ALIVE, and the node settings IDYL_NODE_BACKEND, IDYL_NODE_NAME, IDYL_NODE_CONCURRENCY, IDYL_NODE_PAYOUT, IDYL_NODE_REFERRER, IDYL_NODE_FLAGS, IDYL_BACKEND_KEY (S). They are explained in .env.example.

7Backups#

Everything the gateway knows is in one directory, IDYL_DATA_DIR (/data in the image):

FileWhat it is
state.jsonThe state: API key hashes (never the keys), wallets and their Unbound attestations, the node registry and reputations, Ledger counters and, with the plugins, credit balances, payment records, node payables, Pro overrides, points, reports and attestations
state.json.bakThe previous good state.json, kept by the gateway itself and refreshed at most once a minute. It misses at most about the last minute of changes
exports/What the export scripts wrote (Season 0 snapshots, payout batches)
state.json.corrupt-<time>A state file the gateway could not read and moved aside. Normally absent; see below

With the payments plugin loaded the state is a book of real money owed. Treat the directory accordingly.

The gateway writes state.json durably: a temporary file is written and synced to disk, then renamed over the old file. A copy taken at any moment is therefore a complete, readable state; it can lag the running gateway by about a second.

Shell
# Back up the whole data directory (compose). Run it from cron; keep several generations, off the machine.
docker compose exec -T gateway sh -c 'cd /data && tar czf - $(ls | grep -v "\.tmp$")' > "idyl-data-$(date -u +%Y%m%dT%H%M%SZ).tgz"

# Restore into the volume
docker compose stop gateway
docker compose run --rm --no-deps -T --entrypoint sh gateway -c 'cd /data && tar xzf -' < idyl-data-<stamp>.tgz
docker compose start gateway
  • Without Docker, archive $IDYL_DATA_DIR the same way (cd "$IDYL_DATA_DIR" && tar czf …).
  • A backup contains wallet addresses, balances and key hashes. Store it encrypted and restrict access.
  • Restoring a backup takes the books back to that moment: payments credited and work served after it are gone from the state. Reconcile from your payment provider and the treasury's transaction history before you take new payments.
  • Back up the node's identity too: docker compose cp node:/keys/node-keypair.json . The keypair is the node's id, reputation and payout record. Whoever has it is that node.
  • Ollama's models can be downloaded again; they need no backup.

A damaged state file#

A state.json that is not valid JSON is never repaired or guessed at. The gateway logs store_corrupt, moves the file aside as state.json.corrupt-<time>, and then:

  • with the payments plugin loaded (the default), it refuses to start. The error begins with payments: and ends with what to do. Starting empty would open new books beside the unreadable ones, and that has to be your decision. Under compose the container restarts in a loop until you act;
  • without the payments plugin it starts empty.

To recover, stop the gateway and put a good file back as state.json: first choice state.json.bak, otherwise your latest backup.

Shell
docker compose stop gateway
docker compose run --rm --no-deps --entrypoint sh gateway -c 'cd /data && ls -la && cp -p state.json.bak state.json'
docker compose start gateway && docker compose logs --tail 20 gateway

Keep the state.json.corrupt-* file until you have reconciled; it does no harm next to a readable state.json. To start with empty books on purpose, move those files out of the data directory instead. The payments plugin also refuses to start on a state whose format it does not know or whose amounts do not parse: run the version that wrote the file, or restore a backup.

8Upgrades#

Shell
# 1. Back up the data directory (section 7)
# 2. Get the new version
git pull                                  # clone
docker compose up -d --build
#    or, with published images: set the new tags in .env, then
docker compose pull && docker compose up -d
# 3. Check
curl -s http://127.0.0.1:8787/health      # reports the version
docker compose logs --tail 50 gateway
  • There is no migration tool. The gateway reads the sections of state.json it knows. A plugin whose stored format changed may start its section afresh, and the release notes say so when that happens; the payments plugin never does that with the books: it refuses to start on a format it cannot read (section 7). Going back to an older version with a newer state file is not tested: restore the backup taken before the upgrade instead.
  • Nodes reconnect by themselves after a gateway restart. Requests in flight get up to 10 seconds to finish.
  • Read the release notes for new or changed variables, and compare your .env with the new .env.example.
  • A gateway that fails to start after an upgrade usually says why in its first log lines: a plugin that cannot load its configuration stops the gateway on purpose.

9Reverse proxy, TLS and client addresses#

The gateway speaks plain HTTP. On the internet, put a reverse proxy with TLS in front and keep the gateway bound to 127.0.0.1 (the compose default): API keys, guest tokens and prompts travel in every request. Two things have to match the proxy: streaming, and where the gateway takes a client's address from.

Caddy gets certificates by itself. It sets X-Forwarded-For to the address it saw and ignores a value sent by the client:

Text
api.example.com {
    reverse_proxy 127.0.0.1:8787
}

nginx:

NGINX
server {
    listen 443 ssl;
    server_name api.example.com;
    ssl_certificate     /etc/letsencrypt/live/api.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/api.example.com/privkey.pem;

    location / {
        proxy_pass http://127.0.0.1:8787;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;  # appends the address nginx saw
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_buffering off;        # token streams
        proxy_read_timeout 330s;    # longer than IDYL_JOB_TIMEOUT_MS (compose: 300 s)
    }
}

With either one in front, set IDYL_TRUST_PROXY=1.

  • Streaming: the gateway sends X-Accel-Buffering: no, which nginx honours; Caddy streams server-sent events as they come. Nodes hold long polls of up to 25 seconds and a stream lasts as long as its job, so keep proxy read timeouts above your IDYL_JOB_TIMEOUT_MS.
  • Request bodies are at most 1 MB, which is also nginx's default limit.

IDYL_TRUST_PROXY: whose address is it?#

The per-address rate limit and the guest limits depend on the client's address. Behind a proxy every TCP connection comes from the proxy, so the gateway has to be told where the real address is.

ValueThe gateway usesUse it when
unset or 0The address of the TCP connectionClients connect directly, without a proxy
a number NX-Forwarded-For, the entry N from the right. N proxies that you control each append the address they saw; entries further left were supplied by the client and are ignoredOne nginx or Caddy in front: 1. A CDN in front of your own proxy, both appending: 2
a header nameThat header, which must hold one address, for example cf-connecting-ip (Cloudflare), fly-client-ip or x-real-ipYour edge sets and overwrites such a header, and the gateway cannot be reached around that edge

A value that is not an IP address counts as missing, and the gateway then uses the connection's address: clients share one limit instead of escaping it. A wrong setting fails in one of two ways. Too generous (more hops than you have, or a header a client can set), and clients fake their address to dodge the limits. Too strict, and every client looks like the proxy.

Check it once, from outside, with the admin token:

Shell
curl -s -H "Authorization: Bearer $IDYL_ADMIN_TOKEN" https://api.example.com/admin/ip
# {"clientIp":"<your public address>","trustProxy":1,"socket":"127.0.0.1","xForwardedFor":["<your public address>"],"edgeHeaders":{}, ...}

# It must not move when you invent a header:
curl -s -H "Authorization: Bearer $IDYL_ADMIN_TOKEN" -H "X-Forwarded-For: 203.0.113.7" https://api.example.com/admin/ip

clientIp must be your own public address both times: not the proxy's, and not 203.0.113.7. edgeHeaders lists the single-address headers that arrived, which helps to pick a header name on a hosting platform.

10Security checklist#

Before the gateway is reachable from the internet:

  • Admin token. IDYL_ADMIN_TOKEN is long and random (openssl rand -hex 32), stored only in .env or your platform's secret store, and sent only over TLS. With it, someone can grant credits, mark payouts as paid and change bonds. Leave it unset if you do not use /admin/*.
  • TLS termination. A reverse proxy with TLS is in front and the gateway is bound to 127.0.0.1, the compose default (section 9).
  • Trust proxy. IDYL_TRUST_PROXY matches your proxy chain, and /admin/ip shows your own address, also when you send a made-up X-Forwarded-For (section 9). Without a proxy it is unset.
  • Keyless mode is off. IDYL_OPEN is unset or 0.
  • No simulated TEEs. IDYL_ALLOW_SIMULATED_TEE is unset, and IDYL_ATTESTATION_ISSUERS contains no entry with "simulated": true.
  • Ollama is not exposed. In the compose stack it has no published port. Elsewhere, bind it to localhost or a private network: its API has no authentication.
  • Secrets stay out of git and images. .env is ignored by git, and .dockerignore is an allow-list. The variables marked S above never belong in docker-compose.yml, render.yaml or a shell history.
  • Payments. The treasury address is a multisig you control. STRIPE_WEBHOOK_SECRET is set whenever STRIPE_SECRET_KEY is. An RPC URL with an embedded key is treated as a secret. State is on a persistent disk and backed up before the first payment is accepted.
  • Backups run and a restore has been tried once.
  • Updates. You follow the repository's releases and security notes, and the host and Docker are patched.
  • Abuse contact and policies. Your deployment publishes how to report abuse, and you have read UNBOUND.md if your nodes serve Unbound models: The Floor blocks the worst categories but is not perfect, and you are responsible for what your gateway serves.

11Troubleshooting#

SymptomLikely cause
model-pull exits with "No Ollama service is reachable"No profile is active. Set COMPOSE_PROFILES=cpu (or gpu) in .env
503 model_unavailableNo node serves that model. curl -s http://127.0.0.1:8787/v1/models; check docker compose logs node
503 capacity_unavailable or timeouts on a CPUThe model is still loading or too slow. Use a smaller model or raise the two deadlines
401 invalid_api_keyThe key is missing, mistyped or was replaced by a newer key of the same wallet
503 floor_unavailable on Unbound modelsNo guard capacity: llama-guard3:1b is not pulled, or IDYL_FLOOR_URL is wrong
could not select device driver "nvidia"The NVIDIA Container Toolkit is not installed; use the cpu profile
The node is "unhealthy"The gateway does not list it as online. docker compose logs node
Everything is gone after a restartNo volume or disk behind IDYL_DATA_DIR
The gateway exits at start with payments: … Refusing to startThe state file is damaged or from another version. Section 7, "A damaged state file"
The gateway exits at start with a message that names a variable, such as IDYL_TRUST_PROXY must be … or pro: IDYL_CREDIT_POOL_SHARE must be …A setting it cannot honour. Fix the variable; section 6 lists the accepted values
Behind a proxy, all clients hit 429 or the guest limit togetherThe gateway sees the proxy as the client. Set IDYL_TRUST_PROXY and check /admin/ip (section 9)
15 — Sealed protocol

IDYL Sealed Channel v1 (ISC1)

22 min readdocs/SEALED-PROTOCOL.md

Protocol specification and threat model for IDYL Sealed.

Not yet validated on real confidential hardware. Everything in this document has been implemented and tested with a simulated attester on ordinary machines. No part of it has run on an Intel TDX or AMD SEV-SNP host with an NVIDIA GPU in confidential mode. Until that validation is published, treat IDYL Sealed as a protocol that is ready to be proven, not as a proven confidentiality guarantee. Simulated attestations are for development only and carry the word SIMULATED in every label and header.

Status: Beta (testnet). Version of this document: ISC1, protocol version 1.

Contents

  1. Privacy grades
  2. Roles, keys and notation
  3. Attestation: binding a key to an enclave
  4. The sealed channel
  5. Transport
  6. Rules for an enclave
  7. Rules for a client
  8. The Floor inside the enclave
  9. Message flows
  10. Threat model
  11. Limits and constants
  12. Test vectors and implementations
  13. Not in version 1

Operator and API documentation of the gateway side (configuration, issuers, endpoints, relay providers) is in docs/plugins/sealed.md. This document specifies the cryptographic channel and says what it does and does not protect.


1Privacy grades#

Every response names its grade in the x-idyl-privacy header.

GradeHeader valueWhat it means
CommunitycommunityRuns on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.
Sealed · relaysealed-relayRuns inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.
Sealed · end-to-endsealed-e2eEncrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.

Community is not confidential and is not private from the node. Relay is not end-to-end. With a simulated attester every Sealed value ends in -simulated (sealed-e2e-simulated, sealed-relay-simulated) and nothing is protected.

ISC1 is the protocol behind Sealed · end-to-end. Sealed relay uses the same attested nodes but ordinary requests; it is described here only where the threat model needs it.

Consumer GPUs cannot do confidential computing. Sealed nodes are data-center GPUs (NVIDIA H100/H200/B200 class in confidential mode) on an Intel TDX or AMD SEV-SNP host.

2Roles, keys and notation#

Client. A browser or program that holds the user's API key. It encrypts requests and decrypts responses. Reference implementation: apps/web/assets/sealed-client.js (WebCrypto).

Gateway. Authenticates the caller, bills, picks the node and relays opaque bytes. It holds no ISC1 key and performs no ISC1 cryptography. It verifies attestations. Reference implementation: services/gateway/lib/plugins/20-sealed.js.

Enclave. A sealed node: the IDYL node process and its inference backend, meant to run inside a hardware TEE. It holds the enclave key, decrypts requests, runs The Floor and the model and encrypts the response. Reference implementation: services/node/lib/isc1.js, services/node/lib/sealed.js.

Keys.

KeyTypeLifetimeWhere it lives
Node identityed25519long-livednode keypair file; signs every node request; nodeId = base58 of the 32-byte public key
Enclave keyECDH P-256one boot of the node processmemory only, never written; a restart creates a new one
Client ephemeral keyECDH P-256one requestclient memory; discarded after the request is sealed
kReq, kResAES-256-GCMone requestderived on both sides; kReq encrypts the request, kRes the response frames

Primitives. ECDH on NIST P-256 (the shared secret is the 32-byte X coordinate), HKDF-SHA256 (RFC 5869), AES-256-GCM with a 12-byte nonce and a 16-byte tag, SHA-256. Nothing else.

Notation. ‖ is byte concatenation. utf8(s) is the UTF-8 encoding of a string. uint64be(n) is n as 8 bytes, big-endian. A raw public key is the 65-byte uncompressed SEC 1 point 0x04 ‖ X(32) ‖ Y(32). Compressed and hybrid encodings are not valid in ISC1.

Encodings on the wire. Binary fields (epk, iv, ct, publicKey) are standard base64 (RFC 4648 section 4, with padding, canonical). keyId is base64url without padding. Hashes and nonces of the attestation flow are lowercase hex.

Text
keyId = base64url( SHA-256( rawPublicKey65 ) )        43 characters

3Attestation: binding a key to an enclave#

Attestation answers one question: does this public key belong to a genuine TEE running a known software image? Hardware vendors answer the "genuine" part with signed tokens. IDYL binds the enclave key into those tokens.

3.1Steps#

  1. At start the node generates the enclave key and computes its keyId.

  2. GET /nodes/attest/nonce (a signed node request) returns { nonce, expiresAt }. The nonce is 32 random bytes in hex, valid for 5 minutes, single use, issued to this node id.

  3. The node computes the binding:

    Text
    binding = SHA-256( utf8("ISC1-BIND") ‖ nonce(32 bytes) ‖ nodeId(32 bytes) ‖ rawPublicKey(65 bytes) )

    written as 64 lowercase hex characters. nodeId here is the 32-byte ed25519 public key, not its base58 text.

  4. The node runs the operator's attestation command with IDYL_ATTEST_BINDING=<hex> in the environment and a 60 second limit. The command must obtain two vendor tokens that both carry the binding and print one JSON object on stdout:

    JSON
    {"gpu": "<JWT>", "cpu": "<JWT>"}
    • GPU token: the binding is the attestation nonce. NVIDIA NRAS returns it as eat_nonce (hex).
    • CPU TEE token: the binding is the report or user data. Intel Trust Authority returns it as attester_held_data (base64 of the 32 bytes).

    gpu may also be NVIDIA's whole detached EAT bundle, [["JWT","<overall>"],{"GPU-0":"<JWT>"}], or the per-GPU tokens may be given separately as "gpuDetached": {"GPU-0":"<JWT>"}. The gateway then also checks each GPU's own claims.

  5. POST /nodes/attest (signed) with { nonce, publicKey, gpu, cpu }, publicKey being the raw enclave key in base64.

  6. The gateway recomputes the binding from the nonce it issued, the id of the signing node and the submitted key, then verifies each token: configured issuer, signature against the issuer's JWKS, validity times, required claims, and that the binding claim equals the binding. The exact rules and the claims checked per vendor are in docs/plugins/sealed.md.

  7. On success it records the attestation and answers { attestationId, keyId, verification, verifiedAt, expiresAt, … }.

The node attests at start, at least every 12 hours, before its attestation expires (after 80% of its validity, at most 30 minutes ahead, never more often than every 30 seconds), after every re-register, after it lost and regained contact with the gateway, and when the gateway's public attestation endpoint no longer lists its attestation as current. It tells the gateway the keyId it holds in its register and heartbeat bodies (sealed: { keyId }), so a gateway can drop the attestation of a key that no longer exists as soon as a restarted node shows up.

3.2Verification levels#

LevelMeaning
measuredThe tokens are valid and the CPU token's measurements match an entry of the gateway's allow-list of published node images. Hardware and software are both identified.
hardwareThe tokens are valid, no allow-list entry matches. The hardware is genuine. Which software runs inside it is not proven.
simulatedThe issuer is a development simulator and the gateway was started with IDYL_ALLOW_SIMULATED_TEE=1. Proves nothing.

3.3What a client can check#

GET /api/sealed/keys?model=<id> lists the keys of online sealed nodes that serve a model. GET /api/attestations/<attestationId>?evidence=1 returns the summary of an attestation with the raw tokens under evidence.

  • checkBinding(summary) in the client module recomputes the binding from nonce, nodeId and publicKey and compares it with the binding claims inside both evidence tokens. It does not verify token signatures.
  • npm run verify:attestation <gatewayUrl> <attestationId> verifies the token signatures against the vendors' key sets itself and recomputes the binding, independently of the gateway.

The binding is looked up only in the claim the attester itself fills in (eat_nonce; attester_held_data, also nested under tdx). A binding found anywhere else in a token, for example in a field the host sets when it launches the TD, is not accepted.

4The sealed channel#

4.1Key agreement#

The client generates a fresh P-256 key pair for every request. epk is its raw public key.

Text
Z    = ECDH( clientEphemeralPrivate, enclavePublic )        32 bytes (X coordinate)
salt = SHA-256( epkRaw(65) ‖ enclavePublicRaw(65) )
kReq = HKDF-SHA256( ikm = Z, salt = salt, info = utf8("ISC1 req"), length = 32 )
kRes = HKDF-SHA256( ikm = Z, salt = salt, info = utf8("ISC1 res"), length = 32 )

The enclave computes the same Z from its private key and epk. Both sides must reject a public key that is not a valid point on P-256.

4.2Request#

Plaintext: a UTF-8 JSON object.

JSON
{ "v": 1, "model": "<model id>", "messages": [ … ], "params": { … }, "ts": 1767225600000 }
  • v is 1.
  • model is the canonical IDYL model id, lowercase, exactly as listed in keys[].models and exactly as sent in the outer request.
  • messages are OpenAI-style chat messages (roles system, user, assistant, tool, developer; content is a string or an array of text and image_url parts).
  • params may hold temperature, top_p, presence_penalty, frequency_penalty, seed, max_tokens (or max_completion_tokens), stop, response_format. Anything else is ignored.
  • ts is the client's clock in milliseconds since the Unix epoch, an integer.

Encryption: AES-256-GCM with key kReq, a random 12-byte iv, and additional data

Text
AAD = utf8( "ISC1|req|" + keyId + "|" + model )

Envelope (exactly these five fields):

JSON
{ "v": 1, "keyId": "<43 chars>", "epk": "<base64, 65 bytes>", "iv": "<base64, 12 bytes>", "ct": "<base64: ciphertext ‖ 16-byte tag>" }

The additional data ties the ciphertext to one enclave key and one model. A relay that hands the envelope to another key or asks for another model produces an authentication failure, not an answer.

4.3Response frames#

The response is a sequence of frames numbered n = 0, 1, 2, …. Each frame is encrypted with kRes:

Text
iv  = 0x00000000 ‖ uint64be(n)                 12 bytes
AAD = utf8( "ISC1|res|" + decimal(n) )

Frame on the wire: { "n": <integer>, "ct": "<base64: ciphertext ‖ 16-byte tag>" }.

Frame plaintext is a UTF-8 JSON object of one of two kinds.

Content frame:

JSON
{ "d": { "content": "text", "reasoning": "text" } }

Both members are optional strings; at least one is present. When both are present the reasoning text comes before the content text.

Final frame, exactly one, always last:

JSON
{
  "done": true,
  "finish_reason": "stop",
  "usage": { "prompt_tokens": 17, "completion_tokens": 4, "total_tokens": 21 },
  "floor": { "outcome": "pass", "categories": ["S4"] },
  "message": "text shown instead of an answer"
}

finish_reason is stop, length or content_filter. floor.outcome is one of pass, prefilter-only, blocked, care, unavailable. categories is present when a category decided the outcome. message is present for blocked, care and unavailable.

Because the nonce is a counter, one kRes must never encrypt two different streams. Section 6 lists what an enclave must do to guarantee that.

4.4Padding#

A sender may append ASCII space characters (0x20) after the JSON text of a request or a frame before encrypting. Trailing whitespace is valid JSON (RFC 8259), so a receiver that parses the plaintext with a JSON parser needs no special handling, and receivers must accept it.

The reference client pads requests to a multiple of 256 bytes. The reference node coalesces tokens (the first at once, then at most one content frame every 100 ms) and pads every frame to a multiple of 16 bytes. This blunts the token-length side channel of streamed ciphertext: without it, one frame per token shows an observer the length of every token. It does not hide the overall length or the timing of a reply (section 10).

5Transport#

5.1Client to gateway#

Text
POST /v1/sealed/chat/completions
Authorization: Bearer idyl_sk_…
Content-Type: application/json

{ "model": "<canonical model id>", "stream": true, "sealed": { "v": 1, "keyId": "…", "epk": "…", "iv": "…", "ct": "…" } }

The body must not contain messages. The gateway authenticates, rate-limits, checks model access (Unbound models need the wallet attestation), admits the request for payment (Sealed is never free), finds the online sealed node that owns keyId and serves the model, and hands it the envelope.

Response, stream: true (server-sent events, one JSON document per data: line):

Text
data: {"sealed":{"n":0,"ct":"…"}}

data: {"sealed":{"n":1,"ct":"…"}}

data: [DONE]

Response, stream: false:

JSON
{ "id": "sealed-<jobId>", "object": "idyl.sealed.completion", "model": "<id>", "sealed": [ { "n": 0, "ct": "…" }, … ] }

Headers: x-idyl-privacy: sealed-e2e, x-idyl-attestation: <attestationId>, x-idyl-node: <nodeId>, x-idyl-job: <jobId>.

Errors are OpenAI-style { "error": { "message", "type", "code" } }:

StatuscodeMeaning
400invalid_envelope, model_not_canonical, plaintext_not_allowedThe request is not a valid sealed request.
401invalid_api_key
402credits_required, insufficient_creditsSealed needs credits.
403unbound_attestation_requiredUnbound model without the wallet attestation.
409sealed_key_unavailableNo online sealed node holds this key for this model. Fetch the keys again and re-encrypt.
502upstream_failedThe enclave refused or failed the request. The message names the enclave's reason code, e.g. sealed_replayed_request.
502sealed_frame_invalidThe node returned something that is not a frame sequence.
503sealed_unavailable, capacity_unavailableNo capacity.

A failure after the stream started arrives as data: {"error":{…}} and the stream ends.

5.2Gateway to enclave#

The enclave receives an ordinary node job whose messages are empty and whose ext carries the envelope:

JSON
{ "id": "<jobId>", "attempt": 1, "kind": "chat", "model": "<the node's own tag for the model>", "messages": [], "params": {}, "ext": { "sealed": { … envelope … }, "model": "<canonical id>" } }

It posts each frame as one delta whose content is the compact JSON text of the frame, in order, through the normal chunk endpoint. A frame is never split across deltas and two frames are never merged into one delta. The node's relay may put several whole frames into one post.

Text
POST /nodes/jobs/<jobId>/chunk     { "attempt": 1, "seq": 0, "deltas": [ { "content": "{\"n\":0,\"ct\":\"…\"}" } ] }
POST /nodes/jobs/<jobId>/complete  { "attempt": 1, "usage": { "prompt_tokens": 17, "completion_tokens": 4 },
                                     "finish_reason": "stop", "result": { "floor": { "outcome": "pass", "categories": [] } } }

The completion is plaintext. It carries what the gateway needs to bill and to keep The Floor's counters: token counts, the finish reason, the Floor outcome and the deciding category ids. It carries no text.

When the enclave cannot or will not serve a request it fails the job in plaintext with a reason code and sends no frame:

Text
POST /nodes/jobs/<jobId>/fail      { "attempt": 1, "reason": "sealed_decrypt_failed" }

Reason codes: sealed_bad_envelope, sealed_unsupported_version, sealed_wrong_key, sealed_bad_epk, sealed_replayed_request, sealed_decrypt_failed, sealed_bad_request, sealed_model_mismatch, sealed_stale_request, sealed_future_request, sealed_replay_cache_full, sealed_model_not_served, sealed_not_a_sealed_node, sealed_key_destroyed; and for failures after a successful open, backend_error, backend HTTP <status>, node_deadline. A reason never contains request or response text.

The gateway cannot read the request, so some refusals are the client's doing, not the node's: sealed_bad_request, sealed_model_mismatch, sealed_stale_request, sealed_future_request, sealed_replayed_request and sealed_decrypt_failed, reported before any frame. Anyone can seal a bad request to a listed key, so these cost the node no reliability (counted per node as jobsRefused, not jobsFailed) and do not count as failed requests in the network statistics. Every other code, and any code reported after a frame, is a node failure. The gateway checks the envelope shape and that epk is a point on P-256 itself (400 invalid_envelope), so those never reach a node.

6Rules for an enclave#

An implementation of the enclave side must do all of the following. Each rule exists because the construction is unsafe without it.

  1. Enclave key in memory only. Generate it at start. Never write it, log it or send it. A restart makes a new key.
  2. Validate the envelope strictly. v is 1; keyId equals this key's id; epk is 65 bytes starting with 0x04 and is a point on P-256; iv is 12 bytes; base64 is canonical.
  3. Reject a repeated epk. Keep a set of every epk accepted. A request whose epk is in the set is refused before any decryption. Without this, replaying an envelope would make the enclave encrypt a second, different answer under the same kRes and the same counter nonces, which breaks AES-GCM: confidentiality of both answers and the authenticity of the stream.
  4. Authenticate, then check time. Decrypt with kReq and the additional data. Then require now − 5 min ≤ ts ≤ now + 1 min.
  5. Record before you answer. Add epk to the set together with ts, and only then create the response encryptor. An entry may leave the set once its request can no longer pass the time window (ts + 5 min < now). The set is bounded (the reference holds 100,000 entries). When it is full, refuse new requests. Never evict an entry to make room.
  6. Never accept what you may have forgotten. Keep a watermark: one more than the largest ts of any entry that ever left the set. Refuse every request whose ts is below the watermark, whatever the clock says. Inside a TEE the clock is set by the untrusted host; it could be moved forward to expire entries early, or back to make an old request look fresh. With the watermark, a request that was accepted once is refused forever after: first because its epk is in the set, then because its ts is below the watermark. Replay safety then does not depend on the clock at all. (What the clock still decides is freshness: a host that controls it can get the enclave to answer a request that was held back for longer than five minutes. It cannot get one answered twice.)
  7. Never encrypt anything for a request that did not open. No encrypted error frames. A request that fails validation is failed in plaintext with a reason code. An encrypted error under a kRes that was not recorded would reuse a nonce as soon as the genuine request arrives.
  8. Check the model. The plaintext model must equal the model named in the additional data and must be the model of the job. Serve only models the node advertises (so Unbound models still need the operator's opt-in) and never the guard model.
  9. Validate the decrypted request the way a gateway validates a plain one (message shapes, parameter ranges, images only inline as data: URLs). The gateway cannot do it. A remote image URL would be downloaded by the runtime from the operator's machine, so it is refused (bad_request) before The Floor or the model runs.
  10. One stream per request. Number frames from 0 without gaps, send exactly one final frame, send nothing after it, then discard kRes.
  11. Leak nothing. Logs, events, error messages and crash output carry ids, counts and codes only.

7Rules for a client#

  1. Take the enclave public key from a key listing and check keyId = base64url(SHA-256(key)).
  2. Use a fresh ephemeral key pair and a fresh random iv for every request. Never reuse either.
  3. Set ts from the device clock. A clock more than 5 minutes slow or 1 minute fast makes the enclave refuse the request (sealed_stale_request, sealed_future_request; the reference client reports the enclave's reason as SealedError.enclaveReason).
  4. Send the same canonical model in the outer request, in the additional data and in the plaintext.
  5. Accept frames only in the order 0, 1, 2, …. Treat a gap, a repeated or reordered frame, an authentication failure, a frame after the final frame, and a stream that ends without the final frame as integrity failures. Text decrypted before the failure is authentic but incomplete; show it as such or discard it.
  6. Do not act on the response headers for security decisions. They come from the gateway. What is bound cryptographically is the key the request was encrypted to; compare that key with the attestation you display (checkBinding(summary, { keyId })).
  7. Do not retry a request by resending the same envelope. Seal it again.

8The Floor inside the enclave#

The gateway cannot read an end-to-end request, so the safety layer runs inside the enclave, with the same policy code the gateway uses (services/gateway/lib/floor-policy.js, copied byte-for-byte to services/node/lib/floor-policy.js; a test fails if they differ).

  1. Prefilter: a small literal list for unambiguous child-sexual-abuse terms, on every message.
  2. Guard: llama-guard3:1b on the node's own backend classifies the system prompt and the latest user message.
  3. Outcome:
OutcomeWhenWhat the enclave does
passguard says safe, or flags only categories that are not blockedruns the model
prefilter-onlyno guard verdict, Open-tier modelruns the model
blockedprefilter hit, or guard flags S3, S4 or S9one final frame with the refusal text; no inference; usage zero
careguard flags S11one final frame with a short caring message and https://findahelpline.com; no inference; usage zero
unavailableno guard verdict, Unbound-tier modelone final frame; no inference; usage zero (fail closed)

A guard verdict is missing when the model is not installed in the backend, times out (8 s) or answers something unparseable. Blocked, care and unavailable outcomes are not billed.

Honest limits. Classifiers make mistakes both ways. Only the request is checked; output-side auditing is on the roadmap. The gateway learns the outcome and the deciding category ids in plaintext. And the gateway has to take the enclave's word for the outcome: see section 10.4.

9Message flows#

9.1Attestation#

Diagram · Mermaid source
sequenceDiagram
    autonumber
    participant N as Sealed node (enclave)
    participant C as Attestation command
    participant V as Vendor services (NVIDIA NRAS, Intel Trust Authority)
    participant G as Gateway

    Note over N: start: generate enclave key (memory only), keyId = b64url(sha256(pub))
    N->>G: POST /nodes/register (signed) { models, sealed: { keyId } }
    N->>G: GET /nodes/attest/nonce (signed)
    G-->>N: { nonce, expiresAt }
    Note over N: binding = sha256("ISC1-BIND" ‖ nonce ‖ nodeId ‖ pub)
    N->>C: run with IDYL_ATTEST_BINDING (60 s limit)
    C->>V: GPU evidence with nonce = binding
    V-->>C: GPU token (eat_nonce = binding)
    C->>V: TD quote with user data = binding
    V-->>C: CPU token (attester_held_data = binding)
    C-->>N: {"gpu": "<JWT>", "cpu": "<JWT>"}
    N->>G: POST /nodes/attest (signed) { nonce, publicKey, gpu, cpu }
    Note over G: recompute binding, verify signatures (issuer JWKS), times, required claims, binding claims, measurements
    G-->>N: { attestationId, keyId, verification, expiresAt }
    Note over N,G: repeated every 12 h, before expiry, after a re-register or a lost connection

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

9.2Sealed end-to-end request#

Diagram · Mermaid source
sequenceDiagram
    autonumber
    participant U as Client (your device)
    participant G as Gateway
    participant E as Enclave (sealed node + model)

    U->>G: GET /api/sealed/keys?model=…
    G-->>U: keys [{ keyId, publicKey, attestationId, verification, … }]
    Note over U: optional: fetch the attestation, checkBinding, verify evidence independently
    Note over U: fresh ephemeral key, Z = ECDH, kReq / kRes = HKDF, seal { v, model, messages, params, ts }
    U->>G: POST /v1/sealed/chat/completions { model, stream, sealed: envelope }
    Note over G: authenticate, rate limit, model access, payment, find the node that owns keyId
    G->>E: job { model, ext: { sealed: envelope } }
    Note over E: validate, reject repeated epk, decrypt, check ts, record epk, check model
    Note over E: The Floor: prefilter + guard model
    alt blocked / care / unavailable
        E-->>G: one final frame { n: 0, ct }
        E-->>G: complete { usage: 0, result.floor }
    else pass / prefilter-only
        loop while the model generates
            E-->>G: frame { n, ct }
            G-->>U: data: {"sealed":{"n":…,"ct":"…"}}
        end
        E-->>G: final frame, then complete { usage, finish_reason, result.floor }
    end
    G-->>U: data: [DONE]
    Note over U: decrypt in order, reject gaps and reordering, require the final frame

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

9.3Who sees what#

Diagram · Mermaid source
flowchart LR
    subgraph Device[Your device]
        A[Client: plaintext, ephemeral key]
    end
    subgraph GW[IDYL gateway]
        B[Sees: API key and wallet, IP, model, timing, sizes, token counts, Floor outcome]
        B2[Does not see with end-to-end: prompt, reply, parameters]
    end
    subgraph TEE[Attested enclave]
        C[Enclave key, plaintext, The Floor, model]
    end
    A -- ciphertext envelope --> B
    B -- ciphertext envelope --> C
    C -- ciphertext frames --> B
    B -- ciphertext frames --> A
    C -. plaintext: usage, finish reason, Floor outcome and categories .-> B

Diagram source in Mermaid syntax. It renders as a diagram on GitHub and in any Mermaid viewer.

10Threat model#

Stated per grade: what the grade protects against and what it does not. "The gateway" means the IDYL gateway operator and anyone who compromises the gateway. "The node operator" is whoever runs the serving machine.

10.1Community#

Protects against

  • Other users and other nodes. Requests are routed to one node; nodes do not see each other's jobs.
  • Later disclosure from IDYL's storage. The gateway stores no prompts and no replies; it keeps counts. Chat history exists only in the user's browser.
  • Network observers, by TLS between client and gateway and between node and gateway.

Does not protect against

  • The serving node. It receives the prompt in the clear and produces the reply. A node operator can read and keep both. Community is not confidential.
  • The gateway. It relays the prompt and the reply in memory.
  • Linking by the gateway: wallet, API key, IP address, model and timing are visible to it.

10.2Sealed · relay#

Protects against

  • The node operator, to the extent the TEE holds and the image is known. The prompt is processed inside an attested enclave; the host, the hypervisor and the operator's own tools are outside it.
  • Everything Community protects against.

Does not protect against

  • The gateway. The prompt passes through the gateway in memory, in plaintext. A compromised or malicious gateway reads everything. "Never stored" is an operating promise, not a cryptographic one. Relay is not end-to-end.
  • The Floor guard for relay requests runs on the gateway's configured guard endpoint or on attested nodes; whoever runs that guard sees the text it classifies.
  • A TEE provider configured as an upstream: then the trust is in that provider's own attestation and terms, which this protocol does not verify.
  • Everything listed under 10.4, which applies to every enclave.

10.3Sealed · end-to-end#

Protects against

  • A gateway that relays honestly but would otherwise read: logs, memory dumps, a breach of the gateway host, a subpoena for stored data, an insider at the gateway. The gateway holds no key that opens a request or a frame.
  • Tampering in transit. The request cannot be altered, redirected to another enclave key or to another model, or replayed. Frames cannot be altered, dropped, reordered, injected or truncated without the client noticing.
  • Network observers and other nodes, as in the other grades.
  • The node operator, with the limits of 10.4.

Does not protect against

  • A gateway that lies about keys. The client learns enclave keys from the gateway, and the gateway is the party that verified the attestation tokens. A malicious gateway can list a key it controls, with made-up evidence, and then read everything. checkBinding() does not stop this: it checks consistency, not signatures. Only verifying the evidence yourself does: npm run verify:attestation checks the vendor signatures against the vendors' own key sets. Without that step, end-to-end protects against a curious or breached gateway, not against a gateway that actively substitutes keys.
  • Client code served by the gateway. In the web app, the JavaScript that encrypts is delivered by the same origin that relays the ciphertext. A malicious gateway can deliver different JavaScript. For a guarantee that does not depend on the gateway's honesty, run the client from code you control (the module in your own program, a pinned build).
  • Traffic analysis. The gateway sees: the API key and therefore the wallet; the client's IP address; the model; when each request and each frame is sent; the size of the request (in 256-byte steps) and of every frame (in 16-byte steps); how many frames there are; and, in plaintext, the token counts the enclave reports for billing, the finish reason, and The Floor's outcome with its category ids. From sizes, counts and timing an observer can estimate the length of prompt and reply and the pace of generation, and can often tell kinds of conversations apart. Padding and coalescing reduce the token-length leak of streaming; they do not make traffic uniform.
  • Denial of service. The gateway can refuse, delay or cut a request. The client detects a cut stream; it cannot prevent one.
  • Compromise of the enclave key. See 10.5.
  • The user's own device, browser extensions, and chat history kept on the device.
  • Everything listed under 10.4.

10.4Limits of every enclave#

These apply to Sealed relay and Sealed end-to-end alike.

  • A malicious image under hardware verification. hardware means the tokens are genuine and nothing more. The software inside the TEE could be anything, including a node that copies every prompt out, runs a different model, or skips The Floor. Only measured ties the attestation to a published image, and then the guarantee is exactly as good as that image and as the allow-list the gateway operator maintains. Clients that need confidentiality should require measured.
  • The GPU link. Both tokens carry the same binding. That shows a genuine GPU answered for this nonce and that this TD holds the key. It does not by itself show that this TD computes on that GPU: a relayed nonce could reach a GPU elsewhere. The link is the job of the measured software (it must use the GPU only over the driver's attested, encrypted session).
  • TEE side channels and vendor trust. A TEE keeps the host out of the guest's memory. It does not remove timing, cache, power or page-fault side channels, and several attacks on shipping TEEs have been published. The whole guarantee also rests on the hardware vendors: their root keys, their attestation services (NVIDIA NRAS, Intel Trust Authority), their firmware and their revocation. The gateway trusts the vendors' JWKS endpoints over TLS and does not validate certificate chains or revocation itself. A compromised vendor key or service defeats attestation.
  • The Floor is self-reported. For end-to-end requests the enclave runs The Floor and tells the gateway the outcome. The gateway cannot check it. With a measured image that runs the shared policy, the report is as trustworthy as the image. With a hardware image it is a claim. A guard model that is missing or slow makes Open-tier requests proceed with the prefilter only; Unbound requests fail closed.
  • Inside the enclave, plaintext exists. The node process and the inference backend hold the prompt and the reply in memory while they work. Anything that runs inside the guest and is part of the image is trusted.
  • Token freshness. An attestation says what was true when the tokens were issued. The gateway bounds its validity (at most 24 hours, by default until the earlier token expires) and the node re-attests. A TEE compromised after attestation looks healthy until the next one.
  • Not validated. None of this has been run on real confidential hardware yet.

10.5Forward secrecy, precisely#

ISC1 is a one-pass key agreement: an ephemeral client key against a static enclave key that lives for one boot.

  • Client side: yes. The ephemeral private key is discarded after sealing. Compromising the client later reveals no past request through the protocol. (What the device itself stored is a separate matter.)
  • Enclave side: per boot only. Z depends on the enclave private key. Whoever obtains that key while it exists, and has recorded the ciphertext, can decrypt every request sent to that key and every response to it, in both directions, for the whole time that key was in use. There is no ratchet and the enclave contributes no ephemeral key.
  • After a restart the key is gone, provided the memory really is: nothing in the protocol can then decrypt recorded traffic of the previous boot.
  • Requests are independent of each other. Every request has its own kReq and kRes. Learning one pair reveals one request and its response.
  • Not post-quantum. P-256 offers no protection against an adversary who records traffic now and has a large quantum computer later.

10.6Integrity of the stream, precisely#

Each frame is authenticated with its number in both the nonce and the additional data, under a key only this request has. A relay therefore cannot change a frame, move it to another position, or splice in a frame of another request. The client's ordering rule detects loss and duplication, and the mandatory final frame detects truncation. What a relay can still do is stop: the client then holds an authentic prefix and knows it is incomplete.

This depends on rules 3, 5, 6 and 7 of section 6. An enclave that answered the same epk twice, or that encrypted an error for a request it had not recorded, would use one key and nonce for two plaintexts.

11Limits and constants#

NameValueNotes
Protocol version1v in envelope and plaintext
CurveNIST P-256raw uncompressed keys, 65 bytes
HKDFSHA-256, salt = SHA-256(epk ‖ enclavePub), info ISC1 req / ISC1 res, 32 bytes
AEADAES-256-GCM, 12-byte nonce, 16-byte tag
Request AADISC1|req|<keyId>|<model>
Frame nonce00 00 00 00 ‖ uint64be(n)
Frame AADISC1|res|<n>decimal n
BindingSHA-256("ISC1-BIND" ‖ nonce ‖ nodeId ‖ pub)hex
Request ageat most 5 minutes old, at most 1 minute aheadby the enclave's clock
Replay set100,000 entries, fail closed when full; a watermark covers what was forgottenper enclave key
Attestation nonce32 bytes, 5 minutes, single use
Attestation command60 seconds
Re-attestationevery 12 hours and before expirynever more often than every 30 seconds
Request padding (reference client)to a multiple of 256 bytesoptional
Frame padding (reference node)to a multiple of 16 bytesoptional
Frame interval (reference node)first token at once, then at most one content frame per 100 ms
Request size2 MiB of plaintext in the reference enclavethe gateway's request body limit (1 MiB by default) is lower in practice
Frame size256 KiB of plaintextreference implementations
Frames per responsefewer than 2^32reference implementations

The padding and interval values are choices of the reference implementations, not part of the wire format.

One consequence of padding is worth knowing. When a client leaves in the middle of a stream, the gateway bills the partial output from an estimate, and for an end-to-end job the only thing it can estimate from is ciphertext size. Padding makes that estimate higher than the true output, by 8 bytes per frame on average. Completed requests are billed from the token counts the enclave reports and are not affected.

12Test vectors and implementations#

services/node/test/isc1-vectors.json holds deterministic vectors: fixed keys, iv, timestamp and plaintexts, with the expected Z, salt, kReq, kRes, binding, envelope and frames. The two private keys are the pair from RFC 5903 section 8.1, so Z is that RFC's published answer. They are public test keys and must never be used for anything else.

Three independent implementations agree on the vectors byte for byte:

ImplementationLibraryRole
services/node/lib/isc1.jsnode:cryptoenclave side; also the client role, for tests
apps/web/assets/sealed-client.jsWebCryptoclient side; also frame sealing, for tests and demos
services/node/scripts/check-isc1-vectors.pyPython cryptographywritten from this document only; a development check

How to run the checks:

Shell
# all node-side tests: vectors, negative cases, both implementations against each other in both
# directions, the node runtime against a fake gateway, and the real end-to-end test with the gateway plugin
node --test services/node/test/*.test.js

# the vectors with the independent Python implementation
python3 services/node/scripts/check-isc1-vectors.py

# the client module in a real browser, against a real gateway with a SIMULATED attester
python3 services/node/scripts/browser-selftest.py

# regenerate the vectors (only when the protocol changes)
node services/node/scripts/gen-isc1-vectors.mjs

Client API (apps/web/assets/sealed-client.js, an ES module with no dependencies, for browsers and Node 22):

JavaScript
import { listSealedKeys, sealedChat, checkBinding, SealedError, ISC1 } from './assets/sealed-client.js';

const keys = await listSealedKeys(base, 'llama3.1:8b');           // measured keys first
const key = keys.find((k) => k.verification === 'measured') ?? keys[0];
let out;
try {
  out = await sealedChat({ base, apiKey, model: 'llama3.1:8b', messages, key, onDelta: (d) => render(d.content) });
  // out: { content, reasoning, finishReason, usage, floor, message, attestationId, nodeId, jobId, privacy, keyId, verification }
  if (out.floor.outcome !== 'pass' && out.floor.outcome !== 'prefilter-only') show(out.message);
} catch (e) {
  if (e instanceof SealedError && e.code === 'sealed_key_unavailable') { /* fetch keys again, seal again, retry once */ }
  throw e;
}
const summary = await (await fetch(`${base}/api/attestations/${out.attestationId}?evidence=1`)).json();
checkBinding(summary, { keyId: out.keyId });                      // { ok, reason, binding, checks }

SealedError.code is the gateway's error code for HTTP failures (credits_required, insufficient_credits, sealed_key_unavailable, sealed_unavailable, …, with .status, and with .enclaveReason when the enclave itself refused the request), one of frame_gap, frame_reordered, frame_auth_failed, frame_malformed, frame_after_done, truncated for integrity failures (with .partial holding the text authenticated so far), or a local code (bad_key, key_expired, bad_request, unsupported_params, network_error, aborted).

Node side: idyl-node --sealed --attestation-cmd "<command>", or createNode({ …, sealed: { attestationCmd } }). Example command for NVIDIA + Intel TDX: services/node/scripts/attest-nvidia-intel.example.sh (untested, needs confidential hardware). Development simulator: services/node/scripts/attest-sim.mjs (SIMULATED, refuses to run without IDYL_ALLOW_SIMULATED_TEE=1).

13Not in version 1#

  • Tool calls. Frames carry text (content, reasoning). tools and tool_choice are rejected by the reference client and dropped by the reference enclave.
  • Signature verification in the client. The browser module does not verify vendor signatures; scripts/verify-attestation.mjs does. Roadmap.
  • Enclave-side forward secrecy (an ephemeral contribution from the enclave or a ratchet) and post-quantum key agreement. Roadmap.
  • Output-side Floor checks. Roadmap, as for the other grades.
  • Uniform traffic. Padding is coarse and timing is not hidden.
  • Reproducible published node images and the allow-list process that would make measured mean something to third parties. Not published yet.
16 — OpenRouter

IDYL as an OpenRouter provider

8 min readdocs/OPENROUTER.md

Short version: not yet. IDYL already speaks the API OpenRouter asks for, but four requirements cannot be met today: a company email domain, monthly invoicing by a legal entity, a model feed in OpenRouter's schema, and measured uptime of 95% or better on production capacity. This page maps every published requirement to IDYL's current state and says what is unknown.

Status of this document: research, not a plan of record. Nobody at OpenRouter has been contacted. Requirements were read on 2026-11-22 from the three pages below; they change, so re-read them before acting.

Progress since (2026-11-23): a one-command GPU seed exists (GPU-SEED.md) for the dedicated capacity item 9 needs, but none is running yet; routing now uses per-model time to first token and throughput. None of the four blocking requirements has changed.

SourceWhat it covers
openrouter.ai/providers/applyWho can apply, the application steps, operating expectations
openrouter.ai/docs/guides/providers/integrationThe technical integration: model feed schema 2.x, uptime accounting, performance guidance
openrouter.ai/docs/guides/providers/integration-legacyThe older flat model feed, kept for existing integrations

Legend: Met · Partial · Not met · Unknown (we cannot tell from public information or from our own measurements).

1Eligibility (apply page)#

#RequirementIDYL todayStatusTo close the gap
1OpenAI-compatible API with /chat/completionsPOST /v1/chat/completions, OpenAI request and error shapes, JSON and SSEMetNothing
2StreamingSSE with data: {...} chunks and data: [DONE]; the first token is relayed as soon as the node produces itMetNothing
3Usage tokens on streaming and non-streaming responsesNon-streaming responses always carry usage. Streaming carries it when the client sends stream_options.include_usage (the OpenAI convention). The numbers are the serving node's count, capped by the Gateway to plausible bounds, or an estimate (characters / 4) when the node reports nonePartialCount tokens with the model's tokenizer on the Gateway side, or prove node counts with spot checks. OpenRouter reconciles invoices against token counts, so estimates will not do
4A /models endpoint listing pricing, context length, maximum output tokens, supported features and datacenter locationsGET /v1/models lists ids with IDYL's own idyl block (tier, target rates per 1M tokens, nodes online). GET /api/catalog adds approximate memory. Neither has context length, output limit, features or locations, and neither is in OpenRouter's schemaNot metBuild a dedicated feed (section 3)
5Monthly invoicing to OpenRouter; no other payment terms are accepted. The integration guide words it as automatic payment through auto top-up or invoicingIDYL sells prepaid credits per wallet (USDC, SOL, $IDYL, card). There is no postpaid account, no invoice, and no legal entity named in this repository that could issue oneNot metA legal entity with a bank account, an invoicing process, and a postpaid (invoiced) key type in the payments plugin
6A published privacy and data policy: prompt logging, retention, trainingPublished: PRIVACY.md and the live GET /api/transparency. The Gateway stores no prompts and trains on nothing. On the Community grade the serving node, a third party's machine, sees the prompt; IDYL's node software does not log it, but IDYL cannot prove what a modified node doesPartialOffer OpenRouter only capacity whose data handling IDYL can vouch for (section 4)
7A work email on the company's own domain; personal addresses are not reviewedidylnetwork.com is registered; no mail is set up on it yetPartialSet up mail on the domain
8SOC 2 and zero data retention: helpful, not requiredNeitherNot requiredLater

2Operating expectations#

#ExpectationIDYL todayStatusTo close the gap
9Uptime of 95% or more keeps normal routing priority; 80 to 94% is deprioritised; below 80% is fallback only. Uptime is successful requests over all requests without user errors. 401, 402, 404, every 5xx, mid-stream errors and error finish reasons count as failures; 400 and 413 do not; 429 and 403 are tracked separately. The figure starts after 100 requestsTestnet. Capacity is idle consumer machines that come and go. A model with no node online answers 503 model_unavailable, which counts against uptime. Failover exists (two retries on other nodes) and routing prefers reliable nodes, but no production uptime has been measuredUnknown, likely Not metList only models with dedicated, always-on capacity; measure for weeks before applying
10Under load, answer 429 early instead of queueingThe Gateway queues a job for up to the first-token deadline (15 s by default) and then answers 503 capacity_unavailableNot metAdmission control: 429 at once when no node has a free slot for the model
11Send SSE comments as keep-alives during long silent phases such as reasoningNot implemented. A slow first token produces no bytes until it arrivesNot metA periodic : keep-alive comment on open streams. Small change in the Gateway core
12Time to first token, throughput and uptime are shown publicly and drive routing together with priceIDYL measures time to first token and throughput per node for its own routing. Consumer GPUs are slower than datacenter GPUsUnknownBenchmark against the providers already listed for the same models
13Tool calling is verified by OpenRouter's own capability tests; providers are ranked for tool callsThe Gateway passes tools, tool_choice and tool_calls through. Whether a call works depends on the model and on each node's backend. IDYL has no tool-calling test suiteUnknownTest every catalog model on the reference backend; declare tools only where it passes
14Datacenter locations, so developers' region and data-residency rules can be honouredNodes do not report a country and the Gateway does not route by regionNot metCollect and verify node location; region-aware routing
15Mutual NDA and intro call, security questionnaire and documents, provider termsNot startedUnknownFollows a reviewed application
16Proprietary models and providers that fill gaps in the network are reviewed first; not every applicant is acceptedIDYL serves widely available open-weight models from 7B to 70B, which many providers already serve from datacentersHonest read: low priority for OpenRouter todayA differentiator they lack, for example attested Sealed capacity or the Unbound tier, if their policies allow it (section 5)

3The model feed#

OpenRouter reads one endpoint that lists every model the provider serves. The current format carries "schema_version": "2.4" per model (any 2.x is accepted) and is strict: an unknown key rejects the whole document. The legacy flat format still works for existing integrations; new ones should use 2.x.

How each field maps to what IDYL knows:

Feed fieldIDYL sourceState
idThe IDYL model id, for example llama3.1:8b. OpenRouter sends exactly this string back in requestsKnown
hugging_face_id (required when the model is on Hugging Face)Not in the catalog. Each catalog model needs a verified mapping to its upstream repositoryTo add
quantization (int4, int8, fp4, mxfp4, nvfp4, fp6, fp8, mxfp8, fp16, bf16, fp32, or null)Varies per node: operators serve whatever build their backend pulled, usually a 4-bit GGUF. The Gateway neither knows nor enforces itUnknown per request. null is the only honest value until nodes report and prove it
input_modalities, output_modalitiesText in, text outKnown
supported_inputs.max_context_lengthNot known. It depends on each node's backend settings, and a backend's default context window can be much smaller than the model's maximumUnknown. Needs a per-node probe and a routing rule
max_length (output)The Gateway accepts max_tokens up to 131,072; the real limit is the node'sUnknown
supported_parametersWhat the Gateway validates and forwards: temperature 0 to 2, top_p 0 to 1, presence_penalty and frequency_penalty from -2 to 2, seed, max_tokens, stop (up to 4), response_format, toolsKnown for the Gateway, unverified per backend
streamingtrueKnown
pricing[].cost_usdStrings in USD per token. IDYL's catalog holds target rates per 1M tokens, so 0.03 becomes "0.00000003"Convertible. The rates are still labelled target rates (beta); a listed price is a commitment
capacityChanges with the nodes onlineUnknown; optional in the feed
datacenters[].country_codeNot collectedNot available
is_readyKeep false until baseline tests passKnown

A sketch of one entry, to show the shape. It is not implemented. The null values and missing fields are the open items above, and the Hugging Face id is illustrative until the mapping is verified:

JSON
{
  "data": [
    {
      "schema_version": "2.4",
      "id": "llama3.1:8b",
      "hugging_face_id": "meta-llama/Llama-3.1-8B-Instruct",
      "quantization": null,
      "input_modalities": [{ "type": "text" }],
      "output_modalities": [
        {
          "type": "text",
          "streaming": true,
          "supported_parameters": {
            "temperature": { "type": "range", "min": 0, "max": 2 },
            "top_p": { "type": "range", "min": 0, "max": 1 },
            "stop": { "type": "array", "max_items": 4 }
          },
          "pricing": [{ "type": "completion", "unit": "token", "cost_usd": "0.00000005" }]
        }
      ],
      "is_ready": false
    }
  ]
}

The input modality would carry "pricing": [{ "type": "prompt", "unit": "token", "cost_usd": "0.00000003" }] and supported_inputs.max_context_length once that number is known. Validate the real document against OpenRouter's published schema before submitting it; the guide links a downloadable schema.

4Which IDYL capacity could be offered#

OpenRouter asks each provider to state how prompts are handled, and routes developers by those statements.

  • Community (idle consumer machines): the serving node sees the prompt. IDYL can state its own policy, not the behaviour of thousands of third-party machines. Listing this grade under a "no logging" policy would be a claim IDYL cannot back.
  • Sealed (attested TEE nodes): designed so that the prompt is only visible inside an attested enclave. This is the grade whose policy could be stated precisely. It has not been validated on real confidential-computing hardware yet, and until it is, it cannot be offered either.

So the realistic first listing is a small set of models on dedicated, attested or operator-run capacity, not the open Community pool.

5Unknown#

These cannot be answered from OpenRouter's public pages or from IDYL's own data:

  • Whether OpenRouter accepts a provider whose capacity is third-party consumer hardware at all.
  • Whether abliterated (Unbound) models may be listed, and under which moderation terms.
  • How The Floor interacts with their rules. It answers 451 for blocked categories and, for self-harm signals, returns a short care message with HTTP 200 instead of a model answer. 451 is not in their published list of statuses, and a substituted answer may not be acceptable for a routed request.
  • Minimum capacity, volume commitments, and the content of the provider terms and security questionnaire.
  • How node-reported token counts would be treated in invoice reconciliation.
  • Which legal entity would sign, invoice and be liable. This repository names none.
  • How their quantization values map to GGUF builds such as Q4_K_M.

6Order of work, if this is pursued#

  1. Set up mail on idylnetwork.com, decide the legal entity. Without these the application is not reviewed.
  2. Validate Sealed on real hardware, or stand up operator-run capacity for two or three models, and measure uptime, time to first token and throughput for at least a month.
  3. Gateway changes: early 429, SSE keep-alive comments, tokenizer-accurate usage, a per-key rate limit, a postpaid key with monthly invoicing.
  4. Node and catalog changes: report and verify context length, quantization and country; add Hugging Face ids to the catalog.
  5. Build the 2.x feed from the catalog and validate it against OpenRouter's schema.
  6. Apply. Expect review, an NDA and call, a security questionnaire, provider terms, then test traffic.

Until then, the reverse direction already works: IDYL is OpenAI-compatible, so anything that can call OpenRouter can call an IDYL Gateway by changing the base URL and key. See API.md and examples/.

17 — Launch

IDYL Launch Playbook

33 min readdocs/LAUNCH.md

How IDYL gets from a public testnet to a live, disclosed, fair launch of $IDYL on pump.fun: Season 0 first, then the launch gate, then the token. Nothing in this document has happened yet. Every bracketed value ([like this]) is filled in by the team on the day.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

StageWhat it isStatus
1. Season 0A public testnet season of 42 days with real traffic and real payments, reported every weekNot started
2. The launch gateSeven conditions that must all hold for a full reporting weekNot met
3. LaunchThe fair launch on pump.fun, the disclosures, the first weekWaits for the gate

The token does not launch on a date. It launches when the gate is met. If a date and the gate disagree, the gate wins.

0Ground rules#

  1. Facts only. Every number we post comes from the IDYL Ledger (/api/stats.json, /api/leaderboard, /api/floor), a weekly report (/api/reports) or a public transaction. If the Ledger shows —, we post —.
  2. Metered is not paid. Metered figures value all usage at target rates. Paid figures count only what callers paid for from credits. We never post a metered figure as revenue, and every money figure says which kind it is.
  3. Status labels are fixed. Gateway, Node, Ledger, IDYL Chat, IDYL Desktop, the Unbound tier, The Floor, credits, Pro, the credit pool and Season 0 = Beta (testnet). Sealed = Beta (testnet), not validated on real confidential-computing hardware, until it has been. Bond program = Devnet, unaudited. Pay in $IDYL = built, off until the token exists. Exchange, BYOK and an OpenRouter listing = Roadmap. Prices are target rates (beta).
  4. No price talk from official accounts. No targets, no predictions, no yield figures, no promised listings, partnerships or audits. The banned-language list is in §0.1; the copy check is in docs/BRAND.md.
  5. One source for the contract address (CA). Official X, official Telegram, the website, and the GitHub README. Never by DM. Until launch, every surface says CA: announced at launch.
  6. Disclose everything the team holds or controls: dev buy, creator-fee destination, treasury, buyback wallet, payout wallet, team-run nodes, team-run guard capacity, team-run sealed capacity.
  7. No subscription pooling, ever. IDYL never resells or shares ChatGPT, Claude or any consumer AI plan and never asks for third-party credentials. Closed models are reachable only via BYOK.
  8. Unbound is "not lawless". Every mention of Unbound names The Floor or says "Unbound, not lawless". Unbound is always described as adults-only and opt-in. Never post Unbound outputs as marketing, never use shock content, and never imply that Unbound is lawless.
  9. Privacy claims use the grade's own words. Community: "the serving node sees the prompt". Sealed · relay is never called end-to-end. Community is never called confidential or private from the node. Until Sealed has attested on real hardware, every mention of Sealed says it has not been validated on real confidential hardware. The line is: Private by default. Provable when it matters.
  10. Earnings are never promised. "Earn from it" describes what the product does, not what anyone will make. Every post about node income says that most testnet work is metered, not paid.
  11. Points are never priced. No Season 0 reward amount exists, so none is ever stated, implied, estimated or compared. Every post about points says that no reward is promised.
  12. The credit pool is a usage rebate. It is never called yield, interest, rewards or a return, and never quoted per token staked.

0.1Never say#

These phrases, and anything that means the same, do not appear on any official surface, in any language, including jokes, replies and reposts:

  • "guaranteed", "risk-free", "safe investment"
  • "APY", "APR", "yield", "staking rewards", "earn on your stake" (bond and stake earn nothing by themselves)
  • "passive income", "free money", "get paid to sleep"
  • "to the moon", "100x", "next 1000x", "wen moon", "WAGMI"
  • "uncensored, no limits", "anything goes", "no rules", "no filters", "nothing is off-limits"
  • "unlimited", "unstoppable", "can't be shut down"
  • "confidential" or "private from the node" about Community; "end-to-end" about Sealed · relay; "proven", "verified" or "unbreakable" about Sealed before it has attested on real hardware
  • any claim that a grade needs no trust in anyone, that its privacy is mathematically proven, or that IDYL sees nothing. Every grade trusts someone, and the Gateway always sees who is asking, from where, which model, when, how much, and The Floor's outcome (Privacy)
  • "airdrop", "allocation", "points = tokens", or any amount, value or conversion rate for Idle Points
  • "revenue" for a metered figure
  • any price, market-cap target or comparison with another token's price
  • any partner, listing, audit or integration that has not happened

1Season 0#

Season 0 is the product's public test, not a marketing campaign. Its job is to find out whether people use IDYL, whether machines stay online, and whether anyone pays.

1.1Before Season 0 opens#

Complete every box. If one cannot be completed, Season 0 does not open.

  • The Season 0 Gateway is deployed on durable storage. IDYL_DATA_DIR is on a persistent disk and is backed up: the state file now holds credit balances and what nodes are owed.
  • IDYL_SEASON0_START is set, and GET /api/points/season returns the rules, the start and the end. The rules do not change during the season except to close an exploit, with a public note.
  • Guard capacity is live for The Floor: IDYL_FLOOR_URL, or at least two guard nodes.
  • Payments: IDYL_TREASURY_ADDRESS is a multisig, IDYL_SOLANA_RPC_URL is a provider you trust, and a real USDC payment of $1 has been made, confirmed and credited end to end. If card payments are offered, a real Stripe payment has been made and the webhook verified. GET /api/pay/methods shows exactly what is enabled.
  • Pay in $IDYL is off (IDYL_TOKEN_MINT unset). There is no token.
  • IDYL_ADMIN_TOKEN is long, random, stored as a secret, and known to as few people as possible. It can grant credits and record payouts.
  • Grants are budgeted. IDYL_CREDIT_POOL_SHARE is at its default of 0.05 or lower (the Gateway refuses anything above 0.075). Every promotional credit spent on node-served work is owed to a node at 85% in USD and charged to the treasury's half of the protocol share, and promotional grants are not capped by the code: plan them against paid revenue, watch treasury.paid.solvent, and grant nothing while it is false. Granted credits earn no Season 0 points.
  • IDYL_TRUST_PROXY matches the hosting edge, and GET /admin/ip shows your own address, also when you send a made-up X-Forwarded-For header (self-hosting guide). Rate limits and the guest limit are per address: with the wrong setting, every caller shares one limit, or anyone can escape theirs.
  • Sealed: IDYL_ALLOW_SIMULATED_TEE is unset on the public Gateway, and GET /api/sealed/stats shows allowSimulated: false. A simulated node on a public network would be a lie with a label on it. If no real sealed node exists, Sealed simply returns 503 sealed_unavailable, and the site says Sealed is not validated.
  • GET /api/transparency lists what is stored. The canary is either published by a deliberate operator action or shows not_published. It is never left looking published by accident.
  • The Trust checklist and the site's trust page show today's real statuses.
  • IDYL Desktop release artifacts are published with their checksum files (SHA256SUMS and SHA256SUMS-desktop.txt), and the installer table says what was actually verified for each. Today that table says the Windows installer has never been run on Windows and no macOS disk image has been built: do not announce a download that has not been run on its own system.
  • Counsel has reviewed selling prepaid credits for stablecoins, SOL and card from wallet-only accounts in the jurisdictions you operate in: payments, anti-money-laundering, sanctions and consumer-protection obligations, and the refund position.
  • The names, domain and repository items in §4.1 and §4.2 are done.

1.2Every week of Season 0#

Same day, same format, good weeks and bad.

  1. Read the weekly report: GET /api/reports/weekly?week=YYYY-Www.
  2. Post it (§8.3): nodes online, requests, tokens served, metered spend labelled metered, paid revenue labelled paid, what is owed to nodes, Floor counts, guest sessions, points issued.
  3. Post the gate status: each of the seven conditions and where it stands. "Not met" is a complete sentence.
  4. Pay nodes, if anything is owed (§7.4). Publish the transaction. If nothing reached the $1 minimum, say so.
  5. Renew the canary if it is due.
  6. Report what broke.

1.3When Season 0 ends#

  1. Run npm run points:export. It writes the snapshot and its SHA-256 Merkle root. Flagged nodes are excluded unless you deliberately include them after review.
  2. Publish the snapshot file and the root. Do not publish any amount, value or conversion for points: none exists.
  3. Publish what was learned, including what was exploited.

2The launch gate#

$IDYL launches only when all seven conditions hold together for one full reporting week. They are targets, not data. Until they are met, they are described as targets every time they are mentioned.

#ConditionTargetChecked byEvidence to publish
1Nodes online≥ 100, every day of the weekOpsThe weekly report, plus a figure for each day and how it was sampled
2People using IDYL Chat≥ 1,000 in the weekOpsThe count, with how it was made
3Tokens served≥ 50 million in the prior weekOpsThe weekly report
4Paid revenueOn every day of that weekOpsThe real-money ledger's paid revenue for each day, with how it was read
5IDYL SealedLive with attestationEngineeringAn attestation id from real confidential hardware that passes npm run verify:attestation
6Critical security issuesZero openEngineeringA statement of what was reviewed, by whom, and what remains open
7CounselSign-off on the token designLeadA statement that sign-off was given, by which firm if they agree to be named, and on which design

Rules for reading the gate:

  • No rounding up. 99 nodes on one day of the week is a miss.
  • Count only what can be counted, and say how. The weekly report as built carries tokens served for the week. It carries nodes online as a weekly average and maximum, not per day. It has no count of distinct Chat users. Its ledger has paid revenue for the week, not per day. For conditions 1, 2 and 4, ops must keep the daily readings (for example, /api/stats.json sampled on a fixed schedule) and publish the method with the number. A number without a method does not count.
  • Paid means bought. For condition 4, use paid revenue: credits bought with USDC, SOL or a card, and spent (paid.revenueUsd in the weekly report, revenueTotalUsd in the ledger). Do not use paid.creditsConsumedUsd, which also counts granted credits.
  • No counting ourselves. Team-run nodes are labelled, and the report says how many of the nodes online were the team's. Paid revenue does not include promotional credits or pool credits.
  • No simulated Sealed. A simulated attestation does not satisfy condition 5.
  • No relaxing. The gate is not lowered to meet a date. If a condition proves to be the wrong one, change it in public, with the reason, before claiming it.
  • Meeting the gate permits a launch; it does not oblige one.

3Wallets and keys#

Set these up before anything else. Use separate wallets; never reuse one for two roles.

Wallet or keyPurposeCustody
TreasuryReceives every credit payment (IDYL_TREASURY_ADDRESS), 50% of protocol revenue and the creator-fee share you decide on (§4.8); pays node batches, in USD and in $IDYL; holds the $IDYL received as payment until it is owed to a node or queued for burning; burns the burn queueSquads multisig; signers on hardware wallets
Buyback walletExecutes the weekly buyback and burnSquads multisig or a dedicated hardware-wallet account; holds only the current week's budget
Creator walletCreates the coin on pump.fun and makes the dev buyFresh browser wallet on a clean machine, funded with only the SOL needed for the dev buy and fees
Bond adminadmin of the IDYL Bond program; program upgrade authoritySquads multisig (see programs/idyl-bond/README.md)
Slash authoritySigns slash on the Bond programSeparate key, not the admin
Admin tokenIDYL_ADMIN_TOKEN: grants promotional credits, records payouts and burns, sets the canaryA secret manager; rotated when anyone with access leaves

Write every public address into the Ledger disclosures page before launch (except the creator wallet, which is disclosed the moment the coin exists). The treasury address is public from the first payment: it is the address every customer pays.

4Pre-launch checklist#

Complete every box. If one cannot be completed, move the launch.

4.1Names and domains#

  • X handle: @IDYLapp (claimed). Site, docs and token/metadata.json use it.
  • Create the Telegram channel/group t.me/idylnetwork. Add an anti-spam bot, set "admins will never DM you first" in the description, and restrict link posting to admins.
  • Domain: idylnetwork.com (registered at Hostinger). Site at idylnetwork.com, app at app.idylnetwork.com, both on the Render gateway (custom domains in render.yaml).
  • DNS at Hostinger: A @ 216.24.57.1, CNAME www idyl-gateway-hvs1.onrender.com, CNAME app idyl-gateway-hvs1.onrender.com, no AAAA on @/www. Confirm HTTPS on all three.
  • Then move IDYL Desktop's default Gateway URL and update feed (now https://idyl-gateway-hvs1.onrender.com) to https://idylnetwork.com, and create abuse@idylnetwork.com (referenced in the Unbound policy).
  • Reserve the same handle on GitHub, Discord and Farcaster if you plan to use them, so impersonators cannot.

4.2Code and infrastructure#

  • Make https://github.com/thetradeexpert444/idyl public. Before flipping it, check the full history for secrets (.env, keypairs, API keys, signing certificates, Stripe keys, the admin token), confirm the LICENSE, and confirm the README states the status labels.
  • Enable private vulnerability reporting on the repository (Settings → Security).
  • Verify the deployed Gateway: GET /health, /api/stats.json, /api/catalog, /api/floor, /api/transparency, /api/reports, /v1/models, and a streamed POST /v1/chat/completions as a guest, on the free tier and from credits.
  • Label team-operated nodes, guard capacity and sealed capacity as such on the Ledger.
  • Set up uptime alerts for /health and a status line in the Telegram pinned message.

4.3The gate#

  • All seven conditions of §2 hold for a full reporting week, and the evidence for each is published.

4.4IDYL Bond#

  • The independent audit of IDYL Bond is published. Until it is, the program does not hold mainnet funds, and node bond and stake for Pro are not live. (The internal review in programs/idyl-bond/AUDIT-NOTES.md is not an audit and must never be described as one.)
  • The two accepted risks from the internal review are closed in the code: slashing by the slash key is bounded per node per 24-hour window and 100% slashes need the admin; the admin transfer is two-step. (Still to verify on devnet with a real clock and the multisig.)
  • After the audit: deploy to mainnet, publish the program id and Config address, set IDYL_BOND_PROGRAM_ID, and remove every testnet Pro override.
  • If the audit is not done, say so in the launch thread: the token launches with fewer live jobs, and the posts in §8 are edited to match.

4.5The Floor and Unbound#

  • Guard capacity is live. GET /api/floor shows floorUrlConfigured: true or guardNodesOnline ≥ 2.
  • Test each Floor outcome on the deployed Gateway with benign test phrases from the gateway test suite: a pass, a 451 floor_blocked, a care response, a 403 unbound_attestation_required, and a 503 floor_unavailable with guard capacity switched off. Restore guard capacity afterwards.
  • At least one team-operated node serves an Unbound model, in a jurisdiction where the operator has checked that this is lawful. Disclose it as team-operated.
  • docs/UNBOUND.md (the IDYL Floor policy) is published and linked from IDYL Chat's attestation screen.

4.6Token metadata and assets#

  • Finalize token/metadata.json (name IDYL, symbol IDYL, description ≤ 300 characters, links that you actually own). Delete any link you do not control.
  • Upload token/logo.png (1000×1000) as the pump.fun image and as the X and Telegram avatar.
  • Upload token/banner.png (1500×500) as the X header.
  • Confirm the Open Graph images render in link previews: paste each page URL into an unsent X post and into a Telegram chat and check the card.
  • Assume name, ticker, image, description and links cannot be changed after the coin is created.

4.7Dev buy decision#

  • Decide the dev-buy size: at most 1.5% of supply (15,000,000 of 1,000,000,000 $IDYL). Smaller is fine; zero is fine.
  • Decide the Streamflow schedule and publish it before launch. Recommended: 6-month linear vest, monthly unlocks of 1/6, not cancelable by anyone, not transferable. Start = launch day.
  • Fund the creator wallet with the SOL for the dev buy plus fees. pump.fun shows the exact SOL cost before you confirm; do not exceed the 1.5% cap.
  • Bookmark the Streamflow vesting app and do a dry run with a devnet token.
  • Prepare the disclosure text (§8.6) with blanks for the CA, amount and lock link.

4.8Creator fees#

  • pump.fun currently pays coin creators a share of trading fees (rate and mechanics set by pump.fun; check the current terms). Decide where they go (recommended: treasury, then buyback and burn) and publish that decision with the launch.

4.9Ledger disclosures#

  • A Disclosures section: creator wallet (filled at launch), dev-buy amount, Streamflow contract link, treasury, buyback and payout addresses, the multisig's signers and threshold, the Bond program id, team-run nodes, guard capacity and sealed capacity.
  • Confirm every live number on the site comes from the Gateway, and that any demo mode shows "Demo".
  • Counsel sign-off on the token design (gate condition 7), covering at least: the revenue-funded buyback and burn; the credit pool shared among stakers; Pay with $IDYL (the discount, paying nodes in $IDYL, and the burn); stake for Pro; the dev buy and creator fees; and every post in §8. Give counsel the regulatory context and ask them to correct it.
  • Counsel review of the Unbound policy and Acceptable Use Policy, and of the jurisdictions in which you will market Unbound.
  • Run the copy check from docs/BRAND.md and the never-say list over the site, docs, threads, bios and pinned messages.
  • Every public surface that mentions $IDYL carries the disclaimer line.

4.11People#

  • Assign roles for launch day: one person creates the coin, one posts on X, one runs Telegram, one watches for impersonators and fake downloads. One person can hold several roles; write down who holds which.

5pump.fun launch steps#

Done by a human in a browser wallet. No scripts, no bundlers, no extra wallets buying in the same block.

  1. Open https://pump.fun and connect the creator wallet. Confirm the URL by typing it; do not follow links from DMs or search ads.
  2. Click Create a new coin (the label may differ slightly).
  3. Fill the form from token/metadata.json:
    • Name: IDYL
    • Ticker: IDYL
    • Description: the description value, copied exactly
    • Image: token/logo.png
    • Socials: website, X, Telegram. Only links you own. Leave a field empty rather than use a placeholder.
  4. Set the initial buy to the dev-buy amount decided in §4.7 (≤ 1.5% of supply). Read the SOL cost shown before confirming.
  5. Create the coin and approve the transaction in the wallet.
  6. Copy the mint address from the coin page. Open it on a Solana explorer (Solscan or Solana Explorer) and confirm:
    • the mint matches the coin page,
    • mint authority and freeze authority are disabled,
    • supply is 1,000,000,000,
    • the creator wallet holds exactly the dev-buy amount.
  7. That address is the CA. Go to §6, T+0.

If the bonding curve completes later, pump.fun migrates liquidity automatically (currently to PumpSwap). No team action is required beyond updating the trading links. Do not predict or hint at when that happens.

6Launch-day timeline#

TimeActionOwner
T-24hFull dry run: site live on the real domain, Gateway healthy, the gate evidence published, guard capacity online, Desktop release downloadable, every metadata link resolves, assets uploaded, thread and pinned messages drafted with blanks for the CA. Announce the launch day (not the minute) on X and Telegram.All
T-6hRe-check /health, /api/floor and the Ledger. Freeze the site except for the CA change. Confirm the creator wallet balance.Lead
T-1hTelegram slow mode on; only admins can post links. Final copy check. Close every browser tab you do not need.TG, Lead
T-0Create the coin (§5). Verify the CA on an explorer.Creator
T+5mPost the X launch thread (§8.2) with the CA. Pin it. Update the X bio (§8.4). Pin the Telegram message (§8.5). Update the site from CA: announced at launch to the CA (search apps/web for that string) and redeploy. Update README, llms.txt and docs.X, TG, Lead
T+15mCreate the Streamflow vest for the dev-buy tokens (§7.1). Post the contract link and tx as a reply to the thread and in Telegram. Add both to the Ledger disclosures.Creator
T+30mSet IDYL_TOKEN_MINT on the Gateway and redeploy: this switches on Pay in $IDYL. Make one real payment in $IDYL and confirm it is credited at 10% off (the amount ÷ 0.9). Spend some of those credits on a request a node serves, and confirm that the node's payable.accruedIdyl and treasury.paid.idylQueuedForBurn rise in the ratio 85 to 5.Lead
T+1hSearch X and Telegram for impersonators, fake CAs and fake "IDYL Desktop" downloads. Report them. Post one reminder: the only CA is the one in the pinned post, and the only downloads are on GitHub Releases.Watcher
T+6hFirst status post: what is live, numbers from the Ledger, nothing about price.X
T+24hDay-1 recap: nodes online, requests and tokens served, paid revenue (labelled paid), Floor checks. Answer the top questions from the FAQ bank.X, TG
T+7dFirst weekly report, first buyback and burn (§7.3), first burn of the Pay-in-$IDYL queue — each published even if the amount is zero. Weekly cadence continues.Lead

7Post-launch#

7.1Lock the dev buy (Streamflow)#

  1. Open the Streamflow app, choose Vesting → Create.
  2. Token: $IDYL (paste the CA, check the logo and decimals). Amount: the full dev-buy amount.
  3. Recipient: the creator wallet (or the treasury multisig, if you decided so publicly).
  4. Schedule: start now, duration 6 months, unlock monthly (1/6 each), no cliff unless you published one.
  5. Permissions: cancelable by nobody, transferable by nobody.
  6. Read the fee Streamflow shows, then confirm.
  7. Publish the contract link and the transaction signature in the thread, Telegram and the Ledger.

7.2Pin the CA everywhere#

  • X: pinned thread, bio.
  • Telegram: pinned message and channel description.
  • Website: token section and footer (apps/web, replace CA: announced at launch).
  • GitHub: README, apps/web/llms.txt, docs/TOKENOMICS.md.
  • pump.fun page is canonical; link to it rather than to third-party trackers.

7.3Weekly buyback and burn#

Mechanics (docs/TOKENOMICS.md): the protocol keeps 15% of paid inference revenue; 50% of that funds the weekly buyback and burn. That is 7.5% of paid spend, on every tier and grade, accrued into treasury.paid.buybackQueuedUsd in /api/stats.json from charges paid with credits that were bought with USDC, SOL or a card. Charges paid with granted credits or with credits bought in $IDYL add nothing to it. The top-level treasury.buybackQueuedUsd is a metered figure and is not the budget.

  1. Schedule. Pick one fixed weekly UTC time (e.g. Monday 14:00 UTC) and announce it before the first buyback. Never move it in response to price.
  2. Snapshot. At that time, read treasury.paid.buybackQueuedUsd and post it. That figure is the budget. If it is too small to execute after network and swap fees, it rolls over to next week; say so. Post a zero as a zero.
  3. Fund. Move exactly the budget from the treasury multisig to the published buyback wallet. Record the tx.
  4. Buy. Buy $IDYL on the venue where it trades (pump.fun curve, or PumpSwap after migration; a Jupiter route is fine). Split large amounts into several smaller orders through the day; use a sensible slippage limit. Never buy before the snapshot is posted.
  5. Burn. Burn the full amount bought with the SPL Token burn instruction (e.g. spl-token burn <TOKEN_ACCOUNT> <AMOUNT>), which reduces the mint's supply. Burn the Pay-in-$IDYL queue (treasury.paid.idylQueuedForBurn) from the treasury multisig the same way. Never send tokens to a "dead" address instead.
  6. Record. POST /admin/burns {tx, amountIdyl, at} for each burn. The record carries the explorer link and appears in the weekly report. For tokens burned from the Pay-in-$IDYL queue, also POST /admin/pay/idyl-burned {tx, amountIdyl}, which is what takes them out of idylQueuedForBurn. Both are idempotent per transaction. The Gateway records what you tell it and does not check the chain, so check the signature and the amount before you post them.
  7. Publish. Post the same facts on X and Telegram (§8.7).
  8. Never use buyback funds for anything else, never trade $IDYL from protocol wallets outside the published buyback, never front-run your own buyback, and never describe the buyback as creating yield or a return for holders.

7.4Node payouts#

Real money in means real obligations out. What each node is owed is public at /api/payouts/<node id>. A node has two payables: one in USD, and one in $IDYL for work that callers bought with $IDYL.

  1. Export. npm run payouts:export writes one batch per asset (JSON and CSV: payout address, amount): nodes with at least $1 accrued in USD, and nodes with at least 1 IDYL accrued in $IDYL. A node needs a payout address to appear.
  2. Review. GET /admin/payouts lists what every node is owed. Check the USD batch against the treasury's balance and treasury.paid.nodePayableUsd, and the $IDYL batch against the $IDYL the treasury holds and treasury.paid.nodePayableIdyl. Read treasury.paid.treasuryNetUsd and solvent: work paid with pool or promotional credits is owed to nodes in USD and charged to the treasury's half of the protocol share. If solvent is false, grants have cost more than that half has earned; stop granting and say so in the weekly report. Check for flagged nodes and anything that looks like self-dealing before paying.
  3. Pay each batch from the treasury multisig: USD payables in the published payout asset, $IDYL payables in $IDYL.
  4. Record. POST /admin/payouts {tx, asset, items} for each batch. Recording is idempotent per transaction, and a payout recorded in $IDYL settles $IDYL payables only.
  5. Publish each transaction and batch total in the weekly report.

Before the first payout, publish the asset in which USD payables are paid and the cadence. Until then every surface says that no payout has been made.

Never sell or move $IDYL received as payment. Until the credits it bought are spent, it backs them. As they are spent it becomes owed to nodes (85/90) or queued for burning (5/90). Tokens released by provider-served Sealed work stay in the treasury (idylTreasury).

Refunds and chargebacks. There is no automated refund and no published refund policy. If a card payment is charged back, or you refund a payment by hand, POST /admin/credits/revoke {wallet, usd, ref} takes back the purchased credits that are still unspent, once per reference. Credits that were already spent stay spent, and the nodes that served that work are still owed. Publish a refund policy before promoting card payments.

7.5Weekly report#

Every week: Ledger numbers (nodes, Unbound-serving nodes, sealed nodes, requests, tokens served, success rate, Floor checks and blocks per category), metered spend labelled metered, paid revenue labelled paid and its split, what is owed to nodes and what was paid, the share of payments made in $IDYL, the credit pool's size, what shipped, what broke, the buyback row. Same format each week. Bad weeks get reported the same way as good ones.

8Copy kit#

Replace [brackets] before posting. Keep the wording otherwise; it has been checked against the brand voice, the never-say list and X's 280-character limit (a link counts as 23 characters). Where a post describes a privacy grade, it uses the grade's exact wording; do not paraphrase it.

Two lines anchor everything:

  • Private by default. Provable when it matters.
  • Unbound, not lawless.

8.1X thread for Season 0 (10 posts, no token)#

1/10

Text
IDYL Season 0 is open.

A public testnet for an AI network that runs on idle computers. Chat with open models, build on one API, or let your machine serve while you're away.

There is no token yet. $IDYL CA: announced at launch.

2/10

Text
Private by default. Provable when it matters.

Every reply shows one of three privacy grades, so you always know who could read what you sent. The next three posts are those grades, in the exact words the product uses.

3/10

Text
Community: Runs on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.

That last sentence is why we don't call it confidential. It isn't.

4/10

Text
Sealed · relay: Runs inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.

5/10

Text
Sealed · end-to-end: Encrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.

Status: Sealed has not been validated on real confidential hardware yet. It is built and tested with a simulated attester.

6/10

Text
Unbound, not lawless.

Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't.

Adults only, opt-in. Every request passes The Floor first.

7/10

Text
Real payments are live on testnet. Prepaid credits, priced per token.

Of every paid dollar, 85 cents is owed to the node that served it, and that ledger is public.

Free-tier work is metered, not paid. Every number we post says which.

8/10

Text
Idle Points follow capacity we can verify. About every half hour the network tests every machine at the same moment and times the answer itself.

No points for follows or posts. No reward is promised and no amount is set. Points may never be worth anything.

9/10

Text
$IDYL launches when all seven hold for a full week:

100+ nodes online daily
1,000+ people using Chat weekly
50M+ tokens served
Paid revenue every day
Sealed live with attestation
Zero open critical security issues
Counsel sign-off

Targets, not data.

10/10

Text
Chat: [SITE]/app.html#chat
Desktop: [SITE]/download.html
Trust checklist: [SITE]/trust.html
Docs: [SITE]/docs.html

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

8.2X launch thread (10 posts, at token launch)#

Post only after the gate is met and the coin exists. Fill post 3 with what was actually validated, and edit post 8 if IDYL Bond is not yet on mainnet.

1/10

Text
The world's idle intelligence, put to work.

Season 0 is done and the launch gate is met. The evidence is in this week's report: [SITE]/trust.html

$IDYL is live on pump.fun.
CA: [CA]

2/10

Text
Use it. IDYL Chat: start as a guest, or connect a wallet. No email, no password. Your history stays in your browser.

Private by default. Provable when it matters. Every reply shows its privacy grade.

3/10

Text
On Community, the serving node sees the prompt. We say so on screen.

On Sealed, your request runs inside attested confidential hardware. End-to-end, it is encrypted on your device.

Sealed status today: [WHAT WAS VALIDATED, ON WHICH HARDWARE, WHEN].

4/10

Text
Unbound, not lawless.

Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't.

Adults only, opt-in with a wallet signature. Every request still passes The Floor.

5/10

Text
The Floor checks every request before any model sees it.

Blocked on every tier: sex crimes, child sexual exploitation, mass-casualty weapons.
Self-harm: a caring reply and a helpline, not a model.

It stores counts, never prompts. It can be wrong. We publish its limits.

6/10

Text
Build with it. One API key for open-weight models: Llama, Qwen, Gemma, DeepSeek, Mistral, gpt-oss.

Same /v1/chat/completions you already call. Change the base URL, keep your code.

Target rates from $0.03 per 1M input tokens. Beta.

7/10

Text
Earn from it. IDYL Desktop serves while you're away and stops when you're back.

A node is owed 85% of what callers pay for the jobs it serves. That ledger is public.

Free-tier work is metered, not paid. Nobody can tell you what your machine will make.

8/10

Text
What $IDYL does:

Bond: collateral for nodes. Bad work is slashed and burned.
Stake: unlocks IDYL Pro.
Credit pool: a usage rebate, capped by revenue.
Pay with $IDYL: 10% off. Your tokens pay the node; the protocol's cut is burned.
Buyback and burn: from revenue.

No emissions.

If IDYL Bond is not on mainnet at launch, replace the Bond and Stake lines with: Bond and stake: not live until the audit is published.

9/10

Text
Launch policy: fair launch on pump.fun. 1B supply. No presale, no VC, no team allocation.

Dev buy: [AMOUNT] $IDYL ([PERCENT]% of supply), locked on Streamflow, 6-month vest.
Lock: [STREAMFLOW LINK]

IDYL never resells anyone's ChatGPT or Claude subscription.

10/10

Text
Chat: [SITE]/app.html#chat
Desktop: [SITE]/download.html
Docs: [SITE]/docs.html
Trust: [SITE]/trust.html

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

8.3Weekly Season 0 report#

Text
IDYL Season 0, week [N].

Nodes online: [AVG] average, [MAX] peak
Requests: [R] · Tokens served: [T]
Metered usage: $[M] at target rates. Not revenue.
Paid revenue: $[P] · Owed to nodes: $[O]
Launch gate: [K] of 7 conditions met

Full report: [SITE]/trust.html

Post the real numbers, including zeros. If the Ledger shows —, post —.

8.4X bio (160 characters max)#

During Season 0 and until launch:

Text
Private by default. Provable when it matters. Open-model AI on idle computers. Season 0 testnet. $IDYL CA: announced at launch. Not financial advice.

After launch (CA in the bio, website in the link field):

Text
Private by default. Provable when it matters. Open-model AI on idle computers. $IDYL CA: [CA]. Not financial advice.

Name field: IDYL. Location field: leave empty or Testnet. Link: the site. Neither bio mentions price, returns or points.

8.5Telegram pinned message#

During Season 0:

Text
Welcome to IDYL.

Private by default. Provable when it matters.

Use it. Build with it. Earn from it.
IDYL Chat: AI chat with no account. Start as a guest or sign in with a wallet.
IDYL API: one OpenAI-compatible key for open-weight models.
IDYL Desktop: your computer serves the network while you're away.

There is no token yet.
$IDYL CA: announced at launch. Any address you are shown before then is not ours.
$IDYL launches when the launch gate is met: [SITE]/trust.html

Official links
Site: [SITE]
Chat: [SITE]/app.html#chat
Desktop downloads: [SITE]/download.html (files are hosted on GitHub Releases only)
Pricing: [SITE]/pricing.html
Trust checklist and weekly reports: [SITE]/trust.html
X: x.com/IDYLapp
Code: github.com/thetradeexpert444/idyl

Privacy, in the product's own words
Community: Runs on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.
Sealed: runs inside attested confidential hardware. Not yet validated on real hardware.

Unbound, not lawless
Unbound models are adults-only and opt-in. Every request on the network passes The Floor. Policy: [SITE]/docs.html#unbound

Season 0
Idle Points record verified capacity and paid work. No reward is promised and no amount has been set. Points may never be worth anything.

Status
Everything is beta, on testnet. Most node work is metered, not paid. The bond program is unaudited and not live.

Safety
Admins never DM first. Nobody here will ask for your seed phrase, private key or a "wallet sync". IDYL Desktop never asks for them either. Anyone who does is a scammer.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

At launch, replace the "There is no token yet" block with:

Text
Official $IDYL CA (the only one):
[CA]

Launch policy
Fair launch, 1B supply. No presale, no VC, no team allocation.
Dev buy [PERCENT]%, locked on Streamflow (6-month vest): [STREAMFLOW LINK]

8.6Dev-buy disclosure (reply to the thread at T+15m)#

Text
Dev-buy disclosure.
Creator wallet: [WALLET]
Bought at launch: [AMOUNT] $IDYL ([PERCENT]% of supply)
Locked on Streamflow, 6-month vest, monthly unlocks, not cancelable, not transferable.
Contract: [STREAMFLOW LINK]
Lock tx: [TX]
pump.fun creator fees go to: [DESTINATION].

8.7Weekly buyback post#

Text
Week [N] buyback and burn.
Paid revenue: $[P]
Queued for buyback: $[Y] (7.5% of paid spend)
Bought and burned: [Z] $IDYL
Pay-in-$IDYL queue burned: [Q] $IDYL
Buy tx: [TX]
Burn tx: [TX]
Record: [SITE]/trust.html

When the amount is zero:

Text
Week [N] buyback and burn: $0. There was no paid inference revenue to fund one this week. The record is published either way: [SITE]/trust.html

8.8One-liners (token and social only)#

Network and token:

  1. Idle hands, paid.
  2. Your GPU is napping. Bill someone for it.
  3. Your Mac sleeps more than you do. Give it a night shift.
  4. Sleep mode, but billable.
  5. Do nothing. Professionally.
  6. Your 4090 called. It's bored.
  7. Fail the canary, feed the burn.
  8. Slashed tokens are burned. Nobody inherits your mistakes.
  9. No emissions. If nobody pays, nobody gets paid. Radical, apparently.
  10. We don't resell your ChatGPT login. We'd like to keep existing.

Products:

  1. Use it. Build with it. Earn from it.
  2. Step away from the keyboard. Your computer clocks in.
  3. Back at your desk? It already stopped.
  4. Unplugged laptops don't work night shifts. Ours pause on battery.
  5. No account. No email. Just a signature.
  6. Your chat history lives in your browser. We'd have nowhere to put it.
  7. Unbound, not lawless.
  8. Some things are below The Floor. They stay there.

v3:

  1. Private by default. Provable when it matters.
  2. Three privacy grades. We tell you which one you got.
  3. The serving node sees the prompt. We put that in writing.
  4. Product before token.
  5. Points for capacity we can verify. None for clicks.
  6. Metered is not paid. We label both.
  7. Pay with $IDYL and your tokens pay the node that did the work.
  8. Our launch date is a checklist.

8.9Product one-liners (site, store listings, press)#

These carry no meme energy and may be used anywhere.

ProductOne-liner
IDYLThe world's idle intelligence, put to work.
IDYL ChatPrivate by default. Provable when it matters.
IDYL APIOne key for open-weight models. OpenAI-compatible.
IDYL DesktopYour computer, earning while you're away. Most testnet work is metered, not paid.
IDYL SealedInference inside attested confidential hardware. Not yet validated on real hardware.
UnboundOpen-weight models without built-in refusals. Adults only, opt-in. Unbound, not lawless.
The FloorOne safety check for every request, on every tier and every grade.
IDYL ProStake $IDYL. Use more of the network.
Season 0Points for capacity we can verify. No reward is promised.

9FAQ and reply bank#

Short, factual, no heat. Link to the source instead of arguing. If you don't know, say so and follow up.

"Wen token?" When the launch gate is met: seven conditions, all at once, for a full week. They are on [SITE]/trust.html with where each stands. There is no date.

"What's the CA?" There isn't one yet. CA: announced at launch, from the pinned post only. Any address you are shown before then is not ours.

"Is this a rug?" (after launch) No presale, no team allocation. The dev buy is [PERCENT]% and locked on Streamflow: [link]. Mint and freeze authority are disabled: [explorer link]. The code is public. It is still a memecoin and can go to zero. Only use money you can afford to lose.

"Where's the product?" IDYL Chat: [SITE]/app.html#chat, no wallet needed to try it. Desktop app: [SITE]/download.html. API keys: [SITE]/app.html#keys. All in beta on testnet. Live numbers: [SITE]/app.html#ledger.

"Why does this need a token?" Nodes post $IDYL as collateral, and bad work gets slashed and burned. Staking it unlocks IDYL Pro. Paying with it is cheaper, and those tokens pay the node that did the work. It is also a memecoin; we're not pretending otherwise. You don't need $IDYL to use Chat, the API or Desktop.

"What are Idle Points worth?" Nothing, today. No reward has been decided and no amount has been set. They record verified capacity and paid work during Season 0.

"Will there be an airdrop?" Nothing is promised. $IDYL has no supply reserved for points or for anyone. If anything is ever announced, it will come from the official channels with its source and terms.

"How do I farm points?" You run a real machine that the network can measure, or you pay for inference you actually use. One earning node per machine; free-tier traffic earns nothing; the network tests every node at the same moment. Rules: [SITE]/docs.html#season0

"Is the credit pool yield? What's the APY?" It is not yield and there is no rate. It is a usage rebate: credits that can only buy inference, capped by last week's paid revenue, expiring in 30 days. It can be zero. We don't quote it per token.

"Is it audited?" No. The Bond program is unaudited and is not deployed yet. One internal review by an AI reviewer found and fixed two issues; that is not an audit, and we do not call it one. The program goes to mainnet only after an independent audit, and we will publish the report. The Gateway has had no third-party review either.

"What do nodes earn?" A node is owed 85% of what callers pay for the jobs it serves, and that ledger is public. There are no emissions. Free-tier work is metered, not paid, so on a mostly free testnet the amounts are small.

"How much will my computer make with IDYL Desktop?" We can't say and won't guess. It depends on paid demand for the models you serve, how long your machine is available and how fast it is. Running a computer costs electricity; compare first.

"Is running a node free money?" No. It is paid work for hardware you already own, minus your electricity, and only when someone pays.

"Can node operators see my prompts?" On Community, yes: the serving node sees the prompt. On Sealed, the machine's owner is excluded by hardware. Sealed has not been validated on real confidential hardware yet. Details: [SITE]/docs.html#privacy

"Can IDYL see my prompts?" On Community and Sealed · relay, the gateway handles your request in memory and never stores it. On Sealed · end-to-end, it relays ciphertext only. It always sees which wallet asked, which model, and how much.

"Is Sealed proven?" Not yet. It is built and tested with a simulated attester. It has not been validated on real confidential hardware, and under "hardware" verification the software inside the enclave is not proven. We'll say when that changes.

"Why does my Mac / Windows warn me about IDYL Desktop?" Beta builds may be unsigned, so the operating system can't confirm who made them. Only install from the official GitHub Releases links on [SITE]/download.html, and check the file against the release's checksum file. The steps are in the Desktop guide: [SITE]/docs.html#desktop.

"Is Unbound uncensored?" Unbound models have their built-in refusals removed. Every request still passes The Floor, which blocks sex crimes, child sexual exploitation and mass-casualty weapons on every tier. Adults only, opt-in. Unbound, not lawless. Policy: [SITE]/docs.html#unbound

"Why can't I use the big Unbound models for free?" The free tier covers Unbound models that need 12 GB or less. Larger ones need credits or IDYL Pro. The price pays the operators who choose to serve them.

"Who checks that Unbound users are adults?" Nobody can check that from a wallet. Users sign an 18+ attestation and accept the policy. We say exactly that, in the docs and on screen.

"What does The Floor store?" Counts per category. Never prompts. The counts are public at [SITE]/api/floor.

"Can I get a refund on credits?" There is no automated refund and no written refund policy yet; it is an open item on our trust checklist. A Solana payment cannot be reversed once it confirms. Buy small amounts.

"Wen CEX? Wen listing?" None planned, none promised.

"How is this different from projects that share AI subscriptions?" We never pool, share or resell ChatGPT, Claude or any consumer plan, and we never ask for your credentials. That model breaks provider terms and gets every supplier banned at once. IDYL serves open-weight models on owned hardware. Closed models only via BYOK, your own key.

"Can nodes cheat or return garbage?" They can try. The gateway sends canary prompts, enforces deadlines and measures each node's real speed in simultaneous tests. On testnet, failures cost reliability and off-chain slash points; on mainnet, bond. This catches systematic cheating, not every bad answer.

"Is this legal? What about the SEC?" We are not lawyers and this is not legal advice. We published our reading of the current US guidance in the whitepaper, including the part that does not favour us: our gateway is a central party today, so the SEC staff's answer on buybacks does not cover IDYL. Counsel sign-off on the token design is a launch condition.

"Does the team hold tokens?" Before launch there are none. After launch: only the disclosed dev buy, locked on Streamflow: [link]. Team-controlled wallets are listed on the Ledger. Any change will be disclosed there first.

"Price is down / up. Thoughts?" We don't comment on price. Here's what shipped this week: [list].

"Where do buybacks come from?" 50% of protocol revenue, weekly, with the transaction recorded. Protocol revenue is 15% of what callers actually pay. When that is zero, the buyback is zero, and we publish the zero.

"Who builds IDYL?" [Fill in honestly before launch: who builds it, how to verify, where to reach them.]

"Is $IDYL an investment?" $IDYL is a utility token with no promise of profit. We can't give financial advice.

Someone posts a CA before launch, a different CA, or a different download link "There is no $IDYL token until we announce it in the pinned post on @IDYLapp. The only IDYL Desktop downloads are on github.com/thetradeexpert444/idyl/releases. Please report the other one."

10Incident playbook#

IncidentResponse
Fake CA or impersonator accountPost the correct state from official accounts ("no token yet", or the real CA), report the impersonator, warn in Telegram. Never engage in DMs.
Fake IDYL Desktop downloadPost the official release link and checksums, report the hosting page, warn in Telegram.
Gateway downLedger shows — automatically. Post a status line with a time, then post when it is back. No spin.
Guard capacity downUnbound returns floor_unavailable by design; Open continues with the prefilter only. Post a status line ("Unbound paused: The Floor's classifier is unavailable"), restore capacity, post when it is back.
A Floor miss is reported (harmful request got through)Thank the reporter privately. Reproduce without storing content. Publish what failed and what changed, without reproducing the content. Never argue that it "can't happen".
Unbound content appears in a screenshot going viralDo not repost it. State the policy, The Floor's limits and the reporting channel. If it shows a blocked category, follow the reporting steps in the Unbound policy.
A payment was credited wrongly (twice, wrong amount, wrong wallet)Pause that payment method by removing its configuration. Publish what happened and the amounts. Correct the ledger with a recorded admin action, never by editing the state file silently.
The price feed or the RPC endpoint is wrong or downSolana payments stay pending or are refused. Do not hand-credit on a customer's word; verify the transaction on a second explorer first. Switch provider, then post.
A card payment is disputedFollow Stripe's process. Do not claw back a balance without telling the wallet's owner why. Record it.
The state file is lost or corruptedStop taking payments. Restore from backup. Publish what was lost. Balances and what nodes are owed are obligations whether or not the file survived.
The admin token leaksRotate it at once. Audit every promotional credit, payout record and burn record made since the last known-good time, and publish the result.
A flaw is found in the attestation verifier or the Sealed ChannelDisable Sealed (unload the plugin or remove the issuers) so requests fail with sealed_unavailable rather than run with a false guarantee. Publish the flaw and the fix.
A sealed node is found misbehaving, or a TEE vulnerability is publishedRemove the node from the allow-list or the vendor from the issuers. Say plainly what Sealed did and did not protect during the window.
A Season 0 exploit is foundClose it with a rule change, announced with the time it took effect. Flag affected nodes for review. Never restate history quietly.
The canary cannot be renewed truthfullyDo not renew it. Say nothing false. Let it lapse.
A simulated node is found on the public GatewayRemove it and unset IDYL_ALLOW_SIMULATED_TEE at once. Publish that it happened and for how long.
Wrong copy posted (number, claim)Delete and repost corrected, with a one-line note of what changed.
Compromised social accountPost from the other official channel that the account is compromised; recover via the platform; publish the CA state again once recovered.
Bond program bug (devnet)Pause promotion of bonding and staking, publish the issue, fix, redeploy to devnet, publish the new program id.
Team wallet moves tokens unexpectedlyDisclose on the Ledger and both channels with the tx and the reason.

11Risks#

Read this before Season 0 and again before launch. Repeat the short version wherever $IDYL is promoted.

  • Volatility. Memecoins routinely lose most or all of their value, often in minutes. Liquidity on a bonding curve can be thin. Nothing the team ships controls the price.
  • No promise of profit. $IDYL is a utility token: collateral, a stake that unlocks a plan, and a payment option. Never describe it as an investment, a yield product or a source of income. The same applies to IDYL Desktop and to Idle Points.
  • Securities and financial-services law. Get counsel. Counsel sign-off is a launch condition, not a formality. Talk to a lawyer experienced in crypto in every jurisdiction where the team lives or markets. Ask specifically about:
    • the weekly buyback and burn funded by protocol revenue. In the United States, SEC staff guidance of September 2026 on buybacks, as revised, is limited to functional systems with no central party; IDYL's Gateway is a central party, so do not assume it applies;
    • the credit pool shared among stakers in proportion to stake, which can look like profit-sharing;
    • Pay with $IDYL: the discount, the payment of nodes in $IDYL for that work, and the burn;
    • Idle Points, the recorded vesting schedule, and anything that could later be attached to them;
    • any statement that ties the token's value to the team's work;
    • marketing to residents of the US, the EU (MiCA white-paper and marketing rules), the UK and other restricted regions;
    • tax treatment of the dev buy, creator fees and treasury.
  • Payments law. Get counsel. Selling prepaid credits for stablecoins, SOL and card from wallet-only accounts may raise money-transmission, payment-services, anti-money-laundering, sanctions, stored-value and consumer-protection obligations, including refunds. A card processor can suspend the account.
  • Obligations to nodes. Every credit-paid dollar creates 85 cents owed to a node. Pool credits and promotional credits create the same obligation without matching income, and the treasury's half of the protocol share pays it: watch treasuryNetUsd and solvent, and keep promotional grants small. Work bought with $IDYL is owed to nodes in $IDYL: keep those tokens, never sell them, and remember that the nodes bear the token's price until they are paid.
  • Unbound law and reputation. Get counsel. Ask specifically about the Unbound tier in each jurisdiction where you market it or where team members operate nodes: rules on sexual, violent and extremist content, online-safety duties, AI-provider obligations, age assurance, and operator liability. One screenshot can define the project; marketing must stay inside §0.
  • Overclaiming privacy. Calling Community confidential, calling relay end-to-end, or calling Sealed proven before it has attested on real hardware would each be false, and each would be the kind of statement that ends trust in a privacy product for good.
  • App distribution. Unsigned Desktop builds trigger operating-system warnings and invite fake downloads. Link only to GitHub Releases and publish checksums.
  • Paid promotion. No paid shills without disclosure. Any paid post must carry the platform's paid-partnership label or a clear "#ad", and paid promotions are listed publicly. Never pay for price calls, never coordinate pump calls, never wash trade.
  • Market integrity. No bundled buys, no sniping your own launch with extra wallets, no undisclosed team wallets. Never trade around buybacks.
  • Smart-contract risk. IDYL Bond is unaudited and not yet deployed. An internal review fixed one Medium and one Low issue; the two risks it first accepted (unbounded repeat slashing, single-step admin transfer) were then closed in the code. Do not invite anyone to bond or stake real value before an audit is published.
  • Key risk. Creator wallet compromise, a phished multisig signer or a leaked admin token is the most likely loss. Hardware wallets for every treasury signer; verify every URL by hand.
  • Operational risk. A testnet network with few nodes and little guard capacity will have outages, Unbound will pause whenever The Floor cannot run, and Sealed will be unavailable for most models. Say so in advance and report them.
  • Impersonation. Scammers will clone the Telegram, the X account, the site and the Desktop app, and will post a "CA" long before there is one. Pin the real state, repeat "admins never DM first", and report clones quickly.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

18 — Brand

IDYL Brand Guidelines (v2)

18 min readdocs/BRAND.md

The short version: dark, calm, precise. Lots of negative space, hairline rules, one warm accent. Product copy reads like a newsroom; token copy gets one dry joke at a time. v2 adds three audiences with one line: Use it. Build with it. Earn from it.

Tokens: apps/web/assets/idyl.css is the source of truth, mirrored in brand/tokens.json. Rules: BRIEF.md. Files: brand/ (index with previews in brand/README.md). If this document and BRIEF.md ever disagree, BRIEF.md wins.


1Brand architecture#

One master brand, three products, one tier and one token. The master brand always leads.

LayerNameAudienceLineLogo
Master brandIDYLeveryoneThe world's idle intelligence, put to work.brand/logo/lockup-horizontal-*
Product: Use itIDYL ChatpeopleChat with open and unbound AI.brand/logo/sub-brands/idyl-chat-*
Product: Build with itIDYL APIdevelopers, agentsOne OpenAI-compatible key.idyl-api-*
Product: Earn from itIDYL Desktopanyone with a computerEarn while you're away.idyl-desktop-* + the app icon
TierUnboundadults, opt-in (inside Chat and API)Unbound, not lawless.idyl-unbound-* (hollow sun)
Token$IDYLoperators, holdersYour GPU is napping. Bill someone for it.none: the ticker is text, the mark is the avatar

Modules (IDYL Gateway, IDYL Node, IDYL Ledger, IDYL Exchange, IDYL Bond, BYOK Router) are product names in text. They never get lockups. IDYL Node is the CLI for power users; IDYL Desktop is the one-click way to run a node.

The four pillars are words, never logos or icons: Open · Unbound · Private · Owned.

Rules

  • One sub-brand lockup per surface. Never chain descriptors (idyl | CHAT | API).
  • A new descriptor is a brand decision. Add it to SUB in brand/tools/gen_sources.py and rebuild. Never typeset one by hand.
  • $IDYL never gets a lockup, a coin illustration or a separate mark. It is set in Geist Mono, and its avatar is the Standby Sun.
  • Unbound is a tier of IDYL Chat and IDYL API, not a separate product or a separate network.

2Name#

FormUse forExample
IDYLThe company, the network, the product family, in running text"IDYL routes each request to the fastest reliable node."
idylThe wordmark only (lockups, set in Instrument Serif)brand/logo/lockup-horizontal-bone.svg
$IDYLThe token, always with the dollar sign"Nodes bond $IDYL to receive paid jobs."
IDYL Chat / IDYL API / IDYL DesktopProducts, title case, always with the IDYL prefix on first mention"Download IDYL Desktop for Mac."
Unbound, the Unbound tierThe opt-in tier. Capitalised as a name; "unbound" in lower case only inside the line "open and unbound AI""Unbound requires a wallet-signed 18+ attestation."
The FloorThe safety layer, capital T"Every request passes The Floor."
IDYL Gateway / Node / Ledger / Exchange / Bond, BYOK RouterModules"Run IDYL Node next to Ollama."

Pronounced "idle". The pun stays implied; don't explain it in product copy.

Don't: Idyl, iDYL, I.D.Y.L., $idyl, IDYL token (write $IDYL), IDYL Coin, the IDYL, Idle as the name, IDYL Unbound Chat, Unbound AI as a product name, the floor in lower case.

Lines

LineWhere
The world's idle intelligence, put to work.One-liner. Hero, OG, bios.
Use it. Build with it. Earn from it.v2 positioning. X banner, intro cards, section structure. Always in this order, always all three.
Chat with open and unbound AI. Build on one API. Or let your computer earn while you're away.Hero lede v2.
Unbound, not lawless.The Unbound tier, wherever it's introduced.
Idle, made idyllic.Short tagline. Footers, sign-offs, merch.
Your GPU is napping. Bill someone for it. · Idle hands, paid. · Close the laptop. Open the earnings.Meme lines. Token section and social only.

3Logo: the Standby Sun#

3.1Meaning#

The universal standby symbol is a broken circle with a vertical power line in the gap. In the IDYL mark the power line is replaced by a small gold sun resting in the gap. The machine is on standby, but something is still rising in it: idle, but alive. The gold is the "Golden Hour" accent.

3.2Geometry (64 × 64 unit grid) · diagram: brand/logo/construction.png#

ElementSpecification
RingArc centred at (32, 34), radius 20, path M42 16.68 A20 20 0 1 1 22 16.68
Stroke5 units, round caps. Outer radius 22.5, inner radius 17.5
Gap60° opening centred on 12 o'clock (each cap sits 30° from vertical). The arc covers 300°
SunCircle at (32, 13), radius 5. Diameter = 2 × stroke width
AirAbout 3.2 units between the sun and each cap. The sun never touches the ring
Bounding box(9.5, 8) to (54.5, 56.5). Centre (32, 32.25)

Always reuse the exact path and circle (or the files in brand/logo/). Never redraw the mark by eye.

3.3Unbound: the hollow sun · brand/logo/mark-unbound.svg#

The Unbound tier draws the sun hollow: a gold ring, no fill.

ElementSpecification
Hollow suncircle cx=32 cy=13 r=3.9, stroke 2.2, no fill
Outer diameter10 units, unchanged, so the air to the caps and the bounding box are identical to the standard mark
Stroke2.2 = 44% of the ring stroke: the ring stays the heavier form, and the hole stays open at 24 px
ColourGold on dark grounds; ink in one-colour versions. Never red, pink, neon or "danger" colours

3.4Small-size optical masters (documented refinements)#

The canonical geometry is used from 24 px up. Below that, antialiasing merges the sun into the caps, so three small-size drawings exist. Each keeps the ring's stroke-to-radius ratio (1 : 4), the 60° gap and the 2 : 1 sun-to-stroke ratio. Only the position of the sun (and, in the tray, its size) changes:

MasterUsed forRefinementWhy
Web 16-unit (brand/src/web/favicon.svg)favicon.svg, 16/24/32 px tiles (icon-small.svg, icon-windows-small.svg)Sun lifted from 1.05 R to 1.12 R above the ring centreKeeps ≥ 1 px of air at 16 px
Tray @1x (brand/src/tray/*-16.svg)16 px menu-bar / trayStroke 1.5 px; sun diameter 3.8 px (≈ 2.5 × stroke); sun lifted for 1.2 px airThe canonical 3 px sun reads as noise in a menu bar
Tray @2x and up24–48 pxCanonical geometry—

Never use a small master above 32 px, and never use the canonical geometry below 20 px.

LockupFilesSpec
Horizontal (primary)lockup-horizontal-{bone,ink,white,black}Mark in the 64-unit square. Wordmark idyl in Instrument Serif 46 u, baseline 47, x 70, tracking −0.5. Kerned outlines
Stackedlockup-stacked-*Wordmark centred under the mark (by ink); ascenders sit one sun diameter (10 u) below the ring
Wordmark onlywordmark-*Where the mark already appears nearby (favicon plus header), or in running credits
Sub-brandsub-brands/idyl-{chat,api,desktop,unbound}-{bone,ink}Horizontal lockup + 0.9 u hairline divider spanning the x-height (bone or ink at 28% / 30%) + descriptor in Geist Mono Medium caps, 14 u (cap height ≈ the sun diameter), tracking .14 em, colour bone-2 (ink-800 on light), centred on the wordmark's x-height. Ink-to-ink gap either side of the divider: 10 u. Unbound uses the hollow sun

All logo SVGs are outlined: they render identically without fonts. The wordmark is always lower case, and always bone or ink (white or black in mono). Never gold.

3.6Clear space and minimum size#

  • Clear space = the sun's diameter (10 units at the 64-unit scale) on every side of the bounding box. Every lockup file's artboard is its clear-space zone, so placing the file edge to edge is always correct.
  • Minimum: mark 16 px (favicon) and 20 px or more in UI (.mark is 28 px). Lockup 24 px tall. Sub-brand lockup 32 px tall (the descriptor needs ≥ 7 px cap height). Print: mark 6 mm, lockup 20 mm wide.

3.7Colour versions#

VersionRingSunGroundFile
Primarybone #F3EEE4gold #F2B85Bink-950 / ink-900mark-primary, mark-bone-on-ink
One-colour inkink-950ink-950bone, white, goldmark-ink, mark-ink-on-bone
Gold monogoldgoldink onlymark-gold-mono
White monowhitewhitephotos, partner decks with dark colour groundsmark-white-mono
Black monoblackblackprint, stamps, engravingmark-black-mono
Unboundbonegold, hollowinkmark-unbound, mark-unbound-ink
Light UI chrome (≤ 32 px only)ink-950gold-deep #B8822Fbrowser tabs, light taskbarsfavicon.svg (light scheme), tray-*-light.*

On light grounds use the one-colour ink mark. Gold on white measures 1.8:1, so the gold sun is reserved for dark grounds. The single exception is light system chrome at ≤ 32 px, where the sun has to stay distinguishable from the ring. There it is gold-deep (3.3:1 on white).

  • Rotate the mark or move the gap. The sun is always at 12 o'clock.
  • Close the ring, or put a power line back in the gap.
  • Recolour the ring gold, or the sun anything but gold (except the one-colour versions).
  • Add glows, gradients, outlines, bevels or shadows to the mark itself. A soft glow in the background is fine (§9).
  • Stretch, skew, or change the stroke weight (outside the documented small masters, §3.4).
  • Set the wordmark in gold, or in any face but Instrument Serif.
  • Draw Unbound in red, pink or neon, or add warning symbols to it.
  • Swap the sun for an emoji, a coin, a moon, or a logo of anything else.
  • Place the mark on busy photos or low-contrast mid-tones.
  • Animate the ring (no spinning or rotating). Only the sun may move (§10).

4App icon, web icons and tray#

4.1App icon · brand/app-icon/, apps/desktop/build/#

  • macOS master (icon.svg): Big Sur+ grid. 1024 canvas, 824 body at (100, 100), continuous-curvature corners (radius 185.4, smoothing 60%), soft drop shadow inside the canvas. The tile is an ink gradient (#181D29 to ink-950) with a 2 px inner top highlight and one gold radial glow behind the sun. The mark is centred by its bounding box, with the bbox 54.5% of the tile height, nudged 0.6% down because the ring carries the visual mass.
  • Windows / Linux (icon-windows.svg): the same tile, full-bleed rounded square (radius 18.75%), no shadow.
  • Small sizes (16, 24, 32 px): icon-small.svg and icon-windows-small.svg. The mark is 70% of the tile, drawn with the 16-unit small master, with no highlight.
  • Packs: icon.icns (11 PNG entries, 16 px to 1024 px including @2x; 16 and 32 px are the hinted frames), icon.ico (16, 24, 32, 48, 64, 128, 256), icon.png (1024, used by electron-builder for Linux).
  • Never put text, a ticker or a badge on the app icon. Never use the hollow sun on it. Never change the tile colour per platform.

4.2Web icons · apps/web/assets/icons/, apps/web/manifest.webmanifest#

HTML
<link rel="icon" href="assets/icons/favicon.ico" sizes="32x32">
<link rel="icon" href="assets/icons/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="assets/icons/apple-touch-icon.png">
<link rel="manifest" href="manifest.webmanifest">
<meta name="theme-color" content="#07090D">
  • favicon.svg is the 16-unit small master. It follows prefers-color-scheme: bone and gold in dark UIs, ink and gold-deep in light ones.
  • favicon.ico is the ink tile (16 / 32 / 48), legible on light and dark tab bars.
  • apple-touch-icon.png (180) is full-bleed; iOS applies the mask. icon-192/512.png are the rounded tile (purpose: any). icon-maskable-512.png keeps the mark inside the 80% safe circle.
  • The manifest uses name/short name "IDYL", start_url app.html#chat, display standalone, and ink-950 for theme and background.

4.3Tray and menu bar · apps/desktop/assets/tray/#

The tray mirrors the Desktop status orb: filled sun = serving, hollow sun = waiting (Earn is on and the computer is in use), pause bars = paused. This status language belongs to the tray and the orb only. A monochrome hollow sun in the menu bar is not the Unbound mark, which is always gold and appears only in Unbound contexts.

PlatformFilesNotes
macOStray-{serving,waiting,paused}Template.png + @2x; trayTemplate.png = servingPure black + alpha. The Template suffix makes macOS tint them for light/dark menu bars
Windowstray-{state}.ico (dark taskbar), tray-{state}-light.ico (light taskbar); tray.ico = serving16 / 24 / 32 / 48
Linuxtray-{state}.png + @2x (dark panels), -light variantsColour
JavaScript
// apps/desktop (Electron). @2x files are picked up automatically next to the 1x file.
function trayIcon(state /* 'serving' | 'waiting' | 'paused' */) {
  const dir = path.join(assetsDir, 'tray');
  if (process.platform === 'darwin') return path.join(dir, `tray-${state}Template.png`);
  const light = process.platform === 'win32' && !nativeTheme.shouldUseDarkColorsForSystemIntegratedUI;
  return path.join(dir, `tray-${state}${light ? '-light' : ''}.${process.platform === 'win32' ? 'ico' : 'png'}`);
}

Swap icons on state change only. No animated tray icons. The breathing lives in the Desktop orb (§10).

5Colour#

Tokens are defined in idyl.css and mirrored in brand/tokens.json. Contrast ratios are WCAG 2.x, measured against --ink-950 and --ink-900.

Surfaces and lines#

TokenHexRole
--ink-950#07090DPage background. The default ground for everything
--ink-900#0B0E14Surfaces: cards, code blocks
--ink-850#10141CRaised surfaces, hover states
--ink-800#161B25Highest raised surface, inputs
--line#1F26321 px hairline rules and card borders
--line-strong#2A3342Ghost-button borders, pills, tags

Text#

TokenHexRoleOn ink-950On ink-900
--bone#F3EEE4Primary text, the mark's ring17.2:116.7:1
--bone-2#C9C2B4Secondary text, ledes, sub-brand descriptors11.3:110.9:1
--mute#7D8696Tertiary text, eyebrows, captions, disclaimers5.4:15.3:1
--faint#4A5263Decoration and disabled states only. Not for text that has to be read2.5:12.5:1

Accent: Golden Hour#

TokenHexRoleOn ink-950
--gold#F2B85BThe sun, eyebrow indices, .btn-gold (one per view), focus rings, the Unbound hollow sun11.2:1
--gold-2#FFD89AItalic emphasis words in display headlines, hover of gold buttons14.8:1
--gold-deep#B8822FPressed states, gold rules on dark grounds, the sun on light system chrome (§3.7)6.0:1

Ink-950 on gold: 11.2:1.

Status and data#

TokenHexRoleOn ink-950
--meadow#7FE3A0Live, online, success, Beta tag12.7:1
--dusk#8E9CFFInfo, secondary data series, Devnet tag, construction lines7.9:1
--ember#FF7A5CErrors, offline, slashes. Never for Unbound7.8:1

Gold also marks the Roadmap tag (.tag.roadmap).

Proportion#

Roughly 85% ink, 12% bone and grey text, 3% gold. If a screen looks gold, there is too much gold. The one exception is the gold-ground quote card (meme-idle-hands-paid-*), a social-only, one-off accent. Status colours appear only when they mean something, never as decoration.

6Typography#

Three families, loaded from Google Fonts (link tag in BRIEF §6):

  • Instrument Serif: display headlines and the wordmark. Regular only, plus Italic for one emphasis word per headline (in --gold-2).
  • Geist: UI and body, 300 to 700.
  • Geist Mono: numbers, code, tickers, eyebrows, tags and sub-brand descriptors. Tabular figures (tnum) for anything that updates.

Scale (from idyl.css; also brand/tokens.json → typography)#

RoleClassFamilySizeLine heightTrackingWeight / colour
Display.h1Instrument Serifclamp(48px, 8vw, 112px)0.95−0.03em400, bone
Section.h2Instrument Serifclamp(36px, 5vw, 64px)1.0−0.02em400, bone
Title.h3Geist20pxinherit−0.01em600, bone
Lede.ledeGeistclamp(17px, 1.6vw, 20px)1.550400, bone-2, max 60ch
BodybodyGeist16px1.550400, bone
Button.btnGeist14.5px1−0.005em500
Eyebrow.eyebrowGeist Mono11.5pxinherit0.14em, uppercasemute; index (01 —) in gold
Tag / pill.tag, .pillGeist Mono10.5–11.5px10.08–0.1em, uppercase500
Code / datapre, .monoGeist Mono13px1.60400, tabular
Disclaimer.disclaimerGeist12.5px1.60mute

Rules#

  • Headlines in sentence case. One italic gold word at most, and only if it carries the meaning ("The world's idle intelligence", "Unbound, not lawless.").
  • Numbers as numerals, with units: 200,000 tokens/day, $0.03 / 1M tokens, 85%, 7 days.
  • Typographic apostrophes and dashes in display type (’ and —).
  • Body copy never in Instrument Serif; display copy never in Geist Mono.

Rendered-asset type#

AssetHeadlineLabels
OG 1200×630Instrument Serif 88, tracking −2, 86 baseline gridGeist Mono 500, 14–15 px, .14 em
X bannerInstrument Serif 80, tracking −1.8Geist Mono 500, 14 px
Social cards 1080Instrument Serif 80–112, tracking −.022 em; support copy Geist 34/46Eyebrow Geist Mono 22 px; footer and status 18 px; table labels 16 px minimum; disclaimer Geist 22 px
Quote cards 1080Instrument Serif up to 164, tracking −.025 em, sized to fitGeist Mono 18 px

7Voice and tone#

Fortune-500 calm. Short declaratives. Concrete nouns. Numbers over adjectives. Confidence through precision. Reference points: Stripe docs, Mercury, the Apple newsroom.

RegisterWhereCharacter
ProductSite, app, Chat, Desktop, docs, API, statusPlain, exact, no jokes, no emojis
Token & social$IDYL section, X, Telegram, pump.funSame facts, plus one dry line. Wit, not hype

v2 lines and how to use them#

  • Use it. Build with it. Earn from it. Always the three in this order; each maps to exactly one product (Chat, API, Desktop). Don't use "Earn from it" alone as a headline in token contexts: it reads as a yield promise without the other two.
  • Unbound, not lawless. The only way to introduce Unbound in a headline. Explain it with the approved sentence: "Abliterated models are open-weight models with their built-in refusal behavior surgically removed. They answer what standard models won't. IDYL serves them in a separate tier called Unbound." Always pair it with "opt-in", "18+" and "Every request passes The Floor."
  • Never call IDYL or Unbound "uncensored", "no limits", "anything goes", "no rules", "no filters" or "unrestricted AI". Unbound is opt-in, 18+, wallet-attested, and every request passes The Floor.
  • Private: say exactly what's true: no accounts, wallet-only, and the node client never logs prompts, but nodes do see the prompts they serve.
  • Earn: Desktop earnings are metered on testnet and not paid yet. Every card, OG image or post that says "earn" carries "Testnet: earnings are metered, not paid yet." or a Beta (testnet) label.

Do / don't#

DoDon't
"Nodes receive 85% of inference spend.""Earn massive rewards with your GPU!"
"Earn while you're away. Testnet: earnings are metered, not paid yet.""Passive income while you sleep."
"Unbound, not lawless. Opt-in, 18+. Every request passes The Floor.""Uncensored AI. No limits."
"Target rate: $0.03 per 1M input tokens (beta).""Dirt-cheap AI, forever."
"Beta (testnet). Live numbers below.""The world's leading decentralized AI network."
"Bond program: devnet, unaudited.""Secure and audited." (it isn't)
Show — when the gateway is unreachable.Show a plausible-looking placeholder number.
"CA: announced at launch."Any address before launch, real-looking or not.
"Your GPU is napping. Bill someone for it."Rocket emojis, "WAGMI", "to the moon", "next 100x".
"IDYL never pools or resells AI subscriptions."Hinting at cheap access to closed models.

Words#

Use: idle machines, open-weight models, abliterated, inference, OpenAI-compatible, node, operator, bond, slash, burn, target rate, beta (testnet), devnet, roadmap, BYOK, opt-in, The Floor, wallet-only.

Avoid: revolutionary, game-changing, disrupt, unleash, supercharge, next-gen, cutting-edge, seamless, uncensored, unfiltered, unrestricted, jailbreak, partner (unless signed), audited (unless published), any promise of returns, yields, income, guarantees or price.

Copy check#

Run before publishing anything. Review every hit by hand. Acceptable hits are technical negations and deliberate never-say lists (like this section).

Shell
grep -rinE "guarantee|\bapy\b|passive income|to the moon|100x|price target|revolutionary|game-changing|wagmi|risk-free|financial freedom|uncensored|no limits|anything goes|no rules|unfiltered" \
  apps/web docs token README.md --exclude=BRAND.md

8Unbound: visual rules#

  • Same system. Same ink, same type, same grid. Unbound is a tier, not a dark mode or an "edgy" theme.
  • One device: the hollow sun. Gold ring, no fill (§3.3). Use mark-unbound.svg or the idyl-unbound lockup. The label is UNBOUND in Geist Mono caps.
  • Gold, never red. No red, magenta, neon, glitch, skull, lock-pick or warning imagery. The accent stays gold (og-unbound.png, announce-unbound-*, meme-unbound-not-lawless-*).
  • Always paired with its guard rails on the same surface: "Opt-in", "18+" and "Every request passes The Floor" (or "The Floor" as a label).
  • Tags: UNBOUND · 18+ uses the gold .tag treatment (gold text, gold border at 35–45% opacity). Open models use the neutral tag.
  • Unlock state (Desktop Models tab, Chat model picker): locked Unbound items show the hollow sun at 40% opacity with a hairline lock label in text ("Requires 18+ attestation"). No padlock emoji.

9Imagery#

  • Ground: ink-950, flat. One soft radial glow of gold (≤ 16% opacity at centre, fading to 0) near the sun is the only lighting effect. App icon and wallpapers may go to 24–30% at the sun's core because the glow is tiny relative to the canvas.
  • Structure: hairline rules (--line), generous margins, left-aligned text, mono labels at the edges. Cards anchor text to the bottom and give the hero the remaining space.
  • Content: real product UI, real terminal output, real charts from /api/stats.json. Label simulated data "Demo data" in the image itself.
  • Construction art (og-docs.png): the mark as a blueprint (hairline guides in --line, dusk centre-line, gold centre marks). Used for docs, whitepaper and technical content only.
  • Charts: meadow for live/success, dusk for secondary series, ember for errors and slashes, gold for the one series you want people to look at. Hairline gridlines; no 3D, no drop shadows.
  • Avoid: stock photos, robots, glowing brains, circuit boards, 3D coins, rockets, moons, cyberpunk neon, AI-generated people, other projects' logos.

10Motion#

Principles

  1. Only the sun moves. The ring may fade in; it never rotates, scales or pulses.
  2. Opacity and transform only. 200–600 ms for interface feedback with --ease cubic-bezier(.2,.7,.1,1); section reveals use .reveal (700 ms, 14 px rise).
  3. Breathing means live. A looping breath (scale 1 → 1.06, glow .18 → .42, 4 s ease-in-out) is reserved for live status: the Desktop orb while serving, and the brand motion mark. Never loop the logo in navigation, headers or footers.
  4. Reduced motion is the finished state. Under prefers-reduced-motion: reduce everything renders at rest. Renderers without animation support show the finished mark too.

Assets · brand/motion/

  • standby-sun.svg / standby-sun-on-ink.svg: the ring fades in (0.1–0.7 s). The sun rises 17 units from inside the ring, up through the gap, into place (0.45–1.85 s). From 2 s it breathes. Pure CSS, no script.
  • standby-sun-1080.mp4: 6 s, 1080×1080, intro plus one breath, for launch posts and video.
  • standby-sun-loop.gif: 480×480, a seamless breath loop for chats and READMEs.

Desktop orb mapping (§16 of the brief): dim = paused (ring and sun at 35% opacity, no motion) · outline = waiting (hollow sun, static) · breathing gold = serving (the breath above).

11Social kit · brand/social/#

FileSizeUse
x-avatar-400.png, telegram-avatar-640.png400, 640Same composition as token/logo.png: one image everywhere, so impersonators stand out
x-banner-1500x500.png1500×500X header (v2: "Use it. Build with it. Earn from it."). The lower-left corner (x 40–375, y 330–500) stays empty for the avatar
announce-introducing-*1080×1080, 1080×1350Launch day. Maps the three products
announce-chat-*, announce-desktop-*, announce-unbound-*bothProduct and tier launches. Desktop includes the testnet earnings note
announce-token-*both$IDYL fair launch. Includes "CA: announced at launch" and the full disclaimer. Do not edit the CA into this image after launch. Post the CA in text
meme-*bothQuote cards, token register only. Footer always reads "$IDYL · Utility token · No promise of profit"
token-avatar-large.png1000×1000Candidate pump.fun avatar (see below)

Formats: 1080×1080 for X and Telegram, 1080×1350 for Instagram and LinkedIn. Same copy in both.

Token avatar candidate. token-avatar-large.png enlarges the mark from 63% to 70% of the canvas, still inside a circular crop. At the 48–64 px thumbnails pump.fun and X use, the mark renders 11% larger, so the ring and gap hold up better. It is a candidate, not a replacement: token/ belongs to the token agent, and the pump.fun image is permanent once the coin is created. If it's adopted, re-render x-avatar-400 and telegram-avatar-640 from the same composition (avatar(N, mark_ratio=.70) in gen_sources.py) on the same day.

Rules for every social image

  • No contract address in images. Images get screenshotted and spoofed; the CA lives only in text (pinned post, bio, Telegram pin, site).
  • No price, price chart, holder count or market cap.
  • One line per image. The mark, the wordmark and one line are enough.
  • "Earn" imagery always carries the testnet note or a Beta (testnet) label.
  • Owned: idylnetwork.com and x.com/IDYLapp; they may appear in images. t.me/idylnetwork is still a placeholder and appears in no image.

Making a new card: add an entry to ANNOUNCE or MEMES in brand/tools/gen_sources.py. Mark one italic word with *…*. Then run brand/build.sh --sources. A card headline that doesn't fit stops source generation instead of overflowing; quote cards size themselves to fit.

12OG images · apps/web/assets/og/#

Pageog:image
index.html, brand.htmlog-home.png
app.html (opens on #chat)og-chat.png
download.htmlog-download.png
Unbound announcements, index.html#unbound sharesog-unbound.png
docs.htmlog-docs.png

All are 1200×630 on the v1 grid. The hero on the right changes with the page: mark (home), mark with tier tags (chat), app icon (download), hollow sun (Unbound), construction drawing (docs). Sub-brand pages carry the sub-brand lockup top-left. og:image needs an absolute URL: use https://idylnetwork.com.

13Wallpapers · brand/wallpapers/#

idyl-desktop-2560x1440.png and idyl-phone-1290x2796.png: "Standby horizon". The intact Standby Sun at monumental scale, tone-on-tone (ink-800 above the horizon, darker below), with the ring centred on a gold-deep horizon hairline and the gold sun as the only bright element. On the phone the sun sits below the lock-screen clock. Never add text or the wordmark to wallpapers.

DoFileDon'tShown in
Primary mark on inkbrand/logo/mark-bone-on-ink.pngRotate the mark or move the gapusage-dont.png #1
One-colour ink on bone or goldmark-ink-on-bone.png, usage-do.pngRecolour the ring gold / the sun bone#2
Hollow gold sun for Unboundmark-unbound.pngPut a power line back in the gap#3
Black mono for printmark-black-mono.pngGlow, gradient or effects on the mark#4
Sub-brand lockup, one per surfacesub-brands/idyl-chat-bone.svgStretch or skew#5
Lockup artboard = clear spaceconstruction.pngGold wordmark#6
Small master at ≤ 20 pxapps/web/assets/icons/favicon.svgUnbound in red or neon#7
Gold glow behind the sun, ≤ 16%og-home.pngBusy or mid-tone grounds#8
Bottom-anchored text, hero aboveannounce-chat-1080x1350.pngA CA, price or "uncensored" in any image§11, §7

15Production#

  • Everything regenerates with brand/build.sh (see brand/README.md). It fails if Instrument Serif, Geist or Geist Mono are missing, because a silent fallback font is the most common way brand images go wrong.
  • Logo and lockup SVGs are outlined; composite sources keep live text for editing.
  • Don't hand-edit PNGs. Change the generator, rebuild, review every changed image at 100% and at thumbnail size.
19 — Engineering · Privacy plugin

Privacy hardening and transparency

Plugin 10-privacy · Status: Beta (testnet)

Four small things that other parts of the gateway lean on: a way to count network addresses without keeping them, the x-idyl-privacy: community header, node rotation, and a public page that says exactly what the gateway stores.

Source: services/gateway/lib/plugins/10-privacy.js · Tests: services/gateway/test/privacy.test.js

ipHash: counting addresses without keeping them#

JavaScript
const hash = ctx.service('privacy')?.ipHash(ip); // 64 hex characters
PropertyDetail
Functionsha256(salt ‖ 0x00 ‖ group)
Salt32 random bytes, created at start, replaced at every UTC midnight
Where it livesIn memory only. The salt and the hashes are never written to disk or to logs
Lifetime of a hashUntil the UTC day ends or the gateway restarts. The same address gives a different hash the next day

Addresses are grouped before hashing, so one subscriber counts once:

InputGroup
IPv4 203.0.113.7 (also 203.0.113.7:54321)203.0.113.7
IPv4-mapped IPv6 ::ffff:203.0.113.7203.0.113.7
IPv6 2001:db8:aa:1::9 (also […]:443, …%eth0)the /64: 2001:db8:aa:1
Anything that is not an IP addressone shared invalid group

Consumers resolve the service at call time and must tolerate it being absent. Guest access uses it for 3 guest sessions per address per day; Idle Points use it for 3 earning nodes per address per day.

Operator note. Every per-address limit is only as good as the address the gateway sees. Exposed directly, that is the socket address and there is nothing to set. Behind a reverse proxy or a CDN, set the core option IDYL_TRUST_PROXY:

ValueThe client address is
unset or 0the socket address
a number Nthe entry N from the right in X-Forwarded-For: what the outermost of your N proxies saw. Entries further left come from the client and are ignored
a header name, such as cf-connecting-ipthe value of that header, which your edge must set and overwrite

A value that is not an IP address falls back to the socket address. There are two ways to get this wrong:

  • Too low, or unset behind a proxy: every caller appears at the proxy's address. All guests share the allowance of one address, and only three nodes in the whole network can earn Idle Points per day.
  • Too high: the gateway reads an entry the client wrote, and anyone can choose the address they are counted under.

GET /admin/ip (core, admin token) answers with the address the gateway takes your request to come from. Check it from outside after every change to the proxy chain.

x-idyl-privacy: community#

Every Community response carries x-idyl-privacy: community: JSON, streams, and refusals of a Community request after it was validated. The header is listed in Access-Control-Expose-Headers, so a browser on another origin can read it.

A Sealed request is never labelled community by this plugin. The Sealed plugin sets sealed-relay or sealed-e2e; without it the core answers 503 sealed_unavailable.

Node rotation#

A request is kept away from the node its caller used last, so no single Community node sees one caller's requests back to back.

  • Memory: caller → last node, for 10 minutes, in memory only. Callers are keyed by a salted hash (wallet for API keys, guest id for guests); at most 50,000 entries, oldest first out. Nothing is persisted.
  • Learning: from job.completed, job.partial and job.failed. A node that received a request and then failed has seen it too.
  • Only when it costs nothing: the last node is skipped only if another node can take the request right now: connected, not paused, a free slot, a waiting poll, not already tried for this job, and accepted by every other plugin's node filter. With one node, a busy alternative or a paused alternative, the request goes to the last node at once.
  • Never for jobs that target one node, such as Sealed end-to-end requests (they are encrypted to one enclave key).

Rotation spreads requests; it does not hide them. In the Community grade the serving node sees the prompt, and each request carries the conversation the client sends with it.

GET /api/transparency#

Public, rate-limited per address, cached for 30 seconds.

JSON
{
  "generatedAt": "2026-11-22T10:00:00.000Z",
  "stores": [
    { "section": "nodes", "owner": "core", "title": "Node registry", "contains": ["…"], "personalData": "…", "retention": "…", "fields": ["id", "name", "…"], "documented": true },
    { "section": "plugin:points", "owner": "plugin", "plugin": "points", "title": "Idle Points (Season 0)", "contains": ["…"], "personalData": "…", "retention": "…", "fields": ["…"], "documented": true }
  ],
  "neverStores": ["Prompts and responses. …", "IP addresses. …"],
  "retention": { "prompts": "Not stored. …", "logs": "…", "ipAddresses": "…", "stateBackup": "…", "nodes": "…", "plugin:points": "…" },
  "logsContainPrompts": false,
  "nodeVisibility": "Community: … the serving node sees the prompt and the response. … Sealed · relay: … Sealed · end-to-end: …",
  "canary": { "status": "not_published", "statement": null, "updatedAt": null, "nextUpdateBy": null },
  "requests": { "status": "not_published" }
}

Where the store list comes from#

The list is not written by hand per deployment. The plugin reads the top-level sections of the state file (<IDYL_DATA_DIR>/state.json) and describes each one:

  • A section it knows is described from SECTIONS in the plugin: what it contains, what personal data that is, how long it is kept.
  • A section it does not know is still listed, with "documented": false and the text "not described here yet". It is never hidden.
  • Before the first save of a fresh install, the sections every gateway writes are listed.

A test (privacy.test.js) starts the gateway with every plugin that loads, reads the real state file and fails when a section is not described. For the core sections and for plugin:privacy, plugin:points and plugin:reports it also fails when a persisted field is missing from the documented field list. When you add a persisted section or field, add it to SECTIONS.

Copies of the state file#

The store leaves two kinds of copies in the data directory, and both hold the same sections as the state file:

FileWhat it isHow long it stays
state.json.bakOne earlier copy of the state fileReplaced as the gateway saves, at most once a minute. Data removed from the state file leaves this copy later: a minute or two later on a gateway that saves often, later still on an idle one
state.json.corrupt-<time>A state file the gateway could not read and set asideUntil the operator deletes it

So the retention times above reach the backup a little late, and never reach a file that was set aside. The endpoint says so while such files exist: retention.stateBackup, and retention.damagedStateFiles with their number. Neither key is present when there is no such file. Delete set-aside files once you have recovered what you need from them.

Canary and requests#

Both read not_published until the operator sets them. The gateway never fills them in.

A published canary answers { "status": "published", "statement", "updatedAt", "nextUpdateBy" }. A canary whose nextUpdateBy has passed should be read as not renewed.

Published request counts answer { "received", "complied", "period" }.

POST /admin/transparency#

Requires IDYL_ADMIN_TOKEN as Authorization: Bearer <token> or x-idyl-admin: <token>. The comparison is constant-time. Without a configured token the route answers 404.

Shell
curl -s -X POST https://idylnetwork.com/admin/transparency \
  -H "Authorization: Bearer $IDYL_ADMIN_TOKEN" -H 'content-type: application/json' \
  -d '{
    "canary":   { "statement": "As of 2026-11-22 IDYL has received no request to hand over user data.", "nextUpdateBy": "2027-02-22" },
    "requests": { "received": 0, "complied": 0, "period": "2026-Q4" }
  }'
FieldRule
canary{ statement (1–2000 characters), nextUpdateBy (a future date, at most 400 days ahead) }, or null to withdraw
requests{ received (whole number ≥ 0), complied (0 … received), period (1–64 characters) }, or null to withdraw

Send either or both. A part that is not sent is left as it is. The answer is { "ok": true, "canary": …, "requests": … } as the public endpoint will show them. Invalid input answers 400 and changes nothing.

What this plugin stores#

The plugin:privacy section holds the canary statement and the request counts, exactly as set, with their update times. Nothing else: no addresses, no hashes, no rotation memory.

20 — Engineering · Sealed plugin

IDYL Sealed (gateway)

21 min readdocs/plugins/sealed.md

Plugin 20-sealed · Status: Beta (testnet), not validated on real hardware

Not yet validated on real confidential-computing hardware. Everything on this page has been built and tested with locally generated issuers and a simulated attester on ordinary machines. No token from a real NVIDIA GPU in confidential mode or a real Intel TDX host has passed through this code. The built-in issuer settings were written from the vendors' public documentation and one published sample token, not from a live deployment. Treat IDYL Sealed as ready to be proven, not as proven.

hardware is not measured. At verification level hardware the gateway has proof that the tokens come from genuine confidential hardware. It has no proof of which software runs inside the enclave. A modified node on genuine hardware reaches hardware. Only measured ties the enclave to a published node image.

The gateway side of IDYL Sealed: it verifies attestations, publishes enclave keys, relays end-to-end encrypted requests it cannot read, and routes Sealed relay requests to attested nodes or a configured TEE provider. The gateway never holds a key and never performs the encryption (ISC1); that is the client and the node, specified in docs/SEALED-PROTOCOL.md.

Source: services/gateway/lib/plugins/20-sealed.js, services/gateway/lib/attest-verify.js · Verifier: scripts/verify-attestation.mjs · Tests: services/gateway/test/sealed-*.test.js

Contents#

  1. Privacy grades
  2. Verification levels
  3. Quick start with a simulated TEE
  4. Operating a production gateway
  5. Environment variables
  6. Exactly what is verified
  7. When a node is sealed, and when it stops being sealed
  8. API reference
  9. Billing
  10. Independent verification
  11. For plugin authors
  12. Limits

1Privacy grades#

Every response names its grade in the x-idyl-privacy header.

GradeHeader valueWhat it means
CommunitycommunityRuns on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt.
Sealed · relaysealed-relayRuns inside a TEE (an attested IDYL sealed node or a TEE provider). The prompt passes through the IDYL gateway in memory and is never stored. For plain OpenAI clients.
Sealed · end-to-endsealed-e2eEncrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only.

Sealed price = model rates × 1.3 for both Sealed grades. Sealed is never free.

This plugin touches Sealed requests only. A Community request is not routed, priced, labelled or inspected by it.

2Verification levels#

Each attestation carries one level. It is shown in the key listing, the attestation summary and the node view.

LevelIn plain wordsHow it is reached
measuredGenuine confidential hardware, running a node image that IDYL has published.Both tokens verify, and the CPU token's measurement claims match an entry of IDYL_SEALED_MEASUREMENTS.
hardwareGenuine confidential hardware. Which software runs inside is not proven.Both tokens verify, and no allow-list entry matches (or no allow-list is configured).
simulatedNothing is protected. A development stand-in.A token comes from an issuer marked simulated: true and the gateway runs with IDYL_ALLOW_SIMULATED_TEE=1. Without that switch the attestation is rejected.

Simulated grades carry the word in every value: sealed-e2e-simulated, sealed-relay-simulated, x-idyl-sealed-by: node-simulated, verification: "simulated". One simulated token makes the whole attestation simulated, whatever the measurements say. A gateway restarted without the switch drops simulated attestations it had stored.

What hardware leaves open, concretely: the enclave key could have been generated outside the enclave by a modified node, and the node's signing key could be held outside it. Under hardware you trust the node operator's software. Under measured you trust the published image, and you can read its source.

3Quick start with a simulated TEE (development only)#

Runs the whole flow on one machine. Nothing is confidential: there is no TEE.

Shell
# 1. Allow simulation in this shell (the attester refuses to run without it)
export IDYL_ALLOW_SIMULATED_TEE=1

# 2. Simulated attester: serves its test key set on http://127.0.0.1:8971
node services/node/scripts/attest-sim.mjs serve &

# 3. Gateway that trusts the simulated issuers
IDYL_ATTESTATION_ISSUERS="$(node services/node/scripts/attest-sim.mjs --print-issuers)" npm start &

# 4. A sealed node on the mock backend
node services/node/cli.js --init --keypair ./sealed-node.json
node services/node/cli.js --gateway http://127.0.0.1:8787 --keypair ./sealed-node.json \
  --backend mock --sealed --attestation-cmd "node services/node/scripts/attest-sim.mjs token --detached" &

# 5. The key is listed, labelled simulated
curl -s "http://127.0.0.1:8787/api/sealed/keys?model=llama3.1:8b"

# 6. Check the attestation yourself (attestationId from step 5)
node scripts/verify-attestation.mjs http://127.0.0.1:8787 <attestationId> \
  --issuers "$(node services/node/scripts/attest-sim.mjs --print-issuers)" --allow-simulated

Sealed requests need credits. With the payments plugin loaded (it is by default), start the gateway with IDYL_ADMIN_TOKEN set and grant a test wallet some credits (POST /admin/credits, see docs/plugins/payments.md). services/node/scripts/sealed-dev-stack.mjs is a self-contained development stack that does this for you.

4Operating a production gateway#

4.1Issuers#

With no configuration the gateway trusts two issuers:

NameKindIssuer (iss)Key set
nvidia-nrasgpuhttps://nras.attestation.nvidia.comhttps://nras.attestation.nvidia.com/.well-known/jwks.json
intel-trust-authoritycpuhttps://portal.trustauthority.intel.comhttps://portal.trustauthority.intel.com/certs

A sealed node needs one valid gpu token and one valid cpu token. What each is checked for is listed in section 6.

IDYL_ATTESTATION_ISSUERS replaces the built-in list (it is not merged). It is a JSON array:

JSON
[
  {
    "name": "nvidia-nras",
    "kind": "gpu",
    "iss": "https://nras.attestation.nvidia.com",
    "jwksUrl": "https://nras.attestation.nvidia.com/.well-known/jwks.json",
    "bindingClaim": "eat_nonce",
    "bindingEncoding": "hex",
    "require": { "x-nvidia-overall-att-result": true, "sub": "NVIDIA-PLATFORM-ATTESTATION" },
    "algs": ["ES384"],
    "submodRequire": { "measres": "success", "secboot": true, "dbgstat": "disabled" }
  },
  {
    "name": "intel-trust-authority",
    "kind": "cpu",
    "iss": "https://portal.trustauthority.intel.com",
    "jwksUrl": "https://portal.trustauthority.intel.com/certs",
    "bindingClaim": "attester_held_data",
    "bindingEncoding": "base64",
    "require": { "attester_type": "TDX", "tdx_is_debuggable": false, "attester_tcb_status": "UpToDate" },
    "measurementClaims": ["tdx_mrtd", "tdx_rtmr0", "tdx_rtmr1", "tdx_rtmr2", "tdx_rtmr3", "tdx_mrconfigid", "tdx_mrowner", "tdx_mrownerconfig", "tdx_mrseam", "tdx_mrsignerseam", "tdx_seamsvn"],
    "algs": ["PS384", "RS256"]
  }
]
FieldMeaning
nameLabel shown in summaries. Unique.
kindgpu or cpu. A token is only accepted for the kind of its issuer.
issExact value of the token's iss claim.
jwksUrlWhere the issuer publishes its keys. https only; plain http is accepted for loopback hosts and for issuers marked simulated.
bindingClaim, bindingEncodingThe claim that must carry the 32-byte binding, as hex or base64.
require{ claim: value }. Every claim must be deep-equal to its value. No type coercion: true is not "true".
measurementClaimsOptional. The claims that IDYL_SEALED_MEASUREMENTS entries may pin (CPU issuers).
algsOptional. Subset of RS256 RS384 PS256 PS384 ES256 ES384 this issuer may sign with. Default: all six.
submodRequireOptional. { claim: value } for each detached per-GPU token, when the node submits them.
simulatedOptional. true marks a development issuer (see section 2).

A claim name with dots addresses nested claims (tdx.tdx_mrtd); an exact top-level name wins. Unknown fields are rejected, so a typo such as requires cannot silently remove a check. Invalid configuration stops the gateway at start.

Several entries may share an iss; they are tried in order. That is how to accept more than one value of a claim, for example two TCB states:

JSON
[
  { "name": "ita-uptodate", "kind": "cpu", "iss": "https://portal.trustauthority.intel.com", "jwksUrl": "https://portal.trustauthority.intel.com/certs", "bindingClaim": "attester_held_data", "bindingEncoding": "base64", "require": { "attester_type": "TDX", "tdx_is_debuggable": false, "attester_tcb_status": "UpToDate" } },
  { "name": "ita-swhardening", "kind": "cpu", "iss": "https://portal.trustauthority.intel.com", "jwksUrl": "https://portal.trustauthority.intel.com/certs", "bindingClaim": "attester_held_data", "bindingEncoding": "base64", "require": { "attester_type": "TDX", "tdx_is_debuggable": false, "attester_tcb_status": "SWHardeningNeeded" } }
]

Variants we did not make defaults because we could not confirm them against a real token:

  • Intel Trust Authority, EU region. Key set https://portal.eu.trustauthority.intel.com/certs. The iss value of EU tokens is not stated in the documentation we read; read it from a real token before adding the entry.
  • Intel Trust Authority, nested (v2) tokens. The current sample token groups claims per attester ("tdx": { … }). For that layout use dotted names: bindingClaim: "tdx.attester_held_data", require: { "tdx.attester_type": "TDX", "tdx.tdx_is_debuggable": false, … }, measurementClaims: ["tdx.tdx_mrtd", …].
  • attester_held_data going away. Intel's EAT profile marks the claim as deprecated in favour of attester_runtime_data. If your tokens no longer carry it, set bindingClaim accordingly.

4.2Published node images (measured)#

IDYL_SEALED_MEASUREMENTS is a JSON array of { claim: value } objects, one per published image:

JSON
[
  { "tdx_mrtd": "<96 hex>", "tdx_rtmr0": "<96 hex>", "tdx_rtmr1": "<96 hex>", "tdx_rtmr2": "<96 hex>" }
]

An attestation is measured when one entry matches: every claim the entry names is one of the CPU issuer's measurementClaims, and every value equals the token's claim exactly (same case). An entry proves only what it pins. An entry with tdx_mrtd alone says nothing about the kernel or the node software; pin every register your image build defines. Empty entries are rejected at start. With no allow-list, no node can be measured.

4.3What the node operator's attestation command must produce#

The node asks the gateway for a nonce, computes

Text
binding = sha256( "ISC1-BIND" ‖ nonce (32 bytes) ‖ nodeId (32-byte ed25519 public key) ‖ enclave public key (65 bytes) )

and runs the operator's command with IDYL_ATTEST_BINDING=<64 hex>. The command prints {"gpu": …, "cpu": "<JWT>"}. Both tokens must carry that binding:

  • GPU (NVIDIA NRAS): use the binding as the attestation nonce. It comes back as eat_nonce.
  • CPU (Intel Trust Authority): pass the raw 32 bytes as runtime data. The token then carries attester_held_data = base64(binding). Passing the 64-character hex string as text gives a 64-byte value and is rejected.

NRAS answers with a bundle, not a single token: [["JWT", "<overall>"], {"GPU-0": "<per-GPU JWT>", …}]. The gateway accepts either form as gpu:

You send as gpuWhat is verified
The overall JWT (a string)The overall token: NRAS's verdict over all GPUs. Per-GPU claims are not seen.
The whole bundle (the JSON array; or gpu = overall JWT plus gpuDetached = {"GPU-0": "<JWT>"})The overall token, and every per-GPU token: its digest against submods, its signature, validity, binding, and submodRequire.

Sending the bundle is the stricter choice and the recommended one. Where to find it, according to NVIDIA's documentation (none of these commands has been run here; they need a confidential GPU):

SourceBundleOverall JWT only
NRAS REST response (POST …/v4/attest/gpu)the response bodyjq -r '.[0][1]'
nvattest attest --device gpu --verifier remote --nonce "$IDYL_ATTEST_BINDING" --format jsonjq -c '.detached_eat'jq -r '.detached_eat[0][1]'
NVIDIA Python SDK client.get_token()jq -c '.[1].REMOTE_GPU_CLAIMS'jq -r '.[1].REMOTE_GPU_CLAIMS[0][1]'

The Python SDK wraps the NRAS answer in a token of its own (.[0][1], signed with HS256 by the SDK). That wrapper is not vendor evidence and the gateway rejects it.

A documented example command for NVIDIA + Intel TDX is in services/node/scripts/attest-nvidia-intel.example.sh (untested here; it needs confidential hardware).

4.4Token lifetimes and re-attestation#

An attestation lasts until its earliest token expires, and never longer than 24 hours. Vendor tokens are short-lived: the Intel Trust Authority sample token is valid for 5 minutes, the NVIDIA sample for 1 hour. The gateway returns expiresAt and ttlSec with every accepted attestation and the IDYL node attests again before that time (after 80 % of the validity, never more often than every 30 seconds). With 5-minute CPU tokens a node therefore runs its attestation command about every 4 minutes.

If that is too frequent for your setup, IDYL_SEALED_ATTESTATION_TTL_SEC switches to a fixed lifetime: the tokens must be valid when the gateway verifies them, and the attestation then lasts the configured number of seconds (60 to 86400). This is a deliberate trade: evidence is refreshed less often. Summaries of such attestations say "expiryPolicy": "fixed". It is off by default.

4.5Sealed relay through a TEE provider#

IDYL_SEALED_UPSTREAMS lists OpenAI-compatible providers that serve models inside a TEE:

JSON
[
  { "name": "tee-co", "baseUrl": "https://api.tee-co.example/v1", "apiKeyEnv": "TEE_CO_API_KEY", "models": { "llama3.3:70b": "meta-llama/llama-3.3-70b-instruct" } }
]
FieldMeaning
nameShown to clients as x-idyl-sealed-by: provider:<name>.
baseUrlThe provider's API base. /chat/completions is appended. https only (plain http for loopback).
apiKeyEnvName of the environment variable that holds the provider key. If it is named but empty, the provider is disabled; it is never called without its key.
modelsIDYL model id (canonical) → the provider's model id.

The gateway does not verify a provider's attestation. A provider is a TEE because you, the operator, say so by listing it. The prompt leaves the IDYL network over TLS to that provider. Say that wherever you describe the relay grade.

Order of preference for a relay request: an attested sealed node; then a provider; then, on a development gateway only, a simulated node. A request that will be answered by real capacity is never shown to a simulated node, not even to classify it for The Floor.

For streams the gateway asks the provider to report usage (stream_options.include_usage). Provider requests are bounded by the gateway's job deadline (IDYL_JOB_TIMEOUT_MS), streams also by the first-token deadline. Nothing about the caller is forwarded: no wallet, no key, no address.

4.6The Floor for Sealed requests#

  • Relay: the gateway classifies the request before it leaves, as for any request, but only with IDYL_FLOOR_URL or with guard nodes that are themselves sealed. A Community machine never classifies a Sealed prompt. With neither available, Open models continue as prefilter-only and Unbound models fail closed (503 floor_unavailable).
  • End-to-end: the gateway cannot read the request. The Floor runs inside the enclave and the node reports the outcome as counts (result.floor), which the gateway adds to The Floor's counters (GET /api/floor) and to GET /api/sealed/stats.

4.7What is stored#

One section of the gateway state file (plugin:sealed):

  • Attestation records, current ones and up to 64 recently ended ones for 24 hours: attestation id, node id, enclave public key and key id, level, the two token summaries, verification and expiry times, nonce, binding, token hashes, the evidence tokens themselves, and how the attestation ended.
  • Counters: attestations verified and rejected (by reason), end-to-end requests and frames, relay requests, Floor outcomes per hour for 48 hours.

No prompt, no completion, no envelope, no frame, no wallet and no address is stored or logged. Evidence tokens are public by design (?evidence=1); they describe the node's hardware, including device identifiers the vendor puts in them.

5Environment variables#

VariableDefaultMeaning
IDYL_ATTESTATION_ISSUERSNVIDIA NRAS + Intel Trust AuthorityJSON array of issuers. Replaces the defaults. Section 4.1.
IDYL_SEALED_MEASUREMENTSnoneJSON array of { claim: value } entries: the published node images. Section 4.2.
IDYL_ALLOW_SIMULATED_TEEoffExactly 1 accepts issuers marked simulated. Development only.
IDYL_SEALED_UPSTREAMSnoneJSON array of TEE providers for Sealed relay. Section 4.5.
(named by apiKeyEnv)A provider's API key.
IDYL_SEALED_ATTESTATION_TTL_SECoff60–86400. Fixed attestation lifetime instead of "earliest token expiry". Section 4.4.
IDYL_FLOOR_URLnoneCore setting. Guard endpoint that may classify Sealed relay requests.
IDYL_PLUGINSallCore setting. Must include sealed.

6Exactly what is verified#

6.1Every token#

  1. Shape. A compact JWT: exactly three segments, each canonical base64url without padding; header and payload are UTF-8 JSON objects; at most 256 KiB.
  2. Algorithm. alg is one of RS256 RS384 PS256 PS384 ES256 ES384 and allowed for the issuer. none, every HS* and anything else is rejected before a key is looked at. Headers crit, b64 and zip are rejected. typ, when present, must be JWT (or eat+jwt).
  3. Issuer. The token's iss must equal a configured issuer of the right kind. A token that names another issuer is turned away before any key is fetched.
  4. Key. Taken only from the issuer's configured key set, selected by kid. Key locations inside the token (jku, jwk, x5u, x5c) are ignored. The key must fit the algorithm: RSA of at least 2048 bits for RS*/PS*, P-256 for ES256, P-384 for ES384; a key published with an alg verifies only that algorithm; use, when present, must be sig.
  5. Signature. ECDSA signatures must be the raw R‖S form (64 or 96 bytes); DER is rejected. RSASSA-PSS must use a salt as long as the hash.
  6. Time. exp is required. exp, nbf and iat are checked with 60 seconds of clock skew.
  7. Required claims of the issuer entry, by deep equality.
  8. Binding. The binding claim decodes to exactly 32 bytes and equals the binding the gateway computed from its own nonce, the node id that signed the request, and the submitted enclave key. The comparison is constant-time.

Key sets are fetched over HTTPS with a 5 second timeout and no redirects, at most 4 MiB and 4096 keys, cached for 1 hour. An unknown kid triggers one refetch, at most once per 10 seconds per issuer. If the key set cannot be fetched the attestation is not rejected as bad: the node gets 503 attestation_issuer_unavailable and may retry the same evidence until its nonce expires. An expired cache entry is never used.

6.2NVIDIA NRAS (built-in gpu issuer)#

CheckValue
algES384
isshttps://nras.attestation.nvidia.com
x-nvidia-overall-att-resulttrue (NRAS's verdict over every GPU it appraised)
subNVIDIA-PLATFORM-ATTESTATION (the overall token, not a per-GPU one)
eat_noncehex of the binding
exp, nbf, iatas in 6.1

When the node submits the per-GPU tokens, additionally for each of them:

CheckValue
Listed in the overall token's submods, and nothing listed is missing
Digestsubmods[name] = ["DIGEST", ["SHA-256", <hex>]] equals SHA-256 over the per-GPU token's compact JWT string
Signature, iss, exp, nbf, iatas the overall token
eat_noncehex of the binding
measres"success"
secboottrue
dbgstat"disabled"

Choices where the documentation left room, resolved to the stricter reading:

  • sub is required because both documented samples carry it and it distinguishes the overall token.
  • NVIDIA's documentation does not say whether the overall verdict already covers Secure Boot and debug state, so both are checked whenever the per-GPU claims are visible.
  • The documentation does not say what the submods digest covers. We determined it from the sample token NVIDIA publishes: SHA-256 over the per-GPU JWT string reproduces the published digest; SHA-256 over its claims does not. Only the first is accepted.

Not checked: x-nvidia-ver, hardware model, driver and vBIOS versions (shown in the summary, not enforced); per-GPU claims when the node sends the overall token alone; whether the GPU is in confidential mode (we found no documented claim for it).

6.3Intel Trust Authority (built-in cpu issuer)#

CheckValue
algPS384 or RS256; the key set names an algorithm per key and the token must match it
isshttps://portal.trustauthority.intel.com
attester_type"TDX"
tdx_is_debuggablefalse
attester_tcb_status"UpToDate"
attester_held_database64 of the binding
exp, nbf, iatas in 6.1

Measurement claims that an allow-list entry may pin: tdx_mrtd, tdx_rtmr0…tdx_rtmr3, tdx_mrconfigid, tdx_mrowner, tdx_mrownerconfig, tdx_mrseam, tdx_mrsignerseam, tdx_seamsvn.

Choices resolved to the stricter reading:

  • attester_tcb_status must be UpToDate. Intel documents six other states (SWHardeningNeeded, ConfigurationNeeded, ConfigurationAndSWHardeningNeeded, OutOfDate, OutOfDateConfigurationNeeded, Revoked); all mean that known issues apply to the platform. Many real platforms report OutOfDate for a while after Intel publishes an update. Accepting such a state is an operator decision: add an issuer entry for it (section 4.1).
  • tdx_is_debuggable must be false: Intel's guidance for relying parties is to check that the TEE debug flag is off.

Not checked: verifier_nonce, policy_ids_matched / policy_ids_unmatched (relevant only if you attach Trust Authority policies; add them to require if you do), attester_advisory_ids.

6.4Sources#

Read on 2026-11-22. Vendor documentation changes; check it before relying on these defaults.

7When a node is sealed, and when it stops being sealed#

A node is sealed while it has a current attestation and is connected to the gateway. A node that is paused keeps its attestation but is not offered.

An attestation ends when:

EventRecorded as
The node attests again (the new attestation replaces the old one)superseded: reattested
The earliest token expires, or 24 hours pass (or the fixed lifetime)expired
The node is out of contact for longer than the heartbeat timeout (45 s), silent or after a goodbyedropped: node_offline
The node registers again. A new process holds a new enclave key. Exceptions: the node reports the same key id (sealed.keyId in the register body, as the IDYL node does), or the attestation is less than 15 seconds olddropped: reregistered
The node reports a different key id in a register or heartbeat bodydropped: key_changed
The gateway restarted and the node did not make contact within one heartbeat timeoutdropped: offline_after_gateway_restart
The gateway restarted without IDYL_ALLOW_SIMULATED_TEE=1 and the attestation was simulateddropped: simulated_not_allowed

An ended attestation never comes back; the node must attest again. A node that says goodbye and returns within the heartbeat timeout without registering is the same process and stays attested. Attestations survive a gateway restart, because the gateway cannot observe nodes while it is down: a node that kept running reconnects with its next heartbeat; a node that restarted registers again.

An enclave key attested by one node cannot be claimed by another node while that attestation is current (409 sealed_key_in_use).

8API reference#

Errors use the OpenAI shape { "error": { "message", "type", "param", "code" } }.

8.1Node endpoints (signed node requests)#

Signed like every /nodes/* call (x-idyl-node, x-idyl-ts, x-idyl-sig); the node must be registered. At most 30 attestation calls per node per minute.

GET /nodes/attest/nonce → 200

JSON
{ "nonce": "477df382f3bfa1af3984ade5bec5b8ef5c7ad11fa272d88e0fa7975e69b93763", "expiresAt": "2026-11-22T02:23:04.000Z" }

Valid for 5 minutes, usable once, only by the node it was issued to. A node holds at most 4 unused nonces.

POST /nodes/attest

JSON
{ "nonce": "<64 hex>", "publicKey": "<base64 of the raw 65-byte P-256 public key>", "gpu": "<JWT or bundle>", "cpu": "<JWT>", "gpuDetached": { "GPU-0": "<JWT>" } }

gpuDetached is optional and only allowed when gpu is a single JWT. → 200

JSON
{
  "ok": true,
  "attestationId": "5f1037ff34e6320e5c146c84c6cdb65c",
  "nodeId": "9snxMw3213fXYW2DpKVuB9RmMaetzKE7X7UaMkxUxydG",
  "keyId": "OJ-jOmAYX18tFPZ7qsjaQi2RFBLCU_VNnKHb9Ugg8r8",
  "verification": "measured",
  "verifiedAt": "2026-11-22T02:18:04.521Z",
  "expiresAt": "2026-11-22T03:18:04.000Z",
  "ttlSec": 3599,
  "privacy": { "e2e": "sealed-e2e", "relay": "sealed-relay" },
  "explanation": "Genuine confidential hardware, and the software image matches a published node image (measurement allow-list)."
}
StatuscodeWhen
400invalid_nonce, invalid_public_key, missing_tokenMalformed request. The nonce is not used up.
400nonce_unknown, nonce_expiredNever issued to this node, already used, or older than 5 minutes.
409nonce_in_useThe same nonce is being verified right now.
400attestation_malformedA token or the bundle is not well formed.
403attestation_rejectedA check of section 6 failed. idyl.reason names it (bad_signature, token_expired, issuer_not_configured, required_claim_mismatch, binding_mismatch, submod_digest_mismatch, …), idyl.token says which token (gpu, cpu, gpu:GPU-0), idyl.claim which claim.
403simulated_tee_not_allowedA simulated issuer without IDYL_ALLOW_SIMULATED_TEE=1.
409sealed_key_in_useAnother node holds a current attestation for this enclave key.
503attestation_issuer_unavailableThe issuer's key set could not be fetched. The nonce stays valid; retry.

A rejected attempt uses up its nonce; an unavailable issuer does not.

8.2Public endpoints#

GET /api/sealed/keys?model=<id> — enclave keys of connected, unpaused sealed nodes that serve the model (all sealed nodes without model). measured first, then hardware, then simulated.

JSON
{
  "keys": [
    {
      "nodeId": "9snx…xydG",
      "keyId": "OJ-jOmAYX18tFPZ7qsjaQi2RFBLCU_VNnKHb9Ugg8r8",
      "publicKey": "BAHg744ansyMJo23sleBpN73/w3LxrU9tfH66oIu5IuWC/CPDGgZezv49kVlFqK39n0Ro0XZBEXL0Pvn6Iachz4=",
      "attestationId": "5f1037ff34e6320e5c146c84c6cdb65c",
      "verification": "measured",
      "gpu": { "issuer": "nvidia-nras", "iss": "https://nras.attestation.nvidia.com", "simulated": false, "alg": "ES384", "kid": "…", "issuedAt": "…", "notBefore": "…", "expiresAt": "…", "bindingClaim": "eat_nonce", "bindingEncoding": "hex", "claims": { "x-nvidia-overall-att-result": true, "sub": "NVIDIA-PLATFORM-ATTESTATION" }, "info": { "x-nvidia-ver": "3.0", "sub": "NVIDIA-PLATFORM-ATTESTATION" }, "submodules": [{ "name": "GPU-0", "hwmodel": "…", "measres": "success", "secboot": true, "dbgstat": "disabled" }], "submodulesListed": 1 },
      "cpuTee": { "issuer": "intel-trust-authority", "iss": "https://portal.trustauthority.intel.com", "simulated": false, "alg": "PS384", "kid": "…", "issuedAt": "…", "notBefore": "…", "expiresAt": "…", "bindingClaim": "attester_held_data", "bindingEncoding": "base64", "claims": { "attester_type": "TDX", "tdx_is_debuggable": false, "attester_tcb_status": "UpToDate" }, "info": { "attester_type": "TDX", "attester_tcb_status": "UpToDate", "attester_tcb_date": "…", "dbgstat": "disabled", "tdx_is_debuggable": false }, "measurements": { "tdx_mrtd": "…" }, "measured": true, "matchedMeasurement": 0 },
      "verifiedAt": "2026-11-22T02:18:04.521Z",
      "expiresAt": "2026-11-22T03:18:04.000Z",
      "models": ["llama3.1:8b"],
      "privacy": "sealed-e2e"
    }
  ],
  "multiplier": 1.3,
  "relay": { "available": true, "privacy": "sealed-relay", "sealedBy": "node" },
  "notice": "IDYL Sealed has not yet been validated on real confidential-computing hardware. …"
}

gpu.claims and cpuTee.claims are the required claims with the values the token carried. info is shown, not enforced. gpu.submodules is null when the node sent the overall token only. relay (with model only) says whether a relay request for that model would be served right now, and by what.

GET /api/attestations/:id · GET /api/attestations/by-node/:nodeId — the summary. by-node returns the node's current attestation, or its most recent ended one with its status.

JSON
{
  "attestationId": "…", "nodeId": "…", "keyId": "…", "publicKey": "…",
  "verification": "measured",
  "status": "current",
  "sealed": true,
  "gpu": { "…": "as in the key listing" },
  "cpuTee": { "…": "as in the key listing" },
  "verifiedAt": "…", "expiresAt": "…", "expiryPolicy": "token",
  "nonce": "<64 hex>", "binding": "<64 hex>",
  "tokenSha256": { "gpu": "<hex>", "cpu": "<hex>", "gpuDetached": { "GPU-0": "<hex>" } },
  "privacy": { "e2e": "sealed-e2e", "relay": "sealed-relay" },
  "explanation": "…", "notice": "…"
}

status is current, expired, superseded or dropped (ended ones add endedAt and endReason). sealed is current and the node is connected. ?evidence=1 adds the raw tokens: "evidence": { "gpu": "<overall JWT>", "cpu": "<JWT>", "gpuDetached": { "GPU-0": "<JWT>" } }. Unknown ids: 404 attestation_not_found.

GET /api/sealed/stats — counts only: sealed nodes by level, configured issuers and providers (names, never keys), attestations verified and rejected by reason, end-to-end and relay request counts, Floor outcomes reported by enclaves. endToEnd.refused counts requests the enclave refused as invalid (bad plaintext, wrong model, stale or future timestamp, replay, ciphertext that does not authenticate): the client's fault, so they cost the node no reliability and are not in endToEnd.failed.

GET /api/stats.json gains network.sealedNodesOnline (and network.sealedNodesSimulated when above zero). GET /api/nodes/:id gains sealed: null, or { attestationId, keyId, verification, verifiedAt, expiresAt, gpu, cpuTee, privacy }.

8.3POST /v1/sealed/chat/completions (end-to-end)#

Bearer API key. The body carries ciphertext only:

JSON
{ "model": "llama3.1:8b", "stream": true, "sealed": { "v": 1, "keyId": "<43 chars>", "epk": "<base64, 65 bytes>", "iv": "<base64, 12 bytes>", "ct": "<base64>" } }

What the gateway does, in order: authenticate → rate limit → validate the envelope's shape → model access (guard model 400, Unbound needs the wallet attestation 403) → admission with privacy sealed → find the connected, unpaused sealed node that owns keyId and serves the model → one job for that node, one attempt.

The model id must be the exact canonical id (as listed in keys[].models), because the client binds it into the ciphertext. Plaintext fields (messages, prompt, input) are refused, so a mis-wired client fails instead of leaking.

Stream ("stream": true): text/event-stream

Text
data: {"sealed":{"n":0,"ct":"…"}}

data: {"sealed":{"n":1,"ct":"…"}}

data: [DONE]

Non-stream: application/json

JSON
{ "id": "sealed-<job id>", "object": "idyl.sealed.completion", "created": 1795313884, "model": "llama3.1:8b", "sealed": [{ "n": 0, "ct": "…" }, { "n": 1, "ct": "…" }], "idyl": { "node": "…", "job": "…", "attestation": "…", "privacy": "sealed-e2e" } }

Response headers: x-idyl-privacy: sealed-e2e, x-idyl-attestation: <attestationId>, x-idyl-node, x-idyl-job, x-request-id, plus the admitting plugin's headers (for example x-idyl-credits-remaining). All are listed in Access-Control-Expose-Headers.

The gateway relays frames as they arrive. It checks each one's shape ({ "n", "ct" }, n counting from 0 without gaps, ct base64 of at least 17 bytes, at most 1 MiB per frame and 2,000,000 characters per answer) and never looks inside ct. A node that posts anything else, including plaintext, fails the request. The gateway cannot tell whether the stream is complete; the client does (it requires the final frame).

StatuscodeWhen
400invalid_envelope, missing_model, invalid_model, model_not_canonical, plaintext_not_allowedRequest shape.
401invalid_api_key
402credits_required / insufficient_creditsSealed is never free.
403unbound_attestation_requiredUnbound model without the wallet attestation.
409sealed_key_unavailableNo connected sealed node holds this key for this model. Fetch the keys again and re-encrypt.
502upstream_failed, upstream_interruptedThe node failed. A sealed job is never retried on another node: no other node has the key.
502sealed_frame_invalidThe node returned frames the gateway could not relay.
503capacity_unavailableThe node did not take the job in time.

After a stream has started, a failure arrives as a data: {"error": {…}} event and the stream ends without [DONE].

8.4Sealed relay on POST /v1/chat/completions#

Ask for it with the header x-idyl-privacy: sealed or "idyl": { "privacy": "sealed" } in the body. The request and the response are plain OpenAI format.

Served byResponse headersjob.completed
An attested nodex-idyl-privacy: sealed-relay, x-idyl-sealed-by: node, x-idyl-nodekind: "chat", meta.privacy: "sealed-relay", meta.sealedBy: "node"
A providerx-idyl-privacy: sealed-relay, x-idyl-sealed-by: provider:<name>, no x-idyl-nodekind: "upstream", nodeId: null, nodeUsd: 0, meta.sealedBy: "provider:<name>"

For a node-served relay answer, the attestation is the node's: GET /api/attestations/by-node/<x-idyl-node>.

StatuscodeWhen
503sealed_unavailableNeither a sealed node nor a provider serves the model. Nothing was sent to a Community node. Answered before payment is asked for.
402credits_required / insufficient_creditsSealed is never free.
400provider's code, or upstream_rejectedThe provider refused the request (for example the context is too long). Its message is passed on.
502upstream_auth_failed, upstream_model_unavailable, upstream_error, upstream_unreachable, upstream_invalid_response, upstream_interruptedProvider failures. Provider messages are not passed on.
503upstream_rate_limitedWith retry-after.
504upstream_timeout

Failover for node-served relay stays inside sealed nodes. If the client disconnects, the provider call is aborted.

9Billing#

  • Multiplier. Sealed work is metered at the model's rates × the admitted multiplier. The admitting plugin sets it (meta.priceMultiplier: 1.3, or less for IDYL Pro); if it sets none, this plugin applies 1.3. The serving node receives 85 % of the charged amount.
  • End-to-end usage. The gateway cannot count tokens of ciphertext. It meters what the node reports, bounded by size as for every node: at most one prompt token per byte of the encrypted request and one completion token per byte of the relayed frames.
  • Blocked, care and unavailable outcomes are not billed. For these outcomes no inference happens, the node reports zero usage, and the gateway meters zero: costUsd is 0 and nothing is charged. The gateway does not second-guess reported usage on any path, so a node that reported a blocked outcome with usage would be metered for it; the plugin counts and logs every such case (floor.total.billedAnomalies in GET /api/sealed/stats). It should stay at zero.
  • Client disconnects. Output that was already relayed is metered, as for any request. For end-to-end answers the estimate comes from ciphertext sizes (minus tag and frame wrapper), not from the longer base64 text. Frame padding makes this an over-estimate by at most the padding.
  • Provider-served requests. Usage is what the provider reports, bounded by what was relayed (a token is at least one byte), or an estimate of a quarter of the characters when the provider reports none. The plugin emits job.completed (kind: "upstream") so credits are charged and reports count it; job.partial when the client left after output was relayed; job.failed when the provider failed. Provider-served tokens are not counted as network supply in GET /api/stats.json.

10Independent verification#

Shell
npm run verify:attestation -- <gatewayUrl> <attestationId | nodeId> [options]

scripts/verify-attestation.mjs fetches the summary with its evidence and reaches its own verdict:

  • recomputes the key id and the binding from the node id, the enclave key and the nonce;
  • verifies every token with the same verifier the gateway uses, against the issuers' own key sets, fetched by the script: signature, issuer, validity, required claims, binding;
  • re-derives the level from its own allow-list;
  • checks the lifetime (not beyond the earliest token, not beyond 24 hours).

It trusts the built-in issuers (NVIDIA NRAS, Intel Trust Authority) unless told otherwise. It never asks the gateway which issuers to trust.

OptionMeaning
--issuers <json | @file>Issuer list (same format as IDYL_ATTESTATION_ISSUERS; that variable is read too).
--measurements <json | @file>The published allow-list. Without it a measured claim can only be confirmed as hardware.
--require measured|hardwareFail unless this run verified at least that level.
--allow-simulatedAccept simulated issuers (development).
--allow-expiredJudge token validity at the gateway-reported verification time, and do not fail on an attestation that has ended. The output says so.
--jsonOne JSON object instead of text.

Exit code 0: every check passed. 1: a check failed. 2: could not run.

Text
PASS  summary              attestation 5f10…b65c of node 9snx…xydG, fetched with evidence
PASS  enclave key          keyId = base64url(sha256(publicKey)) = OJ-jOmAYX18tFPZ7qsjaQi2RFBLCU_VNnKHb9Ugg8r8
PASS  binding              sha256("ISC1-BIND" || nonce || nodeId || publicKey) = 2491a589…
PASS  evidence             token hashes match the summary
PASS  gpu token signature  ES384 kid … verified with the key set at https://nras.attestation.nvidia.com/.well-known/jwks.json (issuer "nvidia-nras")
PASS  gpu token validity   issued by https://nras.attestation.nvidia.com; valid at now; expires …
PASS  gpu token claims     x-nvidia-overall-att-result = true, sub = "NVIDIA-PLATFORM-ATTESTATION"
PASS  gpu token binding    claim eat_nonce (hex) equals the recomputed binding
…
PASS  level                "measured" — the same as the gateway reports
PASS  lifetime             current until …

RESULT: PASS — verified level: measured

A PASS proves the tokens are genuine vendor tokens bound to this node id, this enclave key and the gateway's nonce. It does not prove what the vendor services checked internally, and at hardware it does not prove which software runs in the enclave.

The browser client's checkBinding(summary) does the binding part of this without signatures.

11For plugin authors#

Service (ctx.service('sealed'), may be undefined):

JavaScript
{ isSealedNode(nodeId) → boolean, verification(nodeId) → 'measured' | 'hardware' | 'simulated' | null, MULTIPLIER: 1.3,
  attestationOf(nodeId) → summary | null, stats() → object }

Event node.attested { nodeId, attestationId, verification }.

Job metadata on Sealed jobs (job.completed, job.partial, job.failed):

FieldValues
meta.privacysealed-e2e, sealed-relay (each with -simulated on a development gateway)
meta.sealedBynode or provider:<name>
meta.attestationIdend-to-end jobs only
meta.priceMultiplierthe multiplier that was applied

End-to-end jobs carry nodeResult.floor = { outcome, categories } as the node reported it.

To the node: an end-to-end job arrives with messages: [] and ext = { sealed: <envelope>, model: <canonical id the client used> }. The node answers with deltas whose content is one compact JSON frame {"n":…,"ct":"…"} each, and completes with usage and result: { floor: { outcome, categories } }.

Core hooks this plugin uses: prepare (availability, and which guard nodes may classify), beforeDispatch (node filter, labels, or the provider call), statsView, nodeView.

12Limits#

  • No real hardware yet. See the note at the top.
  • The gateway verifies verdicts, not evidence. It checks the vendor's signed statement and what it is bound to. It does not parse TD quotes or SPDM reports.
  • The trust anchor is TLS. Keys come from the issuer's HTTPS endpoint. The certificate chains the vendors publish inside their key sets (x5c) and their revocation lists are not checked.
  • hardware does not identify software. Repeated because it matters most.
  • Relay to a sealed node relies on the node's signing key. A relay job is delivered, in the clear over TLS, to whoever holds the node's ed25519 key. The attestation binds that node id but cannot prove the signing key never leaves the enclave. A published (measured) image must guarantee it. End-to-end requests do not have this weakness: they are readable only with the enclave key.
  • Providers are trusted by configuration. Their attestations are not verified by the gateway.
  • The gateway still sees who asks, when, which model, and the sizes of requests and answers.
  • Duplicate claim names in a token: the last one wins (JSON parsing). Vendor tokens do not contain duplicates.
  • A gateway cannot prove completeness of an end-to-end stream; the client must.
21 — Engineering · Guest plugin

Guest access

5 min readdocs/plugins/guest.md

Plugin 30-guest · Status: Beta (testnet)

Guest access lets a person try IDYL Chat before connecting a wallet. The browser solves a small proof of work, receives a guest token, and may send 10 requests per day to small Open models at the Community grade. Nothing about the person is stored.

Source: services/gateway/lib/plugins/30-guest.js · Tests: services/gateway/test/guest.test.js

What a guest can do#

LimitValue
Requests10 admitted requests per token per UTC day
Token lifetime24 hours
Privacy gradeCommunity only (the serving node sees the prompt)
ModelsOpen tier, catalog models that need 12 GB or less
Prompt size4,000 characters in total
max_tokensClamped to 512; set to 512 when absent
Tokens per network address3 per UTC day
Proof of work18 leading zero bits by default

Guests never use Sealed, Unbound, credits or the free tier. A wallet key lifts every one of these limits.

Flow#

Text
GET  /api/guest/challenge           → { challenge, difficulty, expiresAt }
     find counter: sha256("<challenge>:<counter>") starts with <difficulty> zero bits
POST /api/guest { challenge, counter } → { guestToken: "idyl_gt_…", messagesLeft: 10, expiresAt }
POST /v1/chat/completions            Authorization: Bearer idyl_gt_…

The hash input is the UTF-8 text of the challenge, a colon, and the counter in decimal. At 18 bits a solver needs 2^18 ≈ 262,000 hashes on average.

JavaScript
// Reference solver for Node 22 or a browser. It is correct but slow, because WebCrypto hashes one
// message per call; the app uses a synchronous SHA-256 in a Web Worker (apps/web/assets/pow-worker.js).
async function solve(challenge, difficulty) {
  const enc = new TextEncoder();
  for (let counter = 0; ; counter++) {
    const h = new Uint8Array(await crypto.subtle.digest('SHA-256', enc.encode(`${challenge}:${counter}`)));
    let bits = 0;
    for (const b of h) { if (b === 0) { bits += 8; continue; } bits += Math.clz32(b) - 24; break; }
    if (bits >= difficulty) return counter;
  }
}

Endpoints#

GET /api/guest/challenge#

JSON
{
  "challenge": "7dbfeabe71c052bc5df3d7281b4cf051",
  "difficulty": 18,
  "expiresAt": "2026-11-22T02:24:40.892Z",
  "algorithm": "sha256(\"<challenge>:<counter>\")"
}

A challenge lasts 5 minutes and is consumed by its first submission, right or wrong. An address that already received 3 tokens today gets 429 guest_ip_limit here, before it does any work.

POST /api/guest#

Body: { "challenge": "<32 hex>", "counter": 271828 }. The counter may be a number or a string of digits.

JSON
{
  "guestToken": "idyl_gt_CYT8VfBb…",
  "messagesLeft": 10,
  "expiresAt": "2026-11-23T02:19:40.910Z",
  "resetsAt": "2026-11-23T00:00:00.000Z",
  "limits": {
    "messagesPerDay": 10,
    "privacy": "community",
    "tier": "open",
    "maxModelMemGb": 12,
    "maxPromptChars": 4000,
    "maxCompletionTokens": 512,
    "models": ["llama3.1:8b", "qwen2.5:7b", "mistral:7b", "deepseek-r1:8b", "qwen3:8b", "qwen3:14b", "gemma3:12b"]
  }
}

The token is shown once. The gateway keeps only its SHA-256.

GET /api/guest#

With Authorization: Bearer idyl_gt_…. Returns { messagesLeft, messagesPerDay, resetsAt, expiresAt, limits }. This endpoint is an addition to the brief, for clients that reload.

Chat#

A guest token works as the bearer token of POST /v1/chat/completions. The response carries x-idyl-guest-remaining, the requests left today after this one. The header is exposed to browsers on other origins.

Admission#

The guest hook runs first (priority 10) and only looks at guest tokens. It checks, in this order:

  1. Privacy is Community. Otherwise 403 guest_model_not_allowed.
  2. The model is Open tier. Otherwise 403 guest_model_not_allowed. (For Unbound models the core answers first with 403 unbound_attestation_required.)
  3. The model is in the catalog and needs 12 GB or less. Otherwise 403 guest_model_not_allowed.
  4. The prompt is at most 4,000 characters. Otherwise 402 guest_limit.
  5. The token has requests left today. Otherwise 402 guest_limit.
  6. A node is online for the model. Otherwise 503 model_unavailable, and the request is not counted.

Then max_tokens is clamped, the request is counted, and the job is billed as guest: it consumes no free tier and no credits, and earns the serving node no Idle Points for paid work.

A request counts when it is admitted. Requests The Floor blocks, and requests it answers with the care message, count: each one used a safety check. A request the network failed to serve (job.failed) is handed back.

Errors#

StatusCodeWhenidyl.guest
400invalid_challengeMalformed, unknown, used or expired challenge
400invalid_powThe counter is malformed or does not meet the difficulty
429guest_ip_limitThis address already received 3 tokens today
503guest_capacityToo many open challenges or stored tokens
401guest_token_expiredUnknown or expired guest token
402guest_limit10 requests used todaydaily_limit
402guest_limitPrompt longer than 4,000 charactersprompt_too_long
403guest_model_not_allowedSealed requestedsealed
403guest_model_not_allowedNot an Open modeltier
403guest_model_not_allowedNot in the catalog, or needs more than 12 GBmodel_size
403guest_not_allowedFrom the core, if no plugin admits a guest token

Every 402 and 403 message ends with a hint to connect a wallet at /app.html#keys. The reason is also machine-readable at the top level of the error body, for example { "error": { … }, "idyl": { "guest": "daily_limit" } }.

Configuration#

VariableDefaultMeaning
IDYL_GUEST_POW_BITS18Leading zero bits required. Each extra bit doubles the work. Values below 12 are for development and are logged as a warning.
IDYL_TRUST_PROXYoffCore setting. Behind a reverse proxy it must be on, or every guest shares the proxy's address and the cap of 3 tokens per day applies to all of them together.
IDYL_PLUGINSallLeave guest out to disable guest access.

What is stored#

WhereWhatHow long
State file, section plugin:guestSHA-256 of each token, a random guest id, creation and expiry times, the UTC day and that day's request count24 hours, then removed
State file, section plugin:guestTwo totals: tokens issued, requests admittedKept
MemoryOpen challenges5 minutes
MemoryTokens issued today per address hashUntil the UTC day ends or the process restarts
MemoryChallenge rate limit (30 per minute) per address hashUntil the bucket refills

The per-address count and the challenge rate limit are keyed by service('privacy').ipHash(ip) when the privacy plugin is loaded, and otherwise by a SHA-256 of the address with a random salt generated in the plugin that changes every UTC day. The address itself is never stored and never logged by this plugin. (POST /api/guest and GET /api/guest also pass the core's own per-address rate limiters, which hold addresses in memory like every other route.) The token is never stored. Log lines of this plugin contain no ids and no addresses.

Statistics: GET /api/stats.json gains guest: { activeTokens, tokensIssuedTotal, requestsAdmittedTotal, messagesPerDay, powBits }. Counts only.

Operating it#

  • Raise the difficulty under abuse. IDYL_GUEST_POW_BITS=20 quadruples the work per token. Measure on a low-end phone before going higher: solve time has not been measured on real devices here.
  • A restart clears the per-address counts. Tokens survive a restart; the counts of tokens issued per address do not, because they exist only in memory. After a restart an address can obtain up to 3 more tokens that day.
  • Guests cost capacity. Each token is worth at most 10 requests of 512 output tokens and 10 safety checks per day. With the cap of 3 tokens, one address can use at most 30 requests per day.

Honest limits#

  • Proof of work raises the cost of bulk token farming. It does not identify anyone and does not stop a patient attacker with many addresses.
  • The per-address cap is only as good as the address the gateway sees. People behind one shared address (an office, a mobile carrier) share 3 tokens per day. People who change address get more. With IDYL_TRUST_PROXY on, the gateway takes the first entry of X-Forwarded-For; if the proxy in front does not overwrite that header, a client can choose the address it is counted under.
  • A guest request runs at the Community grade: the serving node sees the prompt. The app says so before the first message.
22 — Engineering · Payments plugin

Payments and credits

24 min readdocs/plugins/payments.md

Plugin 40-payments · Status: Beta (testnet). Not yet run against real Stripe or a mainnet RPC node — see Honest limits.

Credits are a prepaid balance in US dollars, kept per wallet. A wallet buys credits with USDC, SOL or $IDYL through Solana Pay, or by card through Stripe Checkout. Requests the free tier does not cover are charged to credits when they finish. The plugin also keeps the real-money books: what was collected, what each node is owed, and what was paid out.

Source: services/gateway/lib/plugins/40-payments.js, services/gateway/lib/solana.js, scripts/payouts-export.mjs Tests: services/gateway/test/payments.test.js (money in), payments.billing.test.js (money out)

Contents#

Money model#

  • Unit. Integer micro-USD (1 USD = 1,000,000). No floating-point amount is stored. API responses show USD with up to six decimals.
  • Lots. A balance is the sum of its lots: { id, kind: "purchase" | "pool" | "promo", asset?, amount, remaining, expiresAt?, ref, at }. Purchases do not expire. Pool credits expire 30 days after they are granted. Promo credits expire when the operator says so.
  • Spend order. Soonest-expiring lot first; lots without expiry last, oldest first.
  • Expiry. An expired lot is dropped and counted in creditsExpiredTotalUsd.
  • Charge. A request is charged once, when it completes or when its client leaves mid-stream, for the cost the core computed (job.completed.costUsd). Sub-micro remainders are carried per wallet, so a thousand small requests cost exactly the sum of their prices.
  • Overdraft floor. Cost is known only at the end, so a balance can dip below zero, to at most −$0.01. What a wallet cannot cover beyond that is written off (writtenOffUsd): the wallet is not charged for it and nobody is paid for it. The overdraft is repaid first from the next credit.
  • Reservations. While a request is in flight its estimated cost is reserved, so several concurrent requests cannot overdraw one small balance together.
  • Idempotency. A Solana payment is credited once per transaction signature and once per intent. A card payment is credited once per Stripe event and once per Checkout Session. A job is charged once per job id. A payout batch is recorded once per transaction. A pool or promo credit with a ref is granted once per ref.

Configuration#

VariableDefaultMeaning
IDYL_SOLANA_RPC_URLnoneSolana JSON-RPC endpoint used to verify payments. Without it Solana Pay is disabled.
IDYL_TREASURY_ADDRESSnoneWallet address that receives payments (the Solana Pay recipient).
IDYL_USDC_MINTEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vUSDC mint (mainnet). Set the devnet mint on devnet.
IDYL_TOKEN_MINTnone$IDYL mint. Unset: paying in $IDYL is disabled with a clear error.
IDYL_PRICE_URLnonePrice feed in the Jupiter Price API v3 shape, for example https://api.jup.ag/price/v3.
IDYL_PRICE_API_KEYnoneSent as x-api-key to the price feed.
IDYL_PRICE_SOL_USDnoneFixed SOL price in USD. Takes precedence over the feed.
IDYL_PRICE_IDYL_USDnoneFixed $IDYL price in USD. Takes precedence over the feed.
IDYL_PRICE_MIN_LIQUIDITY_USD0 (off)Refuse a feed price whose reported liquidity is below this.
IDYL_PAY_MIN_USD1Smallest purchase.
IDYL_PAY_MAX_USD1000Largest purchase.
IDYL_PAY_DAILY_CAP_USD2000Purchases per wallet per UTC day, counting open payment requests.
IDYL_PAY_COMMITMENTconfirmedfinalized makes confirmation wait for finality.
IDYL_SOLANA_RPC_TIMEOUT_MS10000Timeout of each RPC call.
IDYL_SOLANA_CLUSTERinferred from the RPC URLLabel shown in GET /api/pay/methods.
STRIPE_SECRET_KEYnoneStripe secret key.
STRIPE_WEBHOOK_SECRETnoneSigning secret of the webhook endpoint (whsec_…). Without it card payments are disabled: a payment could not be credited.
IDYL_PUBLIC_URLnonePublic base URL of the app, for the Checkout return URLs.
IDYL_PAY_DURABLE_WAIT_MS2500The longest an answer that says "recorded" waits for its change to be durably on disk (ctx.flush()): a new payment request, a confirmed payment, a credited Stripe event, an admin change (see Restart and crash). 0 disables the wait. Maximum 10000.
IDYL_STRIPE_API_BASEhttps://api.stripe.comFor tests. Do not set in production.
IDYL_ADMIN_TOKENnoneCore setting. Required by every /admin/* route; without it they answer 404.

Each method is enabled on its own. GET /api/pay/methods shows what is on and, for what is off, the reason. A request to a disabled method answers 503 payments_unavailable.

Endpoints#

MethodPathAuthPurpose
GET/api/pay/methodsnoneWhat is enabled, limits, the recipient address
GET/api/creditsAPI keyBalance, expiring credits, Pro, free tier, last 20 payments, spend
POST/api/pay/solana/intentAPI keyCreate a Solana Pay request
POST/api/pay/solana/confirmAPI keyVerify the payment on-chain and credit it
POST/api/pay/stripe/checkoutAPI keyCreate a Stripe Checkout Session
POST/api/pay/stripe/webhookStripe signatureCredit a paid Checkout Session
GET/api/payouts/:nodeIdnoneWhat a node is owed and has been paid
GET/admin/payoutsadminNodes that are owed money
POST/admin/payoutsadminRecord a payout batch
POST/admin/creditsadminGrant promo credits
POST/admin/credits/revokeadminTake back unspent purchased credits
POST/admin/pay/idyl-burnedadminRelease burned $IDYL from the burn queue

GET /admin/payouts, POST /admin/credits/revoke and POST /admin/pay/idyl-burned are additions to the brief; the runbook needs them.

GET /api/pay/methods#

JSON
{
  "solana": {
    "enabled": true,
    "recipient": "HvZ7ECmR6dhYmPh8BoaS5KswaqdUtzpHUqPQ44wifwfS",
    "cluster": "mainnet-beta",
    "commitment": "confirmed",
    "intentTtlSec": 900,
    "assets": {
      "USDC": { "enabled": true, "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "decimals": 6 },
      "SOL": { "enabled": true, "mint": null, "decimals": 9, "price": "feed" },
      "IDYL": { "enabled": false, "mint": null, "decimals": 6, "price": null, "discount": 0.1,
                "reason": "Paying in $IDYL is not enabled: the token mint is not configured (IDYL_TOKEN_MINT)" }
    }
  },
  "stripe": { "enabled": false, "reason": "STRIPE_SECRET_KEY is not set" },
  "limits": { "minUsd": 1, "maxUsd": 1000, "dailyCapUsd": 2000 },
  "credits": { "minBalanceToStartUsd": 0.001, "overdraftFloorUsd": -0.01, "sealedMultiplier": 1.3, "payInIdylDiscount": 0.1 }
}

GET /api/credits#

JSON
{
  "wallet": "EsCT9i8JTWwEtHdiZZVNase5dGiCdznuuPaA6Xp3LqVb",
  "balanceUsd": 26.999843,
  "availableUsd": 26.999843,
  "credits": { "purchasedUsd": 24.999843, "poolUsd": 0, "promoUsd": 2, "overdraftUsd": 0 },
  "expiring": [{ "usd": 2, "expiresAt": "2026-12-22T02:19:41.747Z", "kind": "promo" }],
  "pro": null,
  "freeTier": { "limit": 200000, "remaining": 0, "resetsAt": "2026-11-23T00:00:00.000Z", "plan": "free" },
  "payments": [
    { "at": "2026-11-22T02:19:41.283Z", "method": "stripe", "asset": "USD", "amountUsd": 20, "creditUsd": 20,
      "units": "2000", "sessionId": "cs_test_a1b2c3" },
    { "at": "2026-11-22T02:19:41.213Z", "method": "solana", "asset": "USDC", "amountUsd": 5, "creditUsd": 5,
      "units": "5000000", "reference": "9su7ZiWmzthhTWK2xdJkR8gGKaCz598yRq3baidNaSA4",
      "signature": "5JDzwH5kEQjpNwn15N6D1z4U2nMGHndGuyYVN52wNYEUPdYWnu2P6nVhajMArTYcygi2JuozzCP84Lt54uP8nUz2" }
  ],
  "spend": { "todayUsd": 0.000157, "last7dUsd": 0.000157 },
  "methods": { "solana": true, "stripe": true },
  "limits": { "minUsd": 1, "maxUsd": 1000, "dailyCapUsd": 2000 }
}
  • availableUsd is the balance minus what requests in flight have reserved.
  • expiring lists lots that have an expiry, soonest first.
  • pro is the wallet's Pro status when it has a tier, otherwise null. For a Pro wallet freeTier shows the Pro allowance, with plan set to the tier.
  • payments holds the last 20 purchases, newest first. units are base units of the asset (cents for cards).
  • spend counts credits consumed today and over the last 7 UTC days.

POST /api/pay/solana/intent#

Body: { "amountUsd": 5, "asset": "USDC" }. amountUsd has at most two decimals. asset is USDC, SOL or IDYL.

JSON
{
  "intentId": "pi_pbSHnj8vH6qjr73e",
  "recipient": "HvZ7ECmR6dhYmPh8BoaS5KswaqdUtzpHUqPQ44wifwfS",
  "asset": "USDC",
  "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "decimals": 6,
  "amount": "5",
  "units": "5000000",
  "reference": "9su7ZiWmzthhTWK2xdJkR8gGKaCz598yRq3baidNaSA4",
  "solanaPayUrl": "solana:HvZ7ECmR6dhYmPh8BoaS5KswaqdUtzpHUqPQ44wifwfS?amount=5&spl-token=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&reference=9su7ZiWmzthhTWK2xdJkR8gGKaCz598yRq3baidNaSA4&label=IDYL&message=IDYL%20credits%20%245.00",
  "expiresAt": "2026-11-22T02:34:41.150Z",
  "priceUsed": 1,
  "priceSource": "peg",
  "amountUsd": 5,
  "creditUsd": 5
}
  • units is the exact integer amount in base units; amount is the same in whole tokens, as Solana Pay wants it.
  • reference is a fresh public key whose secret is discarded. It ties the transaction to this intent.
  • priceUsed is the USD price of one token, fixed for the 15 minutes of the intent. priceSource is peg (USDC at $1.00), fixed or feed.
  • For SOL and $IDYL, units = ceil(amountUsd ÷ priceUsed × 10^decimals), computed in integers.
  • For $IDYL, creditUsd = amountUsd ÷ 0.9: paying $9 of $IDYL buys $10 of credits.
  • A wallet may hold 5 open intents.
  • The answer takes about one second: it is sent once the intent is in the state file (see Restart and crash).

POST /api/pay/solana/confirm#

Body: { "intentId": "pi_…", "signature": "<base58, optional>" }.

With a signature the gateway verifies that transaction. Without one it looks for a transaction that names the intent's reference (getSignaturesForAddress), so the app can poll after showing the QR code.

JSON
{ "status": "pending", "intentId": "pi_pbSHnj8vH6qjr73e", "expiresAt": "2026-11-22T02:34:41.150Z" }
JSON
{
  "status": "confirmed",
  "intentId": "pi_pbSHnj8vH6qjr73e",
  "signature": "5JDzwH5kEQjpNwn15N6D1z4U2nMGHndGuyYVN52wNYEUPdYWnu2P6nVhajMArTYcygi2JuozzCP84Lt54uP8nUz2",
  "asset": "USDC",
  "amountUsd": 5,
  "creditUsd": 5,
  "creditedUsd": 5,
  "balanceUsd": 5,
  "confirmationStatus": "confirmed"
}

Confirming again returns the same receipt with "alreadyCredited": true and changes nothing. pending is answered with HTTP 200 while nothing is found; poll every few seconds (the limit is 40 confirmations per wallet per minute). The first confirmed answer is sent once the credit is in the state file, about one second after the transaction was verified; a client that loses the connection in that second simply asks again.

POST /api/pay/stripe/checkout#

Body: { "amountUsd": 20 }.

JSON
{
  "url": "https://checkout.stripe.com/c/pay/cs_test_a1b2c3",
  "sessionId": "cs_test_a1b2c3",
  "amountUsd": 20,
  "creditUsd": 20,
  "expiresAt": "2026-11-22T03:19:41.000Z"
}

Send the person to url. Credits arrive when Stripe calls the webhook, not when the person returns.

POST /api/pay/stripe/webhook#

Called by Stripe. Answers { "received": true, … } with one of credited, duplicate, pending, expired or ignored.

GET /api/payouts/:nodeId#

JSON
{
  "nodeId": "moYaeSQmCGHh5RanUTGZvZb59SoGLvu2yfGbX74qZCU",
  "payout": "A8qEi1uu2feKFrS1mFU7a4DViyvGbSPRGvWgju7HyxWJ",
  "accruedUsd": 0,
  "paidUsd": 0.000533,
  "lifetimeUsd": 0.000533,
  "minPayoutUsd": 1,
  "payouts": [
    { "tx": "qhDnAyoFb6oGvpz9Dvu8vWz9p8yZKrNoShJUHMsYKegPzdfQsr44kSCm52uYXshdgyYpHVSKzKzo3Lk5ipHV7wb",
      "asset": "USDC", "amountUsd": 0.000533, "at": "2026-11-22T02:20:13.217Z" }
  ],
  "note": "accruedUsd is owed now: 85% of what credits actually paid for requests this node served, minus payouts. Free-tier, Pro-allowance and guest traffic accrue nothing."
}

accruedUsd is what the node is owed now. paidUsd is what was paid. lifetimeUsd is their sum. The same three figures appear as payable in GET /api/nodes/:id, next to the metered earnedUsd, which is not money owed.

Admin routes#

All need Authorization: Bearer <IDYL_ADMIN_TOKEN> (or x-idyl-admin). The token is compared in constant time. With no token configured the routes answer 404.

RouteBodyResult
POST /admin/credits{ wallet, usd, expiresInDays?, note?, ref? }Grants promo credits. usd up to 10,000. With a ref the grant is applied once. { ok, kind: "promo", creditedUsd, duplicate, expiresAt, balanceUsd }
POST /admin/credits/revoke{ wallet, usd, ref }Takes back unspent purchased credits: the lot bought with ref first, then older purchases. Never touches pool or promo credits. Applied once per ref. When ref is a Stripe session id or a transaction signature the gateway knows, it must be a credited payment of that wallet and usd cannot exceed what it credited; any other ref is free-form. A refused call changes nothing and does not use up its ref. { ok, revokedUsd, shortUsd, balanceUsd, duplicate }
GET /admin/payouts{ minPayoutUsd, nodes: [{ nodeId, payout, accruedUsd, paidUsd, payable }], totals }
POST /admin/payouts{ tx, asset, items: [{ nodeId, amountUsd }] }Marks the items as paid. The whole batch is validated before anything changes. Applied once per tx; a repeat returns the stored record with duplicate: true.
POST /admin/pay/idyl-burned{ tx, amountIdyl }Releases burned tokens from idylQueuedForBurn. Applied once per tx.

Solana Pay#

The intent follows the Solana Pay transfer request format (https://docs.solanapay.com/spec): solana:<recipient>?amount=<amount>&spl-token=<mint>&reference=<reference>&label=…&message=…. The amount is in whole tokens with no exponent. spl-token is left out for SOL. The wallet adds the reference to the transfer as a read-only key that signs nothing, which is how the transaction is found again.

What confirmation checks#

  1. Status. getSignatureStatuses (with history search) reports confirmed or finalized — finalized only, when IDYL_PAY_COMMITMENT=finalized. Anything less is pending.
  2. No error. The transaction's meta.err is null.
  3. Reference. The intent's reference is among the transaction's account keys. Legacy and versioned transactions are both read; addresses loaded from lookup tables count.
  4. Amount. The treasury's balance rose by at least units:
    • tokens: the sum of postTokenBalances minus preTokenBalances over entries whose owner is the treasury and whose mint is the expected mint. The entry's decimals must be 6. For RPC nodes that omit owner, the entry must be the treasury's associated token account.
    • SOL: postBalances − preBalances at the treasury's account index.
  5. Time. The transaction's block time is not later than the intent's expiresAt plus 2 minutes.
  6. Not used. The signature has not paid another intent.

Only then is the wallet credited, in one step with marking the intent paid and the signature used.

The credit is the intent's creditUsd. A transaction that pays more than units is credited for the intent amount; the excess is not credited automatically.

Prices#

USDC is taken at $1.00. SOL and $IDYL use the fixed price when one is set, otherwise the feed: GET <IDYL_PRICE_URL>?ids=<mint>, answered in the Jupiter Price API v3 shape (https://developers.jup.ag/docs/price/v3), an object keyed by mint whose entries carry usdPrice, decimals and, sometimes, liquidity. A mint that is missing from the answer has no reliable price and cannot be quoted. A feed that reports other decimals than the gateway expects disables the asset. Prices are cached for 30 seconds; after a failed fetch a price up to 2 minutes old may still be used.

Pay in $IDYL#

Paying in $IDYL is 10% off: creditUsd = amountUsd ÷ 0.9. It is enabled once IDYL_TOKEN_MINT is set.

The tokens are not sold and not burned on arrival. A lot bought with $IDYL keeps the token units behind it (idylHeldForCredits). When those credits pay for a request, the units behind the spent amount are released, pro rata and in exact integer arithmetic:

  • Served by a node: 85/90 go to the node as an $IDYL payable (accruedIdyl), 5/90 to idylQueuedForBurn. The node is paid in $IDYL; no cash is involved and no USD payable arises. The 10% discount comes out of the protocol's own 15%.
  • Served by a provider (Sealed relay through an upstream): all released units go to idylTreasury, because the provider is paid in cash.

In one sentence for users: Pay with $IDYL: 10% off. Your tokens pay the node that did the work; the protocol's cut is burned.

Burns are done from the treasury multisig, published through the reports plugin (POST /admin/burns) and then released from the queue with POST /admin/pay/idyl-burned. At every moment, in base units: idylReceivedTotal = idylHeldForCredits + node $IDYL accrued + idylQueuedForBurn + idylBurnedTotal + idylTreasury. The plugin checks this equation at start and refuses to run when it does not hold.

Card payments#

  1. POST /api/pay/stripe/checkout creates a Checkout Session with a form-encoded request to POST /v1/checkout/sessions (https://docs.stripe.com/api/checkout/sessions/create): mode=payment, one line item with price_data in USD, payment_method_types[0]=card, success_url and cancel_url under IDYL_PUBLIC_URL, metadata[wallet], and an expiry one hour ahead. No email, name or address is sent.
  2. Stripe calls POST /api/pay/stripe/webhook. The gateway verifies the Stripe-Signature header over the raw request body (https://docs.stripe.com/webhooks#verify-manually): entries are split on commas; t is the timestamp; each v1 is the hex HMAC-SHA256 of "<t>.<raw body>" with the endpoint secret. One matching v1 is enough (several appear while a secret is rolled). The comparison is constant-time. A timestamp more than 5 minutes from the gateway's clock is refused. v0 and unknown entries are ignored. The checks that need no body run first (precheckStripeSignature: a header, a numeric t within the tolerance, a 64-hex v1 among the first 16): a request that fails them gets 400 with Connection: close before its body is read. The full check runs once the body has arrived.
  3. On checkout.session.completed with payment_status: "paid", or checkout.session.async_payment_succeeded, the wallet is credited once per event id and once per session id. A session that is not paid yet is acknowledged and not credited.
  4. For a session this gateway created, the credit is the amount it asked for, lowered to what Stripe reports as paid in USD if that is less. For a session it does not know (state lost), the event must carry metadata.wallet and a USD amount; the credit is the smaller of amount_total and amount_subtotal, so a discount lowers it and tax does not raise it.
  5. The webhook answers once the credit is in the state file (see Restart and crash).

Stripe setup: create a webhook endpoint for https://<your gateway>/api/pay/stripe/webhook, subscribe it to checkout.session.completed, checkout.session.async_payment_succeeded and checkout.session.expired, and put its signing secret in STRIPE_WEBHOOK_SECRET.

Admission and billing#

The credits hook runs third (priority 30), after guest (10) and Pro (20). It only looks at wallet keys.

SituationResult
The free tier covers the request and has allowance leftNot this hook. The free tier pays.
The free tier does not cover it (Sealed, Unbound above 12 GB), or the daily allowance is used up; balance minus reservations is at least $0.001Admitted, via: "credits"
Same, but the wallet's balance minus reservations is below $0.001402 insufficient_credits
Same, but the wallet has never held creditsLeft to the core: 402 credits_required (not in the free tier) or 429 insufficient_quota (free tier used up)

For a Pro wallet the Pro allowance replaces the free tier (pro.md).

An admitted request carries:

  • meta.priceMultiplier — 1 for Community; for Sealed 1.3 × (1 − Pro discount): 1.3, 1.17 for Pro, 1.04 for Pro+. The 1.3 is read from the sealed plugin when it is loaded. The core multiplies the metered cost by it, and nodes get 85% of the result.
  • x-idyl-credits-remaining — the balance in USD with six decimals. A streamed response reports the balance at admission; any other response reports the balance after the charge. The header is exposed to browsers on other origins.

Reservation. At admission the gateway reserves an estimate: prompt characters ÷ 4 plus max_tokens (2,048 when the client sets none), at the model's rate times the multiplier, and at least $0.001. The reservation ends when the job completes, fails or is cancelled, or when the response ends. It is an estimate: a request can still cost more than was reserved.

Charge. On job.completed and job.partial with meta.billing === "credits" the cost is taken from the lots. The plugin then emits credits.consumed { wallet, usd, jobId, model, privacy, billing: "credits", cashUsd, nodeId }, where usd is what was actually charged and cashUsd the part of it that was bought with USDC, SOL or card.

The real-money ledger#

Only credits-billed work enters these books. The core's metered figures (treasury.protocolRevenue24hUsd, treasury.buybackQueuedUsd) are unchanged and are labeled metered in treasury.labels.

The books are funded by construction: every payable is backed by something that arrived. Every charged micro-USD is classed by what funded the lot it came from:

FundingLotsPaid revenueNode-served work pays the node
cashbought with USDC, SOL or cardyes85% as a USD payable; 15% protocol share: half buybackQueuedUsd, half treasury
idylbought with $IDYLno (tokens, not cash)85/90 of the tokens behind it as an $IDYL payable; 5/90 queued for burn
grantpool and promo creditsno (nothing arrived)85% as a USD payable, charged to the treasury

Provider-served requests (Sealed relay through an upstream, nodeId null) are recorded gross as upstreamUsd; cash-funded ones are paid revenue without a split, $IDYL-funded ones send their tokens to idylTreasury, grant-funded ones are charged to the treasury.

treasuryNetUsd = the treasury half of the protocol share − what grant-funded node work cost (85%) − grant-funded provider spend. solvent is treasuryNetUsd ≥ 0. The credit pool is capped at 7.5% of paid revenue (see pro.md) so that, with pool credits as the only grants, this stays true.

GET /api/stats.json → treasury.paid:

FieldMeaning
revenue24hUsdPaid (cash) revenue recognised in the current hour and the 23 before it
revenueTotalUsdPaid (cash) revenue: cash-funded credits consumed, node-served and provider-served
nodePayableUsdUSD owed to nodes now (accrued minus paid)
nodePayableIdyl$IDYL owed to nodes now
protocolUsd15% of node-served cash revenue, cumulative
buybackQueuedUsdHalf of protocolUsd, cumulative. This plugin does not track buybacks that were executed
treasuryNetUsd, solventSee above
upstreamUsdCharged for provider-served requests, gross, all funding
idylQueuedForBurn$IDYL released for burning and not yet recorded as burned
idylTreasury$IDYL released to the treasury (provider-served $IDYL-funded work, revoked $IDYL credit)
treasuryUsdThe treasury half of protocolUsd before grants are charged to it
grantNodeCostUsd, grantUpstreamUsdWhat grant-funded work cost the treasury
upstreamCashUsd, upstreamIdylFundedUsdProvider-served work by funding
nodeAccruedTotalUsd, nodePaidTotalUsd, nodeAccruedTotalIdyl, nodePaidTotalIdylLifetime accrued and paid to nodes, per asset
idylFundedUsd, grantFundedUsdCredits consumed that were funded by $IDYL, and by pool or promo grants
writtenOffUsdWork no balance covered
creditsPurchasedTotalUsd, creditsGrantedTotalUsd, creditsExpiredTotalUsd, creditsRevokedTotalUsdCredits bought, granted, expired and revoked
purchasedCreditsOutstandingUsdPurchased credits not yet spent: a liability
idylReceivedTotal, idylHeldForCredits, idylBurnedTotal$IDYL ever received, behind unspent credits, and recorded as burned

Worked examples for one node-served request that costs $0.001020:

  • USDC-funded credits: revenueTotalUsd +0.001020; the node's USD payable +0.000867; protocolUsd +0.000153 (buybackQueuedUsd +0.000076, treasury +0.000077).
  • $IDYL-funded credits (bought at $0.004 per $IDYL, so $9 of $IDYL = 2,250 $IDYL bought $10 of credit, and $0.001020 of that credit stands for 0.2295 $IDYL): the node's $IDYL payable +0.21675 (85/90), idylQueuedForBurn +0.01275 (5/90); no revenue, no USD payable.
  • Promo or pool credits: the node's USD payable +0.000867, grantFundedUsd +0.001020, treasuryNetUsd −0.000867; no revenue.

Deposits are not revenue. Revenue is recognised when purchased credits are consumed. credits.consumed events carry usd, cashUsd, idylFundedUsd and grantUsd, so the points and reports plugins count only funded spend.

Node payouts#

A node is owed what credits actually paid for the requests it served, in two assets: USD (85% of cash- and grant-funded work) and $IDYL (85/90 of the tokens behind $IDYL-funded work). Free-tier, Pro-allowance and guest traffic accrue nothing.

  1. Export. npm run payouts:export -- --data-dir <gateway data dir> writes four files to <data dir>/exports: payouts-<date>-usd.json / .csv (every node owed at least $1, --min) and payouts-<date>-idyl.json / .csv (every node owed at least 1 $IDYL, --min-idyl), each for nodes with a payout address. Nodes below the minimum or without an address are listed under skipped and keep accruing. Each CSV has two columns, address,amount, amounts with six decimals (one micro-USD is one base unit of USDC; $IDYL has 6 decimals). The export is deterministic, moves no money and changes no state. GET /admin/payouts shows the same balances on a running gateway.
  2. Review. Look for self-dealing (a wallet buying credits and spending them on its own node) and for card-funded volume still inside the chargeback window. Check the node on the points and reports pages for review flags.
  3. Pay. Send the amounts from the treasury. The gateway does not send money.
  4. Record. POST /admin/payouts { tx, asset, items } — one call per transaction; each JSON file carries a ready body under adminBody. asset: "IDYL" settles $IDYL payables (items: [{ nodeId, amountIdyl }]); any other asset settles USD payables (items: [{ nodeId, amountUsd }]). The batch is validated as a whole and refused if any item names an unknown node, repeats a node, mixes kinds, or exceeds what the node is owed.
  5. Check. GET /api/payouts/:nodeId lists the payout with its transaction: { accruedUsd, paidUsd, accruedIdyl, paidIdyl, … }, where accrued* is what is owed now.

The gateway does not verify the payout transaction on-chain. The signature is published so anyone can.

Errors#

StatusCodeWhen
401invalid_api_keyNo or unknown API key (guest tokens are not accepted)
503payments_unavailableThe method or asset is not configured; or a mint is misconfigured
503price_unavailableNo price for SOL or $IDYL right now
400invalid_amountamountUsd is not a number, has more than two decimals, or is outside the limits
400invalid_assetasset is not USDC, SOL or IDYL
429daily_cap_exceededThe purchase would pass the daily cap, counting open payment requests
429too_many_open_intentsThe wallet already has 5 open intents
404intent_unknownNo such intent for this key
400invalid_signature_formatsignature is not a base58 transaction signature
400payment_failedThe transaction failed on-chain
400payment_reference_missingThe transaction does not carry the intent's reference
400payment_wrong_mintThe treasury was paid in another asset or mint
400payment_not_receivedThe transaction does not pay the treasury
400payment_amount_shortThe treasury received less than units
410intent_expiredThe transaction landed after the intent expired; or a by-reference lookup found nothing and the intent has expired
409signature_already_usedThe transaction already paid another intent
409intent_already_paidThe intent was paid by another transaction
502rpc_unavailableThe Solana RPC node failed or timed out. Nothing changed; retry
502stripe_errorStripe did not create the session
400invalid_signatureWebhook: missing, malformed or wrong Stripe-Signature
400signature_expiredWebhook: timestamp outside the 5-minute tolerance
400invalid_json, invalid_eventWebhook: the signed body is not a Stripe event
402insufficient_creditsA credits wallet without enough balance. The body carries idyl.credits: { balanceUsd, reservedUsd, requiredUsd, reason } with reason sealed, not_in_free_tier or allowance_used
400invalid_wallet, invalid_tx, invalid_items, invalid_ref, invalid_valueAdmin: malformed input
400node_unknown, payout_exceeds_accrued, burn_exceeds_queue, revoke_exceeds_paymentAdmin: the request does not match the books
409ref_wallet_mismatch, ref_not_creditedAdmin revoke: the payment named by ref was credited to another wallet, or was never credited
404wallet_unknownAdmin revoke: the wallet has never held credits
404node_unknownGET /api/payouts/:nodeId for a node that does not exist

For the errors of a transaction found by reference, the body carries the signature under idyl.signature.

What is stored#

State file, section plugin:payments:

DataFieldsKept
AccountsPer wallet: lots, overdraft, the sub-micro remainder, the last 50 payment records, spend per day (8 days), today's purchasesWhile the wallet has a record
Payment recordsat, method, asset, amountUsd, creditUsd, units, and reference + signature (Solana) or sessionId (Stripe)Last 50 per wallet
IntentsWallet, asset, mint, units, amounts, reference, price used, times, status, signaturePaid: 400 days. Unpaid: 24 hours after expiry
Used signaturesSignature → intentWith the intent
Stripe sessionsSession id, wallet, cents, times, statusPaid: 400 days. Unpaid: 2 days after expiry
Stripe events handledEvent id → time45 days
Idempotency refsKey → time, for pool, promo and revoke400 days
LedgerThe counters above; paid revenue per hour (35 days) and per day (800 days)
PayablesPer node: accrued, paid, remainderKept
PayoutsPer transaction: asset, items, total, timeKept
Burn queue$IDYL received and released, and the burn transactions recordedKept

Never stored and never read from Stripe events: email addresses, names, billing addresses, card data, IP addresses. Log lines of this plugin carry amounts and counts, never wallet addresses.

Memory only: reservations, the price cache, the ids of jobs already charged (one hour).

Restart and crash#

Balances, intents, used signatures, Stripe sessions and events, payables and payouts survive a restart.

The gateway writes its state as one file, replaced atomically, about one second after a change. Marking a payment as paid and crediting it happen in the same step, so the file never holds one without the other: after a crash a payment is either fully recorded or not recorded at all, never credited twice.

Answers that say "this is recorded" wait for the disk. The core writes the state file with fsync, an atomic rename and a directory fsync, and gives plugins ctx.flush(), which resolves once a snapshot taken after the change is durably on disk and rejects when the write failed. These answers wait for it (at most IDYL_PAY_DURABLE_WAIT_MS):

AnswerIf the write fails or is too slowWhy
POST /api/pay/solana/intent503 storage_unavailable, no request handed outThe payer must not get a request the gateway could forget
POST /api/pay/solana/confirm with status: "confirmed" (first time)Answers confirmed anyway and logs payments_not_durableThe payment is on-chain: confirming again after a crash credits it exactly once
POST /api/pay/stripe/webhook with credited: true503 storage_unavailableStripe retries a non-2xx, and handling is idempotent
Every admin change (/admin/credits, /admin/credits/revoke, /admin/payouts, /admin/pay/idyl-burned)503 storage_unavailable: "Nothing was recorded durably. Repeat the same request once storage works"A payout that was lost after "recorded" would be paid twice; each call is applied once

Treat payments_not_durable and the core's store_write_failed as alerts that the disk is not taking writes.

  • Usage. A request is charged when it completes, and that is not held back. If the process dies between the charge and the write, the charge and the node's accrual are lost together: the wallet keeps the credits and the node is not paid for that request.
  • If a card credit is ever missing, resend the event from the Stripe Dashboard; handling is idempotent. For a Solana payment, confirm again with the signature.

Books the build cannot read stop the gateway. At start the plugin refuses to run, with an error that begins payments: and contains Refusing to start, when its section of the state file has a schema this build does not read (it reads 2, and migrates schema 1 unless those books hold $IDYL purchases, which were accounted differently), holds an amount that is not a whole number of at least 0, or breaks the $IDYL equation. Loading such a section as empty, or skipping the bad value, would erase balances and payables at the next save. The state file is left untouched; see the runbook.

A state file that is not valid JSON. The gateway core moves such a file aside as state.json.corrupt-<time>, logs store_corrupt and goes on with empty state. With this plugin loaded the gateway then stops instead of opening empty books: when the plugin has no saved state and the data directory holds a state.json.corrupt-* file, it refuses to start (payments: there are no saved books, … Refusing to start). Otherwise every balance and payable would be gone, and new payments would be recorded in books that cannot be merged with the old ones. Restore state.json.bak (the previous good file, refreshed at most once a minute) or a backup as state.json, or repair the file and put it back; to start empty on purpose, move the state.json.corrupt-* files out of the data directory.

Runbook#

Enable Solana Pay. Set IDYL_SOLANA_RPC_URL and IDYL_TREASURY_ADDRESS. Use an RPC provider you trust and pay for; public endpoints rate-limit and may not keep history. Create the treasury's token accounts for USDC (and $IDYL) before announcing the address: many wallets do not create them. If the treasury is a multisig vault (a program-derived address) the gateway logs a warning at start: some wallets refuse to derive token accounts for such an address, so test one payment with the wallets you support. Check GET /api/pay/methods.

Enable cards. Set the three Stripe variables and create the webhook endpoint as described above. Make one test payment in Stripe test mode and watch for credited: true.

A payment arrived late (410 intent_expired). The money is in the treasury and was not credited. Check the transaction on an explorer, then either refund it on-chain or grant the amount: POST /admin/credits { wallet, usd, ref: "<signature>", note: "late payment" }. The ref makes the grant apply once. Such a grant is a promo lot: it is not counted as paid revenue.

An intent is unknown (404 intent_unknown). Unpaid intents are removed 24 hours after they expire. Handle it like a late payment.

Refund or chargeback of a card payment. Refund in the Stripe Dashboard. Then take back what is unspent: POST /admin/credits/revoke { wallet, usd, ref: "<session id>" }. shortUsd in the answer is what had already been spent. With the session id (or, for a Solana payment, the transaction signature) as ref, the gateway refuses a wrong wallet (409 ref_wallet_mismatch) and an amount above what that payment credited (400 revoke_exceeds_payment). There is no automated refund.

The gateway does not start: payments: … Refusing to start. One of three things, named in the message. (1) The books in the state file were written by another build (or are schema-1 books with $IDYL purchases): run that build, or restore the last good state.json / state.json.bak. (2) The books hold a value that is not a whole amount (the message names the first place): correct it by hand; amounts are whole micro-USD, 1 USD = 1,000,000. (3) The whole state file could not be read and was moved aside as state.json.corrupt-<time>: repair it and put it back as state.json, or restore a backup. In every case nothing was changed. Deleting the plugin:payments section, or moving the state.json.corrupt-* files away, gets past the check and erases every balance and payable: do that only on purpose.

After burning $IDYL from the multisig. Publish the burn with POST /admin/burns (reports plugin), then release the queue: POST /admin/pay/idyl-burned { tx, amountIdyl }.

Reconcile. creditsPurchasedTotalUsd should match what the treasury and Stripe received, at the quoted prices (for $IDYL: the credited amount, which is the paid amount ÷ 0.9). Inside the books this identity always holds, to the micro-USD: creditsPurchasedTotalUsd = revenueTotalUsd + idylFundedUsd + purchasedCreditsOutstandingUsd + creditsRevokedTotalUsd. nodePayableUsd is the sum of what GET /admin/payouts lists.

Back up the data directory. The state file is the ledger. Payments can be rebuilt from the chain and from Stripe; what was consumed cannot.

RPC outage. Confirmations answer 502 rpc_unavailable and change nothing. Intents keep their 15 minutes; payments made in time are credited when the RPC node is back, however late the confirmation.

Honest limits#

  • Not validated against real services. Every test runs against local mock servers that follow the documented formats. The Stripe request, the webhook signature scheme, the Solana RPC responses and the Jupiter price shape have not been exercised against Stripe, a mainnet RPC node or Jupiter from this code. Do that in Stripe test mode and on devnet before taking money.
  • No refund automation. Refunds, chargebacks and disputes are handled by hand with the runbook above. Stripe refund and dispute events are acknowledged and ignored.
  • No KYC, AML or sanctions logic. The plugin limits purchases per wallet per day and nothing else. Wallets are free to create, so the cap does not bound one person. Whether selling prepaid credits for crypto and paying node operators needs a licence, customer checks or tax reporting where you operate is a question for counsel. It is not answered here.
  • Price feed trust. USDC is taken at $1.00 whatever it trades at. SOL and $IDYL prices come from one feed or from a fixed number you set. A thinly traded token can be moved for a moment; someone who does that at the right time buys credits for less. IDYL_PRICE_MIN_LIQUIDITY_USD and a fixed price reduce this. Nothing here is a time-weighted price.
  • RPC trust. The gateway believes its RPC node. A node that lies about a transaction can make the gateway credit a payment that did not happen. Credits are granted at confirmed by default; IDYL_PAY_COMMITMENT=finalized waits longer.
  • Pay in $IDYL brings in tokens, not cash. Nodes serving $IDYL-funded work are paid in those tokens, so no cash obligation arises; what a node can sell them for is the node's market risk. Grant-funded work (pool, promo) is a real cash cost to the treasury and shows in treasuryNetUsd; promo grants beyond the pool are an operator decision this plugin does not limit — watch solvent.
  • Provider bills for $IDYL-funded Sealed relay are paid by the treasury in cash while the tokens go to idylTreasury; that cash outflow is not netted in treasuryNetUsd (it is visible as upstreamIdylFundedUsd).
  • Self-dealing. A wallet can buy credits and spend them on a node it runs, turning credits into a payable. With cash-funded credits this costs the wallet the 15% protocol share; with $IDYL-funded credits, the 10% discount less the 5/90 burned. With pool or promo credits it costs nothing, which is why points never count grant-funded spend and payouts stay manual. Payouts are manual on purpose: review before paying.
  • Card fraud. Credits bought with a stolen card can be spent, or turned into a payable, long before the chargeback arrives.
  • Overdraft and write-offs. A request can cost more than was reserved. The uncovered part beyond $0.01 is written off: the wallet is not charged and the node is not paid for it.
  • One gateway, one file. The books live in the gateway's state file. There is no replication, and two gateways must not share one treasury configuration and expect one ledger.
  • Payouts are recorded, not verified. POST /admin/payouts trusts the operator.
  • Excess and partial payments. A transaction that pays too much is credited for the intent amount. Two transactions that each pay part of an intent are not added up.

For other plugins#

ctx.service('payments'):

MemberMeaning
balanceUsd(wallet) → numberCredit balance in USD; may be as low as −0.01
credit(wallet, usd, { kind, expiresAt?, ref?, asset? }) → { ok, credited, duplicate, balanceUsd }Adds a lot. kind is purchase, pool or promo. expiresAt in milliseconds, for pool and promo only (purchases do not expire). With a ref, applied once per (kind, ref). Throws on invalid input
paidRevenueBetween(fromMs, toMs) → usdPaid (cash) revenue recognised in the range. Whole UTC days are exact; partial days use hourly buckets
hasAccount(wallet) → booleanTrue once a wallet has ever been credited
ledger() → objectThe same object as treasury.paid

Events emitted: payment.received { wallet, amountUsd, asset, creditUsd, method } for each credited purchase (asset USDC, SOL, IDYL or USD), and credits.consumed as described above.

23 — Engineering · Pro plugin

IDYL Pro and the credit pool

9 min readdocs/plugins/pro.md

Plugin 50-pro · Status: Beta (testnet). The stake program is on devnet, unaudited, and its integration tests have never run — see Honest limits.

A wallet that stakes $IDYL for Pro gets a larger daily allowance, a discount on Sealed requests and a share of a weekly pool of usage credits. This plugin reads the stake on-chain, admits Pro requests, counts the allowance and distributes the pool. The product description for users is docs/PRO.md; this page is for operators and integrators.

Source: services/gateway/lib/plugins/50-pro.js, services/gateway/lib/solana.js · Tests: services/gateway/test/pro.test.js

Tiers#

Staked $IDYLDaily allowance (Community)Sealed
Proat least 5,0001,000,000 tokens10% off: 1.17× the model's rate
Pro+at least 50,0005,000,000 tokens20% off: 1.04× the model's rate

Thresholds are compared in base units (6 decimals): 5,000 $IDYL is 5000000000.

Where Pro status comes from#

On-chain#

For a wallet owner the gateway derives the StakePosition address — the program-derived address with seeds ["stake", owner] of IDYL_BOND_PROGRAM_ID — and reads it with getAccountInfo (base64, commitment confirmed). The account counts only if all of this holds:

  • it is owned by the program;
  • it is exactly 136 bytes;
  • it starts with the Anchor discriminator of StakePosition, sha256("account:StakePosition")[0..8] = [78, 165, 30, 111, 171, 125, 11, 220];
  • the owner stored at offset 8 is the wallet.

The stake is amount, a little-endian u64 at offset 40. staked_at is a little-endian i64 at offset 64, in Unix seconds. Tokens in the unstaking cooldown (offset 48) do not count.

OffsetSizeField
08discriminator
832owner
408amount (u64 LE)
488unstaking_amount (u64 LE)
568unstake_ready_at (i64 LE)
648staked_at (i64 LE)
721bump
7363reserved

Address derivation and the ed25519 on-curve test are implemented in lib/solana.js with BigInt and no dependency. They are tested against vectors generated once with @solana/web3.js 1.99.0 (PublicKey.findProgramAddressSync, PublicKey.isOnCurve) and @solana/spl-token 0.4, hard-coded in the test file.

Cache#

A wallet's stake is cached for 5 minutes, in memory.

  • The first lookup of a wallet waits for the chain, for at most 3 seconds.
  • A cached value older than 5 minutes is still answered, and refreshed in the background.
  • If the RPC node fails, the last good value is served for up to 6 hours. A wallet that was never read successfully has no tier. A failed read is not retried for 60 seconds.

So staking takes up to 5 minutes to show, and so does unstaking.

Operator override (testnet)#

POST /admin/pro { wallet, stakedIdyl, stakedAt? } sets a wallet's stake by hand and wins over the chain. stakedIdyl: 0 removes the override. A changed amount counts as a restake: stakedAt moves to now unless you pass one. Overrides are persisted. GET /api/pro shows the wallet its own source as override, never as on-chain stake.

Without IDYL_BOND_PROGRAM_ID, overrides are the only source and program.id reads null.

Configuration#

VariableDefaultMeaning
IDYL_BOND_PROGRAM_IDnoneProgram id of IDYL Bond. Unset: no on-chain reads.
IDYL_SOLANA_RPC_URLnoneSolana JSON-RPC endpoint (shared with payments).
IDYL_SOLANA_CLUSTERinferred from the RPC URLLabel returned as program.cluster.
IDYL_CREDIT_POOL_SHARE0.05Share of last week's node-served paid revenue that forms the pool. 0 turns the pool off. The gateway refuses to start with a value above 0.075 (see why).
IDYL_ADMIN_TOKENnoneCore setting. Required by POST /admin/pro; without it the route answers 404.

Endpoints#

GET /api/pro#

Public. With an API key it adds you.

JSON
{
  "thresholds": {
    "pro": { "stakedIdyl": 5000, "dailyTokens": 1000000, "sealedDiscount": 0.1 },
    "pro_plus": { "stakedIdyl": 50000, "dailyTokens": 5000000, "sealedDiscount": 0.2 }
  },
  "lastPool": { "weekOf": "2026-W46", "poolUsd": 10, "stakers": 2, "distributedAt": "2026-11-16T00:00:41.118Z" },
  "pool": {
    "share": 0.05,
    "enabled": true,
    "maxShare": 0.075,
    "nextDistributionAt": "2026-11-23T00:00:00.000Z",
    "minStakeAgeDays": 7,
    "creditsExpireAfterDays": 30,
    "note": "A usage rebate funded by a share of last week's paid revenue, paid in usage credits that expire. It may be zero. It is never yield and never an amount per token."
  },
  "program": { "id": "D3A6JsecTchxJcNbgmfZCr7ozHGpX5HqCcaR9FkicxVZ", "cluster": "devnet" },
  "you": {
    "tier": "pro",
    "stakedIdyl": 6000,
    "usedToday": 5213,
    "dailyTokens": 1000000,
    "sealedDiscount": 0.1,
    "resetsAt": "2026-11-23T00:00:00.000Z",
    "stakedAt": "2026-10-30T11:02:07.000Z",
    "source": "chain"
  }
}

lastPool is null until a pool has been distributed. you.tier is null, "pro" or "pro_plus". A key that looks like an API key but is unknown gets 401 invalid_api_key.

POST /admin/pro#

JSON
{ "wallet": "EsCT9i8JTWwEtHdiZZVNase5dGiCdznuuPaA6Xp3LqVb", "stakedIdyl": 6000 }
JSON
{
  "ok": true,
  "wallet": "EsCT9i8JTWwEtHdiZZVNase5dGiCdznuuPaA6Xp3LqVb",
  "override": true,
  "tier": "pro",
  "stakedIdyl": 6000,
  "dailyTokens": 1000000,
  "sealedDiscount": 0.1,
  "usedToday": 0,
  "resetsAt": "2026-11-23T00:00:00.000Z",
  "stakedAt": "2026-11-22T02:19:41.640Z",
  "source": "override"
}

stakedIdyl is a number between 0 and 1e9. stakedAt is optional, ISO 8601 or milliseconds, and must not be in the future.

Admission#

The Pro hook runs second (priority 20), after guest (10) and before credits (30). It only looks at wallet keys.

RequestResult
Community, Pro wallet, allowance left todayAdmitted, via: "pro". Any model the wallet may use, large Unbound models included
Community, Pro wallet, allowance used, wallet holds a credits accountNot admitted here; the credits hook charges it at the normal rate, or answers 402 insufficient_credits when the balance is too low
Community, Pro wallet, allowance used, wallet never held credits429 insufficient_quota naming the Pro allowance and its reset time
Sealed, any walletNot admitted here. Sealed is never free; credits pay, at the Pro rate
Wallet without a tierNot this hook

The allowance replaces the free tier. A Pro wallet does not also get the 200,000 free tokens: once its allowance is used, requests are paid from credits or refused.

Unbound still needs the attestation. Pro changes which requests are free, not who may call Unbound models. The core checks the 18+ attestation before admission.

Counting. Tokens are added to the wallet's daily count when a Pro-billed job completes (usage.total_tokens) or is cut off mid-stream (the tokens delivered), once per job id. As with the free tier, a request is admitted while any allowance remains, so the last request of a day can pass the limit. The count resets at 00:00 UTC.

Headers on a Pro-admitted response: x-idyl-pro: pro | pro_plus, and x-ratelimit-limit-tokens / x-ratelimit-remaining-tokens set to the Pro allowance.

Sealed discount. The payments plugin asks service('pro').status(wallet) at admission and sets priceMultiplier = 1.3 × (1 − sealedDiscount). The Pro hook runs just before it and makes sure the wallet's stake has been read, so the discount is in place on the wallet's first request.

The weekly credit pool#

Every Monday at 00:00 UTC the gateway forms a pool of usage credits from the ISO week that just ended:

Text
pool   = IDYL_CREDIT_POOL_SHARE × node-served paid revenue of that week   (default 0.05, max 0.075)
share  = pool × your stake ÷ stake of all eligible positions
  • Paid revenue is service('payments').paidRevenueBetween(week start, week end, { served: 'node' }): credits bought with USDC, SOL or card and consumed that week on requests a node served (the revenue the 15% protocol share is taken on). Deposits, pool and promo credits, $IDYL-funded credits and provider-served Sealed requests are not in it.
  • Eligible positions are those staked or restaked at least 7 days before the snapshot, which is the Monday 00:00 UTC that ends the week. The program stamps staked_at on every stake_pro, so adding stake restarts the 7 days.
  • Stakers are read with getProgramAccounts (filters: dataSize: 136 and a memcmp on the discriminator), then merged with operator overrides; an override wins for its wallet.
  • Split. Pro-rata by staked base units, in integer micro-USD by the largest-remainder method: the shares add up to the pool exactly, and ties go to the lower wallet address.
  • Credits. Each share is granted with payments.credit(wallet, usd, { kind: "pool", expiresAt: now + 30 days, ref: "pool:<week>:<wallet>" }). Pool credits pay for inference only. They cannot be transferred or withdrawn, and they are spent before purchased credits because they expire.
  • Published. GET /api/pro shows the last pool, and the plugin emits pool.distributed { weekOf, poolUsd, stakers }. weekOf is the ISO week label, for example 2026-W46.

The pool is a usage rebate funded by last week's revenue. It is zero when nobody paid. It is never quoted per token, and it is not yield.

Why the pool is capped at 7.5%#

Pool credits are grants: when they are spent on node-served work the node is still paid 85% in USD, and that cost is charged to the treasury half of the protocol share, which is 7.5% of node-served paid revenue (see payments.md). At a share of 7.5% or less the pool can never cost the treasury more than the revenue it is formed from brought in, so treasury.paid.solvent stays true when the pool is the only grant. The default, 5%, leaves a margin for promo credits and write-offs.

Catch-up and safety#

  • The plugin keeps a cursor: the start of the oldest week not yet distributed. A new gateway starts at the current week, so its first pool is formed the following Monday.
  • A check runs every minute. After downtime every missed week is distributed in order, each with its own revenue and its own snapshot time, up to 12 weeks back.
  • A week is distributed once. Reading stakers is the only step that waits on the network; everything after it happens in one step, and each credit carries a ref that the payments plugin applies once, so a crash or a retry cannot credit a wallet twice for a week.
  • If stakers cannot be read (RPC down), the week stays due and is retried every minute. Nothing is credited and nothing is lost.
  • A week with revenue but no eligible staker credits nothing. The amount is not carried over.
  • Without the payments plugin there is no revenue and no pool; the cursor still advances.

A late distribution uses the stakers the chain shows at that moment, judged against the week's own snapshot time. A wallet that staked in time and unstaked before the late run is missed.

Errors#

StatusCodeWhen
429insufficient_quotaPro allowance used and the wallet holds no credits
401invalid_api_keyGET /api/pro with an unknown API key
400invalid_wallet, invalid_valuePOST /admin/pro with malformed input
401unauthorizedPOST /admin/pro without the admin token
404not_foundPOST /admin/pro when no admin token is configured

What is stored#

State file, section plugin:pro:

DataKept
Overrides: wallet → staked base units, staked-at time, when it was setUntil removed
Usage: wallet → today's Pro-billed tokensDropped when the UTC day ends
Pool: the cursor, and the last 52 weekly records (week, pool, revenue, share, staker count, amount distributed, times)52 weeks

Memory only: the 5-minute stake cache and derived addresses. On-chain stake is never written to disk.

Statistics: GET /api/stats.json gains pro: { program: { id, cluster }, poolShare, lastPool }.

Runbook#

Before mainnet. Set IDYL_BOND_PROGRAM_ID to the deployed program and remove every override (POST /admin/pro with stakedIdyl: 0), or Pro status will not reflect the chain.

Check a wallet. GET /api/pro with the wallet's key shows its tier, stake and source.

Check the pool. GET /api/pro → lastPool. On Monday shortly after 00:00 UTC it should show the week that just ended. If it does not, look for pool_distribution_deferred in the log: the RPC node could not list stakers. The pool is distributed as soon as it can.

RPC provider. The pool needs getProgramAccounts, which many public endpoints disable or throttle. Use a provider that serves it for your program.

Change the share. Set IDYL_CREDIT_POOL_SHARE and restart. The new share applies to weeks distributed after the restart, including weeks being caught up.

Turn the pool off. IDYL_CREDIT_POOL_SHARE=0. Weeks are still recorded, with a pool of zero.

Cost of the pool. Pool credits are grants. When they are spent, the serving node accrues 85% of the amount with no new cash behind it; the payments ledger shows this under grantFundedUsd and subsidyUsd. At the default share that is up to 8.5% of last week's paid revenue.

Honest limits#

  • The stake program is unaudited and untested on a validator. programs/idyl-bond compiles and passes unit tests; its integration tests have never run. Until it is deployed and reviewed, Pro on a testnet gateway is whatever the operator set by override, and proves no stake.
  • Not validated against a real RPC node. The reader, the staker list and the pool run in tests against a mock RPC server that follows the documented response shapes. The address derivation and the on-curve test are verified against @solana/web3.js vectors.
  • RPC trust. The gateway believes its RPC node about who staked what. A node that lies can grant Pro, or a pool share, to a wallet that staked nothing.
  • Up to 5 minutes stale. A wallet that unstakes keeps its tier until the cache refreshes, and for up to 6 hours if the RPC node is failing.
  • Allowance, not a hard cap. The last request of a day can exceed the allowance, and requests in flight are not reserved against it.
  • Stakers are trusted as listed. Positions returned by getProgramAccounts are not re-derived one by one; an account of the right size and discriminator that the program owns is taken as a position.
  • Legal. Staking a token to unlock a service, with a share of usage credits funded by revenue, may be treated by regulators as more than a discount. Whether the pool, the stake or both need different wording, limits or a different structure where you operate is a question for counsel. See docs/PRO.md.

For other plugins#

ctx.service('pro'):

MemberMeaning
status(wallet) → { tier, stakedIdyl, dailyTokens, sealedDiscount, usedToday, resetsAt, stakedAt, source }Synchronous. From the override or the cache; starts a background refresh when the cache is old. tier is null, "pro" or "pro_plus"
stakers() → Promise<[{ wallet, stakedIdyl, stakedAt, units, source }]>Every staker the gateway can see. stakedAt in milliseconds, units a BigInt of base units. Rejects when the chain cannot be read
distributePool() → Promise<record[]>Distributes every week that is due now
TIERSThe thresholds
24 — Engineering · Points plugin

Idle Points — Season 0

12 min readdocs/plugins/points.md

Plugin 60-points · Status: Beta (testnet)

Idle Points record who kept real capacity available to the network, who served paid work and who paid for inference during Season 0. Points follow verified capacity: the gateway measures each node itself, at moments the node cannot predict.

Points are a record of contribution. They are not $IDYL, they cannot be bought or transferred, and they are not a promise of tokens or money. The reward pool's size and funding are not decided. No amount is stated here, in the API or in the snapshot, because none exists.

Source: services/gateway/lib/plugins/60-points.js · Export: scripts/points-export.mjs · Tests: services/gateway/test/points*.test.js (rules and API, waves, anti-cheat, ledger, export)

Season 0 at a glance#

ItemValue
Length42 days
StartIDYL_SEASON0_START (an ISO date). When unset: the first start of the gateway, remembered from then on
Who earnsNodes (CLI and Desktop), paying users, referrers
Where to see itGET /api/points/season, GET /api/points/leaderboard, GET /api/points/<node id or wallet>
UnitPoints, kept to 6 decimals

How a node earns#

A node earns in two ways: availability (being there, with capacity the gateway has measured) and paid work (serving requests that were paid from credits).

1Capacity checks#

About every 30 minutes the gateway runs a capacity check. The gap between two checks is random, between 15 and 45 minutes.

  • Every node that is online, not paused and has a free slot gets one job at the same instant.
  • The job is an ordinary chat request: the same fields and deadlines as any other, a different everyday prompt each time, at most 96 tokens of output. The node cannot tell it from user traffic.
  • It runs on the largest catalog chat model the node serves.
  • The gateway measures the speed itself: tokens per second = (characters received ÷ 4) ÷ seconds from the first token to the last. What the node reports about its own tokens is ignored.
  • The answer must contain at least 120 characters of new text to pass. Sending the request back is not an answer.

Two details keep the measurement honest:

  • Start-up beyond 2 seconds counts. The time from the check to the first token is free for up to 2 seconds (less for a short answer, and never more than the time the answer took to stream). Anything beyond that is added to the measured time. A node therefore gains nothing by generating silently and releasing the text in a burst, and node keys that share one machine and take turns do not all look fast.
  • A failed or unanswered check counts as 0 tokens per second. Each node's speed is a running average of its checks (each new check weighs 30%). Skipping checks cannot protect a good average.

Because every node is checked in the same instant, one machine that poses as several nodes has to split its speed between them.

A check that the node missed because it was paused, offline or busy with real work is not held against it. A check it accepted and did not answer in time is a missed job like any other: the gateway's usual deadlines apply (15 seconds to the first token, 60 seconds in total), and a miss is a slash point.

For operators: keep your largest model loaded. The check always uses the largest catalog model the node offers. If your backend unloads idle models (Ollama does after 5 minutes by default), each check starts with a reload. A reload that takes more than 2 seconds lowers the measured speed; one that takes more than 15 seconds misses the check. Set a long keep-alive, or offer only models your machine starts quickly.

2Availability points#

Once in every 10-minute slot, at a random moment inside the slot, each node that qualifies earns:

Text
points = (10 ÷ 60) × size factor × capacity factor × reliability × sealed factor

To qualify at that moment the node must be online, not paused, waiting for work or working, and it must have passed a capacity check in the last 24 hours.

FactorValue
Size factorBy the approximate memory of the model that was checked: up to 8 GB → 1.0 · up to 16 GB → 1.5 · up to 24 GB → 2.0 · above 24 GB → 3.0
Capacity factorMeasured tokens per second ÷ 20, never below 0.1 and never above 1
ReliabilityThe node's success average, 0 to 1. It is the same number that steers routing
Sealed factor2 for a sealed node (current attestation), otherwise 1

A healthy 8 GB-class node that measures 20 tokens per second or more earns about 1 point per hour.

The size factor belongs to the model that was checked. If the node stops offering that model, the factor falls back to 1.0 until the next check.

3Paid work#

A node earns 1 point per $0.001 of its share of requests that were paid from credits. The node's share is 85% of what the request cost. Only the funded part counts: credits bought with USDC, SOL, card or $IDYL. The part paid from granted credits (the weekly pool, promo credits) earns nothing, so free credits cannot be turned into points. The points double when the node served the request sealed.

Paid-work points are capped each UTC day at 3 times that day's availability points. Paid work that arrives early in the day is counted as the day's availability grows; what is still above the cap at midnight is dropped.

How a user earns#

A wallet earns 1 point per $0.01 of bought credits consumed (USDC, SOL, card or $IDYL), up to 100 points per wallet per UTC day. Granted credits (pool, promo) and credits that sit unused earn nothing.

Referral#

A node may name a referrer, the Solana address of whoever brought it in (--referrer <address> in the CLI, the referral field in Desktop).

  • The referrer earns 10% of that node's points for 90 days, counted from the node's first registration. The node keeps all of its own points.
  • A referrer can earn at most 1,000 points per season this way, across all the nodes it referred.
  • The referrer is read once, from the node's first registration, and never changes. A node that registered without one cannot add one later.
  • A node cannot refer itself: its own id and its own payout address are refused. If the referrer later turns out to be the node's payout address, the referral is void and the bonus is taken back. A second node key on the same computer is not a referrer either.

Limits#

RuleWhat it means
A fingerprint is requiredThe node software sends a hardware fingerprint: a one-way hash of machine traits. A node that sends none earns no points. You can switch it off in Settings (--no-fingerprint), and then the node earns nothing
One earning node per computerWhen several node keys send the same fingerprint, the one that registered with it first earns. Any other that is online at the same time earns 0, and is flagged for review when that lasts into a second 10-minute slot
Three earning nodes per network address per dayAt most 3 nodes can earn from one IPv4 address, or one IPv6 /64, per UTC day: the three that registered first among those present. This is a limit, not an accusation, and such nodes are not flagged

The gateway never stores your address. It keeps a salted hash in memory that changes every UTC day (see privacy.md). The fingerprint itself is stored with the node's points record and is never shown by any endpoint.

Penalties and review#

EventEffect
A slash pointForfeits 1% of the node's season points at that moment. A missed deadline is 1 slash point; a canary mismatch is 10
A canary mismatchAlso flags the node for review
More than half of the capacity checks of the last 24 hours failed (4 checks or more)Flags the node for review
A second node key on the same computer, online at the same time for two slots in a rowFlags the later one for review

Flagged nodes stay on the leaderboard, marked as flagged with the reason. They are left out of the season snapshot until a person has reviewed them.

A worked example#

A Mac with 16 GB serving Llama 3.1 8B. The capacity checks measure 32 tokens per second, so the capacity factor is 1. Reliability is 0.98. The node is not sealed.

StepCalculationPoints
One slot(10 ÷ 60) × 1.0 × 1 × 0.98 × 10.163333
Online 20 hours (120 slots)120 × 0.16333319.60
Paid work: $0.012 node share that day0.012 ÷ 0.00112.00
Cap on paid work3 × 19.60 = 58.80, so all 12 count
Day total31.60

Its referrer earns 3.16 points for that day. The node still has 31.60.

A workstation with 24 GB serving Qwen 2.5 Coder 32B. The checks measure 9 tokens per second: capacity factor 0.45. Reliability 0.95.

StepCalculationPoints
One slot(10 ÷ 60) × 2.0 × 0.45 × 0.95 × 10.142500
Online 24 hours (144 slots)144 × 0.142520.52

The same Mac misses a deadline when it holds 400 points: 1 slash point, 1% forfeited, 396 left.

A user who consumes $0.37 of credits in a day earns 37 points. One who consumes $2.50 earns 100, the daily cap.

What does not earn points#

  • Free-tier traffic. Requests covered by a wallet's free daily allowance earn nothing, for the user or for the node.
  • IDYL Pro allowance traffic. The same.
  • Guest traffic. The same.
  • Capacity checks and canary checks. The network's own test jobs pay nothing and earn nothing.
  • A node that sends the request back instead of an answer. It fails its capacity checks. The node CLI's built-in mock backend does exactly that, so a mock node earns nothing outside development mode.
  • Guard jobs for The Floor.
  • Requests a Sealed provider served. No node did the work.
  • A node without a fingerprint.
  • A second node key on the same computer while the first one is online.
  • A fourth node behind one network address on the same day.
  • Paused or offline time, and time when the node is connected but not asking for work.
  • Time without a passed capacity check in the last 24 hours.
  • Paid work above 3 times the day's availability points, and usage above 100 points per wallet per day.
  • Anything outside the season window, to the millisecond.
  • Holding or staking $IDYL, buying credits without using them, following, posting, signing up. Points are for measured capacity and paid use only.

Vesting#

Recorded in the snapshot, enforced by the future claim:

  • 25% at token launch.
  • 75% in equal parts over the following 90 days.
  • Forfeited if the node is offline for 7 or more days in a row during vesting, or is slashed for tampering.

Every endpoint and every snapshot entry shows these two parts in points. The reward pool's size and funding are not decided, so there is no conversion to tokens or money anywhere.

$IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile.

What the gateway cannot prove#

Stated plainly, so nobody mistakes a speed bump for a wall:

  • The fingerprint comes from the node software. A modified client can send a different one. It stops accidental double counting (the CLI and Desktop on one computer), not a determined cheat. The simultaneous checks and the address limit carry the weight.
  • An address is not a person. Someone with several addresses can run more than three earning nodes, each of which still has to pass the simultaneous checks with real speed.
  • The checks measure how fast new text arrives, not what produced it. The gateway cannot run the model itself. A node that claims a large model and answers with a small one, or with text no model generated, is not caught by the capacity check. Canary checks, failed real requests and review are what expose it; on mainnet the bond is what makes it costly.
  • Start-up allowance. Up to 2 seconds before the first token are not counted. A machine slower than 20 tokens per second can use that allowance to look up to about 1.4 times faster than it is. IDYL_BENCH_START_ALLOWANCE_MS=0 removes the allowance and measures everything from the instant of the check.
  • Paying yourself. A node operator can buy credits and send requests that their own node serves. This costs the protocol's 15% share each time, and it is bounded: paid-work points stop at 3 times the day's availability, usage points at 100 per wallet per day.

The snapshot#

At any time, and finally after the season ends:

Shell
npm run points:export                         # reads <IDYL_DATA_DIR>/state.json
npm run points:export -- --out ./snapshots    # a directory, or a file ending in .json
npm run points:export -- --include-flagged    # include every flagged node
npm run points:export -- --include-flagged=<id>,<id>   # include only these, after review
npm run points:export -- --state ./state.json --date 2027-01-03

It writes points-snapshot-<date>.json and prints the Merkle root. <date> is the UTC day of the last change to the points, unless --date is given. The script reads no clock: the same state file and options always give the same bytes.

Each entry holds the id, its kind (node or user), the points, the breakdown, whether it is flagged, the two vesting parts and its leaf. Ids with 0 points are left out. Flagged nodes are listed separately under flagged and are not in the tree unless included; the referral bonus they produced is withheld from the referrer with them.

Merkle root#

PartDefinition
Leafsha256( utf8("<id>:<points>") ). <id> is the node id or wallet in base58. <points> is a decimal with exactly 6 digits after the point and no thousands separator, for example 1234.500000
OrderLeaves sorted ascending by their 32 bytes
Inner nodesha256( 0x01 ‖ left ‖ right ), pairs taken from left to right. An odd last node moves up unchanged
Empty treesha256("")

A worked example with three entries:

Text
11111111111111111111111111111111:1234.500000              → bb18b5ca631e486e3cad6e59231ec9ff6bdd258a5438bb73f6fb9774495dfeb5
So11111111111111111111111111111111111111112:0.000001      → a068181e29a4fd36aee9b295eb852a1b3f77e651cc8fb8bfa418f70394737f6b
TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA:42.000000     → 6ba91b4c66515d95c2d483e6676c6127a6aed8249ab1ba93405910f9f6e135a6

sorted:  6ba9…  a068…  bb18…
inner:   sha256(0x01 ‖ 6ba9… ‖ a068…) = e557e467ac2ec89ba651be89dbb107dc7702674247f4b0209ab82c246d94668b
root:    sha256(0x01 ‖ e557… ‖ bb18…) = f3525f4cabf9a06c5c5d9f1aa4f79f57f6d82874119aa844d1fcc7f3a2b8256d

To check an entry: hash its "<id>:<points>" text, find that hash among the sorted leaves, and hash upward. The snapshot lists every leaf, so anyone can rebuild the root.

API#

All three are public, read-only and rate-limited per address.

GET /api/points/season#

JSON
{
  "season": 0, "name": "Season 0", "status": "active",
  "start": "2026-11-22T00:00:00.000Z", "end": "2027-01-03T00:00:00.000Z", "days": 42,
  "rules": { "capacityCheck": {}, "availability": {}, "paidWork": {}, "usage": {}, "referral": {}, "limits": {}, "penalties": {}, "noPoints": [], "vesting": {} },
  "totals": { "nodes": 212, "users": 96, "points": 48210.5, "flaggedNodes": 3 },
  "capacityChecks": { "waves": 1310, "lastWaveAt": "2026-12-19T08:41:12.000Z" },
  "rewardPool": "The reward pool’s size and funding are not decided. …",
  "updatedAt": "2026-12-19T08:55:00.000Z"
}

status is upcoming, active or ended. rules holds every number on this page as data (intervals, factors, caps), so apps never hard-code them.

GET /api/points/leaderboard?kind=nodes|users#

The top 500. kind defaults to nodes.

JSON
{ "kind": "nodes", "season": { "season": 0, "status": "active", "start": "…", "end": "…" }, "total": 212,
  "entries": [ { "rank": 1, "id": "<node id>", "name": "atlas", "points": 912.4, "today": 21.7, "verifiedTps": 41.2, "model": "llama3.3:70b", "flagged": false, "reasons": [] } ],
  "updatedAt": "…" }

For kind=users an entry is { rank, id, points }, and id is shortened (AbCd…WxYz). A wallet is looked up in full with the next endpoint.

GET /api/points/:id#

:id is a node id or a wallet. An address the season has never seen answers with zeros.

JSON
{
  "id": "<node id>", "kind": "node", "points": 412.75, "rank": 17,
  "today": { "day": "2026-12-19", "points": 9.8, "availability": 7.35, "paidWork": 2.45, "paidWorkCap": 22.05, "usage": 0, "usageCap": 100 },
  "breakdown": { "availability": 380.1, "paidWork": 36.8, "usage": 0, "referral": 0, "forfeited": 4.15 },
  "factors": { "sizeFactor": 1.5, "capacityFactor": 0.82, "reliability": 0.97, "sealedFactor": 1, "model": "gpt-oss:20b", "minMemGb": 16, "pointsPerSlot": 0.198858, "pointsPerHour": 1.193148 },
  "verifiedTps": 16.4, "lastCheckAt": "…", "lastPassAt": "…", "checks24h": { "passed": 46, "failed": 1 },
  "earning": true, "flagged": false,
  "reasons": [ { "code": "slashed", "message": "Slash points were recorded this season. …", "flag": false } ],
  "slashPoints": 1,
  "referral": { "referrer": "AbCd…WxYz", "status": "active", "until": "2027-02-20T10:00:00.000Z" },
  "vestingPreview": { "atLaunch": 103.1875, "linear": 309.5625, "linearDays": 90, "perDay": 3.439583, "forfeitIf": ["…"], "note": "…" },
  "season": { "status": "active", "start": "…", "end": "…" }, "updatedAt": "…"
}
  • points = availability + paidWork + usage + referral − forfeited.
  • For a wallet (kind: "user"), factors and verifiedTps are null and the node-only fields are absent.
  • reasons lists why the node is not earning right now and what it is flagged for. Entries with "flag": true are review flags.
CodeFlagMeaning
no_fingerprintnoThe node sends no fingerprint
no_capacity_checknoNo check passed in the last 24 hours
paused, offline, not_readynoNot available for work right now
ip_limitnoThree other nodes already earn from this network address today
ip_unknownnoThe address has not been seen since the day changed or the gateway started. Clears with the next heartbeat
slashednoSlash points were recorded this season
self_referralnoThe referrer was refused
season_not_activenoOutside the season window
duplicate_fingerprintyes, from the second slotAnother node key on this computer registered first and is online
canary_mismatchyesA spot check did not match
capacity_checks_failingyesMore than half of the last 24 hours' checks failed
tamperingyesSlashed for tampering; all points forfeited

Node view#

GET /api/nodes/:id gains points: { season, points, rank, today, earning, flagged, reasons, verifiedTps, pointsPerHour }. reasons here is the list of codes.

Service for other plugins#

ctx.service('points').totals() → { nodes, users, points }.

Operator notes#

VariableDefaultMeaning
IDYL_SEASON0_STARTfirst start, rememberedSeason start as an ISO date or date-time (UTC). The season runs 42 days from it
IDYL_BENCH_INTERVAL_MS1800000Average gap between capacity checks. 0 disables them, and with them availability points
IDYL_BENCH_START_ALLOWANCE_MS2000Start-up time that is not counted in a capacity check. 0 = count everything from the instant of the check
IDYL_BENCH_ALLOW_ECHOsame as IDYL_OPEN1 accepts an answer that only repeats the request. On in development mode so that npm run dev with the mock backend shows points; off otherwise
  • Capacity checks run as internal jobs: no metering, no free-tier use, no Ledger counters. A check a node accepts and does not answer is a missed deadline like any other.
  • State lives in the plugin:points section of the state file: season window, per-node totals and check results, per-wallet totals. Per-day working data is dropped when the day ends and when the season ends. Addresses and their hashes are never written.
  • After a restart, or just after midnight UTC, the first slot is accrued no earlier than 60 seconds in, so every connected node has sent a heartbeat and its address hash is known.
  • The limit of three earning nodes per address uses the address the gateway sees. Behind a proxy or a CDN, set the core option IDYL_TRUST_PROXY to match your proxy chain (see privacy.md). Set too low, every node appears at the proxy's address and only three nodes in the whole network earn per day. Set too high, a node can choose the address it is counted under.
  • The points in this file's examples are illustrations. The live numbers are in GET /api/points/season.
25 — Engineering · Reports plugin

Weekly reports

Plugin 70-reports · Status: Beta (testnet)

One report per ISO week, in UTC, kept for 52 weeks: what the network did, what was metered, what was actually paid, and what was burned. Every money figure is labelled metered or paid. The two are never added together.

Source: services/gateway/lib/plugins/70-reports.js · Tests: services/gateway/test/reports.test.js

Metered and paid#

LabelMeaning
MeteredEvery request priced at target rates, whoever paid for it: free tier, Pro allowance, guest, credits. A measure of work done. Not revenue
PaidCredits that were bought and then consumed. Real money, with its real split
DepositsCredits bought. Not revenue until they are used

Weeks#

Weeks follow ISO 8601 in UTC: Monday 00:00:00.000 to the next Monday, named YYYY-Www. The year of a week is the year of its Thursday, so 1 January can belong to week 52 or 53 of the year before, and late December to week 1 of the next. 2026 has 53 weeks: 2026-W53 runs from 28 December 2026 to 3 January 2027, and 2027-W01 starts on 4 January 2027.

An event is counted in the week in which it happens, to the millisecond.

Endpoints#

GET /api/reports#

JSON
{
  "current": "2026-W47",
  "retentionWeeks": 52,
  "weeks": [
    { "week": "2026-W47", "start": "2026-11-16T00:00:00.000Z", "end": "2026-11-23T00:00:00.000Z", "status": "in_progress",
      "url": "/api/reports/weekly?week=2026-W47", "requests": 18420, "tokensServed": 9120400,
      "meteredSpendUsd": 0.61, "paidRevenueUsd": 0.22, "burnedIdyl": 0, "pointsIssued": 3120.5 }
  ],
  "burns": { "count": 0, "totalIdyl": 0 },
  "labels": { "meteredSpendUsd": "Metered at target rates. …", "paidRevenueUsd": "Paid: credits that were bought and then consumed. …" },
  "updatedAt": "…"
}

Newest week first. status is in_progress for the running week and final afterwards.

GET /api/reports/weekly?week=YYYY-Www#

Without week, the running week. 400 invalid_week for a week that does not exist (2025-W53), 404 report_not_found for a week with no data or older than 52 weeks.

JSON
{
  "week": "2026-W47", "start": "…", "end": "…", "status": "in_progress",
  "network": { "nodesOnlineAvg": 41.6, "nodesOnlineMax": 58, "samples": 1320, "requests": 18420, "succeeded": 18212, "failed": 208,
               "successRate": 0.9887, "tokensServed": 9120400, "requestsByBilling": { "free": 15100, "pro": 1900, "credits": 1100, "guest": 320 } },
  "metered": { "label": "Metered at target rates. …", "spendUsd": 0.61, "buybackQueuedUsd": { "change": 0.045, "end": 1.2 } },
  "paid": {
    "label": "Paid: credits that were bought and then consumed. …",
    "revenueUsd": 0.22, "creditsConsumedUsd": 0.25, "requests": 1100,
    "split": { "nodeUsd": 0.2125, "protocolUsd": 0.033, "buybackQueuedUsd": 0.0165, "upstreamUsd": 0 },
    "ledger": { "revenueTotalUsd": { "change": 0.22, "end": 3.1 }, "nodePayableUsd": { "change": 0.05, "end": 0.9 } },
    "source": { "revenue": "credits.consumed events", "nodeUsd": "job events (credits-billed work served by nodes)", "ledger": "statsView().treasury.paid" }
  },
  "nodePayables": { "label": "Paid: …", "accruedUsd": 0.2125, "paidUsd": 0.16, "outstandingUsd": 0.9 },
  "buyback": { "paidQueuedUsd": { "change": 0.0165, "end": 0.24 }, "meteredQueuedUsd": { "change": 0.045, "end": 1.2 }, "idylQueuedForBurn": { "change": 0, "end": 1500 }, "labels": { "…": "…" } },
  "burns": { "count": 1, "totalIdyl": 125000.5, "items": [ { "tx": "<signature>", "amountIdyl": 125000.5, "at": "…", "recordedAt": "…", "solscanUrl": "https://solscan.io/tx/<signature>" } ] },
  "floor": { "checks": 18600, "pass": 18390, "prefilterOnly": 180, "blocked": 21, "care": 9, "unavailable": 0, "prefilterBlocks": 2, "byCategory": { "S3": 4, "S4": 2, "S9": 15, "S11": 9 } },
  "sealed": { "paidRequests": 1100, "sealedPaidRequests": 140, "shareOfPaidRequests": 0.1273, "sealedPaidRevenueUsd": 0.06, "sealedNodesOnlineMax": 2, "attestations": 9 },
  "points": { "issued": 3120.5, "total": 48210.5 },
  "guests": { "requests": 320, "tokens": 96000, "sessionsIssued": 58, "activeSessionsMax": 41 },
  "deposits": { "label": "Credits bought. …", "count": 12, "usd": 85, "byAsset": { "USDC": 60, "SOL": 25 } },
  "creditPool": { "distributions": 1, "usd": 0.4, "stakers": 6 },
  "notes": ["…"],
  "generatedAt": "…"
}

null means the source was not reporting, for example a ledger figure when the payments plugin is not enabled. A figure given as { "change", "end" } is the change during the week and the value at its end.

Where each number comes from#

Nothing in this plugin imports another plugin. Every other plugin may be absent; its figures are then null or zero.

NumberSource
Requests, succeeded, failed, tokens, requests by billingjob.completed, job.failed, job.partial (chat and provider-served jobs; guard and internal jobs are not counted)
Metered spendThe costUsd of those jobs: every request at target rates, times its price multiplier
Paid revenue, paid requests, Sealed sharecredits.consumed. When the event says which part was bought (cashUsd), only that part is revenue; creditsConsumedUsd is the whole amount, including promotional and pool credits
Node share of paid workThe nodeUsd of credits-billed jobs served by nodes
Protocol share, buyback queue, provider cost, node payables paid and outstanding, $IDYL queued for burnThe change of each cumulative number under statsView().treasury.paid between readings. Rolling 24-hour figures are skipped
Metered buyback queueThe change of statsView().treasury.buybackQueuedUsd
Nodes online (average, maximum), sealed nodes, active guest sessionsstatsView() sampled every IDYL_REPORTS_SAMPLE_MS
Guest requests and tokens; guest sessions issuedjob.completed with guest billing; the change of statsView().guest.tokensIssuedTotal
Points issuedThe change of service('points').totals().points. Forfeits can make a week negative
Floor countsThe core's hourly Floor counts (ctx.floor), complete hours plus the running hour. Counts only, never text
Depositspayment.received
Credit poolpool.distributed
Attestationsnode.attested
BurnsPOST /admin/burns

Readings are differences between two looks at a running total. The first reading of a number is a baseline, not that week's work. While the gateway is down nothing is read; what accumulated in the meantime is counted in the week of the next reading.

POST /admin/burns#

Records a buyback burn that happened on-chain. Requires IDYL_ADMIN_TOKEN (Authorization: Bearer <token> or x-idyl-admin), compared in constant time; 404 when no token is configured.

Shell
curl -s -X POST https://idylnetwork.com/admin/burns \
  -H "Authorization: Bearer $IDYL_ADMIN_TOKEN" -H 'content-type: application/json' \
  -d '{ "tx": "<base58 transaction signature>", "amountIdyl": 125000.5, "at": "2026-11-20T14:05:00Z" }'
FieldRule
txThe burn transaction's signature (base58, 64 bytes)
amountIdylA number above 0, at most 1,000,000,000
atWhen the transaction landed: an ISO time or epoch milliseconds, not in the future. Default: now

Answer: { "ok": true, "created": true, "burn": { tx, amountIdyl, at, recordedAt, solscanUrl }, "burnedTotalIdyl": … }.

  • Idempotent per transaction. Sending the same tx with the same amount again answers "created": false with the stored record. The same tx with a different amount answers 409 burn_conflict; nothing is overwritten.
  • The burn appears in the report of the week in which it landed (at), with its Solscan link. IDYL_SOLANA_CLUSTER=devnet or testnet adds ?cluster=… to the link.
  • GET /api/stats.json then shows treasury.burnedTotalIdyl as the sum of the recorded burns, with burnsRecorded and lastBurn.
  • The gateway records what the operator states. It does not read the chain: the link is there so anyone can check.

Operator notes#

VariableDefaultMeaning
IDYL_REPORTS_SAMPLE_MS300000How often nodes online and the running totals are read
IDYL_SOLANA_CLUSTERunset (mainnet)devnet or testnet for Solscan links

The plugin:reports section of the state file holds the weekly totals (52 weeks), the last readings of each running total, and the recorded burns. Aggregates only: no wallet, node or request is stored by this plugin.