{"uid":"cap_fWYnn-J3vRDnApc29-eQ9","slug":"netintel-openai-gpt-5-1-chat-completions-via-x402-f7c6b9ce","name":"NetIntel OpenAI GPT-5.1 Chat Completions (via x402)","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-1","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.1","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.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0v-kkeu5T2Krg2__lI8XJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides access to OpenAI's GPT-5.1 model via a pay-per-call x402 micropayment chat completions endpoint, returning standard OpenAI-format chat completion responses.","exampleAgentPrompt":"Using the GPT-5.1 model via NetIntel's pay-per-call endpoint, send this conversation — system: 'You are a helpful assistant', user: 'Summarize the concept of machine learning in two sentences' — and return the response.","exampleUseCases":[{"title":"Keyless GPT-5.1 for autonomous agent","prompt":"My agent needs to call GPT-5.1 for reasoning steps but I don't want to manage API keys — use NetIntel's pay-per-call GPT-5.1 endpoint with system prompt 'You are a concise reasoning engine' and user message 'What are the top three causes of supply chain disruptions?' and give me the answer."},{"title":"One-off creative text generation","prompt":"Without signing up for anything, run this through GPT-5.1: system prompt is 'You are a creative copywriter', user message is 'Write a punchy 2-sentence tagline for a sustainable sneaker brand called GreenStride', max 100 tokens — what does it come back with?"},{"title":"Automated customer support draft","prompt":"I'm building a support bot and need to test GPT-5.1's response quality — send it a system prompt saying 'You are a polite customer support agent for a SaaS product' and a user message 'How do I reset my password?' using the NetIntel x402 endpoint and show me the reply."}],"resultDescription":"Returns a standard OpenAI chat.completion JSON object including: a unique completion ID, the model name ('gpt-5.1'), a choices array with the assistant's reply message and finish_reason, token usage breakdown (prompt_tokens, completion_tokens, total_tokens), and a Unix timestamp. The response is structurally identical to the OpenAI API chat completions format.","failureModes":["Input validation rejection (missing required messages field) — no charge applied","Total input characters exceed ~96,000 char cap — request rejected","max_completion_tokens exceeds 4096 — capped or rejected","Upstream OpenAI service failure — no charge applied per NetIntel policy","x402 payment failure or insufficient USDC balance — request not processed","Invalid role value in messages array (must be system, user, or assistant)"],"whenToPreferThis":"Choose this endpoint when you need access to OpenAI's GPT-5.1 model without managing API keys or subscriptions, especially in agent workflows requiring pay-per-call USDC billing via x402 on Base or Solana. Ideal for low-volume or sporadic inference needs where per-call economics are preferable to a monthly plan, or for agents operating in crypto-native environments. Note that at $0.15/call this may be more expensive than direct OpenAI API access for high-volume use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:35.583Z","isFirstParty":false}