{"uid":"cap_L0mA0kIkpbnNpargvmSIB","slug":"farout-pay-per-call-llm-inference-via-x402-gpt-5-6-luna-c0170cb2","name":"FarOut Pay-Per-Call LLM Inference via x402 (GPT-5.6-Luna)","description":"Pay-per-call LLM inference over x402. Frontier models (GLM, GPT, Gemini, Kimi, DeepSeek, MiniMax) billed per request in USDC on Base or Solana mainnet. No API key, no account. The 402 quotes your exact request; failed calls are never charged.","url":"https://farouter.tech/v1/metered/models/gpt-5.6-luna/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model id from GET /v1/metered/models, e.g. glm-5.3. No provider prefix."},"stream":{"type":"boolean","description":"SSE streaming."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"type":"string"}}},"description":"Chat messages, [OI]-compatible {role, content}."},"max_tokens":{"type":"integer","description":"Output token budget. Drives the quote directly."}}},"responseSchema":{"type":"json","example":{"usage":{"prompt_tokens":6,"completion_tokens":8},"choices":[{"message":{"role":"assistant","content":"Hello! How can I help?"},"finish_reason":"stop"}]}},"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_85W2zQi107rnGVNoZ2mue","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":"Runs a single OpenAI-compatible chat completion request against GPT-5.6-Luna, billed per call in USDC via the x402 payment protocol — no API key or account required.","exampleAgentPrompt":"Ask GPT-5.6-Luna via FarOut to explain the difference between proof-of-work and proof-of-stake in simple terms — keep the response under 200 tokens and pay per call in USDC on Base.","exampleUseCases":[{"title":"Autonomous agent one-shot reasoning","prompt":"Use the FarOut metered endpoint to ask GPT-5.6-Luna: 'Summarize the following legal clause in plain English: [clause text]' — limit the output to 150 tokens and pay per call, no API key needed."},{"title":"Crypto-native chatbot prototype","prompt":"I'm building a demo chatbot that runs on USDC micropayments — send the user's message 'What are the main risks of DeFi lending?' to GPT-5.6-Luna via FarOut and stream the reply back, with a max of 300 tokens."},{"title":"Ad-hoc AI Q&A without subscription","prompt":"Without setting up an OpenAI account, call FarOut's pay-per-call GPT endpoint and ask: 'Write a three-sentence product description for noise-cancelling headphones' — budget 100 output tokens and charge my Base wallet."}],"resultDescription":"Returns an OpenAI-compatible JSON object containing the assistant's reply message, finish reason (e.g. 'stop'), and token usage counts (prompt_tokens, completion_tokens). Failed or rejected calls are not charged.","failureModes":["402 Payment Required — wallet has insufficient USDC balance for the quoted amount","400 Bad Request — missing or malformed messages array or invalid model ID","503 / upstream error — underlying model provider unavailable","Streaming interruption — SSE stream drops mid-response if connection is lost","Quote mismatch — actual token count exceeds max_tokens budget causing truncation"],"whenToPreferThis":"Choose this endpoint when your agent holds a crypto wallet (Base or Solana) and needs on-demand LLM inference without a pre-existing API key or subscription. Ideal for autonomous agents, hackathon prototypes, or multi-tenant systems where per-call cost accountability in USDC is required. Prefer it over traditional OpenAI or Anthropic APIs when you want zero account setup, transparent per-request pricing, and failed calls to carry no charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:52:45.177Z","isFirstParty":false}