{"uid":"cap_7fWryHvjV59OZ-I1pCA5b","slug":"netintel-gpt-5-6-terra-chat-completions-6a22661b","name":"NetIntel GPT-5.6-Terra Chat Completions","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-terra","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 ~96000 chars total."},"max_completion_tokens":{"type":"number","description":"Max output tokens. Optional — defaults to 4096, capped at 4096."}}},"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-terra","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.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sB_U0yVgMwYAxwugt5oip","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","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-Terra model via pay-per-call x402 micropayments, with no API key required.","exampleAgentPrompt":"Using GPT-5.6-Terra, send this conversation — system: 'You are a helpful assistant', user: 'What are three tips for writing clean Python code?' — and give me back the full reply with up to 512 output tokens.","exampleUseCases":[{"title":"On-demand LLM for agent pipeline","prompt":"I need you to send this multi-turn conversation to GPT-5.6-Terra — system: 'You are a concise summarizer', user: 'Summarize the following article in two sentences: [article text]' — and return the assistant's reply without me needing an OpenAI subscription."},{"title":"Pay-per-use creative writing task","prompt":"Use GPT-5.6-Terra to write a short product description for a standing desk called 'ElevateDesk Pro' — system prompt should say 'You are a professional copywriter', and limit the output to 200 tokens."},{"title":"Agentic reasoning step without API key","prompt":"I'm building an agent that needs to reason through a problem — can you call GPT-5.6-Terra with system: 'Think step by step', user: 'If I have 3 servers each handling 1200 requests per minute, what's my total hourly capacity?' and return the full chain-of-thought answer?"}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's generated message, finish reason, model name ('gpt-5.6-terra'), a Unix timestamp, a unique completion ID, and a usage block with prompt_tokens, completion_tokens, and total_tokens counts.","failureModes":["Input messages array missing or malformed — validation rejection, no charge","Total input exceeds ~96,000 character cap — rejected before billing","max_completion_tokens exceeds 4096 cap — capped or rejected","Upstream OpenAI model unavailable — server error, no charge per NetIntel policy","x402 payment failure or insufficient USDC balance — call not processed","Invalid role values (not system/user/assistant) — schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need GPT-5.6-Terra chat completions without an OpenAI API account or subscription — ideal for agents that pay per call in USDC via x402, need guaranteed no-charge on server errors, or are built for keyless, signup-free LLM access on Base or Solana mainnet. Prefer over the standard OpenAI API when operating in a crypto-native or agent-economy context where micropayment billing is preferable to monthly subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:37.365Z","isFirstParty":false}