{"uid":"cap_AMaU7Onz_bBriiqbXrPpd","slug":"gedx402-phi-2-llm-chat-4cfc26be","name":"GEDX402 Phi-2 LLM Chat","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/llm/phi-2","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"model":"@cf/microsoft/phi-2","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.016","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.016/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1DKO5qFZ7B1A6B_JiyaM7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.016","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs inference on Microsoft Phi-2 via Cloudflare Workers AI, billed per-call in USDC with no API key required","exampleAgentPrompt":"Ask Phi-2 to explain the difference between supervised and unsupervised learning in 3 sentences — use up to 200 tokens and pay with USDC.","exampleUseCases":null,"resultDescription":"A JSON object containing the model name '@cf/microsoft/phi-2' and the generated assistant reply string, e.g. {\"model\":\"@cf/microsoft/phi-2\",\"response\":\"...\"}","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required returned","Invalid message array structure or missing role/content fields — 400 Bad Request","max_tokens exceeds 4096 — validation error","Model unavailable on Cloudflare Workers AI infrastructure — 503 or 500 error","Network timeout if Workers AI inference takes too long"],"whenToPreferThis":"Choose this endpoint when you need lightweight text generation from Microsoft Phi-2 without registering for any API key, and you can pay $0.016 USDC per call via x402 on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents operating in crypto-native environments needing on-demand, pay-as-you-go LLM inference with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:35.713Z","isFirstParty":false}