{"uid":"cap_yNgX7EJtUaDX81HG3Us_9","slug":"netintel-gpt-4-1-chat-completions-gateway-3ea338e0","name":"NetIntel GPT-4.1 Chat Completions Gateway","description":"Call OpenAI's gpt-4.1 via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.09 per request in USDC. Standard OpenAI chat.completions request/response shape, capped input and output. Search terms: OpenAI, gpt-4.1, chat completion, LLM, no API key.","url":"https://netintel.dev/openai/gpt-4-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":{"top_p":{"type":"number","description":"Nucleus sampling. Optional."},"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 ~48000 chars total."},"max_tokens":{"type":"number","description":"Max output tokens. Optional — defaults to 2048, capped at 2048."},"temperature":{"type":"number","description":"Sampling temperature. Optional."}}},"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-4.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.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c1CI6GrqZt6gk3jy3RwNg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies OpenAI GPT-4.1 chat completions via a pay-per-call x402 endpoint, requiring no OpenAI account or API key — just pay $0.09 USDC per request.","exampleAgentPrompt":"Use GPT-4.1 to write me a concise product description for a noise-cancelling travel headphone — I don't have an OpenAI API key, so use the pay-per-call gateway that charges $0.09 per request in USDC.","exampleUseCases":[{"title":"One-off LLM task without API key","prompt":"I need GPT-4.1 to summarize this 500-word article into three bullet points, but I don't have an OpenAI account — use the $0.09-per-call USDC gateway to run the completion."},{"title":"Agent reasoning step via micropayment","prompt":"My automation needs a single GPT-4.1 call to classify this customer complaint as billing, technical, or general — route it through the pay-per-call OpenAI gateway so we don't need to manage an API key."},{"title":"Quick code explanation on demand","prompt":"Explain what this Python function does in plain English using GPT-4.1: just send the code as the user message through the x402 chat completions endpoint and pay the $0.09 USDC fee."}],"resultDescription":"Returns a standard OpenAI chat.completions response object containing the assistant's generated message, finish reason, and token usage counts — identical in shape to the OpenAI API response, with capped input and output token limits.","failureModes":["Payment failure or insufficient USDC balance causing a 402 Payment Required response","Input token count exceeding the capped limit resulting in a 400 error","Malformed messages array or missing required fields returning a 422 validation error","Upstream OpenAI API outage causing a 502 or 503 gateway error","Rate limiting if too many concurrent requests are sent"],"whenToPreferThis":"Choose this endpoint when you need GPT-4.1 chat completions without setting up an OpenAI account or managing API keys — ideal for agents, automations, or one-off tasks that prefer a pay-per-call USDC micropayment model. Also preferable when your pipeline needs to avoid per-user credential management and can tolerate capped input/output token limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:40.059Z","isFirstParty":false}