{"uid":"cap_UXO-FwocQJuZkHYsJVyRr","slug":"x402-monpham-work-gpt-5-6-luna-chat-completions-4ebc08cf","name":"x402.monpham.work — GPT-5.6 Luna Chat Completions","description":"GPT-5.6 Luna — fast, low-cost frontier model (Artificial Analysis Intelligence Index 51.2, GPQA Diamond 91.1%). Best for high-volume chat, classification, extraction, and lightweight agentic loops where latency and cost matter. Limits: 8K input / 2K output tokens per call. OpenAI-compatible request and response format.","url":"https://x402.monpham.work/v1/luna/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UKJgTFhSKeBvf8Tz8Cl8k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs low-latency, low-cost chat completions using the GPT-5.6 Luna frontier model (Intelligence Index 51.2, GPQA Diamond 91.1%) with an OpenAI-compatible API, billed per call via x402.","exampleAgentPrompt":"Use the GPT-5.6 Luna model to classify this customer support message as 'billing', 'technical', or 'general' and return just the category label — keep max_tokens at 50 and temperature at 0: 'I was charged twice for my subscription this month.'","exampleUseCases":[{"title":"High-volume sentiment classification pipeline","prompt":"I need to classify 10,000 product reviews as positive, negative, or neutral as cheaply and quickly as possible — use GPT-5.6 Luna with temperature 0 and max_tokens 10 to just return the label for each one."},{"title":"Lightweight customer support routing agent","prompt":"Route incoming support tickets to the right team by reading each message and returning one of: billing, technical, account, or general — use the Luna model with temperature 0 and max_tokens 20 to keep costs low."},{"title":"Structured data extraction from freeform text","prompt":"Extract the product name, price, and quantity from this order confirmation email and return them as a JSON object — use GPT-5.6 Luna with temperature 0 and max_tokens 200: 'Please confirm your order: 3x Blue Widget at $12.99 each, total $38.97.'"}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object containing the assistant's generated message, finish reason, and token usage counts (prompt tokens, completion tokens, total tokens). The response mirrors the OpenAI /v1/chat/completions format, making it a drop-in replacement for existing OpenAI integrations.","failureModes":["Token limit exceeded: combined input messages exceed 8000 tokens — returns error requiring shorter context","max_tokens too large: value above 2000 is rejected — cap at 2000","Payment failure: x402 payment of $0.003 USDC not confirmed — request blocked","Invalid message role: role not in [system, user, assistant, tool] causes validation error","Malformed messages array: missing required 'role' or 'content' fields returns 400","Model unavailable: service downtime returns 5xx error"],"whenToPreferThis":"Choose GPT-5.6 Luna when you need to run high volumes of LLM calls at low cost and low latency, particularly for classification, extraction, or simple agentic reasoning where the absolute highest model capability is not required. Prefer this over GPT-5.6 Terra or Sol when cost-per-call and throughput matter more than peak intelligence (e.g. filtering, routing, tagging large datasets). Use this over generic OpenAI endpoints when you need per-call micropayment billing via x402 without a subscription. Avoid if you need more than 8K input or 2K output tokens, or if the task requires the highest reasoning capability (use Sol instead).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:37:49.410Z","isFirstParty":false,"canonicalSlug":"x402-monpham-work-gpt-5-6-luna-chat-completions-4ebc08cf"}