{"uid":"cap_Dv_qFGQrqxbx1JFM_Sona","slug":"gpt-5-6-luna-x402-chat-completions-get-variant-759a0e60","name":"GPT-5.6 Luna x402 Chat Completions (GET variant)","description":"GPT-5.6 Luna API Base USDC and OpenAI-compatible x402 chat: one request for $0.00293, paid by browser wallet or a quote-first agent fallback.","url":"https://gpt55.558686.xyz/v1/chat/completions/gpt-5.6-terra?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","properties":{"q":{"type":"string"},"input":{"type":"string"},"model":{"enum":["gpt-5.6-sol","gpt-5.6","gpt-5.6-terra","gpt-5.5"],"type":"string"},"prompt":{"type":"string"},"system":{"type":"string"},"message":{"type":"string"},"max_tokens":{"type":"integer","maximum":128000,"minimum":1},"system_prompt":{"type":"string"},"max_output_tokens":{"type":"integer","maximum":128000,"minimum":1}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["id","object","model","choices"],"properties":{"id":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object"},"object":{"type":"string"},"choices":{"type":"array"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl_example","model":"gpt-5.6-luna","usage":{"total_tokens":44,"prompt_tokens":32,"completion_tokens":12},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"A concise answer from GPT-5.6 Luna."},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.049998","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.049998/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.049998","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.049998","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K3hGtAOAYTLvjiNXirJ5c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.049998","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates OpenAI-compatible chat completions using the GPT-5.6-terra/luna model via a GET request, paid per-call with USDC over x402.","exampleAgentPrompt":"Ask GPT-5.6 Luna to explain quantum entanglement in two sentences, using the gpt-5.6-terra model with a max of 200 tokens, and pay for the call with USDC.","exampleUseCases":[{"title":"One-shot QA for routing agent","prompt":"Use the gpt-5.6-luna model to answer this question in under 150 tokens: 'What is the capital of Australia?' — pay per call, no subscription needed."},{"title":"Extraction helper for pipeline","prompt":"Send this text to GPT-5.6-terra and ask it to extract the key named entities: 'Apple Inc. CEO Tim Cook announced record Q2 earnings in Cupertino on Tuesday.' Keep the response under 300 tokens."},{"title":"Short content generation task","prompt":"Have GPT-5.6 Luna write a two-sentence product tagline for a reusable water bottle brand called HydraFlow, using the gpt-5.6-terra model, max 100 tokens."}],"resultDescription":"Returns an OpenAI-style JSON chat completion object containing a choices array with the assistant's message content, finish reason, model name, completion ID, and token usage stats (prompt, completion, total tokens).","failureModes":["Payment not included or insufficient USDC — returns 402 Payment Required","Invalid or unsupported model enum value — returns 400 Bad Request","Missing required 'input' or 'prompt' query parameter — returns 400","Upstream model provider unavailable — returns 502 or 503","max_tokens exceeds 128000 limit — validation error","Rate limit or quota exceeded — returns 429"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, subscription-free LLM completion using x402 USDC micropayments on Base, especially in agent pipelines or browser-wallet contexts where you want to avoid API key management. Prefer it over standard OpenAI direct access when per-request billing in crypto is required, or when you need OpenAI-compatible output format with the gpt-5.6-luna/terra model tier specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T02:27:15.268Z","isFirstParty":false,"canonicalSlug":"gpt-5-6-luna-x402-chat-completions-get-variant-759a0e60"}