{"uid":"cap_AsbkZcZVCkO9EVQkXOcRm","slug":"agent-inference-gpt-5-mini-over-x402-4eca4312","name":"Agent Inference — GPT-5 Mini over x402","description":"Keyless GPT-5 Mini chat completions for $0.005 USDC per call through x402.","url":"https://inference.52-246-250-144.sslip.io/v1/ai/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-5-mini"],"type":"string","description":"Public model identifier"},"stream":{"type":"boolean","const":false},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string","maxLength":4000,"minLength":1}},"additionalProperties":false},"maxItems":24,"minItems":1},"max_tokens":{"type":"integer","maximum":512,"minimum":1},"max_completion_tokens":{"type":"integer","maximum":512,"minimum":1}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-example","model":"gpt-5-mini","usage":{"total_tokens":18,"prompt_tokens":10,"completion_tokens":8},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"HTTP 402 enables machine-payable resources."},"finish_reason":"stop"}],"created":1700000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OXeiDb5HNGZ4JF2DG2MJT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides keyless GPT-5 Mini chat completions via HTTP 402 micropayment at $0.005 USDC per call","exampleAgentPrompt":"Ask GPT-5 Mini to explain what the x402 payment protocol is — keep the reply under 100 words, paying $0.005 USDC per call.","exampleUseCases":[{"title":"Keyless LLM for autonomous agent","prompt":"I need my agent to answer user questions using GPT-5 Mini without managing API keys — just pay $0.005 USDC per call via x402. Send it the user's question as a user message and return the assistant's reply."},{"title":"On-demand content summarization","prompt":"Summarize this support ticket in 2 sentences using GPT-5 Mini: 'Customer reports that the checkout button on mobile doesn't respond after tapping. Reproducible on iOS Safari 17. No error shown.' — pay per call, no account needed."},{"title":"Automated Q&A for a chatbot pipeline","prompt":"Build a pipeline that takes a system prompt saying 'You are a helpful cooking assistant' and a user question like 'What can I make with chicken, lemon, and capers?', then calls GPT-5 Mini for a reply — limit the response to 200 tokens and pay via x402 micropayment."}],"resultDescription":"Returns a standard OpenAI-compatible chat completion JSON object containing the assistant's reply message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total), a completion ID, model name, and creation timestamp.","failureModes":["Payment failure: x402 payment not included or USDC balance insufficient — returns 402 Payment Required","Invalid model: model field not set to 'gpt-5-mini' — returns 400 validation error","Message limit exceeded: more than 24 messages or content over 4000 chars — returns 400 validation error","Token limit exceeded: max_tokens or max_completion_tokens above 512 — returns 400 validation error","Empty messages array: minItems:1 not satisfied — returns 400 validation error","Service unavailability: inference backend unreachable — returns 502 or 503"],"whenToPreferThis":"Choose this endpoint when you need GPT-5 Mini chat completions without managing API keys or subscriptions, paying only $0.005 USDC per call via the x402 micropayment protocol. It is ideal for autonomous agents, serverless pipelines, or low-volume use cases where per-call billing is preferable to monthly commitments. Prefer this over traditional OpenAI API access when operating in trustless or keyless environments where USDC micropayments are the payment primitive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T08:25:57.471Z","isFirstParty":false,"canonicalSlug":"agent-inference-gpt-5-mini-over-x402-4eca4312"}