# IDYL > IDYL ($IDYL) is an OpenAI-compatible inference network for three audiences. Use it: IDYL Chat, browser chat with no account (guest or wallet sign-in) and local history. Build with it: the IDYL API, one key for open-weight models, plus an MCP server. Earn from it: IDYL Desktop, a macOS/Windows/Linux app that lets an idle computer serve the network; power users run the IDYL Node CLI beside Ollama, vLLM or llama.cpp. Every request is served at one of three privacy grades and passes The Floor, a Llama Guard 3 safety layer. Prepaid credits are built (tested against local stand-ins, not yet against the real payment services); 85% of every credit-paid charge is owed to the serving node; there are no token emissions. Version 0.3.0. Status: everything is Beta (testnet); IDYL Sealed has NOT been validated on real confidential-computing hardware (simulated attestation only); IDYL Bond is UNAUDITED and has never run on devnet or mainnet (one internal review by an AI reviewer, not an audit, found and fixed one Medium and one Low issue; 31 unit tests; integration suite passes on a local validator; two accepted risks open until mainnet: repeated slashing within the per-call caps, and a single-step admin transfer); the $IDYL token does not exist yet and launches only after a published launch gate is met; IDYL Exchange, the BYOK Router and an OpenRouter listing are on the roadmap. Key facts for agents and developers: - API: OpenAI Chat Completions compatible. Base URL `/v1` (same origin as this site; local default `http://localhost:8787/v1`). Auth: `Authorization: Bearer idyl_sk_...` (wallet API key) or `Bearer idyl_gt_...` (guest token). Endpoints: `POST /v1/chat/completions` (`stream: true` via SSE, ends with `data: [DONE]`), `GET /v1/models` (items carry `idyl.tier`). Response headers: `x-idyl-privacy` (grade actually served), `x-idyl-node`, `x-idyl-job`, `x-idyl-floor` (`pass` | `prefilter-only` | `care` | `blocked`), `x-idyl-sealed-by` (Sealed relay: `node` or `provider:`), `x-idyl-attestation` (Sealed end-to-end only), `x-idyl-credits-remaining`, `x-idyl-pro`, `x-idyl-guest-remaining`. - Privacy grades (say exactly this). Community (`community`, default): Runs on an idle consumer machine. No accounts, no logs, history only in your browser. The serving node sees the prompt. Sealed · relay (`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. Sealed · end-to-end (`sealed-e2e`): Encrypted on your device to a key held inside an attested enclave. The gateway relays ciphertext only. Never describe Community as confidential or private from the node; never describe Sealed relay as end-to-end. - Requesting Sealed: relay = header `x-idyl-privacy: sealed` (or body `"idyl": {"privacy": "sealed"}`) on `POST /v1/chat/completions`; any other value → `400 invalid_privacy`. End-to-end = `GET /api/sealed/keys?model=`, then `POST /v1/sealed/chat/completions {model, stream, sealed: {v:1, keyId, epk, iv, ct}}` (IDYL Sealed Channel v1: ECDH P-256, HKDF-SHA256, AES-256-GCM; client module `assets/sealed-client.js`). Sealed is never served as Community: `503 sealed_unavailable` (relay) or `409 sealed_key_unavailable` (end-to-end). Sealed is never free: 1.3× the model's rate, credits only. Sealed hardware: datacenter GPUs in confidential mode (NVIDIA H100/H200/B200 class on Intel TDX or AMD SEV-SNP); consumer GPUs cannot do confidential computing. - Sealed honesty: not validated on real confidential hardware. Verification levels: `measured` (software matches a published image; none is published yet), `hardware` (hardware genuine, software inside the enclave NOT proven), `simulated` (development only; grades then end in `-simulated`). Attestation records: `GET /api/attestations/` (`?evidence=1` for vendor tokens); independent check: `npm run verify:attestation -- `. The browser client checks the attestation binding (`checkBinding`), not the vendors' signatures; the gateway verified those, and anyone can re-verify them with the command above. Without that step end-to-end protects against a curious or breached gateway, not one that substitutes keys (the gateway lists the keys). In the web app the encrypting JavaScript is served by the same gateway; running the open-source client yourself removes that trust. `hardware` proves genuine hardware, not the software image; `measured` needs published reproducible node images (not published yet); the GPU token and the CPU token share only the nonce binding. `GET /api/sealed/stats` shows how a gateway is configured (`allowSimulated`, issuers, counts). An attestation lasts until the earliest vendor token expires, never more than 24 h (an operator may set a fixed lifetime with `IDYL_SEALED_ATTESTATION_TTL_SEC`, 60–86,400 s; records then say `expiryPolicy: fixed`). - What the gateway sees in every grade, end-to-end included: 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 ids. End-to-end hides content only. Limits of version 1 of the Sealed Channel: no tool calls in end-to-end; no enclave-side forward secrecy beyond a per-boot key; not post-quantum; no Floor check of model output; coarse padding, timing not hidden. Do not describe any grade as needing no trust, as mathematically proven, or as invisible to the gateway. - API keys are issued to a Solana wallet: `GET /api/nonce?wallet=` returns a message; sign it (ed25519, base58) and `POST /api/keys {wallet, signature}`. One active key per wallet. - Guest access (no wallet): `GET /api/guest/challenge` → `{challenge, difficulty}`; find `counter` so that `sha256(":")` has `difficulty` (default 18) leading zero bits; `POST /api/guest {challenge, counter}` → `{guestToken: "idyl_gt_..."}`. Limits: 10 requests per token per UTC day, token valid 24 h, Open models needing ≤ 12 GB, Community only, prompt ≤ 4,000 characters, `max_tokens` ≤ 512, 3 tokens per IP per day (`429 guest_ip_limit`). `GET /api/guest` with the token returns what is left; every guest reply carries `x-idyl-guest-remaining`. - Admission order (what pays for a request): guest allowance → Pro allowance → credits → free tier. Errors: for a wallet that has never held credits, `402 credits_required` (the free tier does not cover that kind of request) or `429 insufficient_quota` (daily allowance used up); for a wallet whose credits have run out, `402 insufficient_credits` in both cases (`idyl.credits.reason` = `sealed` | `not_in_free_tier` | `allowance_used`); for guests, `402 guest_limit` or `403 guest_model_not_allowed`. A Pro allowance never pays for Sealed. - Free tier: 200,000 tokens per API key per UTC day, Community only. It covers every Open model and Unbound models needing ≤ 12 GB; larger Unbound models and all Sealed requests need credits (or, for Unbound, a Pro allowance). Rate limits: 120 requests/min per key, 300/min per IP. - Credits: prepaid USD balance per wallet. `GET /api/credits`. Top up $1–$1,000 per payment ($2,000 per wallet per day) via Solana Pay (`POST /api/pay/solana/intent {amountUsd, asset: USDC|SOL|IDYL}` then `POST /api/pay/solana/confirm {intentId, signature?}`) or card (`POST /api/pay/stripe/checkout`). `GET /api/pay/methods` lists what a gateway has enabled; unconfigured methods return `503 payments_unavailable`. Pay with $IDYL: 10% off (credit = amount ÷ 0.9). The tokens are not sold: as the credits are spent on node-served work, 85/90 of the tokens behind them are owed to the serving node in $IDYL and 5/90 are queued for burning (provider-served Sealed work releases them to the treasury instead). Disabled until the token exists. SOL and $IDYL need a price source configured by the operator. Purchased credits do not expire; pool credits expire after 30 days. Credits cannot be transferred or withdrawn; no automated refund and no published refund policy. - Metered vs paid: metered figures value all usage at target rates (including free-tier, Pro-allowance and guest usage); paid figures count only credit-paid work. Only credit-paid work creates an amount owed to a node, and every such amount is funded by something that arrived. Cash-funded work (credits bought with USDC, SOL or card): node 85% in USD, 7.5% buyback queue, 7.5% treasury; only this is paid revenue. $IDYL-funded work: node paid in $IDYL (85/90 of the tokens behind the charge), 5/90 burned, no cash. Grant-funded work (pool and promotional credits): node 85% in USD, charged to the treasury; `treasuryNetUsd` and `solvent` are public. Real-money ledger: `treasury.paid` in `/api/stats.json`; per node `payable {accruedUsd, paidUsd, accruedIdyl, paidIdyl}` and `GET /api/payouts/`. Payouts are a manual operator batch per asset (≥ $1 accrued in USD, or ≥ 1 IDYL accrued, and a payout address); no payout has been made yet. - Model tiers: `open` (original behaviour, including built-in refusals), `unbound` (abliterated: built-in refusal behavior removed; adults only, opt-in), `floor` (the guard model `llama-guard3:1b`; not selectable). Any tag containing `abliterat` or `uncensored` is `unbound`; any containing `llama-guard` is `floor` (chat requests for it return `400 model_not_selectable`). Full catalog: `GET /api/catalog`. - Unbound access: `GET /api/nonce?wallet=&purpose=unbound` returns exactly `IDYL Unbound access\nwallet: \nI am 18 or older and I accept the IDYL Floor policy.\nnonce: `; sign it and `POST /api/attest {wallet, signature, nonce}` → `{wallet, unbound: true}`. Without it, Unbound models return `403 unbound_attestation_required`. Nodes serve Unbound only with `--unbound` (CLI) or the Desktop opt-in (default off). Unbound, not lawless. - The Floor: before a model sees a request, the latest user message plus system prompt is classified with Llama Guard 3 1B, after a local prefilter for unambiguous child-sexual-abuse terms. S3 sex-related crimes, S4 child sexual exploitation, S9 indiscriminate weapons → `451 floor_blocked`. S11 suicide and self-harm → a 200 care reply linking https://findahelpline.com, not forwarded (`idyl.floor = "care"`). Everything else is forwarded; Open models keep their own refusals. No guard capacity → Unbound `503 floor_unavailable` (fail-closed); Open proceeds as `prefilter-only`. Sealed relay requests are classified only by the operator's guard endpoint or a sealed node; Sealed end-to-end requests are classified inside the enclave. The Floor stores counts, never prompts: `GET /api/floor`. Limits: classifiers err both ways; prompts only, outputs not yet checked. - Target rates, beta (USD per 1M tokens, input/output, Community grade; Sealed = × 1.3). Open: llama3.1:8b 0.03/0.05 · qwen2.5:7b 0.03/0.05 · mistral:7b 0.03/0.05 · qwen3:8b 0.03/0.05 · deepseek-r1:8b 0.04/0.08 · qwen3:14b 0.05/0.10 · gemma3:12b 0.05/0.10 · gpt-oss:20b 0.06/0.20 · qwen2.5-coder:32b 0.10/0.25 · llama3.3:70b 0.20/0.40 · any other model 0.05/0.10. Unbound (Ollama publisher huihui_ai, about 1.5× comparable Open): llama3.2-abliterate:3b 0.03/0.05 · qwen3-abliterated:8b 0.05/0.08 · deepseek-r1-abliterated:8b 0.06/0.12 · gemma3-abliterated:12b 0.07/0.14 · qwen3-abliterated:14b 0.08/0.16 · gpt-oss-abliterated:20b 0.09/0.30 · mistral-small-abliterated:24b 0.10/0.30 · qwen3-abliterated:32b 0.15/0.38 · llama3.3-abliterated:70b 0.30/0.60. Guard jobs are metered to the serving node at $0.01 per 1M tokens (metered only). - Revenue split (every tier and grade, on the amount charged): 85% owed to the serving node, 15% to the protocol; of protocol revenue, 50% funds a weekly on-chain $IDYL buyback and burn and 50% the treasury. The protocol's 15% exists only on paid revenue (credits that were bought with USDC, SOL or card). - IDYL Pro: stake $IDYL in the IDYL Bond program (unaudited, not yet deployed; a testnet gateway can set Pro status by hand). Pro ≥ 5,000 staked → 1,000,000 tokens/day, all Unbound models, Sealed −10%. Pro+ ≥ 50,000 → 5,000,000 tokens/day, Sealed −20%. Stake is never slashed; 7-day unstake cooldown. `GET /api/pro`. Weekly credit pool: 5% of the previous ISO week's paid revenue (cash-bought credits consumed on node-served work; share refused above 7.5%, 0 disables it), shared pro rata among all positions staked ≥ 7 days, as usage credits that expire in 30 days. It is a usage rebate capped by revenue: never yield, never quoted per token. - Season 0 (Idle Points; 42 days; public testnet): points follow verified capacity. Capacity checks: every 30 minutes one simultaneous benchmark job per node, timed by the gateway (tps = output chars ÷ 4 per second). Availability, every 10 minutes: (10/60) × sizeFactor × capacityFactor × reliability × sealedFactor; sizeFactor by model memory (≤ 8 GB 1.0, ≤ 16 GB 1.5, ≤ 24 GB 2.0, > 24 GB 3.0); capacityFactor = clamp(tps/20, 0.1, 1); sealedFactor 2 for sealed nodes. Paid work counts only funded spend (credits bought with USDC, SOL, card or $IDYL; granted pool and promo credits earn nothing): node 1 point per $0.001 owed on such jobs (× 2 sealed), capped at 3 × the day's availability points; user 1 point per $0.01 of bought credits consumed, capped at 100/day. Referral: 10% bonus for 90 days, capped at 1,000 points per referrer. Free-tier, Pro-allowance and guest traffic earn nothing. One earning node per hardware fingerprint; 3 earning nodes per IP per day; each slash point forfeits 1%. Vesting recorded: 25% at token launch, 75% linear over 90 days. No reward amount exists and none is promised; points are not tokens. `GET /api/points/season`, `/api/points/leaderboard?kind=nodes|users`, `/api/points/`. - Transparency: `GET /api/transparency` (what is stored and never stored, retention, canary, legal requests; unset values are `not_published`), `GET /api/reports`, `GET /api/reports/weekly?week=YYYY-Www`. - Routing: score = reliability² × 1 / (1 + p50LatencyMs / 1000) × multiplier; multiplier = 1 + min(0.5 · log10(1 + bond / 10000), 1.0), capped at 2.00×; reliability is an EWMA (α = 0.1, starts at 0.9); power-of-two-choices selection; up to 2 retries; 15 s first-token and 60 s job deadlines. One identity is not routed to the same node twice within 10 minutes whenever another node can take the request. - Slashing: missed deadline 0.1% of bond, canary mismatch 1%, proven tampering 100%; slashed tokens are burned. Testnet records slash points off-chain. Mainnet minimum bond 10,000 IDYL; 7-day unbond cooldown. - Launch gate (targets, not data; none met): ≥ 100 nodes online daily; ≥ 1,000 weekly Chat users; ≥ 50M tokens served in the prior week; paid revenue every day of that week; Sealed live with attestation; zero open critical security issues; counsel sign-off on the token design. - IDYL Desktop downloads: https://github.com/thetradeexpert444/idyl/releases/latest/download/ + `IDYL-mac-arm64.dmg`, `IDYL-mac-x64.dmg`, `IDYL-win-x64.exe`, `IDYL-linux-x86_64.AppImage`, `IDYL-linux-amd64.deb`. No release has been published yet. Verified so far: Linux AppImage built and run; Linux .deb built, unpacked and started but not installed with apt; Windows installer built but never run on Windows; macOS .zip bundles built on Linux and never run on a Mac; macOS .dmg not built; nothing signed (Gatekeeper / SmartScreen warnings); macOS auto-update needs a signed build. Modes: when idle (default, after 3 minutes without input), always on, schedule; pauses on battery by default; node key stored with Electron safeStorage; never logs prompts. Sends a hardware fingerprint for Season 0 (opt-out in Settings; no fingerprint, no points). - Node CLI flags: `--gateway`, `--backend`, `--payout`, `--unbound`, `--serve-floor`, `--referrer `, `--no-fingerprint`, `--no-hardware`, `--sealed --attestation-cmd ""`, `--idle-only`. A node refuses any job for a model it does not advertise (Unbound only with `--unbound`, the guard model only with `--serve-floor`), whatever a gateway asks. - Self-hosting: one state file, `state.json` in `IDYL_DATA_DIR`, written with fsync and an atomic rename, previous copy kept as `state.json.bak`; it holds balances and payables, so use a persistent disk and back it up. Behind a proxy set `IDYL_TRUST_PROXY` to the number of trusted proxy hops (the entry that many from the right of `X-Forwarded-For` is used; client-supplied entries are ignored) or to the edge's header name, e.g. `cf-connecting-ip`; check with `GET /admin/ip`. Local dev: `npm run dev` (full stack: every plugin, four mock nodes incl. a SIMULATED sealed node, a dev API key) or `npm run dev -- --minimal` (keyless, no plugins). - MCP server: `packages/mcp-server` (zero dependencies, stdio). Tools: `idyl_chat` (`privacy: community|sealed`, sealed = relay) and `idyl_models`. - What a node receives: the model, the messages, the sampling parameters and the deadlines. Never the wallet, API key, guest id, IP address or payment information. The gateway never stores prompts, replies or IP addresses. - IDYL never pools, shares or resells consumer AI subscriptions and never asks for third-party account credentials. - $IDYL: Solana SPL token, fair launch on pump.fun after the launch gate, 1,000,000,000 fixed supply, no presale, no VC or team allocation; any dev buy disclosed and locked on Streamflow (6-month vest). Jobs: node bond, stake for Pro, the credit pool, Pay in $IDYL (burn queue), buyback and burn. The gateway is a central party today; US SEC staff guidance on token buybacks (September 2026, as revised) is limited to functional systems with no central party and is not relied on. Contract address: announced at launch. $IDYL is a utility token with no promise of profit. Not financial advice. Memecoins are extremely volatile. ## Docs - [Whitepaper v0.3](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/WHITEPAPER.md): design, routing and slashing formulas, verification limits, privacy grades and the Sealed Channel, payments, Pro, Season 0, economics, the token and its regulatory context, risks, the launch gate, catalog - [Pricing](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/PRICING.md): plans, target rates with a Sealed column, billing order, a worked example - [Privacy](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/PRIVACY.md): who can read a request at each grade, what is stored and never stored, the fingerprint - [Trust checklist](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/TRUST.md): every commitment with an honest status - [Season 0](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/SEASON0.md): Idle Points rules, what does not earn points, flags, vesting - [IDYL Pro](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/PRO.md): stake for Pro and the credit pool - [IDYL Chat](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/CHAT.md): guest mode, privacy switch, attestation viewer, credits, encrypted history - [IDYL Desktop](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/DESKTOP.md): downloads, installers and what was verified, setup, Season 0, updates, payouts - [Unbound policy](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/UNBOUND.md): the IDYL Floor policy, attestation, policy table, Acceptable Use Policy, operator obligations, reporting abuse - [API reference](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/API.md): every endpoint grouped by who may call it, headers, errors, node protocol, configuration - [Run a node](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/NODE.md): hardware, CLI flags, Season 0, sealed mode, payouts, operator obligations - [Tokenomics](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/TOKENOMICS.md): supply, the five jobs, metered and paid, flows, payouts, buyback and burn - [Architecture](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/ARCHITECTURE.md): components, plugins, request pipeline, the Sealed invariants, data model, trust boundaries - [Sealed protocol](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/SEALED-PROTOCOL.md): the ISC1 specification and threat model - [Self-hosting](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/SELF-HOST.md): Docker Compose, Render, sealed nodes, every environment variable, backups, a security checklist - [OpenRouter plan](https://raw.githubusercontent.com/thetradeexpert444/idyl/main/docs/OPENROUTER.md): what a provider listing would require; not a partnership, nobody has been contacted - [Docs reader](/docs.html): all of the above, rendered ## Live data - [Ledger stats](/api/stats.json): nodes online (incl. Unbound-serving and sealed), capacity, throughput, requests, tokens, latency, success rate, models with target rates, treasury (metered) and `treasury.paid` (paid) - [Leaderboard](/api/leaderboard): per-node tokens served, success rate, latency, bond, tiers, status - [Catalog](/api/catalog): every model with tier, approx. memory, target rates and nodes online - [The Floor](/api/floor): policy, guard capacity, 24-hour check and block counts - [Transparency](/api/transparency): what is stored, never stored, retention, canary, legal requests - [Weekly reports](/api/reports): index of weekly reports - [Season 0](/api/points/season): rules as data, dates, totals - [IDYL Pro](/api/pro): thresholds and the last credit pool - [Payment methods](/api/pay/methods): what this gateway accepts - [Sealed stats](/api/sealed/stats): sealed nodes by verification level, issuers trusted, whether simulated attestation is accepted - [Models](/v1/models): models currently served by online nodes - [Health](/health): gateway liveness and version ## Optional - [Source code (MIT)](https://github.com/thetradeexpert444/idyl) - [App](/app.html): IDYL Chat, playground, API keys, credits, Pro, points, Earn, Ledger - [Pricing](/pricing.html) · [Trust](/trust.html) · [Download IDYL Desktop](/download.html) - Site: https://idylnetwork.com · App: https://app.idylnetwork.com · X: https://x.com/IDYLapp - Placeholder not yet claimed: t.me/idylnetwork