{"slug":"api-router-optimai-network-x402-v1-chat-completions-408e65","title":"Open-model chat completions from OptimAI Router, served by independent providers","host":"api-router.optimai.network","method":"POST","resource":"https://api-router.optimai.network/x402/v1/chat/completions","category":"market","description":"Open-model chat completions from OptimAI Router, served by independent providers on OptimAI Network. Pay per call in USDC on Base: no account, no API key. You sign a price cap and pay the measured cost, from $0.001. Text only, non-streaming, up to 512 output tokens.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":934,"reported_calls_30d":37,"reported_payers_30d":6,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_tokens":64,"messages":[{"content":"Say hello","role":"user"}],"model":"gemma3:1b"},"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":{"maximum":512,"minimum":1,"type":"integer"},"messages":{"items":{"properties":{"content":{"type":"string"},"role":{"enum":["system","user","assistant"],"type":"string"}},"required":["role","content"],"type":"object"},"maxItems":16,"minItems":1,"type":"array"},"model":{"description":"Router model id in Ollama name:tag form, e.g. gemma3:1b","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._/-]*:[a-zA-Z0-9][a-zA-Z0-9._-]*$","type":"string"}},"required":["model","messages"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"choices":{"type":"array"},"id":{"type":"string"},"usage":{"type":"object"}},"required":["id","choices"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":706,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":934,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":960,"error":null}],"description_full":"Open-model chat completions from OptimAI Router, served by independent providers on OptimAI Network. Pay per call in USDC on Base: no account, no API key. You sign a price cap and pay the measured cost, from $0.001. Text only, non-streaming, up to 512 output tokens.","last_updated":"2026-11-26T15:43:47.154Z","schemes":["upto"]}