{"uid":"cap_1PTHa7rK1efLZ1PYr7s7J","slug":"netintel-gpt-5-6-luna-chat-completion-b0bbfa1a","name":"NetIntel GPT-5.6-Luna Chat Completion","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/openai/gpt-5-6-luna","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","description":"system, user, or assistant"},"content":{"type":"string","description":"Message text"}}},"description":"OpenAI chat messages: [{role:'system'|'user'|'assistant', content:string}]. Input capped ~48000 chars total."},"max_completion_tokens":{"type":"number","description":"Max output tokens. Optional — defaults to 2048, capped at 2048."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"id":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object","description":"prompt_tokens, completion_tokens, total_tokens"},"object":{"type":"string","description":"Always 'chat.completion'"},"choices":{"type":"array","description":"Assistant message + finish_reason."},"created":{"type":"number","description":"Unix timestamp (seconds)"}}}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-abc123","model":"gpt-5.6-luna","usage":{"total_tokens":13,"prompt_tokens":11,"completion_tokens":2},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hi!"},"finish_reason":"stop"}],"created":1735689600}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FzVxjqh-JRxyXwhwxry2L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-compatible chat completions using the GPT-5.6-Luna model, paid per-call via x402 micropayments with no API key required.","exampleAgentPrompt":"Ask GPT-5.6-Luna: given a system prompt of 'You are a helpful assistant', and the user message 'Summarize the key differences between TCP and UDP in two sentences', return the response — cap output at 200 tokens.","exampleUseCases":[{"title":"One-off LLM query without subscription","prompt":"I need a quick answer from GPT-5.6-Luna — with the system prompt 'You are a concise technical writer', ask it: 'Explain what a webhook is in plain English in under 100 words.' Limit the reply to 150 tokens."},{"title":"Agentic reasoning step in a workflow","prompt":"Use GPT-5.6-Luna as a reasoning step: system prompt is 'You are a JSON extractor', user message is 'Extract the company name, date, and total amount from this invoice text: Acme Corp, Invoice #1042, March 15 2025, $4,320.00.' Give me the structured result, max 512 tokens."},{"title":"Content generation for a blog draft","prompt":"Have GPT-5.6-Luna write me an opening paragraph for a blog post — system prompt: 'You are a witty tech blogger', user message: 'Write an engaging intro for a post about why developers should try pay-per-call APIs instead of subscriptions.' Keep it under 200 tokens."}],"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), a unique completion ID, Unix timestamp, and the model name 'gpt-5.6-luna'.","failureModes":["Input validation rejection (malformed messages array, missing required fields) — not billed","Upstream model failure or timeout — not billed per NetIntel policy","Total input exceeds ~48000 character cap — rejected","max_completion_tokens exceeds hard cap of 2048 — clamped or rejected","Insufficient USDC balance for x402 micropayment — payment fails before call is made","Network error reaching Railway-hosted service — request fails without charge"],"whenToPreferThis":"Choose this endpoint when you need GPT-5.6-Luna chat completions without an OpenAI API key or subscription, paying only $0.06 USDC per call via x402 micropayments on Base or Solana. Ideal for agents that need occasional or low-volume LLM inference, want pay-as-you-go economics, or are operating in crypto-native environments where USDC micropayments are already integrated. Prefer alternatives (direct OpenAI API) for high-volume workloads where per-call pricing exceeds subscription rates, or when you need streaming responses, function calling, or models beyond GPT-5.6-Luna.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:30:44.150Z","isFirstParty":false}