{"uid":"cap_flqHucPCFA12RbrVsvPys","slug":"model-access-gateway-gpt-6-luna-chat-completions-b568221c","name":"Model Access Gateway – GPT-6-Luna Chat Completions","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://agent402-arb.rosariovitale0096.workers.dev/llm/gpt-6-luna?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (openai/gpt-6-luna)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"openai/gpt-6-luna","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0014","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.0014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qoFLDGOPG-mxqD1XS6vmg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends an OpenAI-compatible chat completion request to the gpt-6-luna model, billed per-request in USDC via x402 with no account or API key required.","exampleAgentPrompt":"Using the gpt-6-luna model on the pay-per-request gateway, send this message and get back a chat completion: 'Summarize the key differences between transformer and diffusion architectures in three bullet points.'","exampleUseCases":[{"title":"On-chain agent reasoning step","prompt":"I need my autonomous agent to call the gpt-6-luna model to reason through a multi-step plan — pay the $0.0014 USDC fee automatically and return the assistant's reply so the agent can continue."},{"title":"Keyless LLM for hackathon prototype","prompt":"I'm building a demo this weekend and don't want to set up API keys — can you hit the gpt-6-luna chat endpoint, pay with USDC on Base, and get me a completion for the prompt 'Write a one-paragraph product pitch for an AI scheduling app'?"},{"title":"Crypto-native chatbot backend","prompt":"Route my user's message 'What are the tax implications of staking ETH?' through the gpt-6-luna model using the x402 pay-per-use gateway and give me back the full assistant response with token usage."}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object containing the assistant's reply message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), model name, completion ID, and creation timestamp.","failureModes":["Payment insufficient or x402 handshake fails — returns 402 Payment Required with payment details","Invalid or malformed request body — returns 400 Bad Request","Model identifier not supported by gateway — returns 404 or model-not-found error","Rate limit exceeded on the worker — returns 429 Too Many Requests","Upstream LLM provider timeout — returns 504 Gateway Timeout or partial response"],"whenToPreferThis":"Choose this endpoint when your agent needs to call an LLM without managing API keys or accounts, especially in crypto-native or agent-to-agent workflows where on-chain USDC micropayments via x402 are the preferred billing mechanism. It is ideal for autonomous agents on Base that need per-call inference billing without subscription overhead. Prefer it over direct OpenAI/Anthropic APIs when keyless, pay-as-you-go stablecoin payments are a hard requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:47:35.629Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-gpt-6-luna-chat-completions-b568221c"}