{"uid":"cap_Ytz5KEEs8gJcOlAJWeWPM","slug":"agent402-tools-llm-inference-proxy-gpt-4o-mini-0d820d98","name":"agent402.tools LLM Inference Proxy (GPT-4o-mini)","description":"LLM inference proxy - send an OpenAI-format chat/completions request and get a response from GPT-4o-mini (or gpt-6-luna by its id). Supports vision (up to 2 image URLs, low detail) 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 4096 tokens.","url":"https://agent402.tools/api/llm?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stop":{"type":"string"},"model":{"type":"string"},"top_p":{"type":"number"},"messages":{"type":"array"},"max_tokens":{"type":"number"},"temperature":{"type":"number"},"response_format":{"type":"object"},"reasoning_effort":{"type":"string"}}},"responseSchema":{"type":"json","example":{"model":"gpt-4o-mini","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.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":6,"rating":{"score":"0.89","successRate":"0.89","reviews":6,"stars":"4.6","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":81,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KTa2C33PRfMUhRCbJN4NE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies OpenAI-format chat/completions requests to GPT-4o-mini, supporting vision inputs and structured JSON output, with per-call USDC payment via x402.","exampleAgentPrompt":"Ask GPT-4o-mini to look at this image — https://example.com/chart.png — and summarize what it shows in a JSON object with keys 'title' and 'summary'; use temperature 0.3 and cap the response at 512 tokens.","exampleUseCases":null,"resultDescription":"An OpenAI-format chat completion response object containing the assistant's message (text or structured JSON), finish reason, and token usage counts. If response_format is json_object or json_schema, the content field will be valid JSON matching the requested schema.","failureModes":["Payment not received or invalid x402 header — 402 Payment Required","Model ID not recognized or unsupported — 400 Bad Request","messages array missing or malformed — 400 validation error","Requested max_tokens exceeds cap of 4096 — clamped or error","Image URL unreachable or unsupported format — model may error or ignore image","Rate limit or upstream OpenAI error — 500 or 503 response","Malformed json_schema in response_format — model may return unstructured output"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible LLM inference (GPT-4o-mini) without managing your own API key, and you want to pay per-call in USDC via the x402 protocol. Ideal for agents operating in crypto-native environments, or when avoiding API key provisioning overhead. Also useful when you need vision understanding of image URLs or guaranteed structured JSON output via json_schema response format.","instructions":null,"reviewSummary":"GPT-4o-mini inference proxy with OpenAI-compatible API, supporting vision and structured outputs without requiring an API key. Strict JSON schema outputs are confirmed to work equivalently to native OpenAI in most calls, with high accuracy across chat, structured, and multi-document tasks. One reported case of malformed structured JSON output suggests occasional reliability issues with complex structured responses.","reviewSummaryHighlights":["Strict JSON schema structured outputs verified compatible with native OpenAI behavior","High accuracy on multi-document and context-driven generation tasks","No API key required; straightforward pay-per-call via x402"],"reviewSummaryConcerns":["Occasional malformed JSON in structured output responses"],"reviewSummaryGeneratedAt":"2026-10-02T22:15:04.520Z","activationCount":193,"lastUsedAt":"2026-10-02T21:16:51.866Z","lastSuccessfullyRanAt":"2026-10-02T21:16:51.866Z","lastHealthCheckAt":"2026-10-22T00:34:36.490Z","isFirstParty":false,"canonicalSlug":"agent402-tools-llm-inference-proxy-gpt-4o-mini-0d820d98"}