{"uid":"cap_pV4InLT-N9jMLVGCflV8t","slug":"farout-pay-per-call-llm-inference-gpt-5-6-terra-via-x402-21aecee5","name":"FarOut Pay-Per-Call LLM Inference (GPT-5.6-Terra) via x402","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-terra/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_sUPr_9bjFd0ifC7KIgaO-","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 chat completion request against GPT-5.6-Terra via a pay-per-call x402 micropayment gateway, billing exactly $0.001 USDC per request on Base or Solana with no API key required.","exampleAgentPrompt":"Using FarOut's pay-per-call gateway, send a chat message to GPT-5.6-Terra with the system prompt 'You are a concise assistant' and user message 'Summarize the water cycle in two sentences', with a max of 150 output tokens.","exampleUseCases":[{"title":"Autonomous agent one-off LLM call","prompt":"My agent needs to call GPT-5.6-Terra right now to classify a customer support ticket — send the message 'Classify this as billing, technical, or general: my invoice is wrong' with no system prompt and cap it at 100 tokens, paying in USDC."},{"title":"Keyless GPT access for a hackathon prototype","prompt":"I'm building a quick demo and don't want to set up an OpenAI account — can you send a chat completion to GPT-5.6-Terra asking 'Write a tagline for a sustainable sneaker brand' with max 80 tokens, billed per call in USDC?"},{"title":"Cost-controlled AI summarization pipeline","prompt":"For each article in my pipeline, call GPT-5.6-Terra with the system prompt 'Summarize in one sentence' and the article text as the user message, limiting output to 200 tokens and streaming the response so I can display it incrementally."}],"resultDescription":"Returns an OpenAI-compatible JSON response containing the assistant's reply in choices[0].message.content, finish_reason (e.g. 'stop'), and token usage counts (prompt_tokens, completion_tokens). Failed or unpaid requests are never charged.","failureModes":["402 Payment Required — wallet has insufficient USDC balance or x402 payment not attached","400 Bad Request — missing required messages array or invalid role enum value","Model not found — model ID does not match an available metered model","Token budget exceeded — max_tokens set higher than model limit","Network timeout — inference latency exceeds gateway timeout","Streaming error — SSE stream interrupted mid-response"],"whenToPreferThis":"Choose this endpoint when you need keyless, accountless access to GPT-5.6-Terra specifically, are operating an autonomous agent with a crypto wallet (Base or Solana), want true pay-per-call economics with no monthly commitment, or need a guaranteed no-charge policy on failed requests. Prefer over traditional OpenAI API when there is no API key available, when micropayment billing is required, or when operating in an x402-native environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:43:33.148Z","isFirstParty":false}