UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

121 lines (120 loc) • 5.83 kB
{ "$schema": "./provider-catalog.schema.json", "id": "xor", "displayName": "XOR", "aliases": [], "inferenceKinds": ["decide"], "wire": {}, "models": { "default": "xor-latest", "topModels": ["xor-latest", "xor-omni"], "catalog": { "xor-latest": { "contextWindow": 131072, "maxOutputTokens": 256, "vision": false, "status": "production", "description": "Recommended - XOR text alias; boolean, choice and score questions over a 131,072-token window. A request with a value question, an image or audio goes to xor-omni when no model was chosen (decide.capableModel)" }, "xor-omni": { "contextWindow": 32768, "maxOutputTokens": 256, "vision": true, "status": "production", "description": "XOR multimodal alias; boolean, choice, score and value questions over a 32,768-token window, plus one image and up to 30 seconds of audio" }, "xor-1.1": { "contextWindow": 250000, "maxOutputTokens": 256, "vision": false, "status": "retired", "description": "Name served by the deprecated /v1/systemone route; superseded by xor-latest and xor-omni. Still sent as given when you name it - the endpoint decides whether it accepts it" } } }, "timeouts": { "decideMs": 5000, "decideMsPerKStateTokens": 150 }, "decisionLimits": { "maxStateTokens": 28000, "maxQuestions": 128, "questionTypes": ["boolean", "choice", "score", "value", "choice-unknown"], "maxScoreLevels": 10, "maxChoiceOptions": 64, "nonAsciiTokensPerChar": 1, "models": { "xor-latest": { "maxStateTokens": 120000 }, "xor-omni": { "maxStateTokens": 28000 } }, "media": { "maxImages": 1, "video": false, "maxRequestBytes": 25000000, "audio": { "maxSeconds": 30 } } }, "decide": { "dialect": "system-one", "order": 3, "baseURLRequired": true, "baseURLNormalize": ["strip-trailing-slash", "strip-v1-suffix"], "baseURLShape": "origin", "endpoint": "{baseURL}/v1/decisions", "model": { "placement": "body" }, "media": { "imagesKey": "images", "audioKey": "audio" }, "capableModel": { "model": "xor-omni", "questionTypes": ["value"] }, "requestIdHeaders": [ "x-request-id", "x-typesafe-request-id", "x-litellm-call-id" ], "errors": { "rules": [ { "status": 401, "kind": "authentication" }, { "status": 413, "kind": "max_tokens_exceeded" }, { "status": 429, "kind": "rate_limit" }, { "status": 503, "kind": "overloaded" }, { "statusMin": 500, "messagePattern": "(context|prefill|prompt).{0,40}(length|limit|too long|exceed)|(too long|exceeds?).{0,40}(context|tokens)", "kind": "max_tokens_exceeded" }, { "statusMin": 500, "messagePattern": "backend 4[0-9]{2}", "kind": "invalid_request", "retryable": false }, { "statusMin": 500, "kind": "server" } ], "default": "invalid_request", "bodyShapes": [ { "path": "error.message" }, { "path": "error" }, { "path": "detail", "isArray": true, "formatter": "fastapi-validation" }, { "path": "detail" } ] } }, "setup": { "url": "https://huggingface.co/juspay/xor", "apiKeyFormat": null, "billingPolicy": "free-tier", "description": "API key for your XOR endpoint", "instructions": [ "1. Reach an XOR deployment, or use a LiteLLM proxy with a pass-through route to one", "2. Set XOR_BASE_URL to its origin (NeuroLink calls <XOR_BASE_URL>/v1/decisions)", "3. Set {apiKeyEnvVar} to the key it accepts (on LiteLLM, a virtual key whose team allows xor-latest, and xor-omni for media)" ] }, "evidence": { "rosterVerified": { "date": "2026-10-19", "method": "Probed POST <origin>/v1/decisions through a LiteLLM gateway with both aliases. xor-latest read a needle at 120,076 input tokens and refused 200,076 as longer than its 131,072-token context; xor-omni refused past 32,768. 128 questions were answered and 256 refused; a choice took 64 options (63 plus unknown; 64 plus unknown crashed with a 500); a score took 10 levels and 11 were refused by the gateway. value answered int, float and pattern-bound strings on xor-omni, and on xor-latest through the gateway's fallback to xor-omni. One image was read (a second was refused with 422) at a fixed ~600 tokens whatever its resolution. Audio as {data, format} was heard in WAV, FLAC, Ogg, Opus and MP3 (an English speech clip identified at 0.9999 in each) at ~25 tokens a second and cut at 30 seconds, keeping the start; M4A/AAC decoded to nothing. A video, sent as a data URL or as {data, format}, returned the same answer as garbage bytes, so the gateway drops it. The body cap was 24 MiB. A malformed image or audio clip and an over-long state returned 502 wrapping the backend's 400" }, "liveMatrix": null, "addedInPR": "https://github.com/juspay/neurolink/pull/1984" } }