{"uid":"cap_a8y9SnJlG8y-SU3DgDGu7","slug":"netintel-dev-gpt-5-nano-chat-completions-x402-2d849bfa","name":"netintel.dev GPT-5-nano Chat Completions (x402)","description":"Call OpenAI's gpt-5-nano via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.005 per request in USDC. Standard OpenAI chat.completions request/response shape, capped input and output. Search terms: OpenAI, gpt-5-nano, chat completion, LLM, no API key.","url":"https://netintel.dev/openai/gpt-5-nano","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 ~24000 chars total."},"max_completion_tokens":{"type":"number","description":"Max output tokens. Optional — defaults to 1024, capped at 1024."}}},"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-nano","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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m-8IQk7YRrdlhC5_SzngV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an OpenAI GPT-5-nano chat completion via a pay-per-call x402 endpoint — no OpenAI account needed, $0.005 USDC per request.","exampleAgentPrompt":"Ask GPT-5-nano to summarize the following paragraph in two sentences: 'Artificial intelligence is transforming industries by automating complex tasks, improving decision-making, and enabling new forms of human-computer interaction.'","exampleUseCases":[{"title":"Quick one-off LLM Q&A without account","prompt":"I need a fast answer from GPT-5-nano — ask it: 'What are three concise tips for writing cleaner Python code?' I don't have an OpenAI key, just charge the $0.005 per call."},{"title":"Automated content classification in a pipeline","prompt":"In my processing pipeline, send each incoming customer message to GPT-5-nano with a system prompt saying 'Classify the following as complaint, question, or compliment. Reply with one word only.' and the customer text as the user message."},{"title":"Lightweight agent reasoning step","prompt":"Use GPT-5-nano to decide whether this extracted text is relevant to finance or not — system: 'Reply YES or NO only', user: 'The company reported a 12% increase in quarterly revenue driven by software subscriptions.'"}],"resultDescription":"Returns a standard OpenAI chat.completion JSON object containing the assistant's reply text inside choices[0].message.content, a finish_reason, a usage block with prompt_tokens/completion_tokens/total_tokens, a model identifier, a completion ID, and a Unix timestamp. Output is capped at 1024 tokens.","failureModes":["Payment failure or insufficient USDC balance returns an x402 Payment Required error before the model is called","Input exceeding ~24000 characters may be rejected or truncated","max_completion_tokens above 1024 is silently capped at 1024","Malformed messages array (missing role or content fields) returns a 400 validation error","Model unavailability or upstream OpenAI outage returns a 5xx error","Missing required 'messages' field returns a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a single GPT-5-nano completion without maintaining an OpenAI account or API key, especially for pay-as-you-go agent workflows where $0.005 USDC per call is acceptable. Prefer it over the gpt-4.1 or gpt-4o-mini siblings when you need the fastest, cheapest nano-class model. It's ideal for lightweight classification, summarization, or reasoning steps inside automated pipelines that need a drop-in OpenAI-compatible response shape.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:49:27.113Z","isFirstParty":false}