{"uid":"cap_xQ07gKwmfc0wtoWPtht0u","slug":"gpt-5-6-luna-x402-chat-completions-get-977cdd69","name":"GPT-5.6 Luna x402 Chat Completions (GET)","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-sol?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.099995","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.099995/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.099995","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.099995","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8aHP5OhXNTuX0u44QlmPK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.099995","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a single OpenAI-compatible chat completion request against the GPT-5.6 Luna model via a GET request, billed per-call in USDC via the x402 payment protocol.","exampleAgentPrompt":"Ask GPT-5.6 Luna: 'What are three concise tips for writing cleaner Python code?' — use the gpt-5.6-luna model, limit to 200 tokens, and pay the per-call USDC fee automatically.","exampleUseCases":[{"title":"One-off agent reasoning step","prompt":"I need a quick answer from GPT-5.6 Luna: summarize the key differences between REST and GraphQL in two sentences, max 150 tokens."},{"title":"Buyer triage routing decision","prompt":"Use GPT-5.6 Luna to classify this customer message as 'interested', 'not interested', or 'needs follow-up': 'Can you tell me more about your enterprise pricing?' — keep the response under 50 tokens."},{"title":"Lightweight context QA for a document","prompt":"Given this context: 'The x402 protocol enables per-request USDC payments without subscriptions.' — ask GPT-5.6 Luna: what is x402? Use system prompt 'Answer only from the provided context.' and limit to 100 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the completion ID, model name, the assistant's message content, finish reason, and token usage breakdown (prompt, completion, total tokens).","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required","Invalid or unsupported model enum value — 400 Bad Request","Missing required prompt/input query parameter — 400 Bad Request","max_tokens exceeds 128000 limit — 400 validation error","Upstream model timeout or unavailability — 503 or 504 error","Malformed query string parameters — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a single, pay-per-call OpenAI-compatible chat completion billed in USDC via x402 micropayments, specifically on the GPT-5.6 Luna model tier, without committing to a subscription. It is best suited for lightweight agent reasoning, routing decisions, extraction helpers, and short-answer tasks where per-request cost transparency matters and you want GET-based access rather than a POST body.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T11:27:11.847Z","isFirstParty":false,"canonicalSlug":"gpt-5-6-luna-x402-chat-completions-get-977cdd69"}