{"slug":"agent402-tools-v1-grounded-chat-completions-2e2aee","title":"OpenAI-compatible chat completions GROUNDED in a live web search on every call","host":"agent402.tools","method":"POST","resource":"https://agent402.tools/v1/grounded/chat/completions","category":"search","description":"OpenAI-compatible chat completions GROUNDED in a live web search on every call: the gateway runs an Exa search (up to 5 results) for the prompt, hands the results to the model, and returns the answer with url_citation annotations - $0.03 per call in USDC, no API key, no signup. Model is chosen serve","price_listed":0.03,"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":65,"reported_payers_30d":1,"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":120,"messages":[{"content":"What is the current Node.js LTS version? One line, cite the source.","role":"user"}]},"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":"Output token cap (clamped to the tier maximum)","type":"number"},"messages":{"description":"OpenAI chat messages: [{role, content}] - text and image_url content blocks supported","type":"array"},"model":{"description":"Optional - omit (or send \"auto\") for eval-ranked server-side routing. An explicit model from the auto ranking is honored at the auto caps.","type":"string"},"quality":{"description":"Optional routing band when the gateway picks the model: \"fast\" (cheapest/snappiest), \"balanced\" (default), \"best\" (strongest under the flat price). Never changes the price.","type":"string"},"service_tier":{"description":"Optional. \"priority\" (alias \"fast\") asks for the model's priority endpoint on /v1/pro and /v1/premium at the same flat price; max_tokens may be sized down. Refused with the reason on the other tiers; \"flex\" is applied by the gateway automatically and not accepted as a request.","type":"string"}},"required":["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":{"agent402_router":{"type":"object"},"choices":{"type":"array"},"created":{"type":"integer"},"id":{"type":"string"},"model":{"type":"string"},"object":{"type":"string"},"usage":{"type":"object"}},"required":["id","object","created","model","choices","usage","agent402_router"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"OpenAI-compatible chat completions GROUNDED in a live web search on every call: the gateway runs an Exa search (up to 5 results) for the prompt, hands the results to the model, and returns the answer with url_citation annotations - $0.03 per call in USDC, no API key, no signup. Model is chosen server-side like the auto tier (omit \"model\" or send \"auto\"; explicit ranked models accepted); the response adds agent402_router {category, quality, served}.","last_updated":"2026-09-24T16:02:47.692Z","schemes":["exact","upto"]}