{"uid":"cap_TXGRINeNg_RwthnUvuPty","slug":"agent402-tools-llm-pro-inference-gpt-4o-gpt-4-1-aa38c191","name":"agent402.tools LLM Pro Inference (GPT-4o / GPT-4.1)","description":"LLM inference proxy (Pro tier) - GPT-4o or GPT-4.1. Supports vision (up to 2 image URLs) and structured output (response_format: json_object or json_schema). No API key needed; pay per call via x402. Input capped at 16k chars, output at 2048 tokens.","url":"https://agent402.tools/api/llm-pro?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stop":{"type":"string","description":"Stop sequence(s)"},"model":{"type":"string","description":"Model ID - gpt-4o or gpt-4.1"},"top_p":{"type":"number","description":"Nucleus sampling (0-1)"},"messages":{"type":"array","description":"Array of {role, content} objects. content can be a string or array of {type:'text',text} and {type:'image_url',image_url:{url,detail}} blocks"},"max_tokens":{"type":"number","description":"Max output tokens (default 1024, cap 2048)"},"temperature":{"type":"number","description":"Sampling temperature (0-2)"},"response_format":{"type":"object","description":"Optional: {type:\"json_object\"} or {type:\"json_schema\",json_schema:{name,schema}}"}}},"responseSchema":{"type":"json","example":{"model":"gpt-4o","usage":{"total_tokens":20,"prompt_tokens":12,"completion_tokens":8},"choices":[{"message":{"role":"assistant","content":"Hello! How can I help you today?"},"finish_reason":"stop"}],"provider":"openai"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":2,"rating":{"score":"0.88","successRate":"1.00","reviews":2,"stars":"4.5","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"10.0000","medianCents":"10.0000","p90Cents":"10.0000","minCents":"10.0000","maxCents":"10.0000","p95Cents":"10.0000","sampleCount":35,"varies":false,"failureChargeRate":1},"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_6Wc9Cb7QFTjwfVMTJ4GYm","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 LLM inference requests to GPT-4o or GPT-4.1 with vision and structured output support, paid per-call via x402 with no API key required.","exampleAgentPrompt":"Send this conversation to GPT-4o with temperature 0.7 and give me the response as a JSON object matching my schema: system says 'you are a data extractor', user says 'extract the company name and revenue from: Acme Corp reported $4.2M in revenue last quarter'.","exampleUseCases":null,"resultDescription":"Returns the model's completion text or a structured JSON object (if response_format is specified), including the generated content up to max_tokens (default 1024, cap 2048). The response follows standard OpenAI chat completion structure.","failureModes":["Input exceeds 16k character limit — request rejected","max_tokens above 2048 — capped or rejected","More than 2 image URLs provided — error or truncation","Invalid model ID (not gpt-4o or gpt-4.1) — 400 error","x402 payment failure or insufficient USDC balance — 402 payment required","Malformed messages array format — 400 validation error","Invalid response_format schema — structured output fails"],"whenToPreferThis":"Choose this endpoint when you need GPT-4o or GPT-4.1 capabilities without managing an OpenAI API key or subscription, want pay-per-call billing in USDC via x402, need vision support for up to 2 image URLs, or require structured JSON output with response_format. Ideal for agent workflows that need occasional high-quality LLM calls billed transparently per invocation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":40,"lastUsedAt":"2026-09-29T18:28:55.605Z","lastSuccessfullyRanAt":"2026-09-29T18:28:55.605Z","lastHealthCheckAt":"2026-10-10T18:45:34.380Z","isFirstParty":false,"canonicalSlug":"agent402-tools-llm-pro-inference-gpt-4o-gpt-4-1-aa38c191"}