{"uid":"cap_oIgA2bctlHViPkEMk4soy","slug":"openai-gpt-5-mini-chat-completions-x402-5e2b33b3","name":"OpenAI GPT-5 Mini Chat Completions (x402)","description":"gpt-5-mini: OpenAI GPT 5 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.125/1.0, Standard 0.25/2.0, Fast 0.45/3.6; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Levels: minimal, low, medium, high (model gpt-5-mini:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-5-mini/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-5-mini","gpt-5-mini:minimal","gpt-5-mini:low","gpt-5-mini:medium","gpt-5-mini:high"],"type":"string"},"tools":{"type":"array"},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer"},"service_tier":{"enum":["flex","default","standard","auto","fast","priority"],"type":"string"},"response_format":{"type":"object"},"reasoning_effort":{"type":"string"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-x","model":"gpt-5-mini","usage":{"total_tokens":9,"prompt_tokens":8,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"service_tier":"flex"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kWefAVtYbEvHNphXcKAZB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides GPT-5 Mini chat completions via a pay-per-call x402 API, billed in USDC with tiered pricing by speed and quality level.","exampleAgentPrompt":"Using the GPT-5 Mini model at standard tier, send this conversation — system: 'You are a helpful assistant', user: 'Summarize the water cycle in two sentences' — and give me up to 200 tokens in the response.","exampleUseCases":[{"title":"Lightweight agent reasoning step","prompt":"Use GPT-5 Mini at flex tier to decide, given these three options I'll paste, which task my agent should tackle first — limit the answer to 100 tokens."},{"title":"Cheap bulk content summarization","prompt":"Summarize this 500-word product description into three bullet points using GPT-5 Mini at standard tier, keeping it under 150 tokens so I keep costs low."},{"title":"Structured JSON extraction from text","prompt":"I need GPT-5 Mini to read this customer support message and return a JSON object with fields: issue_type, urgency, and suggested_action — use response_format to enforce JSON output and cap at 200 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object containing the assistant's message content, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total), the model name, and the service tier used for the request.","failureModes":["Payment failure if USDC balance is insufficient for quoted cost","Invalid model name returns 400 with enum validation error","Empty or malformed messages array causes a 400 error","Exceeding context window for chosen model level returns an error","Streaming not supported on all tiers — may return 422 if stream:true is unsupported","Rate limiting on fast tier during high demand"],"whenToPreferThis":"Choose this endpoint when you need a cost-efficient, OpenAI-compatible chat completion model that accepts pay-per-call USDC micropayments via x402 — ideal for agents or pipelines that want to avoid subscription lock-in, need fine-grained cost control per call, or must operate on-chain. Prefer over GPT-4o siblings when lower per-token cost matters more than maximum capability. Use the 'minimal' or 'low' quality levels for high-volume, low-stakes tasks; use 'standard' or 'fast' tiers for latency-sensitive applications.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T04:37:45.749Z","isFirstParty":false,"canonicalSlug":"openai-gpt-5-mini-chat-completions-x402-5e2b33b3"}