{"uid":"cap_rYPZ_zvVDqMa9ALw-2zy4","slug":"netintel-dev-gpt-5-6-luna-chat-completions-x402-01d4dc44","name":"netintel.dev GPT-5.6-Luna Chat Completions (x402)","description":"Call OpenAI's gpt-5.6-luna via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.06 per request in USDC. Standard OpenAI chat.completions request/response shape, capped input and output. Search terms: OpenAI, gpt-5.6-luna, chat completion, LLM, no API key.","url":"https://netintel.dev/openai/gpt-5-6-luna","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","description":"system, user, or assistant"},"content":{"type":"string","description":"Message text"}}},"description":"OpenAI chat messages: [{role:'system'|'user'|'assistant', content:string}]. Input capped ~48000 chars total."},"max_completion_tokens":{"type":"number","description":"Max output tokens. Optional — defaults to 2048, capped at 2048."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"id":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object","description":"prompt_tokens, completion_tokens, total_tokens"},"object":{"type":"string","description":"Always 'chat.completion'"},"choices":{"type":"array","description":"Assistant message + finish_reason."},"created":{"type":"number","description":"Unix timestamp (seconds)"}}}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-abc123","model":"gpt-5.6-luna","usage":{"total_tokens":13,"prompt_tokens":11,"completion_tokens":2},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hi!"},"finish_reason":"stop"}],"created":1735689600}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V2OwNbwjqK5ZFUA5vnxQy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a chat completion request through OpenAI's gpt-5.6-luna model via a pay-per-call x402 endpoint — no OpenAI account or API key required, billed at $0.06 USDC per call.","exampleAgentPrompt":"Using gpt-5.6-luna, have the assistant answer this question as a senior software engineer: 'What are the key trade-offs between PostgreSQL and MongoDB for a high-write transactional workload?' — limit the response to 500 tokens.","exampleUseCases":[{"title":"One-off LLM task without OpenAI account","prompt":"Ask gpt-5.6-luna to write a concise executive summary of the following meeting transcript — keep it under 200 words and use a professional tone: [transcript text here]."},{"title":"Agent reasoning step without API key","prompt":"I need gpt-5.6-luna to evaluate these three product names — 'Lumio', 'Vela', 'Quorra' — and tell me which is the most memorable and why, in two sentences each."},{"title":"Automated content generation pipeline","prompt":"For each of these five blog post titles, have gpt-5.6-luna generate a 3-sentence intro paragraph targeting a general tech audience — cap the output at 2048 tokens total."}],"resultDescription":"Returns a standard OpenAI chat.completion JSON object containing the assistant's reply in choices[0].message.content, the finish_reason, token usage breakdown (prompt_tokens, completion_tokens, total_tokens), model name, a unique completion ID, and a Unix timestamp. Output is capped at 2048 tokens.","failureModes":["Payment failure — insufficient USDC balance or x402 payment not accepted, resulting in a 402 error","Input too long — messages array exceeding ~48000 characters total causes rejection","Invalid message format — missing required role or content fields in messages array","Model unavailable — gpt-5.6-luna service outage returns a 5xx error","Rate limiting — too many concurrent requests may return 429","Malformed request body — missing required 'messages' field returns a 400 validation error"],"whenToPreferThis":"Choose this endpoint when you need gpt-5.6-luna specifically and want to avoid setting up an OpenAI account or managing API keys — ideal for agents making infrequent or one-off LLM calls, multi-agent pipelines that pay per inference, or environments where USDC micropayments via x402 are the preferred billing mechanism. Prefer alternatives (gpt-4o-mini, gpt-5-nano) when cost is the primary concern or when gpt-5.6-luna's capability level is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:31.535Z","isFirstParty":false}