{"slug":"agent402-tools-api-llm-a0dfb3","title":"LLM inference proxy","host":"agent402.tools","method":"POST","resource":"https://agent402.tools/api/llm","category":"image","description":"LLM inference proxy - send an OpenAI-format chat/completions request and get a response from GPT-4o-mini. 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 ","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":13,"reported_payers_30d":3,"networks":["algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=","eip155:10","eip155:1329","eip155:137","eip155:143","eip155:42161","eip155:42220","eip155:43114","eip155:4663","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","stellar:pubnet"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_tokens":64,"messages":[{"content":"Say hello in one sentence.","role":"user"}],"model":"gpt-4o-mini"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"max_tokens":{"description":"Max output tokens (default 1024, cap 4096)","type":"number"},"messages":{"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","type":"array"},"model":{"description":"Model ID - gpt-4o-mini","type":"string"},"response_format":{"description":"Optional: {type:\"json_object\"} or {type:\"json_schema\",json_schema:{name,schema}}","type":"object"},"stop":{"description":"Stop sequence(s)","type":"string"},"temperature":{"description":"Sampling temperature (0-2)","type":"number"},"top_p":{"description":"Nucleus sampling (0-1)","type":"number"}},"required":["model","messages"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"choices":{"items":{"properties":{"finish_reason":{"type":"string"},"message":{"properties":{"content":{"type":"string"},"role":{"type":"string"}},"type":"object"}},"type":"object"},"type":"array"},"model":{"type":"string"},"provider":{"type":"string"},"usage":{"properties":{"completion_tokens":{"type":"integer"},"prompt_tokens":{"type":"integer"},"total_tokens":{"type":"integer"}},"type":"object"}},"required":["model","provider","usage","choices"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"LLM inference proxy - send an OpenAI-format chat/completions request and get a response from GPT-4o-mini. 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.","last_updated":"2026-09-14T21:29:29.814Z","schemes":["exact","upto"]}