{"uid":"cap_phQcZukPFojSSZ9x-iqqE","slug":"openai-gpt-6-luna-long-272k-context-chat-completions-0be4906d","name":"OpenAI GPT-6 Luna Long (>272K Context) Chat Completions","description":"gpt-6-luna-long: OpenAI GPT 6 Luna (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.1/0.375, Standard 0.2/0.75, Fast 0.4/1.5; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Levels: none, low, medium, high, xhigh (model gpt-6-luna-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-6-luna-long/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-6-luna-long","gpt-6-luna-long:none","gpt-6-luna-long:low","gpt-6-luna-long:medium","gpt-6-luna-long:high","gpt-6-luna-long:xhigh"],"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-6-luna-long","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_PEmQqvjzOyIE1KSKRPOtc","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-6 Luna chat completions with over 272K input token context window, billed per call in USDC via x402 protocol with tiered service levels.","exampleAgentPrompt":"Use GPT-6 Luna Long with flex tier and up to 4096 output tokens to analyze this 200,000-word legal document I'm pasting and summarize the key obligations in bullet points.","exampleUseCases":[{"title":"Long document Q&A with large context","prompt":"I have a 300-page research report I need analyzed — use GPT-6 Luna Long on flex tier with up to 2048 output tokens to answer: what are the top three findings and their supporting evidence?"},{"title":"Complex agentic reasoning task","prompt":"Run this multi-step reasoning problem through GPT-6 Luna Long at xhigh reasoning level with standard service tier, allowing up to 8192 tokens in the response: given these 50 customer transcripts, identify recurring complaint patterns and propose solutions."},{"title":"Cost-efficient large-context generation","prompt":"I need GPT-6 Luna Long on flex tier to draft a detailed product specification from this 100,000-token requirements dump — keep the response under 3000 tokens to minimize cost."}],"resultDescription":"Returns a standard OpenAI-compatible chat completion JSON object including the assistant's reply, token usage breakdown (prompt, completion, total), finish reason, service tier used, and a unique completion ID. Empty responses incur no charge.","failureModes":["Insufficient USDC balance — payment fails before completion is returned","max_tokens quota exceeded causing truncated output","Model overloaded at selected service_tier — try flex or auto tier","Input exceeds 272K token context window — request rejected","Invalid model variant string returns 400 error","Streaming errors if network drops mid-response"],"whenToPreferThis":"Choose this endpoint when you need more than 272K tokens of input context with GPT-6 Luna specifically, or when cost optimization matters (flex tier is cheapest). Prefer over gpt-6-astra when your prompt exceeds the standard context limit. Use when you need USDC micropayment billing via x402 rather than traditional API key auth. Choose higher service tiers (standard, fast) when latency is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:32.680Z","isFirstParty":false,"canonicalSlug":"openai-gpt-6-luna-long-272k-context-chat-completions-0be4906d"}