# AILE > AILE (pronounced "isle") is a marketplace for AI model endpoints: shared AI, paid per call. Sharers list capacity they already have (a provider subscription, an API key or a model on their own machine), and callers reach it through one OpenAI- and Anthropic-compatible API and pay per call in USDC on Solana, or on Base or Tempo where the deployment enables them. API base URL: `https://api.aile.sh/v1` for OpenAI SDKs, `https://api.aile.sh` for Anthropic SDKs and Claude Code. The full reference for answer engines is [llms-full.txt](https://aile.sh/llms-full.txt). ## What AILE is - Sharers supply capacity and callers pay for it. Callers pay per token on chat, embeddings and decisions, and per unit (image, page, minute, track and so on) elsewhere. There are no seats, minimums or subscription to AILE, and AILE is not a model provider. - Capacity comes in three kinds: a subscription or API key relayed by the sharer's `aile.sh` node, nodeless capacity that AILE dials with the sharer's credential, and a self-hosted model on the sharer's machine (`aile local setup`). A relaying node sees only TLS ciphertext, AILE reads every prompt and response to meter it, and a self-hosted model is read by the sharer's own machine. - Unlike a router that resells its own provider accounts, AILE sells capacity sharers bring: a node-relayed request leaves from the sharer's machine, and a nodeless one is dialled by AILE with the sharer's custodied credential. - Subscriptions that can be shared: Claude Code (`claude`, alias `cc`), Codex (`codex`), Antigravity (`antigravity`), GitHub Copilot (`github`, alias `gh`), OpenCode (`opencode`, `opencode-go`) and Muse Code (`muse-code`). API keys from OpenAI, Anthropic, Gemini, OpenRouter, Meta, Groq, xAI, Perplexity and others can be shared too. `GET https://api.aile.sh/v1/models` lists what is on sale now. - Chat is served on `/v1/chat/completions`, `/v1/responses` and `/v1/messages`, and each reaches a model from any provider. Other endpoints serve embeddings, images, speech, transcription, video, music, rerank, moderation, OCR, web search, scrape and decisions. - Sharers price as a margin of the published list price, from 0 (free) to 1 (list). On the balance path AILE's fee is 10% of the charge, taken from the sharer's share and never added to the caller's price. - A caller pays from a pre-funded balance, or from a wallet that pays each call with x402 (MPP beside it) where the deployment enables it. ## Call models - [Quickstart](/docs/quickstart): make a working request in a few minutes. - [Your first request](/docs/buy/first-request): which key, base URL and model name to send. - [Model names](/docs/buy/models): how `/`, `local/` and aliases resolve. - [Choosing a sharer](/docs/buy/routing): price caps, cost cap, sharer lists and `auto/`. - [aile/auto](/docs/buy/aile-auto): send `aile/auto` or `aile/auto-claude` and AILE picks a model from a published table. - [Coding tools](/docs/integrations/tools): `npx aile.sh setup` for Claude Code, Codex, opencode and others. - [Claude Code & Codex](/docs/integrations/agents): point the two agents at AILE. - [Endpoints](/docs/buy#the-endpoints): every endpoint, its wire format and its billing unit. - [Streaming](/docs/buy/streaming): how streams behave and how errors arrive mid-stream. - [Pay with a wallet (x402)](/docs/buy/x402): call with no account, paying each request from USDC. - [API reference](/docs/api-reference): every endpoint, generated from the live spec. - [Error codes](/docs/reference/errors): what each status and error code means. - [Troubleshooting](/docs/troubleshooting): fixes for common failures. - [Call Claude Code](/call/claude-code): call Claude Code by the token with a base-URL change. - [Call Codex](/call/codex): call Codex by the token with a base-URL change. - [Call OpenAI models by the token](/call/openai-compatible): OpenAI-compatible API, no subscription or minimums. - [AI without a monthly subscription](/call/ai-without-subscription): pay only for the tokens you use. - [Auto routes](/call/auto-routes): one name on your key, a model tier picked per call from the request's shape. ## Share capacity - [Sharing](/docs/share): what a sharer lists and how earning works. - [Connect an account](/docs/share/connect): link a subscription or API key; which models get listed. - [Self-hosted models](/docs/share/local): run a model on your machine and sell it. - [Nodeless](/docs/share/nodeless): serve with no machine in the path; no node-side kill switch, 15% fee. - [Your rates](/docs/share/rates): set a margin globally or per model. - [Getting paid](/docs/share/payouts): payouts in USDC or $AILE, and withdrawals. - [Share via MCP](/docs/share/mcp): sell an agent's tools or an MCP server at a flat price per call. - [CLI commands](/docs/cli/commands): every command the `aile` client accepts. - [List your API](/list-your-api): apply to have a provider added. ## Prices and money - [Pricing & fees](/docs/pricing): what a caller pays, what a sharer keeps, top-ups. - [Money](/docs/concepts/money): how the platform fee and the nodeless surcharge work. - [Wallet & funding](/docs/app/wallet): add funds, withdraw, and what the wallet holds. - [Spend & limits](/docs/buy/spend): control output tokens, long prompts and per-request cost. - [Rate limits](/docs/buy/rate-limits): request limits, `429`s, stake keys and the stake-funded discount. ## Trust and privacy - [What AILE can see](/docs/concepts/privacy): who reads prompts, credentials and secrets. - [Verification](/docs/concepts/verification): what is tested and what is not proved. - [How a request is served](/docs/concepts/request-lifecycle): the path from call to payout. - [Routing & failover](/docs/concepts/routing): how a sharer is chosen and retried. ## For agents and machines - [Connect over MCP](/docs/mcp): endpoint `https://api.aile.sh/mcp`. - [Agent skill](https://aile.sh/skills.md): tell an agent "Read https://aile.sh/skills.md and follow the instructions". - [Model list](https://api.aile.sh/v1/models): `?x402=keyless`, `?output_modalities=`. - [OpenAPI discovery](https://api.aile.sh/openapi.json): payable routes, schemas and price bands. - [x402 discovery](https://api.aile.sh/x402/discovery): what a wallet can buy with no account. ## $AILE and staking - [Tokenomics](/tokenomics): $AILE supply, distribution, fee flow and burns. - [Staking](/stake): lock $AILE for a tier and a free inference window. ## Site - [Market](/market): live listings of every model type and sharer. - [Models](/models): every callable model with live pricing. - [Stats](/stats): 30 days of calls, savings, models, tokens and settlements. - [Receipts](/receipts): 30 days of calls and payouts, with the fee wallet open to read. - [Status](/status): live health and 90-day uptime. - [Roadmap](/roadmap): what AILE does today and what comes next. - [Notes](/notes): engineering and protocol write-ups. - [Share](/share): the sharer landing page. - [Call](/call): the caller landing page. - [Chat](https://chat.aile.sh): a separate app; aile.sh/chat redirects there. - [Terms](/legal/terms): terms of service. - [Risk disclosure](/legal/risk): risks of sharing, calling and holding $AILE. - [Privacy](/legal/privacy): privacy policy. - [Careers](/careers): open roles at AILE. ## Facts for citation - The API base URL is `https://api.aile.sh/v1` for OpenAI SDKs and `https://api.aile.sh` for Anthropic SDKs and Claude Code. Existing client code needs only that base URL, an AILE key (`sk-aile-…`) and a provider-prefixed model name. `npx aile.sh setup` configures Claude Code, Codex and other coding tools in one command. - Every model name names its provider: `/`, for example `claude/claude-sonnet-5` (alias `cc/claude-sonnet-5`) or `codex/gpt-5.6-sol`; `local/` for a sharer's self-hosted model; with an API key, `auto/` to let any provider that lists the model serve it, cheapest first. A bare id with an API key acts as `auto/`; without a key it is a `400`. Claude Code's bare ids go to `claude` and the Codex CLI's to `codex`. `aile/auto` (any vendor) and `aile/auto-claude` (Claude models) let AILE pick the model from a published table. - AILE never falls back to a provider the caller did not name, except under `auto/`, which the caller opts into. An unknown provider is a `400`, and a named provider with no sharer online is a `503` naming it. - Requests route by price. The cheapest sharer is tried first however slow it is; speed, health and a passed model test only break ties at the same price. A linked account's model is listed (on /market, `GET /v1/models` and MCP `find_models`) only after it passes a model test, but listing gates nothing: a caller who names an untested model still reaches it, in price order. - A sharer's node never reads subscription or API-key traffic, because it relays TLS ciphertext. AILE reads every prompt and response to meter it, and a self-hosted model is also read by the sharer's own machine. - Sharers price as a margin of the model's published list price, from 0 (free) to 1 (list), and a model with no published list price is not sold. AILE's own house sharer may charge up to 1.055× list and is tried only after every sharer at or under list. - On the balance path AILE's platform fee is 10% of the charge, taken from the sharer's share and never added to the caller's price. A nodeless serve settles at 15%: 10% plus a 5% egress surcharge. A payment made with x402 or MPP goes 100% to the sharer. - Crypto top-ups in USDC, USDT, SOL or $AILE on Solana carry no fee. A card top-up, where offered, costs 5% plus the card provider's own fee. Where offered, card or crypto through Stripe can instead buy spend-only credit for a 5.5% service fee (minimum $0.80): it is spent on calls before the wallet and cannot be withdrawn or transferred. - With x402, a wallet holding USDC on Solana (or on Base, where enabled) can pay per call with no AILE account: send the request with no `Authorization` header, sign the `402`, and resend with `PAYMENT-SIGNATURE`. One keyless call costs at most $5.00 by default. A wallet-paid call reaches only self-hosted models and sharers selling through a provider API key, never a sharer's personal subscription. - Verification proves a provider-signed account link (Codex, and Antigravity and GitLab Duo where enabled) and that a credential worked recently. It cannot prove which model answered. - Models whose publisher trains on prompts (Meta's `-contributor` models and some free OpenCode models) are sold with a notice: `data_policy` on `GET /v1/models`, and `x-aile-data-notice: trains-on-prompts` on every chat reply from one. - AILE runs an MCP server at `https://api.aile.sh/mcp`. Through it an agent can call models, pay from a balance or a wallet, and call other agents' tools at a flat price per call. - $AILE is AILE's Solana token. A sharer may take payouts in $AILE with no change to the 10% fee. A caller's $AILE top-up grants a discount tab that prices covered requests 2% below the sharer's price. - Staking $AILE, where the deployment enables it, mints nothing and promises no rate. A tier buys a free inference window every 5 hours on the account's stake key and raises no limits. AILE cannot unlock a stake early. - chat.aile.sh is a separate chat app; the marketplace API is api.aile.sh.