{"slug":"api-ai-open-models-com-v1-compare-chat-completions-1b0d5f","title":"Run the same task against several explicitly selected open-weight models in para","host":"api.ai-open-models.com","method":"POST","resource":"https://api.ai-open-models.com/v1/compare/chat/completions","category":"other","description":"Run the same task against several explicitly selected open-weight models in parallel and return every answer separately. No ranking, verification, or synthesis.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1413,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_tokens":512,"messages":[{"content":"Explain the security tradeoffs of passkeys in plain language.","role":"user"}],"models":["zai-org/GLM-5.3-Flash","Qwen/Qwen3.8-27B"],"stream":false,"temperature":0.2},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"max_tokens":{"default":8192,"description":"Maximum completion tokens reserved separately for every selected model. Every selected model must support the requested output and context limits.","maximum":131072,"minimum":1,"type":"integer"},"messages":{"description":"OpenAI-compatible conversation messages sent unchanged to every selected model.","items":{"additionalProperties":false,"allOf":[{"if":{"properties":{"role":{"const":"system"}},"required":["role"]},"then":{"properties":{"content":{"type":"string"}},"required":["content"]}},{"if":{"properties":{"role":{"const":"user"}},"required":["role"]},"then":{"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"additionalProperties":false,"allOf":[{"if":{"properties":{"type":{"const":"text"}},"required":["type"]},"then":{"not":{"required":["image_url"]},"required":["text"]}},{"if":{"properties":{"type":{"const":"image_url"}},"required":["type"]},"then":{"not":{"required":["text"]},"required":["image_url"]}}],"properties":{"image_url":{"additionalProperties":false,"properties":{"detail":{"description":"Requested image detail level. Availability and visual-token usage are provider-specific.","enum":["auto","low","high"],"type":"string"},"url":{"anyOf":[{"maxLength":8192,"minLength":1,"pattern":"^https://","type":"string"},{"maxLength":6990540,"minLength":1,"pattern":"^data:image/(png|jpeg|webp|gif);base64,[A-Za-z0-9+/]+={0,2}$","type":"string"}],"description":"Public HTTPS image URL or a base64 data URI containing a PNG, JPEG, WebP, or GIF image."}},"required":["url"],"type":"object"},"text":{"type":"string"},"type":{"enum":["text","image_url"],"type":"string"}},"required":["type"],"type":"object"},"minItems":1,"type":"array"}]}},"required":["content"]}},{"if":{"properties":{"role":{"const":"assistant"}},"required":["role"]},"then":{"properties":{"content":{"type":["string","null"]}},"required":["content"]}},{"if":{"properties":{"role":{"const":"tool"}},"required":["role"]},"then":{"properties":{"content":{"type":"string"},"tool_call_id":{"minLength":1,"type":"string"}},"required":["content","tool_call_id"]}}],"properties":{"content":{"anyOf":[{"type":"string"},{"type":"null"},{"items":{"additionalProperties":false,"allOf":[{"if":{"properties":{"type":{"const":"text"}},"required":["type"]},"then":{"not":{"required":["image_url"]},"required":["text"]}},{"if":{"properties":{"type":{"const":"image_url"}},"required":["type"]},"then":{"not":{"required":["text"]},"required":["image_url"]}}],"properties":{"image_url":{"additionalProperties":false,"properties":{"detail":{"description":"Requested image detail level. Availability and visual-token usage are provider-specific.","enum":["auto","low","high"],"type":"string"},"url":{"anyOf":[{"maxLength":8192,"minLength":1,"pattern":"^https://","type":"string"},{"maxLength":6990540,"minLength":1,"pattern":"^data:image/(png|jpeg|webp|gif);base64,[A-Za-z0-9+/]+={0,2}$","type":"string"}],"description":"Public HTTPS image URL or a base64 data URI containing a PNG, JPEG, WebP, or GIF image."}},"required":["url"],"type":"object"},"text":{"type":"string"},"type":{"enum":["text","image_url"],"type":"string"}},"required":["type"],"type":"object"},"minItems":1,"type":"array"}]},"name":{"minLength":1,"type":"string"},"reasoning_content":{"type":"string"},"role":{"enum":["system","user","assistant","tool"],"type":"string"},"tool_call_id":{"minLength":1,"type":"string"},"tool_calls":{"items":{"additionalProperties":false,"properties":{"function":{"additionalProperties":false,"properties":{"arguments":{"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["name","arguments"],"type":"object"},"id":{"minLength":1,"type":"string"},"type":{"const":"function","type":"string"}},"required":["id","type","function"],"type":"object"},"minItems":1,"type":"array"}},"required":["role"],"type":"object"},"minItems":1,"type":"array"},"models":{"description":"Required list of 2 to 7 unique models. Every selected model runs the same request and contributes to the combined x402 price.","items":{"enum":["moonshotai/kimi-k3","Qwen/Qwen3.6-35B-A3B","zai-org/GLM-5.2","zai-org/GLM-5.3","zai-org/GLM-5.3-Flash","Qwen/Qwen3.8-27B","deepseek-ai/DeepSeek-V4.1-Flash"],"type":"string"},"maxItems":7,"minItems":2,"type":"array","uniqueItems":true},"parallel_tool_calls":{"description":"Whether each selected model may request multiple tool calls in one response.","type":"boolean"},"reasoning_effort":{"description":"Optional shared reasoning effort. Every selected model must support the supplied value.","enum":["low","high","max"],"type":"string"},"response_format":{"additionalProperties":false,"allOf":[{"else":{"not":{"required":["json_schema"]}},"if":{"properties":{"type":{"const":"json_schema"}},"required":["type"]},"then":{"required":["json_schema"]}}],"description":"Optional shared text or JSON response format. Every selected model must support the requested format.","properties":{"json_schema":{"additionalProperties":false,"properties":{"description":{"type":"string"},"name":{"minLength":1,"type":"string"},"schema":{"additionalProperties":true,"type":"object"},"strict":{"type":"boolean"}},"required":["name","schema"],"type":"object"},"type":{"enum":["text","json_object","json_schema"],"type":"string"}},"required":["type"],"type":"object"},"stream":{"const":false,"default":false,"description":"Streaming is not currently supported.","type":"boolean"},"temperature":{"description":"Optional sampling temperature sent to every selected model.","maximum":2,"minimum":0,"type":"number"},"tool_choice":{"anyOf":[{"enum":["none","auto","required"],"type":"string"},{"additionalProperties":false,"properties":{"function":{"additionalProperties":false,"properties":{"name":{"minLength":1,"type":"string"}},"required":["name"],"type":"object"},"type":{"const":"function","type":"string"}},"required":["type","function"],"type":"object"}],"description":"Optional shared tool-selection policy."},"tools":{"description":"Optional client-executed function definitions sent to every selected model. Every selected model must support the requested tools.","items":{"additionalProperties":false,"properties":{"function":{"additionalProperties":false,"properties":{"description":{"type":"string"},"name":{"minLength":1,"type":"string"},"parameters":{"additionalProperties":true,"type":"object"},"strict":{"type":"boolean"}},"required":["name","parameters"],"type":"object"},"type":{"const":"function","type":"string"}},"required":["type","function"],"type":"object"},"minItems":1,"type":"array"}},"required":["models","messages"],"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":{"properties":{"object":{"const":"comparison","type":"string"},"results":{"items":{"properties":{"latency_ms":{"minimum":0,"type":"integer"},"model":{"enum":["moonshotai/kimi-k3","Qwen/Qwen3.6-35B-A3B","zai-org/GLM-5.2","zai-org/GLM-5.3","zai-org/GLM-5.3-Flash","Qwen/Qwen3.8-27B","deepseek-ai/DeepSeek-V4.1-Flash"],"type":"string"},"provider":{"type":"string"},"response":{"properties":{"choices":{"items":{"properties":{"finish_reason":{"type":["string","null"]},"index":{"type":"integer"},"message":{"properties":{"content":{"type":["string","null"]},"reasoning_content":{"type":"string"},"role":{"const":"assistant","type":"string"},"tool_calls":{"type":"array"}},"required":["role"],"type":"object"}},"required":["index","message"],"type":"object"},"minItems":1,"type":"array"},"created":{"type":"integer"},"id":{"type":"string"},"model":{"enum":["moonshotai/kimi-k3","Qwen/Qwen3.6-35B-A3B","zai-org/GLM-5.2","zai-org/GLM-5.3","zai-org/GLM-5.3-Flash","Qwen/Qwen3.8-27B","deepseek-ai/DeepSeek-V4.1-Flash"],"type":"string"},"object":{"type":"string"},"usage":{"properties":{"completion_tokens":{"type":"integer"},"prompt_tokens":{"type":"integer"},"total_tokens":{"type":"integer"}},"type":"object"}},"required":["id","object","created","model","choices"],"type":"object"}},"required":["model","provider","latency_ms","response"],"type":"object"},"maxItems":7,"minItems":2,"type":"array"},"total_latency_ms":{"minimum":0,"type":"integer"}},"required":["object","results","total_latency_ms"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1413,"error":null}],"description_full":"Run the same task against several explicitly selected open-weight models in parallel and return every answer separately. No ranking, verification, or synthesis.","last_updated":"2026-10-19T15:29:30.114Z","schemes":["exact"]}