@juspay/neurolink 13.15.0 → 13.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -3
- package/README.md +1 -1
- package/dist/browser/neurolink.min.js +274 -274
- package/dist/constants/enums.d.ts +2 -0
- package/dist/constants/enums.js +2 -0
- package/dist/neurolink.js +2 -3
- package/dist/providers/catalog/together-ai.json +24 -23
- package/dist/providers/systemOneDecision.js +8 -9
- package/dist/utils/timeout.d.ts +13 -0
- package/dist/utils/timeout.js +29 -0
- package/docs-site/static/search-index.json +6 -6
- package/package.json +1 -1
|
@@ -1682,6 +1682,8 @@ export declare enum TinfoilModels {
|
|
|
1682
1682
|
DEEPSEEK_V4_1_FLASH = "deepseek-v4-1-flash"
|
|
1683
1683
|
}
|
|
1684
1684
|
export declare enum TogetherAIModels {
|
|
1685
|
+
GPT_OSS_120B = "openai/gpt-oss-120b",
|
|
1686
|
+
QWEN_3_5_9B = "Qwen/Qwen3.5-9B",
|
|
1685
1687
|
LLAMA_3_3_70B_INSTRUCT_TURBO = "meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
|
1686
1688
|
LLAMA_3_1_405B_INSTRUCT_TURBO = "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
|
|
1687
1689
|
LLAMA_3_1_70B_INSTRUCT_TURBO = "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
|
package/dist/constants/enums.js
CHANGED
|
@@ -2000,6 +2000,8 @@ export var TinfoilModels;
|
|
|
2000
2000
|
})(TinfoilModels || (TinfoilModels = {}));
|
|
2001
2001
|
export var TogetherAIModels;
|
|
2002
2002
|
(function (TogetherAIModels) {
|
|
2003
|
+
TogetherAIModels["GPT_OSS_120B"] = "openai/gpt-oss-120b";
|
|
2004
|
+
TogetherAIModels["QWEN_3_5_9B"] = "Qwen/Qwen3.5-9B";
|
|
2003
2005
|
TogetherAIModels["LLAMA_3_3_70B_INSTRUCT_TURBO"] = "meta-llama/Llama-3.3-70B-Instruct-Turbo";
|
|
2004
2006
|
TogetherAIModels["LLAMA_3_1_405B_INSTRUCT_TURBO"] = "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo";
|
|
2005
2007
|
TogetherAIModels["LLAMA_3_1_70B_INSTRUCT_TURBO"] = "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo";
|
package/dist/neurolink.js
CHANGED
|
@@ -14903,9 +14903,8 @@ Current user's request: ${currentInput}`;
|
|
|
14903
14903
|
*/
|
|
14904
14904
|
async siteDecide(request, outer) {
|
|
14905
14905
|
// Either cancellation must win: the outer call's abort and the site's own
|
|
14906
|
-
// deadline are independent limits. Scoped, not AbortSignal.any
|
|
14907
|
-
//
|
|
14908
|
-
// awaiting could lose the link and never see the abort.
|
|
14906
|
+
// deadline are independent limits. Scoped, not AbortSignal.any, so the
|
|
14907
|
+
// listeners are removed as soon as the decision settles.
|
|
14909
14908
|
const linked = composeAbortSignalsScoped(outer?.signal, request.signal);
|
|
14910
14909
|
try {
|
|
14911
14910
|
return await this.siteDecideLinked(request, outer, linked.signal);
|
|
@@ -15,28 +15,35 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"models": {
|
|
18
|
-
"default": "
|
|
19
|
-
"fallbackModelName": "
|
|
20
|
-
"fallbacks": [
|
|
21
|
-
"meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
|
22
|
-
"meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
|
|
23
|
-
"meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
|
|
24
|
-
"meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
|
25
|
-
"mistralai/Mixtral-8x22B-Instruct-v0.1",
|
|
26
|
-
"Qwen/Qwen2.5-72B-Instruct-Turbo",
|
|
27
|
-
"deepseek-ai/DeepSeek-R1",
|
|
28
|
-
"deepseek-ai/DeepSeek-V3"
|
|
29
|
-
],
|
|
18
|
+
"default": "openai/gpt-oss-120b",
|
|
19
|
+
"fallbackModelName": "Qwen/Qwen3.5-9B",
|
|
20
|
+
"fallbacks": ["openai/gpt-oss-120b", "Qwen/Qwen3.5-9B"],
|
|
30
21
|
"defaultContextWindow": 128000,
|
|
31
22
|
"defaultMaxOutputTokens": 4096,
|
|
32
23
|
"catalog": {
|
|
24
|
+
"openai/gpt-oss-120b": {
|
|
25
|
+
"enumMember": "GPT_OSS_120B",
|
|
26
|
+
"contextWindow": 131072,
|
|
27
|
+
"pricingPerMTok": { "input": 0.15, "output": 0.6 },
|
|
28
|
+
"vision": false,
|
|
29
|
+
"status": "production",
|
|
30
|
+
"description": "Serverless GPT-OSS 120B"
|
|
31
|
+
},
|
|
32
|
+
"Qwen/Qwen3.5-9B": {
|
|
33
|
+
"enumMember": "QWEN_3_5_9B",
|
|
34
|
+
"contextWindow": 262144,
|
|
35
|
+
"pricingPerMTok": { "input": 0.17, "output": 0.25 },
|
|
36
|
+
"vision": true,
|
|
37
|
+
"status": "production",
|
|
38
|
+
"description": "Serverless Qwen 3.5 9B"
|
|
39
|
+
},
|
|
33
40
|
"meta-llama/Llama-3.3-70B-Instruct-Turbo": {
|
|
34
41
|
"enumMember": "LLAMA_3_3_70B_INSTRUCT_TURBO",
|
|
35
42
|
"contextWindow": 128000,
|
|
36
43
|
"pricingPerMTok": { "input": 0.88, "output": 0.88 },
|
|
37
44
|
"vision": false,
|
|
38
|
-
"status": "
|
|
39
|
-
"description": "
|
|
45
|
+
"status": "retired",
|
|
46
|
+
"description": "No longer available on Together AI serverless"
|
|
40
47
|
},
|
|
41
48
|
"meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo": {
|
|
42
49
|
"enumMember": "LLAMA_3_1_405B_INSTRUCT_TURBO",
|
|
@@ -124,13 +131,7 @@
|
|
|
124
131
|
"description": "WizardLM 2 8x22B"
|
|
125
132
|
}
|
|
126
133
|
},
|
|
127
|
-
"topModels": [
|
|
128
|
-
"meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
|
129
|
-
"meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
|
|
130
|
-
"Qwen/Qwen2.5-72B-Instruct-Turbo",
|
|
131
|
-
"deepseek-ai/DeepSeek-R1",
|
|
132
|
-
"mistralai/Mixtral-8x22B-Instruct-v0.1"
|
|
133
|
-
]
|
|
134
|
+
"topModels": ["openai/gpt-oss-120b", "Qwen/Qwen3.5-9B"]
|
|
134
135
|
},
|
|
135
136
|
"capabilities": {
|
|
136
137
|
"text": true,
|
|
@@ -163,8 +164,8 @@
|
|
|
163
164
|
},
|
|
164
165
|
"evidence": {
|
|
165
166
|
"rosterVerified": {
|
|
166
|
-
"date": "2026-
|
|
167
|
-
"method": "
|
|
167
|
+
"date": "2026-11-17",
|
|
168
|
+
"method": "Together AI serverless model catalog: https://docs.together.ai/docs/serverless/models; API access not live-verified"
|
|
168
169
|
},
|
|
169
170
|
"liveMatrix": null,
|
|
170
171
|
"addedInPR": "https://github.com/juspay/neurolink/pull/1587"
|
|
@@ -6,7 +6,7 @@ import { ProviderError } from "../types/index.js";
|
|
|
6
6
|
import { prepareDecisionMedia } from "../utils/decisionMedia.js";
|
|
7
7
|
import { logger } from "../utils/logger.js";
|
|
8
8
|
import { redactUrlsInText } from "../utils/logSanitize.js";
|
|
9
|
-
import { composeAbortSignalsScoped } from "../utils/timeout.js";
|
|
9
|
+
import { composeAbortSignalsScoped, readJsonWithSignal, } from "../utils/timeout.js";
|
|
10
10
|
import { estimateDecisionStateTokens, resolveDecisionLimitsReading, unsupportedDecisionQuestion, } from "../utils/decisionLimits.js";
|
|
11
11
|
import { systemOneDialect } from "./decide/dialects/systemOne.js";
|
|
12
12
|
import { asNumber, isRecord } from "./decide/guards.js";
|
|
@@ -299,11 +299,10 @@ export class SystemOneDecisionProvider extends BaseProvider {
|
|
|
299
299
|
for (let attempt = 0; attempt <= this.maxRetries; attempt++) {
|
|
300
300
|
const startedAt = Date.now();
|
|
301
301
|
const timeout = AbortSignal.timeout(timeoutMs);
|
|
302
|
-
// Scoped, not AbortSignal.any:
|
|
303
|
-
//
|
|
304
|
-
//
|
|
305
|
-
//
|
|
306
|
-
// the call never settled. Plain listeners keep the link strong.
|
|
302
|
+
// Scoped, not AbortSignal.any: plain listeners, removed in `finally`,
|
|
303
|
+
// so a long-lived caller signal does not collect one registration per
|
|
304
|
+
// attempt. (The stalled-body hang once blamed on `any` was fetch losing
|
|
305
|
+
// the abort; see readJsonWithSignal below.)
|
|
307
306
|
const { signal: composed, dispose: disposeSignal } = composeAbortSignalsScoped(request.signal, timeout);
|
|
308
307
|
const signal = composed ?? timeout;
|
|
309
308
|
try {
|
|
@@ -320,9 +319,9 @@ export class SystemOneDecisionProvider extends BaseProvider {
|
|
|
320
319
|
const requestId = this.readRequestId(response.headers);
|
|
321
320
|
const upstreamMs = Number(response.headers.get("x-envoy-upstream-service-time")) ||
|
|
322
321
|
undefined;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
// Not response.json(): on Node 22 a GC during a stalled body read can
|
|
323
|
+
// lose fetch's abort, and the call would never settle.
|
|
324
|
+
const payload = await readJsonWithSignal(response, signal).catch((error) => {
|
|
326
325
|
// A deadline or abort that cuts the body read short is a timeout,
|
|
327
326
|
// not a response without answers; the catch below classifies it.
|
|
328
327
|
if (signal.aborted) {
|
package/dist/utils/timeout.d.ts
CHANGED
|
@@ -168,6 +168,19 @@ export declare function composeAbortSignalsScoped(externalSignal?: AbortSignal,
|
|
|
168
168
|
signal: AbortSignal | undefined;
|
|
169
169
|
dispose: () => void;
|
|
170
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* `response.json()` that settles when `signal` aborts, even if `fetch` lost
|
|
173
|
+
* the abort.
|
|
174
|
+
*
|
|
175
|
+
* Node 22's built-in fetch (undici 6) can drop the abort for a body that is
|
|
176
|
+
* still streaming when the request used `redirect: "error"` and the garbage
|
|
177
|
+
* collector runs during the read: the signal fires, the read never ends.
|
|
178
|
+
* Measured on Node 22.23.4 under forced GC, 8 hangs in 8; Node 26 is not
|
|
179
|
+
* affected. Listening on the signal here and cancelling the body does not
|
|
180
|
+
* depend on fetch's own link, so the read rejects with the signal's reason,
|
|
181
|
+
* which is what fetch rejects with when the link holds.
|
|
182
|
+
*/
|
|
183
|
+
export declare function readJsonWithSignal(response: Response, signal: AbortSignal): Promise<unknown>;
|
|
171
184
|
/**
|
|
172
185
|
* Merge abort signals (for combining user abort with timeout)
|
|
173
186
|
*
|
package/dist/utils/timeout.js
CHANGED
|
@@ -460,6 +460,35 @@ export function composeAbortSignalsScoped(externalSignal, timeoutSignal) {
|
|
|
460
460
|
}
|
|
461
461
|
return { signal: controller.signal, dispose };
|
|
462
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* `response.json()` that settles when `signal` aborts, even if `fetch` lost
|
|
465
|
+
* the abort.
|
|
466
|
+
*
|
|
467
|
+
* Node 22's built-in fetch (undici 6) can drop the abort for a body that is
|
|
468
|
+
* still streaming when the request used `redirect: "error"` and the garbage
|
|
469
|
+
* collector runs during the read: the signal fires, the read never ends.
|
|
470
|
+
* Measured on Node 22.23.4 under forced GC, 8 hangs in 8; Node 26 is not
|
|
471
|
+
* affected. Listening on the signal here and cancelling the body does not
|
|
472
|
+
* depend on fetch's own link, so the read rejects with the signal's reason,
|
|
473
|
+
* which is what fetch rejects with when the link holds.
|
|
474
|
+
*/
|
|
475
|
+
export function readJsonWithSignal(response, signal) {
|
|
476
|
+
return new Promise((resolve, reject) => {
|
|
477
|
+
const onAbort = () => {
|
|
478
|
+
response.body?.cancel(signal.reason).catch(() => undefined);
|
|
479
|
+
reject(signal.reason);
|
|
480
|
+
};
|
|
481
|
+
if (signal.aborted) {
|
|
482
|
+
onAbort();
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
485
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
486
|
+
response
|
|
487
|
+
.json()
|
|
488
|
+
.then(resolve, reject)
|
|
489
|
+
.finally(() => signal.removeEventListener("abort", onAbort));
|
|
490
|
+
});
|
|
491
|
+
}
|
|
463
492
|
/**
|
|
464
493
|
* Merge abort signals (for combining user abort with timeout)
|
|
465
494
|
*
|
|
@@ -4505,11 +4505,11 @@
|
|
|
4505
4505
|
{"objectID":"8bee50a94bc91cf5273efb43aa2f13a39be6cd72e048c55da55bd80bc74ce8a0","title":"Getting Help","url":"/docs/getting-started/installation#getting-help","content":"Check our Troubleshooting Guide\nReview FAQ\nSearch GitHub Issues\nCreate new issue with:\nNode.js version (node --version)\nOperating system\nError message\nSteps to reproduce","hierarchy":{"lvl0":"Getting Started","lvl1":"Installation","lvl2":"Getting Help","lvl3":""}},
|
|
4506
4506
|
{"objectID":"80210a84a233c58e9a12aa96cedd225ad03c3bfe5344b78032d691be93ae3ba0","title":"Verification Checklist","url":"/docs/getting-started/installation#verification-checklist","content":"[ ] Node.js 18+ installed\n[ ] NeuroLink package installed or accessible via npx\n[ ] API keys configured in .env file\n[ ] neurolink status shows working providers\n[ ] Basic generation command works\n[ ] TypeScript support (if needed)\n[ ] Framework integration (if applicable)","hierarchy":{"lvl0":"Getting Started","lvl1":"Installation","lvl2":"Verification Checklist","lvl3":""}},
|
|
4507
4507
|
{"objectID":"44c035a6ed0dc3b4a04ad68e17bc22de77840cb664eaee4e84f04bb8bd70caaf","title":"Next Steps","url":"/docs/getting-started/installation#next-steps","content":"Quick Start - Test your installation\nProvider Setup - Configure AI providers\nCLI Commands - Learn available commands\nExamples - See implementation patterns","hierarchy":{"lvl0":"Getting Started","lvl1":"Installation","lvl2":"Next Steps","lvl3":""}},
|
|
4508
|
-
{"objectID":"c44f69a5d19212c85a451486bef65999f3ef505311f283fa4a129d90603820ac","title":"⚙️ Provider Configuration Guide","url":"/docs/getting-started/provider-setup","content":"⚙️ Provider Configuration Guide\n\nNeuroLink supports multiple AI providers with flexible authentication methods. This guide covers complete setup for all supported providers.\n\nSupported Providers\n\nThis guide walks through full environment-variable setup for the providers below; the complete roster — including the newer catalog providers and the embedding/media/decision-only providers — is indexed with setup guides at Provider Guides.\n\nProviders configured in this guide\nOpenAI - GPT-4o, GPT-4o-mini, GPT-4-turbo\nAmazon Bedrock - Claude 3.7 Sonnet, Claude 3.5 Sonnet, Claude 3 Haiku\nAmazon SageMaker - Custom models deployed on SageMaker endpoints\nGoogle Vertex AI - Gemini 3 Flash/Pro (preview), Gemini 2.5 Flash, Claude 4.0 Sonnet\nGoogle AI Studio - Gemini 1.5 Pro, Gemini 2.0 Flash, Gemini 1.5 Flash\nAnthropic - Claude 4.5 Opus/Sonnet/Haiku, Claude 4.0 Opus/Sonnet, Claude 3.7 Sonnet\nAzure OpenAI - GPT-4, GPT-3.5-Turbo\nLiteLLM - 100+ models across a broad range of providers via proxy server\nHugging Face - open models served by the unified router (Llama 3.x, Qwen 2.5, DeepSeek, Mistral)\nOllama - Local AI models including Llama 2, Code Llama, Mistral, Vicuna\nOpenRouter - 300+ models from every major lab via one aggregator endpoint\nMistral AI - Mistral Tiny, Small, Medium, and Large models\nDeepSeek - deepseek-chat (V3) and deepseek-reasoner (R1)\nNVIDIA NIM - Llama 3.3 70B and 400+ catalog models via NVIDIA hosted or self-hosted NIM\nLM Studio - Any model loaded in LM Studio desktop app (local, no API key required)\nllama.cpp - Any GGUF model served by llama-server (local, no API key required)\n\nOther providers (setup guides in the Provider Guides index)\n\nOnboarded via the zero-quirk OpenAI-wire-compatible catalog (Tier 2) — each has its own setup guide under providers/:\nGroq - LPU-accelerated inference; default openai/gpt-oss-120b\nCerebras - Wafer-scale inference; default gpt-oss-120b\nSambaNova - default Meta-Llama-3.3-70B-Instruct\nTogether AI - default
|
|
4508
|
+
{"objectID":"c44f69a5d19212c85a451486bef65999f3ef505311f283fa4a129d90603820ac","title":"⚙️ Provider Configuration Guide","url":"/docs/getting-started/provider-setup","content":"⚙️ Provider Configuration Guide\n\nNeuroLink supports multiple AI providers with flexible authentication methods. This guide covers complete setup for all supported providers.\n\nSupported Providers\n\nThis guide walks through full environment-variable setup for the providers below; the complete roster — including the newer catalog providers and the embedding/media/decision-only providers — is indexed with setup guides at Provider Guides.\n\nProviders configured in this guide\nOpenAI - GPT-4o, GPT-4o-mini, GPT-4-turbo\nAmazon Bedrock - Claude 3.7 Sonnet, Claude 3.5 Sonnet, Claude 3 Haiku\nAmazon SageMaker - Custom models deployed on SageMaker endpoints\nGoogle Vertex AI - Gemini 3 Flash/Pro (preview), Gemini 2.5 Flash, Claude 4.0 Sonnet\nGoogle AI Studio - Gemini 1.5 Pro, Gemini 2.0 Flash, Gemini 1.5 Flash\nAnthropic - Claude 4.5 Opus/Sonnet/Haiku, Claude 4.0 Opus/Sonnet, Claude 3.7 Sonnet\nAzure OpenAI - GPT-4, GPT-3.5-Turbo\nLiteLLM - 100+ models across a broad range of providers via proxy server\nHugging Face - open models served by the unified router (Llama 3.x, Qwen 2.5, DeepSeek, Mistral)\nOllama - Local AI models including Llama 2, Code Llama, Mistral, Vicuna\nOpenRouter - 300+ models from every major lab via one aggregator endpoint\nMistral AI - Mistral Tiny, Small, Medium, and Large models\nDeepSeek - deepseek-chat (V3) and deepseek-reasoner (R1)\nNVIDIA NIM - Llama 3.3 70B and 400+ catalog models via NVIDIA hosted or self-hosted NIM\nLM Studio - Any model loaded in LM Studio desktop app (local, no API key required)\nllama.cpp - Any GGUF model served by llama-server (local, no API key required)\n\nOther providers (setup guides in the Provider Guides index)\n\nOnboarded via the zero-quirk OpenAI-wire-compatible catalog (Tier 2) — each has its own setup guide under providers/:\nGroq - LPU-accelerated inference; default openai/gpt-oss-120b\nCerebras - Wafer-scale inference; default gpt-oss-120b\nSambaNova - default Meta-Llama-3.3-70B-Instruct\nTogether AI - default openai/gpt-oss-120b\nFireworks AI - default accounts/fireworks/models/kimi-k3\nPerplexity - search-augmented models; default sonar\nCloudflare Workers AI - edge inference\nxAI - Grok models; default grok-4.6\nBaseten - default zai-org/GLM-5.3-Flash (BASETEN_API_KEY)\nGMI Cloud - default MiniMaxAI/MiniMax-M3 (GMICLOUD_API_KEY)\nInception Labs - diffusion LLMs; default mercury-2 (INCEPTION_LABS_API_KEY)\nio.net Intelligence - decentralized GPU inference; default meta-llama/Llama-3.3-70B-Instruct (IO_INTELLIGENCE_API_KEY)\nMancer - default deepseek-v4-flash (MANCER_API_KEY); no tool calling\nUpstage - Solar models; default solar-pro4 (UPSTAGE_API_KEY)\nAPI Route - OpenAI-compatible passthrough; default claude-sonnet-4-6 (API_ROUTE_API_KEY)\nDeepInfra - default deepseek-ai/DeepSeek-V4-Flash-0731 (DEEPINFRA_API_KEY); docs- and roster-verified, not yet live-verified\nFeatherless AI - default unsloth/Llama-3.3-70B-Instruct (FEATHERLESS_AI_API_KEY); docs- and roster-verified, not yet live-verified\nChutes - default moonshotai/Kimi-K2.6-TEE (CHUTES_API_KEY); docs- and roster-verified, not yet live-verified\nOVHcloud AI Endpoints - default gpt-oss-120b (OVH_AI_ENDPOINTS_ACCESS_TOKEN); docs- and roster-verified, not yet live-verified\nSarvam AI - default sarvam-105b (SARVAM_API_KEY); docs- and roster-verified, not yet live-verified\nSynthetic - default syn:large:text (SYNTHETIC_API_KEY); docs- and roster-verified, not yet live-verified\nAmbient - default ambient/large (AMBIENT_API_KEY); docs- and roster-verified, not yet live-verified\nInference.net - default glm-5.2 (INFERENCE_API_KEY); docs- and roster-verified, not yet live-verified\nEmpirioLabs AI - default glm-5-3 (EMPIRIOLABS_API_KEY); docs- and roster-verified, not yet live-verified\nabove.dev - default deepseek-v4.1-flash (ABOVE_DEV_API_KEY); docs- and roster-verified, not yet live-verified\nai& - default openai/gpt-oss-120b (AIAND_API_KEY); docs- and roster-verified, not yet live-verified\nBee by HEOSSI - default bee-cell (BEE_HEOSSI_API_KEY); docs- and roster-verified, not yet live-verified\nCharm Hyper - default deepseek-v4-pro (CHARM_HYPER_API_KEY); docs- and roster-verified, not yet live-verified\nInco - default glm-5.3 (INCO_API_KEY); no tool calling; docs- and roster-verified, not yet live-verified\nKosmik Compute - default qwen/qwen3.8-27b (KOSCOMPUTE_API_KEY); docs- and roster-verified, not yet live-verified\nLilac - default moonshotai/kimi-k2.6 (LILAC_API_KEY); docs- and roster-verified, not yet live-verified\nLLM Tech - default nvidia/Qwen3.8-27B-NVFP4 (LLMTECH_API_KEY); docs- and roster-verified, not yet live-verified\nMoark - default Qwen3-8B (MOARK_API_KEY); docs- and roster-verified, not yet live-verified\nNeuralwatt - default glm-5.3 (NEURALWATT_API_KEY); docs- and roster-verified, not yet live-verified\nPareto Inference - default z-ai/glm-5.3-flash (PARETO_INFERENCE_API_KEY); docs- and roster-verified, not yet live-verified\nAion Labs - default aion-labs/aion-3.5 (AIONLABS_API_KEY); docs- and roster-verified, not yet live-verified\nAtlas Cl","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"","lvl3":""}},
|
|
4509
4509
|
{"objectID":"44479af76ca558a6630aafa39578fb6543bd892844c3a6c5948ffd58a2d73287","title":"⚙️ Provider Configuration Guide","url":"/docs/getting-started/provider-setup#-provider-configuration-guide","content":"NeuroLink supports multiple AI providers with flexible authentication methods. This guide covers complete setup for all supported providers.","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"⚙️ Provider Configuration Guide","lvl3":""}},
|
|
4510
4510
|
{"objectID":"ed4c54afa059a89c0cb4a7815f361a50933fe695ec62b3df5a0bd4ad2e25e431","title":"Supported Providers","url":"/docs/getting-started/provider-setup#supported-providers","content":"This guide walks through full environment-variable setup for the providers below; the complete roster — including the newer catalog providers and the embedding/media/decision-only providers — is indexed with setup guides at Provider Guides.","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"Supported Providers","lvl3":""}},
|
|
4511
4511
|
{"objectID":"c0abb48e819713cb16c04d745137321d348118c823351fcf31ab014735dd036e","title":"Providers configured in this guide","url":"/docs/getting-started/provider-setup#providers-configured-in-this-guide","content":"OpenAI - GPT-4o, GPT-4o-mini, GPT-4-turbo\nAmazon Bedrock - Claude 3.7 Sonnet, Claude 3.5 Sonnet, Claude 3 Haiku\nAmazon SageMaker - Custom models deployed on SageMaker endpoints\nGoogle Vertex AI - Gemini 3 Flash/Pro (preview), Gemini 2.5 Flash, Claude 4.0 Sonnet\nGoogle AI Studio - Gemini 1.5 Pro, Gemini 2.0 Flash, Gemini 1.5 Flash\nAnthropic - Claude 4.5 Opus/Sonnet/Haiku, Claude 4.0 Opus/Sonnet, Claude 3.7 Sonnet\nAzure OpenAI - GPT-4, GPT-3.5-Turbo\nLiteLLM - 100+ models across a broad range of providers via proxy server\nHugging Face - open models served by the unified router (Llama 3.x, Qwen 2.5, DeepSeek, Mistral)\nOllama - Local AI models including Llama 2, Code Llama, Mistral, Vicuna\nOpenRouter - 300+ models from every major lab via one aggregator endpoint\nMistral AI - Mistral Tiny, Small, Medium, and Large models\nDeepSeek - deepseek-chat (V3) and deepseek-reasoner (R1)\nNVIDIA NIM - Llama 3.3 70B and 400+ catalog models via NVIDIA hosted or self-hosted NIM\nLM Studio - Any model loaded in LM Studio desktop app (local, no API key required)\nllama.cpp - Any GGUF model served by llama-server (local, no API key required)","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"Providers configured in this guide","lvl3":""}},
|
|
4512
|
-
{"objectID":"cc96a04c9f262c3c1f6f8b8e7c82407cc63406705250afd22947a3567e151721","title":"Other providers (setup guides in the Provider Guides index)","url":"/docs/getting-started/provider-setup#other-providers-setup-guides-in-the-provider-guides-index","content":"Onboarded via the zero-quirk OpenAI-wire-compatible catalog (Tier 2) — each has its own setup guide under providers/:\nGroq - LPU-accelerated inference; default openai/gpt-oss-120b\nCerebras - Wafer-scale inference; default gpt-oss-120b\nSambaNova - default Meta-Llama-3.3-70B-Instruct\nTogether AI - default
|
|
4512
|
+
{"objectID":"cc96a04c9f262c3c1f6f8b8e7c82407cc63406705250afd22947a3567e151721","title":"Other providers (setup guides in the Provider Guides index)","url":"/docs/getting-started/provider-setup#other-providers-setup-guides-in-the-provider-guides-index","content":"Onboarded via the zero-quirk OpenAI-wire-compatible catalog (Tier 2) — each has its own setup guide under providers/:\nGroq - LPU-accelerated inference; default openai/gpt-oss-120b\nCerebras - Wafer-scale inference; default gpt-oss-120b\nSambaNova - default Meta-Llama-3.3-70B-Instruct\nTogether AI - default openai/gpt-oss-120b\nFireworks AI - default accounts/fireworks/models/kimi-k3\nPerplexity - search-augmented models; default sonar\nCloudflare Workers AI - edge inference\nxAI - Grok models; default grok-4.6\nBaseten - default zai-org/GLM-5.3-Flash (BASETEN_API_KEY)\nGMI Cloud - default MiniMaxAI/MiniMax-M3 (GMICLOUD_API_KEY)\nInception Labs - diffusion LLMs; default mercury-2 (INCEPTION_LABS_API_KEY)\nio.net Intelligence - decentralized GPU inference; default meta-llama/Llama-3.3-70B-Instruct (IO_INTELLIGENCE_API_KEY)\nMancer - default deepseek-v4-flash (MANCER_API_KEY); no tool calling\nUpstage - Solar models; default solar-pro4 (UPSTAGE_API_KEY)\nAPI Route - OpenAI-compatible passthrough; default claude-sonnet-4-6 (API_ROUTE_API_KEY)\nDeepInfra - default deepseek-ai/DeepSeek-V4-Flash-0731 (DEEPINFRA_API_KEY); docs- and roster-verified, not yet live-verified\nFeatherless AI - default unsloth/Llama-3.3-70B-Instruct (FEATHERLESS_AI_API_KEY); docs- and roster-verified, not yet live-verified\nChutes - default moonshotai/Kimi-K2.6-TEE (CHUTES_API_KEY); docs- and roster-verified, not yet live-verified\nOVHcloud AI Endpoints - default gpt-oss-120b (OVH_AI_ENDPOINTS_ACCESS_TOKEN); docs- and roster-verified, not yet live-verified\nSarvam AI - default sarvam-105b (SARVAM_API_KEY); docs- and roster-verified, not yet live-verified\nSynthetic - default syn:large:text (SYNTHETIC_API_KEY); docs- and roster-verified, not yet live-verified\nAmbient - default ambient/large (AMBIENT_API_KEY); docs- and roster-verified, not yet live-verified\nInference.net - default glm-5.2 (INFERENCE_API_KEY); docs- and roster-verified, not yet live-verified\nEmpirioLabs AI - default glm-5-3 (EMPIRIOLABS_API_KEY); docs-","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"Other providers (setup guides in the Provider Guides index)","lvl3":""}},
|
|
4513
4513
|
{"objectID":"d17be3311722218280d0e76731e7344c620c18f5073e07abbc826f3922db976a","title":"💰 Model Availability & Cost Considerations","url":"/docs/getting-started/provider-setup#-model-availability-cost-considerations","content":"Important Notes:\nModel Availability: Specific models may not be available in all regions or require special access\nCost Variations: Pricing differs significantly between providers and models (e.g., Claude 3.5 Sonnet vs GPT-4o)\nRate Limits: Each provider has different rate limits and quota restrictions\nLocal vs Cloud: Ollama (local) has no per-request cost but requires hardware resources\nEnterprise Tiers: AWS Bedrock, Google Vertex AI, and Azure typically offer enterprise pricing\n\nBest Practices:\nUse new NeuroLink() with automatic provider selection for cost-optimized routing\nMonitor usage through built-in analytics to track costs\nConsider local models (Ollama) for development and testing\nCheck provider documentation for current pricing and availability","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"💰 Model Availability & Cost Considerations","lvl3":""}},
|
|
4514
4514
|
{"objectID":"3a1bd0ccb708d37a59e2db3650f689f77fba69e91ec88142c7c9b85f1c18057d","title":"🏢 Enterprise Proxy Support","url":"/docs/getting-started/provider-setup#-enterprise-proxy-support","content":"Providers support corporate proxy environments automatically. Simply set environment variables:\n\nNo code changes required - NeuroLink automatically detects and uses proxy settings.\n\nFor detailed proxy setup → See Enterprise & Proxy Setup Guide","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"🏢 Enterprise Proxy Support","lvl3":""}},
|
|
4515
4515
|
{"objectID":"b413cbfcaea4c049d1ace707786ea701a5448c78be0ccd33ba4272a8dab272c9","title":"Basic Setup","url":"/docs/getting-started/provider-setup#basic-setup","content":"Basic Setup","hierarchy":{"lvl0":"Getting Started","lvl1":"⚙️ Provider Configuration Guide","lvl2":"Basic Setup","lvl3":""}},
|
|
@@ -6724,17 +6724,17 @@
|
|
|
6724
6724
|
{"objectID":"2fb8246b19d7ae2cc5510f2a1df908e38fcbb2bd1e577c0fffada427c055c948","title":"Verification status","url":"/docs/getting-started/providers/tinfoil#verification-status","content":"Tier-2 onboarding requires evidence before a provider is accepted, and\npnpm run verify:provider-onboarding gates it in CI. This is what the\ncatalog currently records for Tinfoil — docs- and roster-verified, not\nlive-verified:\n\n| Probe | Result |\n| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| Roster | unauthenticated GET https://inference.tinfoil.sh/v1/models, HTTP 200, 17 entries (7 with type chat), 2026-09-29 — a second GET the same day returned an identical body; no key used |\n| Billing | public page https://docs.tinfoil.sh/get-api-key, 2026-09-29: card details at checkout when no payment method is on file, \"You’re only charged based on usage.\", and the activation dialog \"adds $1 in API credits to your account\" |\n| Auth-failure shape |","hierarchy":{"lvl0":"Getting Started","lvl1":"Tinfoil Provider Guide","lvl2":"Verification status","lvl3":""}},
|
|
6725
6725
|
{"objectID":"4ff61920850b0c701850f97d1aa81ceefa9b9f2dcd0b4c21222d7d168dbacb87","title":"Troubleshooting","url":"/docs/getting-started/providers/tinfoil#troubleshooting","content":"| Symptom | Cause | Fix |\n| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| HTTP 402 (insufficient_quota) | The docs list message \"You exceeded your current quota, please check your plan and billing details.\" and cause \"The account or organization has no remaining balance or an inactive subscription\" | Billing in the Tinfoil dashboard sidebar (docs) |\n| HTTP 429 (insufficient_quota) | A per-key cap. The docs list the messages \"Spend limit reached for this API key.\", \"Input token limit reached for this API key.\" and \"Output token limit reached for this API key.\"","hierarchy":{"lvl0":"Getting Started","lvl1":"Tinfoil Provider Guide","lvl2":"Troubleshooting","lvl3":""}},
|
|
6726
6726
|
{"objectID":"a1185c108acc0eb1ab5947fffe92d91725a0da846baaa13f9397237b64981e86","title":"See also","url":"/docs/getting-started/providers/tinfoil#see-also","content":"Provider setup overview\nAll providers\nTier-2 onboarding — how this provider's JSON becomes a working integration\nProvider feature compatibility","hierarchy":{"lvl0":"Getting Started","lvl1":"Tinfoil Provider Guide","lvl2":"See also","lvl3":""}},
|
|
6727
|
-
{"objectID":"243a3989bebe21f5752f34a81850bae030e123b48226808615b901677a8f5fb3","title":"Together AI Provider Guide","url":"/docs/getting-started/providers/together-ai","content":"Together AI Provider Guide\n\nOpen-source LLMs at production scale via the Together gateway\n\nOverview\n\nTogether AI hosts a large catalog of open-weight\nmodels — Llama 3.x, Qwen, DeepSeek, Mixtral, Gemma — behind an\nOpenAI-compatible chat-completions endpoint. NeuroLink wraps it with no\ntranslation cost.\n\nKey Facts\nProtocol: OpenAI-compatible (/v1/chat/completions)\nDefault base URL: https://api.together.xyz/v1\nDefault model:
|
|
6727
|
+
{"objectID":"243a3989bebe21f5752f34a81850bae030e123b48226808615b901677a8f5fb3","title":"Together AI Provider Guide","url":"/docs/getting-started/providers/together-ai","content":"Together AI Provider Guide\n\nOpen-source LLMs at production scale via the Together gateway\n\nOverview\n\nTogether AI hosts a large catalog of open-weight\nmodels — Llama 3.x, Qwen, DeepSeek, Mixtral, Gemma — behind an\nOpenAI-compatible chat-completions endpoint. NeuroLink wraps it with no\ntranslation cost.\n\nKey Facts\nProtocol: OpenAI-compatible (/v1/chat/completions)\nDefault base URL: https://api.together.xyz/v1\nDefault model: openai/gpt-oss-120b\nVision: Yes — Llama 3.2 Vision variants\nStreaming: Supported\nTool calling: Supported on Llama 3.1+ and DeepSeek\n\nQuick Start\nGet an API Key\n\nhttps://api.together.xyz/settings/api-keys\nConfigure Environment\nGenerate\n\nSupported Models (sample)\n\n| Model ID | Notes |\n| ----------------------------------------------- | --------------------------- |\n| openai/gpt-oss-120b | Default; production quality |\n| meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo | Flagship size |\n| meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo | Mid-tier |\n| deepseek-ai/DeepSeek-R1 | Reasoning model |\n| Qwen/Qwen2.5-72B-Instruct-Turbo | Qwen 2.5 flagship |\n\nBrowse the full catalog: https://docs.together.ai/docs/serverless-models\n\nCLI Usage\n\nProvider Aliases\n\n| Alias | Example |\n| ------------- | ------------------------ |\n| together | --provider together |\n| together_ai | --provider together_ai |\n\nConfiguration Reference\n\n| Environment Variable | Required | Default |\n| -------------------- | -------- | ----------------------------- |\n| TOGETHER_API_KEY | Yes | — |\n| TOGETHER_MODEL | No | openai/gpt-oss-120b |\n| TOGETHER_BASE_URL | No | https://api.together.xyz/v1 |\n\nFeature Support Matrix\n\n| Feature | Support |\n| ----------------- | ----------------- |\n| Text generation | Yes |\n| Streaming | Yes |\n| Tool calling | Yes (model-dep.) |\n| Structured output | Yes (model-dep.) |\n| Vision | Yes (Llama 3.2 V) |\n| Embeddings | Limited |\n\nSee Also\nFireworks Provider\nGroq Provider","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"","lvl3":""}},
|
|
6728
6728
|
{"objectID":"752a4aba251eeae8b5547126737d9d3fc2130765d4b38d10d3a6b940d48f401c","title":"Together AI Provider Guide","url":"/docs/getting-started/providers/together-ai#together-ai-provider-guide","content":"Open-source LLMs at production scale via the Together gateway","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Together AI Provider Guide","lvl3":""}},
|
|
6729
6729
|
{"objectID":"131af5e2bfd6d4376f40ec921f71815fc6763ad947f0d5c18f942019d2728050","title":"Overview","url":"/docs/getting-started/providers/together-ai#overview","content":"Together AI hosts a large catalog of open-weight\nmodels — Llama 3.x, Qwen, DeepSeek, Mixtral, Gemma — behind an\nOpenAI-compatible chat-completions endpoint. NeuroLink wraps it with no\ntranslation cost.","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Overview","lvl3":""}},
|
|
6730
|
-
{"objectID":"dfed096240b50240293d1f76e5b17cbe7bd340fe4ee3a44351ee957108f42b10","title":"Key Facts","url":"/docs/getting-started/providers/together-ai#key-facts","content":"Protocol: OpenAI-compatible (/v1/chat/completions)\nDefault base URL: https://api.together.xyz/v1\nDefault model:
|
|
6730
|
+
{"objectID":"dfed096240b50240293d1f76e5b17cbe7bd340fe4ee3a44351ee957108f42b10","title":"Key Facts","url":"/docs/getting-started/providers/together-ai#key-facts","content":"Protocol: OpenAI-compatible (/v1/chat/completions)\nDefault base URL: https://api.together.xyz/v1\nDefault model: openai/gpt-oss-120b\nVision: Yes — Llama 3.2 Vision variants\nStreaming: Supported\nTool calling: Supported on Llama 3.1+ and DeepSeek","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Key Facts","lvl3":""}},
|
|
6731
6731
|
{"objectID":"f9bb7b70be4827f7e18000b9f6038e80bccbd8c3edd30198d3ea5d7166350b2f","title":"1. Get an API Key","url":"/docs/getting-started/providers/together-ai#1-get-an-api-key","content":"https://api.together.xyz/settings/api-keys","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"1. Get an API Key","lvl3":""}},
|
|
6732
6732
|
{"objectID":"872b22b6dd1750eae76c377e389d98eb5a892f53f115f0e596f6d5228bd7b8dd","title":"2. Configure Environment","url":"/docs/getting-started/providers/together-ai#2-configure-environment","content":"2. Configure Environment","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"2. Configure Environment","lvl3":""}},
|
|
6733
6733
|
{"objectID":"8239b7e38fc9a37ac762c86a9d18da35d898c9681cdabc58143d55cc8b310068","title":"3. Generate","url":"/docs/getting-started/providers/together-ai#3-generate","content":"3. Generate","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"3. Generate","lvl3":""}},
|
|
6734
|
-
{"objectID":"376d792351803c5649d8ebb19654506f80665c962b9c98a861f2c28ec318fe0d","title":"Supported Models (sample)","url":"/docs/getting-started/providers/together-ai#supported-models-sample","content":"| Model ID | Notes |\n| ----------------------------------------------- | --------------------------- |\n|
|
|
6734
|
+
{"objectID":"376d792351803c5649d8ebb19654506f80665c962b9c98a861f2c28ec318fe0d","title":"Supported Models (sample)","url":"/docs/getting-started/providers/together-ai#supported-models-sample","content":"| Model ID | Notes |\n| ----------------------------------------------- | --------------------------- |\n| openai/gpt-oss-120b | Default; production quality |\n| meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo | Flagship size |\n| meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo | Mid-tier |\n| deepseek-ai/DeepSeek-R1 | Reasoning model |\n| Qwen/Qwen2.5-72B-Instruct-Turbo | Qwen 2.5 flagship |\n\nBrowse the full catalog: https://docs.together.ai/docs/serverless-models","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Supported Models (sample)","lvl3":""}},
|
|
6735
6735
|
{"objectID":"8e3f920b0238e95c9cee8f876fbe081b426b917e8fe2c22aa365a57fa5d0919b","title":"CLI Usage","url":"/docs/getting-started/providers/together-ai#cli-usage","content":"CLI Usage","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"CLI Usage","lvl3":""}},
|
|
6736
6736
|
{"objectID":"11242da05e45de36d61f5786b852ca66d9e43c3d4a8b83d740cd2d2dd12d8f39","title":"Provider Aliases","url":"/docs/getting-started/providers/together-ai#provider-aliases","content":"| Alias | Example |\n| ------------- | ------------------------ |\n| together | --provider together |\n| together_ai | --provider together_ai |","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Provider Aliases","lvl3":""}},
|
|
6737
|
-
{"objectID":"14c8755cfa45311a2b8645d3729d760f513b4e768f4cbe6d75e1dcaaa68c7e94","title":"Configuration Reference","url":"/docs/getting-started/providers/together-ai#configuration-reference","content":"| Environment Variable | Required | Default
|
|
6737
|
+
{"objectID":"14c8755cfa45311a2b8645d3729d760f513b4e768f4cbe6d75e1dcaaa68c7e94","title":"Configuration Reference","url":"/docs/getting-started/providers/together-ai#configuration-reference","content":"| Environment Variable | Required | Default |\n| -------------------- | -------- | ----------------------------- |\n| TOGETHER_API_KEY | Yes | — |\n| TOGETHER_MODEL | No | openai/gpt-oss-120b |\n| TOGETHER_BASE_URL | No | https://api.together.xyz/v1 |","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Configuration Reference","lvl3":""}},
|
|
6738
6738
|
{"objectID":"73dacb114377509534778a0d5d1d386e64fe4e71f75f590903d6a5c3dda075c6","title":"Feature Support Matrix","url":"/docs/getting-started/providers/together-ai#feature-support-matrix","content":"| Feature | Support |\n| ----------------- | ----------------- |\n| Text generation | Yes |\n| Streaming | Yes |\n| Tool calling | Yes (model-dep.) |\n| Structured output | Yes (model-dep.) |\n| Vision | Yes (Llama 3.2 V) |\n| Embeddings | Limited |","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"Feature Support Matrix","lvl3":""}},
|
|
6739
6739
|
{"objectID":"5a31d744d2d35af19cc87e27118e0d4057ab98d14fa7be6e9acb01dcbfc29f6a","title":"See Also","url":"/docs/getting-started/providers/together-ai#see-also","content":"Fireworks Provider\nGroq Provider","hierarchy":{"lvl0":"Getting Started","lvl1":"Together AI Provider Guide","lvl2":"See Also","lvl3":""}},
|
|
6740
6740
|
{"objectID":"63e8301588e0fd846272e6b041d27fbe6a754543f38d949f07ce7e6f181a0ced","title":"TypeSafe (Jev) Provider Guide","url":"/docs/getting-started/providers/typesafe","content":"TypeSafe (Jev) Provider Guide\n\nOne of the providers that serve decide rather than generate/stream —\nit returns typed, calibrated judgments and emits no text at all. The others are\nLaya and XOR, open-weights models served from an endpoint\nyou configure, and SubQ, Perplexity,\nCloudflare Clef, OpenAI Decisions\nand ScaleDown, hosted APIs. When more than one is configured, TypeSafe is tried before the\nothers.\n\nOverview\n\nTypeSafe's Jev is a \"System One\" model. You send one state plus a map of\nnamed, typed questions; it returns one typed answer per question, all evaluated\nin a single parallel pass. Nothing has to be parsed back out of prose, and every\nchoice/score answer carries a calibrated confidence rather than a\nself-reported one.\n\nBecause it emits no text, generate() and stream() are not available and\ngetAISDKModel() throws — the same shape Voyage and Jina already use for\nembedding-only providers. Its descriptor declares inferenceKinds: [\"decide\"],\nwhich keeps it out of auto-select and the health sweep, so those throws are\nunreachable in normal use.\n\nThis is not neurolink.evaluate(), which\nscores an already-generated response with RAGAS scorers. Different feature,\ndifferent word.\n\nKey Facts\nProvider id: typesafe (aliases: jev, typesafe-ai)\nInference kinds: decide only — one of the providers that do (the others\n are Laya, XOR, SubQ,\n Perplexity,\n Cloudflare Clef,\n OpenAI Decisions and\n ScaleDown); TypeSafe is tried before them when\n more than one is configured\nTool calling: none (toolSupport: \"none\") — a decision model calls nothing\nHealth check: env-only; it is never probed with a live generation\nDefault decide timeout: 5000 ms (timeouts.decideMs)\nLatency: flat in question count — 1 question ~393 ms, 400 questions\n ~465 ms. Concurrent requests queue instead, so batch every question into one\n call rather than fanning out.\nCost: ~$0.042 per million input tokens, output billed at zero — about\n $0.00002 per decision. Output tokens are reported — measured 21 for a\n single question, converging to ~17.5 per question in a batch of eight — they\n are simply not charged.\nAccuracy is the trade: 67.8% on TypeSafe's own 711-case benchmark against\n Opus 5's 73.1%. Right for decisions that are gated and reversible; wrong for\n final answers.\n\nQuick Start\nGet an API key\n\nCreate one at console.typesafe.ai/keys.\nConfigure\nUse it\n\ntryDecide() returns null on any failure. Use decide() when you want the\nfailure to surface; it throws a ProviderError whose cause carries a typed\nkind.\n\nFrom the CLI\n\nneurolink decide [state] calls decide() under the hood and reads\nTYPESAFE_API_KEY from the environment like every other CLI command. See the\nCLI command reference.\n\nThe degradation contract\n\nSetting the key is the entire switch for TypeSafe, and removing it is a\ncomplete undo while no other decision provider is configured. Every internal\nconsumer of decide fails open: with no decision provider configured, model\nrouting, context budgeting, relevance compaction, tool routing and RAG planning\nall behave exactly as they did before. Note that Perplexity's key is shared with\nits text provider, so a PERPLEXITY_API_KEY set for that provider also counts as\na configured decision provider; see\nOne key, two providers. The same\ngoes for CLOUDFLARE_API_KEY with CLOUDFLARE_ACCOUNT_ID, which the Workers AI\ntext provider reads too: set together they configure Cloudflare Clef, which ranks\nafter TypeSafe, Laya, XOR, SubQ and Perplexity; see One token, two providers.\nOPENAI_API_KEY, which the OpenAI chat provider reads too, configures OpenAI\nDecisions, which ranks after all of them but ScaleDown; see\nOne key, two providers.\nSCALEDOWN_API_KEY is ScaleDown's own and configures only it, as the last of\nthe eight; see ScaleDown. There is no\nconfiguration in which a missing, invalid, slow or unreachable decision model\nchanges NeuroLink's observable behaviour.\n\nA credential the service does not accept disables that provider instance rather\nthan paying a round trip on every later call to be told so again.\n\nTwo transports\n\nThe same model is reachable two ways, and the choice is made once in the\nconstructor.\n\n| | Direct | Vercel AI Gateway |\n| ------------------- | ------------------- | --------------------------------------------- |\n| Key | TYPESAFE_API_KEY | AI_GATEWAY_API_KEY |\n| Endpoint | api.typesafe.ai | ai-gateway.vercel.sh/v4/ai/evaluation-model |\n| Endpoint override | TYPESAFE_BASE_URL | TYPESAFE_GATEWAY_URL |\n| Model named in | request body | ai-model-id header |\n| Question vocabulary | noul | boolean |\n| confidence | on each answer | on providerMetadata |\n| Billed by | TypeSafe | Vercel |\n\nHolding both keys keeps the direct tra","hierarchy":{"lvl0":"Getting Started","lvl1":"TypeSafe (Jev) Provider Guide","lvl2":"","lvl3":""}},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "13.15.
|
|
3
|
+
"version": "13.15.2",
|
|
4
4
|
"packageManager": "pnpm@10.34.9+sha512.f49b5a8ea0fdedb44bb3c0c1d6575092a53c2950d95b7ad15df11f17974877a2de3a01c07e934e9b28ce716e51c09a94962c7306d09be2e1e4b18a8c8762fd32",
|
|
5
5
|
"description": "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/call) for routing, tool selection and context budgeting. MCP-native (4 transports), voice TTS/STT/realtime, RAG, agents, memory, compaction, 9 observability exporters. OpenAI · Anthropic · Gemini · Bedrock · Azure · Ollama · TypeSafe Jev and more.",
|
|
6
6
|
"author": {
|