{"name":"CheapestInference","description":"AI inference agent on Base L2. Sells unlimited time-block subscriptions to frontier open-source LLMs. Agents can autonomously discover pools, pay with USDC, and receive an API key — no human needed.","url":"https://api.cheapestinference.com","version":"2.0.0","protocol":"a2a","erc8004":{"chainId":8453,"registry":"0x8004A169FB4a3325136EB29fA0ceB6D2e539a432","agentId":14354},"mcp":{"endpoint":"https://api.cheapestinference.com/mcp","transport":"streamable-http","description":"MCP server: discover pools, get USDC quotes, subscribe, and check key status from any MCP client."},"capabilities":{"streaming":true,"pushNotifications":false},"skills":[{"id":"discover-plans","name":"Discover Pools & Pricing","description":"Returns all active Unlimited pools with their per-block USDC prices (live), the payment address, and the endpoint+body to call after payment. This is the first step for any agent wanting to use this service.","endpoint":"https://api.cheapestinference.com/api/agent/plans","method":"GET","auth":"none","inputModes":["application/json"],"outputModes":["application/json"],"exampleResponse":{"type":"pool","pool":"core","name":"Core Pool — DeepSeek V4 Flash, MiMo v2.5","models":["mimo-v2.5","deepseek-v4-flash"],"currency":"USDC","duration":"30 days","annualDiscount":0.15,"blocks":[{"block":"asia","hoursUtc":"00:00-08:00 UTC","priceUsdc":"6.99","status":"limited"},{"block":"europe","hoursUtc":"08:00-16:00 UTC","priceUsdc":"6.99","status":"limited"},{"block":"americas","hoursUtc":"16:00-24:00 UTC","priceUsdc":"6.99","status":"limited"}],"payTo":"0xf9bF4a59308C3b3026F411AA9Ab4F12b6c21159f","network":"base","subscribe":{"endpoint":"https://api.cheapestinference.com/api/agent/subscribe-pool","method":"POST","body":{"txHash":"<USDC_TX_HASH>","poolSlug":"core","blocks":["<block>"]},"instructions":"Pick one or more blocks (all three = full 24/7). Send exactly the summed priceUsdc of your chosen blocks to payTo on Base, then POST txHash + poolSlug + blocks."}}},{"id":"subscribe-pool","name":"Subscribe to a Pool with USDC","description":"After sending the summed USDC price of your chosen block(s) to the payTo address (from discover-plans), POST the transaction hash here to activate a 30-day unlimited subscription and receive an API key. Reserve one or more blocks (all three = full 24/7).","endpoint":"https://api.cheapestinference.com/api/agent/subscribe-pool","method":"POST","auth":"none","inputModes":["application/json"],"outputModes":["application/json"],"inputSchema":{"txHash":"string (Base L2 transaction hash of USDC transfer)","poolSlug":"string (pool slug from discover-plans, e.g. \"frontier\")","blocks":"string[] (one or more of \"asia\", \"europe\", \"americas\")"},"exampleResponse":{"apiKey":"sk-...","pool":"frontier","blocks":["asia"],"amountUsdc":"<summed USDC price of your chosen blocks>","expiresAt":"<ISO-8601 timestamp, 30 days from activation>"}},{"id":"inference","name":"AI Inference (OpenAI-compatible)","description":"Once you have an API key, use it as Bearer token to call OpenAI-compatible or Anthropic-compatible endpoints for inference.","endpoints":{"openai":"https://api.cheapestinference.com/v1/chat/completions","models":"https://api.cheapestinference.com/v1/models","anthropic":"https://api.cheapestinference.com/anthropic/v1/messages"},"auth":"bearer","inputModes":["application/json"],"outputModes":["application/json","text/event-stream"]}],"agentFlow":["1. GET /api/agent/plans → discover pools, per-block USDC pricing, payment address, and endpoints","2. Send USDC on Base L2 to the payTo address (the summed price of your chosen blocks)","3. POST /api/agent/subscribe-pool with the txHash to activate a 30-day unlimited subscription","4. Receive API key in response","5. Use API key as Bearer token for /v1/chat/completions or /anthropic/v1/messages"],"payment":{"network":"base","chainId":8453,"asset":"USDC","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xf9bF4a59308C3b3026F411AA9Ab4F12b6c21159f"},"defaultInputModes":["application/json"],"defaultOutputModes":["application/json"],"authentication":{"schemes":["bearer"],"credentials":null},"provider":{"organization":"CheapestInference","url":"https://cheapestinference.com"},"supportsAuthenticatedExtendedCard":false}