{"uid":"cap_Ae7WhseJwXAawaaNO_3_j","slug":"netintel-dev-gpt-4o-chat-completions-x402-64b928fa","name":"netintel.dev GPT-4o Chat Completions (x402)","description":"Call OpenAI's gpt-4o via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.10 per request in USDC. Standard OpenAI chat.completions shape. EVERY call is bounded by a 16000-token combined input budget (real tokenizer) plus the 48000-char cap; output 2048. Vision: up to 4 https image_url parts (detail low/high/auto). Search terms: OpenAI, gpt-4o, vision, image input, chat completion, LLM, no API key.","url":"https://netintel.dev/openai/gpt-4o","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":{"description":"Message text, or content parts: {type:'text',text} / {type:'image_url',image_url:{url,detail}}"}}},"description":"OpenAI chat messages: [{role, content}]. content is text, or parts: {type:'text',text} and (user role, max 4 per call) {type:'image_url',image_url:{url:'https://…',detail:'low'|'high'|'auto'}}. EVERY request — with or without images — must fit a 16000-token combined input budget and a 48000-char cap."},"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-4o","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.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YX1XJH4WtMwtVF556xNP3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies OpenAI GPT-4o chat completions via a pay-per-call x402 endpoint — no OpenAI account or API key required, $0.10 USDC per request.","exampleAgentPrompt":"Ask GPT-4o to write a concise executive summary of the following meeting transcript — I don't have an OpenAI API key so use the pay-per-call proxy, paying $0.10 USDC per request.","exampleUseCases":[{"title":"On-demand GPT-4o reasoning without API key","prompt":"I need you to use GPT-4o to analyze this legal clause and explain the risks in plain English — I don't have an OpenAI account, so use the netintel pay-per-call proxy that charges $0.10 USDC per request."},{"title":"Agent pipeline LLM step with crypto billing","prompt":"In my automated pipeline, call GPT-4o to classify each incoming support ticket into one of these categories: billing, technical, account, or general — use the x402 pay-per-call endpoint so I don't need to manage an OpenAI API key."},{"title":"One-off GPT-4o content generation task","prompt":"Use GPT-4o to draft three variations of a product description for my new standing desk, each under 100 words and with a different tone — casual, professional, and playful — and pay $0.10 USDC per call via the x402 proxy."}],"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 enforced by the proxy.","failureModes":["Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Input exceeds the proxy's capped token limit, returning a 400 error","OpenAI upstream timeout or unavailability propagates as a 502 or 503","Malformed messages array (wrong role names, missing content) returns a 400 validation error","Rate limiting on the proxy tier returns a 429 Too Many Requests"],"whenToPreferThis":"Choose this endpoint when your agent or pipeline needs GPT-4o capabilities but you cannot or do not want to manage an OpenAI API key or billing account — ideal for pay-per-call usage patterns, agentic workflows billed in USDC via x402, or one-off tasks where provisioning full OpenAI credentials is impractical. Prefer the gpt-4o-mini sibling for cost-sensitive high-volume tasks, or the gpt-4.1 sibling for the latest OpenAI model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:10.461Z","isFirstParty":false}