{"uid":"cap_CXLPjuK1wbyj-nZedkidi","slug":"mapleai-gpt-api-pay-per-request-x402-e9d90fe9","name":"MapleAI GPT API — Pay-Per-Request (x402)","description":"4 GPT models, 7 image models, and Jev structured decisions. Pay per request in USDC on Base with x402.","url":"https://base.mapleai.shop/v1/responses?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string"},"model":{"type":"string","description":"Model ID from GET /v1/models"},"max_output_tokens":{"type":"integer","minimum":1}}},"responseSchema":{"type":"json","example":{"id":"resp_example","object":"response","output":[],"status":"completed","output_text":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pBcWAygCb5xK9kzz96P65","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a text prompt to one of four GPT models (GPT-5.6 Sol, GPT-5.6 Terra, GPT-6 Luna, GPT-6 Sol) and returns a completion, billed at $0.01 USDC per call via x402 on Base.","exampleAgentPrompt":"Ask MapleAI's GPT-6 Luna model to summarize the following paragraph in three bullet points, using up to 300 output tokens: 'Quantum computing leverages quantum mechanical phenomena such as superposition and entanglement to perform computations that classical computers cannot efficiently handle.'","exampleUseCases":[{"title":"On-demand Q&A for an autonomous agent","prompt":"Use MapleAI's GPT-6 Sol model to answer this question in up to 200 tokens: 'What are the main differences between supervised and unsupervised machine learning?'"},{"title":"Creative writing snippet generation","prompt":"Have MapleAI's GPT-5.6 Terra model write a short two-paragraph story opening about a lighthouse keeper who discovers a mysterious signal, keeping it under 400 tokens."},{"title":"Code explanation for a developer tool","prompt":"Send this Python snippet to MapleAI's GPT-5.6 Sol model and ask it to explain what the code does in plain English, with a max of 250 output tokens: 'def fib(n): return n if n <= 1 else fib(n-1) + fib(n-2)'"}],"resultDescription":"Returns a JSON object containing a response ID, object type, status field (e.g. 'completed'), an output array, and an 'output_text' string containing the model's generated text response.","failureModes":["Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Invalid or unrecognized model ID returns an error — must use a model ID from GET /v1/models","Prompt exceeds model context window or max_output_tokens is set too low, truncating or erroring","Network timeout if the model takes too long to respond","Malformed request body (missing required 'input' field) returns a 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need pay-per-request access to GPT-class language models without committing to a subscription, especially when operating in a crypto-native or x402-enabled environment on Base. It is ideal for agents that make sporadic or unpredictable LLM calls and want to pay only per inference in USDC. Prefer it over standard OpenAI when you need x402 micropayment compatibility or want to access GPT-5.6 or GPT-6 variants through an OpenAI-compatible interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:18:27.478Z","isFirstParty":false,"canonicalSlug":"mapleai-gpt-api-pay-per-request-x402-e9d90fe9"}