{"uid":"cap_09Cttz6FjDoAX-xNOvyRu","slug":"farout-llm-gateway-gpt-5-6-terra-chat-completions-446f087e","name":"FarOut LLM Gateway – GPT-5.6-Terra Chat Completions","description":"Fixed-price chat completions for gpt-5.6-terra on FarOut: flat $0.001 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.072/1M input tokens, $0.432/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.","url":"https://farouter.tech/v1/models/gpt-5.6-terra/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model id from GET /v1/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","developer","user","assistant","tool"],"type":"string"},"content":{}},"additionalProperties":true},"minItems":1,"description":"Chat messages, [OI]-compatible {role, content}."},"max_tokens":{"type":"integer","minimum":1,"description":"Output token budget. Drives the quote directly."},"temperature":{"type":"number","maximum":2,"minimum":0,"description":"Sampling temperature."},"max_completion_tokens":{"type":"integer","minimum":1,"description":"Alias of max_tokens (gpt-5.x models)."}}},"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_HxnL3CLDNF2XWM3vTkWOK","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 (or any frontier model) via pay-per-call USDC micropayment, returning an OpenAI-compatible response","exampleAgentPrompt":"Ask GPT-5.6-Terra to write a concise Python function that parses a JSON string into a dict with error handling — use up to 512 output tokens, temperature 0.2, paying per call in USDC with no API key needed.","exampleUseCases":[{"title":"Autonomous agent sub-task reasoning","prompt":"I'm building an agent pipeline — have it call GPT-5.6-Terra with this system prompt 'You are a rigorous planner' and user message 'Break down the steps to launch a SaaS product', up to 800 tokens, temperature 0, paying per request without a subscription."},{"title":"Coding assistant for on-demand code generation","prompt":"Use the FarOut gateway to ask GPT-5.6-Terra to write a TypeScript async function that fetches paginated results from a REST API, max 600 tokens, temperature 0.1."},{"title":"No-account LLM call for a one-off task","prompt":"I don't have an OpenAI account — can you send a chat message to GPT-5.6-Terra through FarOut asking 'Summarize the key differences between TCP and UDP in 3 bullet points', with 300 max tokens and pay the $0.001 USDC fee per call?"}],"resultDescription":"An OpenAI-compatible chat completion JSON object containing: choices array with the assistant's message content and finish_reason, plus a usage object with prompt_tokens and completion_tokens counts.","failureModes":["Payment rejected or insufficient USDC balance — x402 payment handshake fails, request not processed","Invalid model ID — model not found in /v1/models list returns an error","max_tokens too large — exceeds model context or quota, returns a 400-level error","Rate limiting or capacity issues on the upstream model provider side","Malformed messages array — missing required role or content fields causes validation error","Streaming SSE connection dropped mid-response if network is unstable"],"whenToPreferThis":"Choose this endpoint when your agent needs on-demand LLM inference without account registration, API keys, or prepaid credit — especially in autonomous or agentic pipelines that can sign x402 USDC micropayments on Base. Prefer it over OpenAI direct when you want keyless, per-call billing, or when you need to switch between multiple frontier models (GPT, Gemini, DeepSeek, GLM, Kimi, MiniMax) through a single OpenAI-compatible interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:58.999Z","isFirstParty":false}