{"uid":"cap_O-GNJPZCF09qcHTQ_Ovci","slug":"agent-kiosk-llm-chat-completions-gateway-7b23662c","name":"Agent Kiosk LLM Chat Completions Gateway","description":"OpenAI-compatible LLM Chat Completions Gateway ($0.002 USDC/call). Drop-in replacement for /v1/chat/completions — change base_url to https://agent-kiosk.vercel.app/v1 and pay per request in Base USDC via x402 with zero account or API key setup.","url":"https://agent-kiosk.vercel.app/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model identifier (e.g. gpt-4o-mini, openai, deepseek-chat)"},"prompt":{"type":"string","description":"Optional shorthand prompt string if messages array is omitted"},"messages":{"type":"array","description":"OpenAI-format messages array [{role: 'user', content: '...'}]"},"temperature":{"type":"number","description":"Sampling temperature (0.0 - 2.0)"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl_x402","model":"gpt-4o-mini","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Base L2 offers top USDC lending yields on Morpho and Aave v3."},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D-lVwOf5OfOu4G_Ef5xwB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completions endpoint that accepts prompts and messages arrays, routes to LLMs like GPT-4o-mini or DeepSeek, and charges $0.002 USDC per call via x402 with no API key required.","exampleAgentPrompt":"Ask gpt-4o-mini: what are the top DeFi yield strategies on Base right now? Use the pay-per-request gateway so I don't need an API key.","exampleUseCases":[{"title":"Agent-to-LLM micropayment chat","prompt":"Send this message to gpt-4o-mini using the pay-per-request gateway — no API key needed: 'Summarize the key risks of providing liquidity on Uniswap v3.'"},{"title":"DeFi research question via LLM","prompt":"Ask deepseek-chat to explain how the x402 payment protocol works for AI agents, and charge my Base USDC wallet the small per-call fee automatically."},{"title":"Serverless LLM in automated workflow","prompt":"In my n8n workflow, hit the OpenAI-compatible chat endpoint with temperature 0.2 and the message 'Draft a one-paragraph executive summary of today's crypto market moves' — pay per call in USDC, no subscription."}],"resultDescription":"Returns an OpenAI-format chat completion JSON object containing an id, model name, object type 'chat.completion', and a choices array with the assistant's message content and finish_reason (e.g. 'stop').","failureModes":["Insufficient USDC balance on Base — payment fails and request is rejected","Invalid or unsupported model identifier returns an error","Malformed messages array or missing both prompt and messages fields","Rate limiting or cold-start latency on Vercel serverless deployment","x402 payment header missing or malformed — gateway rejects without processing"],"whenToPreferThis":"Choose this endpoint when you need an OpenAI-compatible LLM chat completion with zero account setup, no API key management, and true pay-per-call billing in Base USDC via x402. Ideal for AI agents, autonomous workflows, or developers who want to avoid subscription commitments and integrate LLM calls directly into crypto-native or agentic pipelines at $0.002 per request.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:36:00.752Z","isFirstParty":false,"canonicalSlug":"agent-kiosk-llm-chat-completions-gateway-7b23662c"}