{"uid":"cap_TNDJQBjN2tbqRSC0dM0_Q","slug":"gedx402-micro-chat-ibm-granite-4-0-606afa6b","name":"GEDX402 Micro Chat (IBM Granite 4.0)","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://ged-x402-chat.jvalamis.workers.dev/v1/chat/micro","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"model":"@cf/ibm-granite/granite-4.0-h-micro","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0035","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0035/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0035","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0035","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BLgP_6x-PqVYRdtSf2F2f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0035","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send a chat conversation to IBM Granite 4.0 Micro via Cloudflare Workers AI and receive a text reply, paying per-call with USDC on multiple chains — no API key required.","exampleAgentPrompt":"Ask IBM Granite 4.0 Micro via the x402 workers endpoint: 'What are three practical tips for improving sleep quality?' — use up to 256 tokens for the reply and pay with USDC on Base.","exampleUseCases":null,"resultDescription":"A JSON object containing the model identifier ('model': '@cf/ibm-granite/granite-4.0-h-micro') and the assistant's generated text reply ('response': '...'). No streaming; the full reply is returned in one response after the micropayment is settled.","failureModes":["Payment not included or insufficient USDC — returns HTTP 402 Payment Required","Invalid message format (missing 'role' or 'content') — returns a validation error","max_tokens out of range (must be 1–4096) — returns a 400 error","Network or Workers runtime failure — returns 5xx error","Unsupported payment chain — payment rejected, 402 returned"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, permissionless LLM inference call without API key registration, especially in agentic workflows that already handle x402 USDC micropayments. It is ideal for short chat completions where the IBM Granite 4.0 Micro model's efficiency is sufficient and you want to pay per-call rather than subscribe. Prefer alternatives if you need streaming, very large context, or a specific non-Granite model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:30:42.530Z","isFirstParty":false}