{"uid":"cap_kkf4dkVaFSaRVTFNAcNFt","slug":"openai-gpt-5-6-terra-chat-completions-via-openai-mm-family-0990d02e","name":"OpenAI GPT-5.6-Terra Chat Completions (via openai.mm.family)","description":"gpt-5.6-terra: OpenAI GPT 5.6 Terra (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 1.0/6.0, Standard 2.0/12.0, Fast 4.0/24.0; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Levels: none, low, medium, high, xhigh (model gpt-5.6-terra:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-5.6-terra/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-5.6-terra","gpt-5.6-terra:none","gpt-5.6-terra:low","gpt-5.6-terra:medium","gpt-5.6-terra:high","gpt-5.6-terra:xhigh"],"type":"string"},"tools":{"type":"array"},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer"},"service_tier":{"enum":["flex","default","standard","auto","fast","priority"],"type":"string"},"response_format":{"type":"object"},"reasoning_effort":{"type":"string"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-x","model":"gpt-5.6-terra","usage":{"total_tokens":9,"prompt_tokens":8,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"service_tier":"flex"}},"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_Q7Qaxc4safoRIgDzpuRj7","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 GPT-5.6-Terra chat completions with up to 272K input tokens, billed per call in USDC via x402 protocol with configurable speed/cost tiers","exampleAgentPrompt":"Using GPT-5.6-Terra at standard tier, summarize this 200,000-token research document and give me a structured breakdown of its key findings — limit the response to 1000 tokens.","exampleUseCases":[{"title":"Long-context document analysis","prompt":"I have a massive legal contract — around 150,000 tokens — that I need summarized and analyzed for risk clauses. Use GPT-5.6-Terra at standard tier and cap the output at 2000 tokens."},{"title":"Structured JSON output generation","prompt":"Ask GPT-5.6-Terra to extract all product names, prices, and SKUs from this large catalog text and return the result as a JSON array. Use flex tier and set max_tokens to 4000."},{"title":"Multi-turn reasoning with tools","prompt":"Set up a GPT-5.6-Terra conversation at fast tier to help me debug this codebase — I'll paste multiple files totaling around 50,000 tokens, and I want it to use its reasoning to find the bug and suggest a fix."}],"resultDescription":"Returns a JSON chat completion object with the assistant's reply text, role, finish reason, token usage breakdown (prompt, completion, total), model name, and service tier used. Empty responses when there is no answer are free of charge.","failureModes":["Insufficient USDC balance or failed x402 payment — request rejected before inference","Prompt exceeds 272K token limit — use the gpt-5.6-terra-long endpoint instead","Invalid model enum value — returns 400 validation error","max_tokens set too high relative to remaining context — truncation or error","Unsupported service_tier value — defaults or rejects depending on configuration","Network timeout on very large prompts at flex tier due to lower priority scheduling"],"whenToPreferThis":"Choose this endpoint when you need GPT-5.6-Terra specifically with up to 272K input tokens and want to pay per call in USDC via x402. Prefer Flex tier for cost-sensitive batch workloads, Standard for balanced throughput, and Fast for latency-sensitive tasks. Use over generic OpenAI endpoints when crypto micropayments are required or when integrating into an agent pipeline that uses x402 billing. Use the sibling gpt-5.6-terra-long endpoint if input exceeds 272K tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:16.917Z","isFirstParty":false,"canonicalSlug":"openai-gpt-5-6-terra-chat-completions-via-openai-mm-family-0990d02e"}