{"slug":"groq-x402-stage-paywithlocus-com-groq-chat-b36647","title":"Locus public pay-per-use API","host":"groq.x402.stage.paywithlocus.com","method":"POST","resource":"https://groq.x402.stage.paywithlocus.com/groq/chat","category":"other","description":"Locus public pay-per-use API","price_listed":0.008,"price_asked":0.008,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":564,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_completion_tokens":1,"messages":[{"content":"Hello from x402","role":"user"}],"model":"openai/gpt-oss-20b"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":true,"properties":{"max_completion_tokens":{"description":"Maximum output tokens. Required for x402 so the signed authorization has a hard ceiling.","type":"number"},"messages":{"description":"Conversation messages array","items":{"additionalProperties":true,"type":"object"},"type":"array"},"model":{"description":"Model or system ID. Public metered x402 supports Llama 3.1/3.3, GPT-OSS 20B/120B, Llama 4 Scout, and Qwen 3.6 27B.","type":"string"},"reasoning_format":{"description":"Reasoning output: \"hidden\", \"raw\", or \"parsed\"","type":"string"},"response_format":{"additionalProperties":true,"description":"Output format: json_object, json_schema, or text","type":"object"},"seed":{"description":"Seed for deterministic sampling","type":"number"},"stop":{"description":"Stop sequences (up to 4)","items":{"type":"string"},"type":"array"},"temperature":{"description":"Sampling temperature (0-2)","type":"number"},"tool_choice":{"additionalProperties":true,"description":"Tool selection: \"auto\", \"none\", \"required\", or specific function","type":"object"},"tools":{"description":"Tool/function definitions (max 128)","items":{"type":"string"},"type":"array"},"top_p":{"description":"Nucleus sampling (0-1)","type":"number"}},"required":["model","messages","max_completion_tokens"],"type":"object"},"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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.008,"price_match":true,"latency_ms":564,"error":null}],"description_full":"Locus public pay-per-use API","last_updated":"2026-08-30T15:24:17.833Z","schemes":["upto"]}