{"uid":"cap_dkUftywd__et-pcj-6R3z","slug":"taifoon-coordination-layer-chat-inference-edge-5740723c","name":"Taifoon Coordination Layer – Chat Inference Edge","description":"One API over the coordination layer: the root that commits every chain, proofs that a transaction happened, what every route costs, the transfers, and the agent-hiring lifecycle. Most operations are public reads. Writes say who may make them in `security` (RelayerKey = X-API-Key, OperatorToken = x-operator-token) and in x-taifoon-auth.rule; nothing here signs or sends a transaction for you. A 2xx JSON object answered to a caller that sent no key also carries `get_key` (and the headers x-taifoon-get-key and Link rel=free-key): how to get a free key in one call; proofs, evidence packs, cards and this document are left as written. Lineage language: a sale walks offer in → classify → listed → hired → delivered → graded → settled → legs written → accrued → split → PAID → recorded; a venue adapter has offer.in · offer.out · job.in · job.out; the seller of record pays on by forward · share · period · markup; a leg is Owed → Reserved → Sent | Held | Refunded; a hop reads OK · HELD · MISSING · BROKEN. On the wire the hop ids are the event field step and the metric label stage; a wire name is never renamed.","url":"https://coord.taifoon.dev/v1/exchanges/edge_9a5d9a7b6edd16b7/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"args":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}},"maxItems":32},"max_tokens":{"type":"integer","maximum":512,"minimum":1}}},"task":{"type":"string","maxLength":4000,"minLength":1,"description":"the user message (or send args.messages)"},"class":{"type":"string","const":"inference.chat"}}},"responseSchema":{"type":"json","example":{"ok":true,"edge_id":"edge_9a5d9a7b6edd16b7","delivery":{"answer":{"text":"17 × 24 = 408","model":"openai/gpt-oss-120b","provider":"deepinfra"},"status":"ready","handshake_id":null,"reply_digest":"0x…"},"meter_line":{"paid":{"by":"x402","units":"195"},"edge_state":"quoted","agreement_basis":"house_unsigned"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.000236","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.000195/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000195","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000195","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-rLIgUZ0DhHkdxuaoO2ml","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.000195","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a chat inference task to a specific Taifoon edge node and returns a model-generated text answer, billed via x402 micropayment at $0.000195 USDC per call.","exampleAgentPrompt":"Using the Taifoon coordination edge, answer this question for me: what is 17 multiplied by 24? Use up to 100 tokens and bill me via x402.","exampleUseCases":[{"title":"Quick math answer via metered edge","prompt":"Ask the Taifoon coordination edge: what is the square root of 144? Keep the response under 50 tokens."},{"title":"Automated Q&A in agent pipeline","prompt":"I'm building an agent workflow — use the Taifoon inference edge to answer customer questions in real time, billing each call through x402. Start with this question: what are the business hours for a typical European bank?"},{"title":"LLM response with payment proof","prompt":"Run this through the Taifoon edge and give me back the answer plus proof of the payment leg: explain photosynthesis in two sentences, max 200 tokens."}],"resultDescription":"A JSON object containing: a boolean 'ok' flag, the edge_id that handled the request, a delivery block with the model's text answer, the model name (e.g. openai/gpt-oss-120b), the provider (e.g. deepinfra), a delivery status, and a reply_digest hash; plus a meter_line block showing how the call was paid (x402), the unit cost, and the agreement basis.","failureModes":["Missing or invalid x402 payment header returns a 402 with instructions on how to get a free key","Exceeding max_tokens (512) or sending more than 32 messages returns a 400 validation error","Sending neither 'task' nor 'args.messages' results in an incomplete request error","Edge node unavailable may return a non-2xx status or edge_state other than 'quoted'","Invalid class value (must be 'inference.chat') causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need to call a specific named Taifoon edge node for LLM chat inference with per-call x402 micropayment billing and want delivery proof (reply_digest) and a payment meter line in the response. It is distinct from generic OpenAI-compatible endpoints because it routes through Taifoon's coordination layer, records a payment leg, and returns audit-ready lineage metadata alongside the answer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T00:36:09.231Z","isFirstParty":false,"canonicalSlug":"taifoon-coordination-layer-chat-inference-edge-5740723c"}