@juspay/neurolink 13.8.27 → 13.8.29

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.
@@ -271,6 +271,21 @@ export class NvidiaNimProvider extends OpenAIChatCompletionsProvider {
271
271
  errorClass: RateLimitError,
272
272
  message: "NVIDIA NIM rate limit exceeded",
273
273
  },
274
+ {
275
+ // An invalid key now reaches the gateway as HTTP 403
276
+ // {"status":403,"title":"Forbidden","detail":"Authorization failed"},
277
+ // not a 401 (probed live: a well-formed bad key gets this body, a
278
+ // missing header or a malformed JWT still gets a 401). The same body is
279
+ // reported for a valid key whose organization lacks Public API
280
+ // Endpoints access. The text is what identifies it — the structured 403
281
+ // alone does not, and the quota rule below would take a relayed
282
+ // "403 Authorization failed" because that text names status 403. A
283
+ // message that also says "quota" is left for the quota rule.
284
+ match: (ctx) => /authori[sz]ation failed/i.test(ctx.message) &&
285
+ !/quota/i.test(ctx.message),
286
+ errorClass: AuthenticationError,
287
+ message: "NVIDIA NIM rejected the credentials (HTTP 403 Authorization failed). Check the API key at https://build.nvidia.com/settings/api-keys; a valid key is also refused when its organization lacks Public API Endpoints access.",
288
+ },
274
289
  {
275
290
  // NIM answers most of its roster with a 404 whose text ("Function …
276
291
  // not found for account …") names no model, so the status decides.
@@ -281,6 +296,10 @@ export class NvidiaNimProvider extends OpenAIChatCompletionsProvider {
281
296
  message: () => `NVIDIA NIM model '${this.modelName}' not available. Browse the catalog at https://build.nvidia.com/models`,
282
297
  },
283
298
  {
299
+ // NVIDIA's throttle is a 429 {"status":429,"title":"Too Many Requests"}
300
+ // (46 of 70 concurrent probes, no Retry-After); no source seen sends a
301
+ // quota stop as a 403. This rule keeps the older text-keyed behaviour
302
+ // for a relay that names the quota or a 403 in its message.
284
303
  match: (ctx) => /quota/.test(ctx.message) || messageNamesStatus(ctx.message, 403),
285
304
  errorClass: ProviderError,
286
305
  message: "NVIDIA NIM quota exceeded for your account",
@@ -6070,38 +6070,39 @@
6070
6070
  {"objectID":"1637c68ac1e9cbfce5f16fd46aaa8835701c2f1430482c8fa9910e486a7bb625","title":"Verification status","url":"/docs/getting-started/providers/novita#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 records for Novita AI:\n\n| Probe | Result |\n| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| Roster | authenticated GET /openai/v1/models, HTTP 200, 2026-09-05 |\n| Auth rejection | HTTP 401 (FAILED_TO_AUTH), 2026-09-05 |\n| Live capability sweep | 2026-09-05, probed against the default model. Chat, streaming, and a real structured tool call all passed. response_format: json_object succeeded both alone and combined with tools in the same request — confirmed at the SDK level, which is why structuredOutputWithTools is true for this provider, unlike Friendli or Morph. |","hierarchy":{"lvl0":"Getting Started","lvl1":"Novita AI Provider Guide","lvl2":"Verification status","lvl3":""}},
6071
6071
  {"objectID":"a28a46f2a803a788421fbf99c39dcb97d33871e99a7dc45807a98ddce3e15589","title":"Troubleshooting","url":"/docs/getting-started/providers/novita#troubleshooting","content":"| Symptom | Cause | Fix |\n| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| FAILED_TO_AUTH | NOVITA_API_KEY unset, wrong, or not sk_-prefixed | Rotate the key at https://novita.ai/settings/key-management |\n| MODEL_NOT_FOUND | The roster changed since 2026-09-05 | Pick a current id from https://novita.ai/models or the authenticated /openai/v1/models roster |\n| Truncated or empty content on the default model | zai-org/glm-5.3-flash is a reasoning model and the catalog default max output is only 4,096 tokens | Raise maxTokens for longer or reasoning-heavy completions |","hierarchy":{"lvl0":"Getting Started","lvl1":"Novita AI Provider Guide","lvl2":"Troubleshooting","lvl3":""}},
6072
6072
  {"objectID":"7ce1eb2bda1d99489069643ba7316d9d1e893babf249024cf111547fbe952f66","title":"See also","url":"/docs/getting-started/providers/novita#see-also","content":"Provider setup overview\nAll providers\nTier-2 onboarding\nProvider feature compatibility","hierarchy":{"lvl0":"Getting Started","lvl1":"Novita AI Provider Guide","lvl2":"See also","lvl3":""}},
6073
- {"objectID":"c4d6bc20fbe9d189291d36b241fffab77fac1dcbe5ff66e1df5248840997c55d","title":"NVIDIA NIM Provider Guide","url":"/docs/getting-started/providers/nvidia-nim","content":"NVIDIA NIM Provider Guide\n\nHundreds of optimised AI models on NVIDIA's GPU-accelerated inference platform — or your own self-hosted NIM deployment\n\nOverview\n\nNVIDIA NIM (NVIDIA Inference Microservices) is a managed inference platform that hosts a large catalog of open-weight models — Meta Llama, DeepSeek, Mistral, Microsoft Phi, Google Gemma, and more — all GPU-optimised and served through an OpenAI-compatible API. You can also point NeuroLink at a self-hosted NIM cluster by overriding the base URL.\n\nKey Facts\nHosted base URL: https://integrate.api.nvidia.com/v1\nProtocol: OpenAI-compatible (/v1/chat/completions)\nVision: Yes, on supported models (Llama 3.2 Vision, etc.)\nReasoning: Yes, on Nemotron and DeepSeek-R1 variants\nStreaming: Supported\nTool calling: Supported on most models\nSelf-hosting: Override NVIDIA_NIM_BASE_URL to point at a private NIM cluster\n\nNIM-Specific Extras\n\nNIM supports additional generation parameters beyond the standard OpenAI surface: top_k, min_p, repetition_penalty, min_tokens, and per-model chat_template overrides. The NeuroLink provider automatically passes these via the providerOptions.openai.body mechanism. If a model rejects an unsupported parameter with HTTP 400, the provider retries the request with that parameter stripped.\n\nQuick Start\nGet an API Key\n\nSign up at https://build.nvidia.com and create an API key under API Keys.\nConfigure Environment\n\nAdd to your .env file:\nInstall NeuroLink\nGenerate Your First Response\n\nSupported Models\n\nNIM hosts hundreds of models. NeuroLink ships with these popular models pre-enumerated:\n\nOpenAI gpt-oss (default)\n\n| Model ID | Context | Vision | Reasoning |\n| -------------------- | ------- | ------ | --------- |\n| openai/gpt-oss-20b | 128K | No | No |\n\nMeta Llama\n\n| Model ID | Context | Vision | Reasoning |\n| ------------------------------------ | ------- | ------ | --------- |\n| meta/llama-3.3-70b-instruct | 128K | No | No |\n| meta/llama-3.1-405b-instruct | 128K | No | No |\n| meta/llama-3.1-70b-instruct | 128K | No | No |\n| meta/llama-3.2-90b-vision-instruct | 128K | Yes | No |\n| meta/llama-3.2-11b-vision-instruct | 128K | Yes | No |\n\nNVIDIA Nemotron (Reasoning)\n\n| Model ID | Context | Vision | Reasoning |\n| ---------------------------------------- | ------- | ------ | --------- |\n| nvidia/llama-3.3-nemotron-super-49b-v1 | 128K | No | Yes |\n| nvidia/llama-3.1-nemotron-nano-8b-v1 | 128K | No | Yes |\n| nvidia/llama-3.1-nemotron-70b-instruct | 128K | No | Yes |\n\nDeepSeek (Hosted on NIM)\n\n| Model ID | Context | Vision | Reasoning |\n| ------------------------------------------- | ------- | ------ | --------- |\n| deepseek-ai/deepseek-r1 | 128K | No | Yes |\n| deepseek-ai/deepseek-r1-distill-llama-70b | 128K | No | Yes |\n\nOther Models\n\n| Model ID | Context | Notes |\n| --------------------------------------- | ------- | ---------------- |\n| mistralai/mixtral-8x22b-instruct-v0.1 | 64K | Large MoE |\n| mistralai/mixtral-8x7b-instruct-v0.1 | 32K | Efficient MoE |\n| microsoft/phi-4 | 16K | Compact, capable |\n| google/gemma-3-27b-it | 128K | Google Gemma |\n\nAvailability, checked 2026-10-24. NVIDIA's GET https://integrate.api.nvidia.com/v1/models lists openai/gpt-oss-20b, meta/llama-3.2-90b-vision-instruct, meta/llama-3.2-11b-vision-instruct and nvidia/llama-3.1-nemotron-70b-instruct from the tables above, and none of the others. A chat request to meta/llama-3.3-70b-instruct or meta/llama-3.1-70b-instruct answers HTTP 410, \"has reached its end of life on 2026-08-26T09:00:00Z and is no longer available\"; nvidia/llama-3.3-nemotron-super-49b-v1 and mistralai/mixtral-8x22b-instruct-v0.1 also answer 410, and deepseek-ai/deepseek-r1 and meta/llama-3.1-405b-instruct answer 404. nvidia/llama-3.1-nemotron-70b-instruct is listed but answered 404 (\"not found for account\") to the key used for the check. openai/gpt-oss-20b and meta/llama-3.2-11b-vision-instruct each answered a plain request and a tool-calling request. The NvidiaNimModels enum keeps the retired members so existing code compiles.\n\nBrowse the full catalog at https://build.nvidia.com/models. You can pass any model ID via --model or model: — NIM returns 404 for IDs that are not in the catalog.\n\nSDK Usage\n\nBasic Generation\n\nUsing a Specific Model\n\nReasoning with thinkingLevel\n\nReasoning-capable models (Nemotron, DeepSeek-R1) accept a thinking flag via NIM's chat_template_kwargs. Pass thinkingLevel to activate it:\n\nLevels: minimal (no thinking) | low | medium | high\n\nIf the model does not support chat_template_kwargs.thinking, the provider automatically retries without it.\n\nStreaming\n\nPer-Call Credential Override\n","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"","lvl3":""}},
6073
+ {"objectID":"c4d6bc20fbe9d189291d36b241fffab77fac1dcbe5ff66e1df5248840997c55d","title":"NVIDIA NIM Provider Guide","url":"/docs/getting-started/providers/nvidia-nim","content":"NVIDIA NIM Provider Guide\n\nHundreds of optimised AI models on NVIDIA's GPU-accelerated inference platform — or your own self-hosted NIM deployment\n\nOverview\n\nNVIDIA NIM (NVIDIA Inference Microservices) is a managed inference platform that hosts a large catalog of open-weight models — Meta Llama, DeepSeek, Mistral, Microsoft Phi, Google Gemma, and more — all GPU-optimised and served through an OpenAI-compatible API. You can also point NeuroLink at a self-hosted NIM cluster by overriding the base URL.\n\nKey Facts\nHosted base URL: https://integrate.api.nvidia.com/v1\nProtocol: OpenAI-compatible (/v1/chat/completions)\nVision: Yes, on supported models (Llama 3.2 Vision, etc.)\nReasoning: Yes, model-dependent. The default openai/gpt-oss-20b is a reasoning model and returns its reasoning trace on every request; see Reasoning and thinkingLevel for what NeuroLink's thinkingLevel does on NIM\nStreaming: Supported\nTool calling: Supported on most models\nSelf-hosting: Override NVIDIA_NIM_BASE_URL to point at a private NIM cluster\n\nNIM-Specific Extras\n\nNIM supports additional generation parameters beyond the standard OpenAI surface: top_k, min_p, repetition_penalty, min_tokens, and per-model chat_template overrides. The NeuroLink provider automatically passes these via the providerOptions.openai.body mechanism. If a model rejects an unsupported parameter with HTTP 400, the provider retries the request with that parameter stripped.\n\nQuick Start\nGet an API Key\n\nSign up at https://build.nvidia.com and create an API key under API Keys.\nConfigure Environment\n\nAdd to your .env file:\nInstall NeuroLink\nGenerate Your First Response\n\nSupported Models\n\nNIM hosts hundreds of models. NeuroLink ships with these popular models pre-enumerated:\n\nOpenAI gpt-oss (default)\n\n| Model ID | Context | Vision | Reasoning |\n| -------------------- | ------- | ------ | --------- |\n| openai/gpt-oss-20b | 128K | No | Yes |\n\nopenai/gpt-oss-20b always reasons: the trace comes back as reasoning_content whether or not you pass a thinking option, and it counts against maxTokens. See Reasoning and thinkingLevel.\n\nMeta Llama\n\n| Model ID | Context | Vision | Reasoning |\n| ------------------------------------ | ------- | ------ | --------- |\n| meta/llama-3.3-70b-instruct | 128K | No | No |\n| meta/llama-3.1-405b-instruct | 128K | No | No |\n| meta/llama-3.1-70b-instruct | 128K | No | No |\n| meta/llama-3.2-90b-vision-instruct | 128K | Yes | No |\n| meta/llama-3.2-11b-vision-instruct | 128K | Yes | No |\n\nNVIDIA Nemotron (Reasoning)\n\n| Model ID | Context | Vision | Reasoning |\n| ---------------------------------------- | ------- | ------ | --------- |\n| nvidia/llama-3.3-nemotron-super-49b-v1 | 128K | No | Yes |\n| nvidia/llama-3.1-nemotron-nano-8b-v1 | 128K | No | Yes |\n| nvidia/llama-3.1-nemotron-70b-instruct | 128K | No | Yes |\n\nDeepSeek (Hosted on NIM)\n\n| Model ID | Context | Vision | Reasoning |\n| ------------------------------------------- | ------- | ------ | --------- |\n| deepseek-ai/deepseek-r1 | 128K | No | Yes |\n| deepseek-ai/deepseek-r1-distill-llama-70b | 128K | No | Yes |\n\nOther Models\n\n| Model ID | Context | Notes |\n| --------------------------------------- | ------- | ---------------- |\n| mistralai/mixtral-8x22b-instruct-v0.1 | 64K | Large MoE |\n| mistralai/mixtral-8x7b-instruct-v0.1 | 32K | Efficient MoE |\n| microsoft/phi-4 | 16K | Compact, capable |\n| google/gemma-3-27b-it | 128K | Google Gemma |\n\nAvailability, checked 2026-10-24. NVIDIA's GET https://integrate.api.nvidia.com/v1/models lists openai/gpt-oss-20b, meta/llama-3.2-90b-vision-instruct, meta/llama-3.2-11b-vision-instruct and nvidia/llama-3.1-nemotron-70b-instruct from the tables above, and none of the others. A chat request to meta/llama-3.3-70b-instruct or meta/llama-3.1-70b-instruct answers HTTP 410, \"has reached its end of life on 2026-08-26T09:00:00Z and is no longer available\"; nvidia/llama-3.3-nemotron-super-49b-v1 and mistralai/mixtral-8x22b-instruct-v0.1 also answer 410, and deepseek-ai/deepseek-r1 and meta/llama-3.1-405b-instruct answer 404. nvidia/llama-3.1-nemotron-70b-instruct is listed but answered 404 (\"not found for account\") to the key used for the check. openai/gpt-oss-20b and meta/llama-3.2-11b-vision-instruct each answered a plain request and a tool-calling request. The NvidiaNimModels enum keeps the retired members so existing code compiles.\n\nBrowse the full catalog at https://build.nvidia.com/models. You can pass any model ID via --model or model: — NIM returns 404 for IDs that are not in the catalog.\n\nSDK Usage\n\nBasic Generation\n\nUsing a Specific Model\n\nReasoning and thinkingLe","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"","lvl3":""}},
6074
6074
  {"objectID":"b3c7e6b9de265c001fb3ea1118f2467719f7d5d7b47d0d1219803161adaa97f3","title":"NVIDIA NIM Provider Guide","url":"/docs/getting-started/providers/nvidia-nim#nvidia-nim-provider-guide","content":"Hundreds of optimised AI models on NVIDIA's GPU-accelerated inference platform — or your own self-hosted NIM deployment","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"NVIDIA NIM Provider Guide","lvl3":""}},
6075
6075
  {"objectID":"bdd47b6d8dc71c8c6e099e6aaf6d4b1322ee018e437203f0f8213316ead4bc6a","title":"Overview","url":"/docs/getting-started/providers/nvidia-nim#overview","content":"NVIDIA NIM (NVIDIA Inference Microservices) is a managed inference platform that hosts a large catalog of open-weight models — Meta Llama, DeepSeek, Mistral, Microsoft Phi, Google Gemma, and more — all GPU-optimised and served through an OpenAI-compatible API. You can also point NeuroLink at a self-hosted NIM cluster by overriding the base URL.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Overview","lvl3":""}},
6076
- {"objectID":"70e960324b4417bd885aed19e36a44abbedba28c263ff2bf2e6024c995e0915d","title":"Key Facts","url":"/docs/getting-started/providers/nvidia-nim#key-facts","content":"Hosted base URL: https://integrate.api.nvidia.com/v1\nProtocol: OpenAI-compatible (/v1/chat/completions)\nVision: Yes, on supported models (Llama 3.2 Vision, etc.)\nReasoning: Yes, on Nemotron and DeepSeek-R1 variants\nStreaming: Supported\nTool calling: Supported on most models\nSelf-hosting: Override NVIDIA_NIM_BASE_URL to point at a private NIM cluster","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Key Facts","lvl3":""}},
6076
+ {"objectID":"70e960324b4417bd885aed19e36a44abbedba28c263ff2bf2e6024c995e0915d","title":"Key Facts","url":"/docs/getting-started/providers/nvidia-nim#key-facts","content":"Hosted base URL: https://integrate.api.nvidia.com/v1\nProtocol: OpenAI-compatible (/v1/chat/completions)\nVision: Yes, on supported models (Llama 3.2 Vision, etc.)\nReasoning: Yes, model-dependent. The default openai/gpt-oss-20b is a reasoning model and returns its reasoning trace on every request; see Reasoning and thinkingLevel for what NeuroLink's thinkingLevel does on NIM\nStreaming: Supported\nTool calling: Supported on most models\nSelf-hosting: Override NVIDIA_NIM_BASE_URL to point at a private NIM cluster","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Key Facts","lvl3":""}},
6077
6077
  {"objectID":"860037d845fb773d576b210f8e07db8dde7dc48c953dbb477391f5d02325035a","title":"NIM-Specific Extras","url":"/docs/getting-started/providers/nvidia-nim#nim-specific-extras","content":"NIM supports additional generation parameters beyond the standard OpenAI surface: top_k, min_p, repetition_penalty, min_tokens, and per-model chat_template overrides. The NeuroLink provider automatically passes these via the providerOptions.openai.body mechanism. If a model rejects an unsupported parameter with HTTP 400, the provider retries the request with that parameter stripped.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"NIM-Specific Extras","lvl3":""}},
6078
6078
  {"objectID":"fef841a51c5f7d0ab1473cf9655493c106b37a29d1c362b0bf6a1f309fbfeada","title":"1. Get an API Key","url":"/docs/getting-started/providers/nvidia-nim#1-get-an-api-key","content":"Sign up at https://build.nvidia.com and create an API key under API Keys.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"1. Get an API Key","lvl3":""}},
6079
6079
  {"objectID":"54f576f3812e2af49eeaac655066e1c3b52337b017abcb2e7ba56befc2f8b075","title":"2. Configure Environment","url":"/docs/getting-started/providers/nvidia-nim#2-configure-environment","content":"Add to your .env file:","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"2. Configure Environment","lvl3":""}},
6080
6080
  {"objectID":"2c10c41d2143a2e957aca12ab30393841715f915cb586f80c76ceb54ca1f5dd5","title":"3. Install NeuroLink","url":"/docs/getting-started/providers/nvidia-nim#3-install-neurolink","content":"3. Install NeuroLink","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"3. Install NeuroLink","lvl3":""}},
6081
6081
  {"objectID":"e0e98cfd631a6e3d14b2182db92727e47e120e74573b05b2e3f2ea33a7896a04","title":"4. Generate Your First Response","url":"/docs/getting-started/providers/nvidia-nim#4-generate-your-first-response","content":"4. Generate Your First Response","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"4. Generate Your First Response","lvl3":""}},
6082
6082
  {"objectID":"bc1d7b9f9cd1f0093bceb3e9322d3a8907621c41375b95d6991236ad35217786","title":"Supported Models","url":"/docs/getting-started/providers/nvidia-nim#supported-models","content":"NIM hosts hundreds of models. NeuroLink ships with these popular models pre-enumerated:","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Supported Models","lvl3":""}},
6083
- {"objectID":"e0e7cb23f65e12d5e482c0dc5315010163c449defc6476af5e56bec0f2c67400","title":"OpenAI gpt-oss (default)","url":"/docs/getting-started/providers/nvidia-nim#openai-gpt-oss-default","content":"| Model ID | Context | Vision | Reasoning |\n| -------------------- | ------- | ------ | --------- |\n| openai/gpt-oss-20b | 128K | No | No |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"OpenAI gpt-oss (default)","lvl3":""}},
6083
+ {"objectID":"e0e7cb23f65e12d5e482c0dc5315010163c449defc6476af5e56bec0f2c67400","title":"OpenAI gpt-oss (default)","url":"/docs/getting-started/providers/nvidia-nim#openai-gpt-oss-default","content":"| Model ID | Context | Vision | Reasoning |\n| -------------------- | ------- | ------ | --------- |\n| openai/gpt-oss-20b | 128K | No | Yes |\n\nopenai/gpt-oss-20b always reasons: the trace comes back as reasoning_content whether or not you pass a thinking option, and it counts against maxTokens. See Reasoning and thinkingLevel.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"OpenAI gpt-oss (default)","lvl3":""}},
6084
6084
  {"objectID":"041d61fa62afb3ac253f977f945401de38379d0f20f40075103a0fa368137747","title":"Meta Llama","url":"/docs/getting-started/providers/nvidia-nim#meta-llama","content":"| Model ID | Context | Vision | Reasoning |\n| ------------------------------------ | ------- | ------ | --------- |\n| meta/llama-3.3-70b-instruct | 128K | No | No |\n| meta/llama-3.1-405b-instruct | 128K | No | No |\n| meta/llama-3.1-70b-instruct | 128K | No | No |\n| meta/llama-3.2-90b-vision-instruct | 128K | Yes | No |\n| meta/llama-3.2-11b-vision-instruct | 128K | Yes | No |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Meta Llama","lvl3":""}},
6085
6085
  {"objectID":"3c188653cca3eebd5cc90f43252ad42029a4fa888bfb2b470139e4e0db08e26a","title":"NVIDIA Nemotron (Reasoning)","url":"/docs/getting-started/providers/nvidia-nim#nvidia-nemotron-reasoning","content":"| Model ID | Context | Vision | Reasoning |\n| ---------------------------------------- | ------- | ------ | --------- |\n| nvidia/llama-3.3-nemotron-super-49b-v1 | 128K | No | Yes |\n| nvidia/llama-3.1-nemotron-nano-8b-v1 | 128K | No | Yes |\n| nvidia/llama-3.1-nemotron-70b-instruct | 128K | No | Yes |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"NVIDIA Nemotron (Reasoning)","lvl3":""}},
6086
6086
  {"objectID":"4d9aca0894a65a52648a73478e1c73b487411326cf63e05eb8159fd8fef0c5aa","title":"DeepSeek (Hosted on NIM)","url":"/docs/getting-started/providers/nvidia-nim#deepseek-hosted-on-nim","content":"| Model ID | Context | Vision | Reasoning |\n| ------------------------------------------- | ------- | ------ | --------- |\n| deepseek-ai/deepseek-r1 | 128K | No | Yes |\n| deepseek-ai/deepseek-r1-distill-llama-70b | 128K | No | Yes |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"DeepSeek (Hosted on NIM)","lvl3":""}},
6087
6087
  {"objectID":"8eccc475db8aa2e29bd49cd7c0ecb93be5b813979af07749f0c218abe7a71bd8","title":"Other Models","url":"/docs/getting-started/providers/nvidia-nim#other-models","content":"| Model ID | Context | Notes |\n| --------------------------------------- | ------- | ---------------- |\n| mistralai/mixtral-8x22b-instruct-v0.1 | 64K | Large MoE |\n| mistralai/mixtral-8x7b-instruct-v0.1 | 32K | Efficient MoE |\n| microsoft/phi-4 | 16K | Compact, capable |\n| google/gemma-3-27b-it | 128K | Google Gemma |\n\nAvailability, checked 2026-10-24. NVIDIA's GET https://integrate.api.nvidia.com/v1/models lists openai/gpt-oss-20b, meta/llama-3.2-90b-vision-instruct, meta/llama-3.2-11b-vision-instruct and nvidia/llama-3.1-nemotron-70b-instruct from the tables above, and none of the others. A chat request to meta/llama-3.3-70b-instruct or meta/llama-3.1-70b-instruct answers HTTP 410, \"has reached its end of life on 2026-08-26T09:00:00Z and is no longer available\"; nvidia/llama-3.3-nemotron-super-49b-v1 and mistralai/mixtral-8x22b-instruct-v0.1 also answer 410, and deepseek-ai/deepseek-r1 and meta/llama-3.1-405b-instruct answer 404. nvidia/llama-3.1-nemotron-70b-instruct is listed but answered 404 (\"not found for account\") to the key used for the check. openai/gpt-oss-20b and meta/llama-3.2-11b-vision-instruct each answered a plain request and a tool-calling request. The NvidiaNimModels enum keeps the retired members so existing code compiles.\n\nBrowse the full catalog at https://build.nvidia.com/models. You can pass any model ID via --model or model: — NIM returns 404 for IDs that are not in the catalog.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Other Models","lvl3":""}},
6088
6088
  {"objectID":"13a92a3d0f9f1c15c2bb97769daa214d7a883699f08b4789ce05ba89f0b1724b","title":"Basic Generation","url":"/docs/getting-started/providers/nvidia-nim#basic-generation","content":"Basic Generation","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Basic Generation","lvl3":""}},
6089
6089
  {"objectID":"3bc7919c7e5bb6f759acdf2b78470d89c4ec5fc0d637553c2c123240b504a105","title":"Using a Specific Model","url":"/docs/getting-started/providers/nvidia-nim#using-a-specific-model","content":"Using a Specific Model","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Using a Specific Model","lvl3":""}},
6090
- {"objectID":"def6f89a4845940b499d11b73fb1b4c4aee4bf4315cfbf3828168d4b874c3f39","title":"Reasoning with thinkingLevel","url":"/docs/getting-started/providers/nvidia-nim#reasoning-with-thinkinglevel","content":"Reasoning-capable models (Nemotron, DeepSeek-R1) accept a thinking flag via NIM's chat_template_kwargs. Pass thinkingLevel to activate it:\n\nLevels: minimal (no thinking) | low | medium | high\n\nIf the model does not support chat_template_kwargs.thinking, the provider automatically retries without it.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Reasoning with thinkingLevel","lvl3":""}},
6090
+ {"objectID":"36573826405196603df30a8a6689b9bf0223d85a4c8198708c2ee216ee2954f3","title":"Reasoning and thinkingLevel","url":"/docs/getting-started/providers/nvidia-nim#reasoning-and-thinkinglevel","content":"Two separate questions decide what you get:\nDoes the model reason? That is a property of the model. openai/gpt-oss-20b, the default, reasons on every request: NIM returns the trace as reasoning_content and NeuroLink exposes it as result.reasoning (and as reasoning chunks when streaming). No option is needed to turn it on.\nCan NeuroLink switch it on or tune it? That is a property of the provider code, and on NIM it is narrower than the thinkingLevel type suggests:\nthinkingLevel is honoured on stream() only. Any level other than minimal adds chat_template_kwargs: { thinking: true, enable_thinking: true, reasoning_budget: <maxTokens> } to the request. generate() does not forward it: the request body carries no chat_template_kwargs.\nThe three active levels are not distinguished. low, medium and high send the same flags, so thinkingLevel is an on/off switch here, with minimal meaning off.\nNeuroLink never sends reasoning_effort to NIM, so that knob is not available through it.\nAn HTTP 400 that names reasoning_budget or chat_template gets one automatic retry without that field. A 400 about the other thinking flags (thinking, enable_thinking) is not retried and is returned to you.\n\nReasoning tokens count toward maxTokens. With a small budget the model can spend all of it reasoning and stop with finish_reason: \"length\" and an empty content. On openai/gpt-oss-20b, maxTokens: 16 returned an empty answer for a one-word reply, while 64 and 256 returned it. Leave a few hundred tokens of headroom for short answers, more for hard prompts.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Reasoning and thinkingLevel","lvl3":""}},
6091
6091
  {"objectID":"7026e2a09ea6db5c0d620ce11f47fbfbeaedddcdfa16c413825bc44b46a1e5fe","title":"Streaming","url":"/docs/getting-started/providers/nvidia-nim#streaming","content":"Streaming","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Streaming","lvl3":""}},
6092
6092
  {"objectID":"7cf16919f6a4e4931c46ea94384eb786a1c93d1b73d3086b3247bb826f5844cb","title":"Per-Call Credential Override","url":"/docs/getting-started/providers/nvidia-nim#per-call-credential-override","content":"For self-hosted NIM clusters, override the base URL per call:","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Per-Call Credential Override","lvl3":""}},
6093
6093
  {"objectID":"d997142b7549ed2c6ac3cb1c791f610155830be4d3dfeacd34fc36fed024fcba","title":"Basic Commands","url":"/docs/getting-started/providers/nvidia-nim#basic-commands","content":"Basic Commands","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Basic Commands","lvl3":""}},
6094
6094
  {"objectID":"6d2c2771b00915a5ce976d69a16c5a8a23bd35f7efd262e21884530d20c0a0e4","title":"Provider Aliases","url":"/docs/getting-started/providers/nvidia-nim#provider-aliases","content":"| Alias | Example |\n| ------------ | ----------------------- |\n| nvidia-nim | --provider nvidia-nim |\n| nvidia | --provider nvidia |\n| nim | --provider nim |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Provider Aliases","lvl3":""}},
6095
6095
  {"objectID":"7fe825d689bae105fb7cc49ed299fd96c65231ea4ad501fa3c1c3ed36df332e7","title":"Configuration Reference","url":"/docs/getting-started/providers/nvidia-nim#configuration-reference","content":"| Environment Variable | Required | Default | Description |\n| ------------------------------- | -------- | ------------------------------------- | ------------------------------------------ |\n| NVIDIA_NIM_API_KEY | Yes | — | NVIDIA NIM API key (starts with nvapi-) |\n| NVIDIA_NIM_MODEL | No | openai/gpt-oss-20b | Default model |\n| NVIDIA_NIM_BASE_URL | No | https://integrate.api.nvidia.com/v1 | Base URL (override for self-hosted NIM) |\n| NVIDIA_NIM_TOP_K | No | — | Top-K sampling; -1 to disable |\n| NVIDIA_NIM_MIN_P | No | — | Minimum token probability; 0 to disable |\n| NVIDIA_NIM_REPETITION_PENALTY | No | — | Anti-repetition factor; 1 is neutral |\n| NVIDIA_NIM_MIN_TOKENS | No | — | Minimum output length in tokens |\n| NVIDIA_NIM_CHAT_TEMPLATE | No | — | Override the model's default chat template |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Configuration Reference","lvl3":""}},
6096
6096
  {"objectID":"56a3e36fceef9780446d157f62f778d26baa8a79c25571830cc4d8ca8d7b180e","title":"Self-Hosted NIM","url":"/docs/getting-started/providers/nvidia-nim#self-hosted-nim","content":"If you run NIM on your own GPU cluster, set NVIDIA_NIM_BASE_URL to point at your cluster. Authentication is still forwarded via Authorization: Bearer, so set NVIDIA_NIM_API_KEY to any non-empty value if your cluster does not require it (or to your actual cluster token if it does).","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Self-Hosted NIM","lvl3":""}},
6097
- {"objectID":"05c1f3aa67afc6e69a07d0a382fc1433f4f4bc1b1aaeba20f0dc2dbd64b4da43","title":"Feature Support","url":"/docs/getting-started/providers/nvidia-nim#feature-support","content":"| Feature | Supported | Notes |\n| --------------- | --------- | ----------------------------------------------------- |\n| Text generation | Yes | |\n| Streaming | Yes | |\n| Tool calling | Yes | Most models; depends on model support |\n| Vision / images | Yes | Model-dependent (Llama 3.2 Vision, etc.) |\n| Reasoning trace | Yes | Nemotron and DeepSeek-R1 variants via thinkingLevel |\n| Embeddings | No | Use OpenAI or Bedrock for embeddings |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Feature Support","lvl3":""}},
6097
+ {"objectID":"05c1f3aa67afc6e69a07d0a382fc1433f4f4bc1b1aaeba20f0dc2dbd64b4da43","title":"Feature Support","url":"/docs/getting-started/providers/nvidia-nim#feature-support","content":"| Feature | Supported | Notes |\n| --------------- | --------- | ---------------------------------------------------------------------------------------------------------------- |\n| Text generation | Yes | |\n| Streaming | Yes | |\n| Tool calling | Yes | Most models; depends on model support |\n| Vision / images | Yes | Model-dependent (Llama 3.2 Vision, etc.) |\n| Reasoning trace | Yes | Model-dependent; openai/gpt-oss-20b always returns one. thinkingLevel is an on/off switch on stream() only |\n| Embeddings | No | Use OpenAI or Bedrock for embeddings |","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Feature Support","lvl3":""}},
6098
6098
  {"objectID":"e113acee1e904cde2e3295ebbb99df56e1d4d712cf149f774c8fbaad6ada6770","title":"\"Invalid NVIDIA NIM API key\"","url":"/docs/getting-started/providers/nvidia-nim#invalid-nvidia-nim-api-key","content":"The NVIDIA_NIM_API_KEY is missing, expired, or incorrect.\n\nGet or rotate keys at https://build.nvidia.com/settings/api-keys.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"\"Invalid NVIDIA NIM API key\"","lvl3":""}},
6099
6099
  {"objectID":"25669258e3b272543a86496e295868082d0146aff134a84ead2bdf65fccb3ffb","title":"\"NVIDIA NIM rate limit exceeded\"","url":"/docs/getting-started/providers/nvidia-nim#nvidia-nim-rate-limit-exceeded","content":"Your account has hit its request-per-minute or token-per-day limit. Upgrade your account, reduce request frequency, or implement backoff. Check your current usage at https://build.nvidia.com/usage.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"\"NVIDIA NIM rate limit exceeded\"","lvl3":""}},
6100
6100
  {"objectID":"8fa05f7794655a8b226d68b36d26031af67d19af32b9435a02357b7f8e719862","title":"\"NVIDIA NIM model not available\"","url":"/docs/getting-started/providers/nvidia-nim#nvidia-nim-model-not-available","content":"The model ID is not in the NIM catalog, or your account tier does not have access.\n\nUse the exact model ID shown on the model's page (e.g., openai/gpt-oss-20b).","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"\"NVIDIA NIM model not available\"","lvl3":""}},
6101
6101
  {"objectID":"6bc455b9dba112ad4d4cb452dc286e558ef9098ae2c16dd0048d985ed1edad6f","title":"HTTP 410 \"has reached its end of life\"","url":"/docs/getting-started/providers/nvidia-nim#http-410-has-reached-its-end-of-life","content":"The request named a model NVIDIA has retired, for example meta/llama-3.1-70b-instruct or meta/llama-3.3-70b-instruct (retired 2026-08-26). If you did not pass model:, look for a stale NVIDIA_NIM_MODEL in your .env or shell: it takes precedence over the built-in default (openai/gpt-oss-20b). Remove it or set it to a model from the current catalog.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"HTTP 410 \"has reached its end of life\"","lvl3":""}},
6102
6102
  {"objectID":"34d171d7ade8a31dfc31588bfccef6e920cd37a662a53089aabb5983a7d2694c","title":"\"NVIDIA NIM quota exceeded\"","url":"/docs/getting-started/providers/nvidia-nim#nvidia-nim-quota-exceeded","content":"Account-level token or compute quota reached. Check your NIM dashboard.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"\"NVIDIA NIM quota exceeded\"","lvl3":""}},
6103
6103
  {"objectID":"0697a2c79b09552d2abfdc5d788f32dfeec83add6b8a40e67389ef43b6f77ac9","title":"HTTP 400 with reasoning_budget or chat_template in the error","url":"/docs/getting-started/providers/nvidia-nim#http-400-with-reasoning_budget-or-chat_template-in-the-error","content":"The model does not support one of the NIM-specific extras. The provider automatically retries without the rejected parameter. If you see this error surfaced, it means the second attempt also failed — check the rest of the error message for the root cause.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"HTTP 400 with reasoning_budget or chat_template in the error","lvl3":""}},
6104
- {"objectID":"403e25d3806bf5242a71a8e510fac16e068f907380e7f22d15d2393cbf3f28f4","title":"Thinking level has no visible effect","url":"/docs/getting-started/providers/nvidia-nim#thinking-level-has-no-visible-effect","content":"Not all models support chat_template_kwargs.thinking. If the model rejects the parameter, the provider retries the request without it and produces a normal (non-reasoning) response. Use a Nemotron or DeepSeek-R1 model for guaranteed reasoning support.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Thinking level has no visible effect","lvl3":""}},
6104
+ {"objectID":"7162fa861da3490fb14e0ab695b578a808e63f3479c23c2b34e55a26de99424c","title":"Empty content with finish_reason: \"length\"","url":"/docs/getting-started/providers/nvidia-nim#empty-content-with-finish_reason-length","content":"A reasoning model spent the whole maxTokens budget on its reasoning before it started the answer. The reasoning is in result.reasoning; raise maxTokens (a few hundred tokens is enough for a short answer on openai/gpt-oss-20b).","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Empty content with finish_reason: \"length\"","lvl3":""}},
6105
+ {"objectID":"403e25d3806bf5242a71a8e510fac16e068f907380e7f22d15d2393cbf3f28f4","title":"Thinking level has no visible effect","url":"/docs/getting-started/providers/nvidia-nim#thinking-level-has-no-visible-effect","content":"On generate(), thinkingLevel is not forwarded to NIM at all; use stream().\nOn stream(), any level except minimal sends the same thinking flags, so low, medium and high behave alike.\nA model that already reasons on every request, such as openai/gpt-oss-20b, returns its trace with or without the flags.\nIf the model rejects reasoning_budget with a 400 that names it, the provider retries once without it. A rejection of thinking or enable_thinking is not retried and comes back as the 400.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"Thinking level has no visible effect","lvl3":""}},
6105
6106
  {"objectID":"81d809e5e2f1a5432e211618570e5863285ced65bb39c3837bad507e576cc2b2","title":"See Also","url":"/docs/getting-started/providers/nvidia-nim#see-also","content":"Implementation spec — internal wire-format details and NIM-specific extras\nDeepSeek provider — if you only need DeepSeek-R1 via the official DeepSeek API\nOpenAI Compatible provider — generic provider for any OpenAI-compatible endpoint\n\nNeed Help? Join the GitHub Discussions or open an issue.","hierarchy":{"lvl0":"Getting Started","lvl1":"NVIDIA NIM Provider Guide","lvl2":"See Also","lvl3":""}},
6106
6107
  {"objectID":"ec3ac003bf51ae7a21d4557697635c22addb912b2f8a6812afd05c7617b743fd","title":"Ollama Provider Guide","url":"/docs/getting-started/providers/ollama","content":"Ollama Provider Guide\n\nRun AI models locally with full privacy - no API key or cloud service required\n\nOverview\n\nOllama lets you run open-source large language models entirely on your own machine. NeuroLink integrates with Ollama through a custom OllamaLanguageModel implementation that supports both the native Ollama API (/api/generate) and an OpenAI-compatible mode (/v1/chat/completions).\n\nKey Benefits\n100% Local: All inference runs on your hardware, no data leaves your machine\nNo API Key Required: No accounts, billing, or rate limits\nOffline Capable: Works completely without internet after models are pulled\n70+ Models: Llama, Mistral, Qwen, DeepSeek, Gemma, Phi, CodeLlama, and more\nTool/Function Calling: Multi-step tool execution via the OpenAI-compatible endpoint\nStreaming: Full streaming support in both native and OpenAI-compatible modes\nMultimodal: Image input support for vision-capable models (LLaVA, Llama 3.2)\nProxy-Aware: Supports HTTP/HTTPS proxy configuration\n\nAPI Modes\n\n| Mode | Endpoint | Use Case |\n| --------------------- | ---------------------- | ------------------------------------------------- |\n| Native (default) | /api/generate | Standard text generation and streaming |\n| OpenAI-compatible | /v1/chat/completions | Tool calling, chat-format messages, compatibility |\n\nTool calling always uses the OpenAI-compatible endpoint regardless of the mode setting.\n\nQuick Start\nInstall Ollama\n\nDownload from ollama.ai, open the .dmg, and drag Ollama to Applications.\n\nDownload the installer from ollama.ai and run it. WSL2 is also supported.\nStart Ollama and Pull a Model\nConfigure NeuroLink\n\nAdd to your .env file:\nTest the Setup\n\nSupported Models\n\nAvailable Models (from OllamaModels enum)\n\nAny model in the Ollama library can be used by passing its tag to --model. The OllamaModels enum in src/lib/constants/enums.ts provides named constants for common models:\n\nLlama Series\n\n| Enum Key | Model ID | Description |\n| ----------------- | ----------------- | ---------------------------------------- |\n| LLAMA4_SCOUT | llama4:scout | Llama 4 multimodal with vision and tools |\n| LLAMA4_MAVERICK | llama4:maverick | Llama 4 multimodal with vision and tools |\n| LLAMA3_3_70B | llama3.3:70b | High-performance 70B |\n| LLAMA3_2_LATEST | llama3.2:latest | Optimized for edge deployment (default) |\n| LLAMA3_2_3B | llama3.2:3b | Compact 3B edge model |\n| LLAMA3_2_1B | llama3.2:1b | Ultra-compact 1B model |\n| LLAMA3_1_8B | llama3.1:8b | Open model rivaling proprietary models |\n| LLAMA3_1_70B | llama3.1:70b | Large-scale open model |\n| LLAMA3_1_405B | llama3.1:405b | Largest open Llama model |\n\nQwen Series\n\n| Enum Key | Model ID | Description |\n| ------------- | ------------- | -------------------------------- |\n| QWEN3_4B | qwen3:4b | Advanced reasoning, multilingual |\n| QWEN3_8B | qwen3:8b | Advanced reasoning, multilingual |\n| QWEN3_14B | qwen3:14b | Advanced reasoning, multilingual |\n| QWEN3_32B | qwen3:32b | Advanced reasoning, multilingual |\n| QWEN3_72B | qwen3:72b | Advanced reasoning, multilingual |\n| QWQ_32B | qwq:32b | Reasoning-specialized model |\n| QWEN2_5_72B | qwen2.5:72b | Enhanced coding and mathematics |\n\nDeepSeek Series\n\n| Enum Key | Model ID | Description |\n| -------------------- | -------------------- | -------------------------- |\n| DEEPSEEK_R1_7B | deepseek-r1:7b | State-of-the-art reasoning |\n| DEEPSEEK_R1_14B | deepseek-r1:14b | Reasoning at 14B scale |\n| DEEPSEEK_R1_32B | deepseek-r1:32b | Reasoning at 32B scale |\n| DEEPSEEK_R1_70B | deepseek-r1:70b | Large-scale reasoning |\n| DEEPSEEK_V3_LATEST | deepseek-v3:latest | Mixture of Experts model |\n\nMistral Series\n\n| Enum Key | Model ID | Description |\n| ---------------------- | ---------------------- | ---------------------------- |\n| MISTRAL_LATEST | mistral:latest | Efficient general-purpose 7B |\n| MISTRAL_SMALL_LATEST | mistral-small:latest | Compact Mistral variant |\n| MISTRAL_NEMO_LATEST | mistral-nemo:latest | Nemo architecture |\n| MISTRAL_LARGE_LATEST | mistral-large:latest | Largest Mistral model |\n\nCode-Specialized Models\n\n| Enum Key | Model ID | Description |\n| ------------------- | ------------------- | ------------------------- |\n| CODELLAMA_7B | codellama:7b | Code-focused Llama 7B |\n| CODELLAMA_13B | codellama:13b | Code-focused Llama 13B |\n| CODELLAMA_34B | codellama:34b | Code-focused Llama 34B |\n| CODELLAMA_70B | codellama:70b | Code-focused Llama 70B |\n| QWE","hierarchy":{"lvl0":"Getting Started","lvl1":"Ollama Provider Guide","lvl2":"","lvl3":""}},
6107
6108
  {"objectID":"279448d05aa41576a8f2d67b977f92d561f583abcce219892e3dea61565b5d4d","title":"Ollama Provider Guide","url":"/docs/getting-started/providers/ollama#ollama-provider-guide","content":"Run AI models locally with full privacy - no API key or cloud service required","hierarchy":{"lvl0":"Getting Started","lvl1":"Ollama Provider Guide","lvl2":"Ollama Provider Guide","lvl3":""}},
@@ -6556,7 +6557,7 @@
6556
6557
  {"objectID":"0e9ffbaad88dadb6493a28fd7481227ff45f814672b9224e965f48bf3b8b9e0b","title":"When NeuroLink uses it","url":"/docs/getting-started/providers/scaledown#when-neurolink-uses-it","content":"Every built-in consumer of decide — model routing, relevance-driven\ncompaction, tool routing and RAG planning — asks for the default decision\nprovider. That is the first one that is configured, in the environment or in\nthe credentials passed to the SDK, in the order TypeSafe, Laya,\nXOR, SubQ, Perplexity,\nCloudflare Clef, OpenAI Decisions,\nthen ScaleDown. ScaleDown counts with its key alone. So:\nOnly a ScaleDown key: built-in features use ScaleDown, and each of their\n decisions is then a paid request (see Cost) that still falls back to\n what NeuroLink did before on any failure.\nA ScaleDown key, plus any earlier provider's key: built-in features use\n that earlier provider. ScaleDown runs only where a caller asks for\n provider: \"scaledown\".\nA blank SCALEDOWN_API_KEY: no key. ScaleDown is not configured.\nprovider: \"scaledown\" with no key: an authentication error and no\n request.\n\nScaleDown is last on purpose, and its key is not shared. Apart from ScaleDown, the providers that\ncome after SubQ in the order are the ones whose key is also read by a text\nprovider (Perplexity's, the Cloudflare pair and OpenAI's), placed behind it so\nthat a key set only for a text provider cannot displace a decision provider a\nhost set up on purpose. That reasoning does not cover ScaleDown, whose key\nbelongs to no other provider: it was placed last, after OpenAI Decisions, as a\ndeliberate choice and not by that rule. The effect is that an ambient OPENAI_API_KEY, PERPLEXITY_API_KEY or\nCloudflare pair in the environment outranks a SCALEDOWN_API_KEY set on purpose.\nThe one exception is a gateway's key: an OPENAI_API_KEY found only in the\nenvironment is skipped for the default while OPENAI_BASE_URL, OPENAI_API_BASE\nor credentials.openai.baseURL names a host other than https://api.openai.com,\nso with nothing earlier configured ScaleDown is the default.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"When NeuroLink uses it","lvl3":""}},
6557
6558
  {"objectID":"b06a4af3a93c004935822bcc4b8c3fa7b19a496460ca3d2a9f8ea72446d6c262","title":"How the catalog entry says this","url":"/docs/getting-started/providers/scaledown#how-the-catalog-entry-says-this","content":"scaledown.json needed two optional keys in its decide block that no earlier\nentry set, both read by the shared catalog engine for any entry that sets them.\nAn entry that omits them behaves exactly as before.\n\n| Key | Value | What it does |\n| --------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| authHeader | \"x-api-key\" | The API key is sent as x-api-key: <key> and no Authorization header is sent at all. \"bearer\", the default when the key is omitted, sends Authorization: Bearer <key>. This is the decide request's own setting; quirks.authHeaderStyle belongs to the chat path and is not read here |\n| stateEncoding | \"text\" | The state that goes out is always a string: a string is sent unchanged (not trimmed), any other value as its JSON text, and a state that is blank after trimming is refused before any request as an invalid_request. Omitted means the state goes out as given |\n\nThe rest of the entry is the same kind of data every decide entry carries: the\nsystem-one dialect, order 8, the endpoint {baseURL}/v1/scaledown, the model in\nthe body, trailing slashes dropped from the base URL, and the error rules in the\ntable below. The fields are also described in the generated API reference, under\nDecideBlock.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"How the catalog entry says this","lvl3":""}},
6558
6559
  {"objectID":"9f3c9d52f412bb381d8f770fa11e1de1c1f66ba5b56c324de62a11d5f6cf35bd","title":"Images and video","url":"/docs/getting-started/providers/scaledown#images-and-video","content":"ScaleDown's endpoint reads text only, and the catalog entry declares no media. An\nimage or a video attached to a decide() call for ScaleDown is refused before any\nrequest, as an invalid_request, and the catalog marks both models\nvision: false. This refusal comes before the blank-state check, so a call that\ncarries media is always refused for the media. To decide over images today, use\nXOR, Perplexity,\nCloudflare Clef or OpenAI Decisions.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Images and video","lvl3":""}},
6559
- {"objectID":"32661eaf2994628038e0d49fc81ee5e962c42273147ac024b6b6a66c0d2f2142","title":"Timeouts","url":"/docs/getting-started/providers/scaledown#timeouts","content":"The default is 30,000 ms per attempt. The entry declares it (timeouts.decideMs\nin scaledown.json); 30,000 ms is also what the provider base class gives an\nentry that declares none. There is no shared 5,000 ms default: a provider that\nwants a shorter limit declares one, as TypeSafe, Laya and XOR declare 5,000 ms.\n\n30 seconds is not derived from a measurement of ScaleDown, but a 5-second limit\nwould have cut answers off. In the live test of 2026-10-20, with no timeoutMs, 10 identical\n265-token requests were answered in 0.3 to 9.8 s, and two of them (6.1 s and\n9.8 s) took longer than 5 s. A choice question is scored once per option, and the\nmarketing session saw one ScaleDown 504 (Endpoint request timed out) after\nabout 29 seconds. ScaleDown's own latency is otherwise not measured here, so a\ncaller with many options or a long state should pass timeoutMs.\n\nA 504 that ScaleDown sends is classified timeout and is not retried. A timeout\nraised by NeuroLink's own clock is retried once, so a request that never answers\nfails after about twice the limit (a loopback stand-in, not ScaleDown, that did\nnot answer in 30 s was cut off at 30,000 ms and retried, 60.4 s in all).","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Timeouts","lvl3":""}},
6560
+ {"objectID":"32661eaf2994628038e0d49fc81ee5e962c42273147ac024b6b6a66c0d2f2142","title":"Timeouts","url":"/docs/getting-started/providers/scaledown#timeouts","content":"The default is 30,000 ms per attempt. The entry declares it (timeouts.decideMs\nin scaledown.json); 30,000 ms is also what the provider base class gives an\nentry that declares none. There is no shared 5,000 ms default: a provider that\nwants a shorter limit declares one, as TypeSafe, Laya and XOR declare 5,000 ms.\n\n30 seconds is not derived from a measurement of ScaleDown, but a 5-second limit\nwould have cut answers off. In the live test of 2026-10-20, with no timeoutMs, 10 identical\n265-token requests were answered in 0.3 to 9.8 s, and two of them (6.1 s and\n9.8 s) took longer than 5 s. A choice question is scored once per option, and the\nmarketing session saw one ScaleDown 504 (Endpoint request timed out) after\nabout 29 seconds. ScaleDown's own latency is otherwise not measured here, so a\ncaller with many options or a long state should pass timeoutMs.\n\nA 504 that ScaleDown sends is classified timeout and is not retried. A timeout\nraised by NeuroLink's own clock before any response arrives is retried once, so a\nrequest that never answers fails after about twice the limit (a loopback\nstand-in, not ScaleDown, that did not answer in 30 s was cut off at 30,000 ms and\nretried, 60.4 s in all). A 200 whose body then stalls past the limit is not\nretried: the body read is cut off, the payload is empty, and the call fails after\none limit with a server error for a response without an answers map; an error\nstatus whose body stalls follows that status's usual retry rule. That is read from\nthe code, which every decision provider shares, not measured.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Timeouts","lvl3":""}},
6560
6561
  {"objectID":"a09b830ff06ece8be11a2d4fb2093b734e19a11ba1ba8393b17cce73b3f653b7","title":"Cost","url":"/docs/getting-started/providers/scaledown#cost","content":"List price: USD 0.05 per million input tokens, with output tokens not\ncharged, from ScaleDown's launch post and from the usage.cost in a response, as\nreported to this project by the marketing session on 2026-10-15. This project has\nnot priced a call itself and has not checked the rate since, so check ScaleDown's\ndashboard for the current one.\n\nNeuroLink prices a decision from the input tokens the reply reports, at that one\nrate, and counts output tokens at nothing. It does not read the reply's\nusage.cost. result.usage and the CLI's Cost: line are therefore an estimate\nfrom the list price, not a bill. A reply that reports no usage is priced at zero.\nThe sign-up allowance is a free allowance whose expiry is not established.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Cost","lvl3":""}},
6561
6562
  {"objectID":"9fe742ca7befe0c2159befcd8359f9831dcb2b94f4f462faff3e74b86b47fffc","title":"Errors","url":"/docs/getting-started/providers/scaledown#errors","content":"ScaleDown's documentation lists HTTP 402 (insufficient credits), 422 (invalid),\n502 (model service error) and 504 (timeout). The marketing session also saw, on\n2026-10-15, a 429 Max queue length has been reached (no rate-limit headers; it\ncleared after a few seconds) and a 504 Endpoint request timed out, and each\nwas answered when it retried by hand. NeuroLink shows the detail text of an\nerror body, whether it is a plain string, an object with a message, or a list\nof validation errors. A list, which is the form both 422 bodies took in the live\ntest of 2026-10-20, is shown as Request failed validation — <where>: <reason>,\nfor up to five entries and without the input each entry echoes back (that is\nthe request, state included). A body in any other form gives only\nScaleDown request failed with HTTP <status>; the kind and the retry behaviour\ndo not change.\n\n| Reply | Kind | Retried |\n| ---------------------------------------------------- | ------------------------------------------------------------------------- | --------- |\n| 401 | authentication — the provider instance stops retrying | no |\n| 402 | invalid_request — no credit left, or a key ScaleDown does not recognise | no |\n| 422 | invalid_request, with ScaleDown's reason when the body shows one | no |\n| 429 | rate_limit | yes, once |\n| 502 | server | yes, once |\n| 504 | timeout","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Errors","lvl3":""}},
6562
6563
  {"objectID":"586e2eeaa1cb6c511d8eabf5f8e3aea68d19a0585eef1879b0a8432342bd93a7","title":"Data retention","url":"/docs/getting-started/providers/scaledown#data-retention","content":"NeuroLink has not read ScaleDown's data-handling terms. The state and the questions\nof every request go to api.scaledown.xyz, including the ones the built-in\nconsumers send for model routing, compaction, tool routing and RAG planning\nwhenever ScaleDown is the default decision provider. Read ScaleDown's terms before\nsending anything sensitive.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Data retention","lvl3":""}},
@@ -9776,7 +9777,7 @@
9776
9777
  {"objectID":"64c8513d79573595bd25cf0d845b49f256c3cf9de8563ac2436454e2b1e09451","title":"Tool Calling / Function Calling","url":"/docs/reference/provider-comparison#tool-calling-function-calling","content":"Native Full Support:\n✓ OpenAI - Industry-leading function calling\n✓ Anthropic - Advanced tool use, parallel execution\n✓ Azure OpenAI - Same as OpenAI\n✓ Mistral - Native function calling\n✓ Google Vertex - Gemini + Claude models\n✓ Google AI Studio - Gemini models\n✓ Amazon Bedrock - Converse API tool support\n✓ LiteLLM - Proxies to backend providers\n✓ DeepSeek - Both deepseek-chat and deepseek-reasoner\n\nModel-Dependent Support:\n⚠️ NVIDIA NIM - Depends on hosted model (Llama 3.x: yes; embedding-only models: no)\n⚠️ LM Studio - Depends on loaded model (Llama 3.1+, Mistral 7B Instruct v0.3, etc.)\n⚠️ llama.cpp - Requires --jinja server flag; depends on loaded model\n⚠️ HuggingFace - Only specific models:\nLlama 3.1+ series\nHermes 3 models\nCodeLlama 34B\nMistral 7B Instruct v0.3\n⚠️ Ollama - Only compatible models:\nLlama 3.1+\nGemma 3 with tool training\n⚠️ OpenRouter - Check model capabilities:\nClaude models: ✓\nGPT-4 models: ✓\nGemini models: ✓\nMany others vary\n⚠️ OpenAI Compatible - Depends on backend\n⚠️ Amazon SageMaker - Depends on custom endpoint","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"Tool Calling / Function Calling","lvl3":""}},
9777
9778
  {"objectID":"1f40384e83724e7342fc4f35571f89a9d311598beddf5e55ef662095a3b09b39","title":"Vision / Multimodal Capabilities","url":"/docs/reference/provider-comparison#vision-multimodal-capabilities","content":"Native Vision Support:\n\nTier 1 (Best Vision):\nOpenAI - GPT-4o, GPT-5 series, O-series\n10 images max\nPNG, JPEG, WEBP, GIF\nAnthropic - Claude 4.5 Sonnet/Haiku, Claude 4.0 Opus/Sonnet\n20 images max\nExcellent vision quality\nGoogle Vertex/AI Studio - Gemini 2.5+, 3.x\n16 images max\nNative multimodal architecture\n\nTier 2 (Good Vision):\nAzure OpenAI - Same models as OpenAI\n10 images max\nMistral - Small 2506, Pixtral\n10 images max (conservative)\n\nModel-Dependent Vision:\n⚠️ LiteLLM - Depends on backend (e.g., GPT-4o via LiteLLM = vision)\n⚠️ Ollama - LLaVA, Llama 3.2 Vision, Gemini models\n⚠️ OpenAI Compatible - Backend-dependent\n⚠️ OpenRouter - Model-dependent (Claude, GPT-4o, Gemini support vision)\n⚠️ Amazon Bedrock - Claude models support vision\n⚠️ NVIDIA NIM - Depends on hosted model (e.g., Phi-3-vision, Llama 3.2 Vision)\n⚠️ LM Studio - Depends on loaded model (LLaVA, Llama 3.2 Vision, Qwen-VL, etc.)\n⚠️ llama.cpp - Depends on loaded model (LLaVA, Llama 3.2 Vision, etc.)\n\nNo Vision Support:\n✗ HuggingFace\n✗ Amazon SageMaker\n✗ DeepSeek (API does not accept image input)","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"Vision / Multimodal Capabilities","lvl3":""}},
9778
9779
  {"objectID":"911528f2fb54ac08272012c7be3a0138b20e326674d6b43dfadd365c29c1f5ac","title":"PDF Document Processing","url":"/docs/reference/provider-comparison#pdf-document-processing","content":"Native PDF Support:\n✓ Anthropic - Native PDF understanding (best)\n✓ Google AI Studio - Gemini PDF processing\n✓ Google Vertex - Gemini + Claude PDF support\n✓ Amazon Bedrock - Claude models\n\nNo PDF Support (Requires Preprocessing):\n✗ OpenAI\n✗ Azure OpenAI\n✗ Mistral\n✗ HuggingFace\n✗ LiteLLM\n✗ Ollama\n✗ OpenAI Compatible\n✗ OpenRouter\n✗ Amazon SageMaker\n✗ DeepSeek\n✗ NVIDIA NIM\n✗ LM Studio\n✗ llama.cpp","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"PDF Document Processing","lvl3":""}},
9779
- {"objectID":"4f50978899e311665cef4648bef20d67023649b38ba24da8fd3138020c508876","title":"Extended Thinking / Reasoning","url":"/docs/reference/provider-comparison#extended-thinking-reasoning","content":"Native Extended Thinking:\n✓ Anthropic - All Claude 4.0+ models (best)\nClaude Sonnet 4, Opus 4, Opus 4.1, Sonnet 4.5, Opus 4.5, Haiku 4.5, Sonnet 4.6, Opus 4.6\nThinking levels: minimal, low, medium, high\nTransparent reasoning process\nAvailable on Pro and Max subscription tiers (not Free)\n✓ Google AI Studio - Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 3 Flash, Gemini 3.1 Pro\nThinking levels: minimal, low, medium, high\nConfigurable thinking budget\n✓ Google Vertex - Same as AI Studio (Gemini only, not Claude)\n\nNative Extended Thinking (continued):\n✓ DeepSeek - deepseek-reasoner (R1) model exposes chain-of-thought natively; deepseek-chat supports opt-in thinking mode\n✓ NVIDIA NIM - Hosted Nemotron-Reasoning and DeepSeek-R1 models; controlled via thinkingLevel option\n\nModel-Dependent Thinking:\n⚠️ LM Studio - Depends on loaded model (Qwen3, DeepSeek-R1-distill variants expose reasoning)\n⚠️ llama.cpp - Depends on loaded model (DeepSeek-R1-distill GGUF variants expose reasoning)\n\nNo Extended Thinking:\n✗ OpenAI (standard reasoning only)\n✗ Azure OpenAI\n✗ Amazon Bedrock\n✗ Amazon SageMaker\n✗ Mistral\n✗ HuggingFace\n✗ LiteLLM\n✗ Ollama\n✗ OpenAI Compatible\n✗ OpenRouter","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"Extended Thinking / Reasoning","lvl3":""}},
9780
+ {"objectID":"4f50978899e311665cef4648bef20d67023649b38ba24da8fd3138020c508876","title":"Extended Thinking / Reasoning","url":"/docs/reference/provider-comparison#extended-thinking-reasoning","content":"Native Extended Thinking:\n✓ Anthropic - All Claude 4.0+ models (best)\nClaude Sonnet 4, Opus 4, Opus 4.1, Sonnet 4.5, Opus 4.5, Haiku 4.5, Sonnet 4.6, Opus 4.6\nThinking levels: minimal, low, medium, high\nTransparent reasoning process\nAvailable on Pro and Max subscription tiers (not Free)\n✓ Google AI Studio - Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 3 Flash, Gemini 3.1 Pro\nThinking levels: minimal, low, medium, high\nConfigurable thinking budget\n✓ Google Vertex - Same as AI Studio (Gemini only, not Claude)\n\nNative Extended Thinking (continued):\n✓ DeepSeek - deepseek-reasoner (R1) model exposes chain-of-thought natively; deepseek-chat supports opt-in thinking mode\n✓ NVIDIA NIM - Reasoning depends on the hosted model: the default openai/gpt-oss-20b returns a reasoning trace on every request. thinkingLevel is an on/off switch on stream() only (see the NVIDIA NIM guide)\n\nModel-Dependent Thinking:\n⚠️ LM Studio - Depends on loaded model (Qwen3, DeepSeek-R1-distill variants expose reasoning)\n⚠️ llama.cpp - Depends on loaded model (DeepSeek-R1-distill GGUF variants expose reasoning)\n\nNo Extended Thinking:\n✗ OpenAI (standard reasoning only)\n✗ Azure OpenAI\n✗ Amazon Bedrock\n✗ Amazon SageMaker\n✗ Mistral\n✗ HuggingFace\n✗ LiteLLM\n✗ Ollama\n✗ OpenAI Compatible\n✗ OpenRouter","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"Extended Thinking / Reasoning","lvl3":""}},
9780
9781
  {"objectID":"cd68af52bcf2e36d3b2e97be0a344bf44a6b1d38fb99f65b4fe0a2ef6ab01c7a","title":"Structured Output / JSON Schema","url":"/docs/reference/provider-comparison#structured-output-json-schema","content":"Full Support (Tools + Schema Together):\n✓ OpenAI - Native JSON mode\n✓ Anthropic - Full schema + tools\n✓ Azure OpenAI - Same as OpenAI\n✓ Amazon Bedrock - Schema validation\n✓ Mistral - JSON schema support\n✓ LiteLLM - Proxies to backend\n✓ OpenAI Compatible - OpenAI-compatible endpoints\n✓ OpenRouter - Model-dependent\n✓ DeepSeek - JSON schema support via OpenAI-compatible API\n\nPartial Support (Tools OR Schema, Not Both):\n⚠️ Google AI Studio - ❌ Cannot combine\nMust use disableTools: true with schemas\nGemini API limitation\n⚠️ Google Vertex - ❌ Cannot combine (Gemini models only)\nClaude models on Vertex CAN combine\nGemini models have same limitation as AI Studio\n\nModel-Dependent Structured Output:\n⚠️ NVIDIA NIM - Model-dependent reliability; capable frontier models work well\n⚠️ LM Studio - Model-dependent reliability; small local models may struggle with strict schemas\n⚠️ llama.cpp - Model-dependent reliability; small local models may struggle with strict schemas\n\nNo Structured Output:\n✗ HuggingFace\n✗ Ollama\n✗ Amazon SageMaker","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"Structured Output / JSON Schema","lvl3":""}},
9781
9782
  {"objectID":"038b1663987283255a2c0201ac7fbc8e702454e5d9b474d2b3d36f80a603bc4d","title":"1. OpenAI","url":"/docs/reference/provider-comparison#1-openai","content":"Provider ID: openai\nDefault Model: gpt-4o-mini\n\nStrengths:\nIndustry-leading model quality\nBest-in-class developer experience\nExtensive ecosystem and integrations\nExcellent documentation\nReliable uptime and performance\n\nWeaknesses:\nExpensive at scale\nNo free tier\nNo PDF support\nNo extended thinking\n\nBest For:\nProduction applications requiring highest quality\nCritical customer-facing features\nComplex reasoning tasks\nWhen budget allows premium pricing\n\nPricing:\nGPT-4o: $2.50/$10.00 per 1M tokens\nGPT-4o-mini: $0.15/$0.60 per 1M tokens\nGPT-5 series: $15.00-$60.00 input, $45.00-$180.00 output","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"1. OpenAI","lvl3":""}},
9782
9783
  {"objectID":"a7b8772db759f78d7770cfdd8bb85cd0e79d6fb9a833bf5901d2cc57bec7923e","title":"2. Anthropic","url":"/docs/reference/provider-comparison#2-anthropic","content":"Provider ID: anthropic\nDefault Model: claude-sonnet-4-6\nAuth Methods: API Key, OAuth 2.0 (unique among providers)\n\nStrengths:\nExtended thinking - Best reasoning capabilities\nNative PDF support - Document understanding\nDual auth support - API key for developers, OAuth for subscription users\nSubscription tiers - Free, Pro ($20/mo), Max ($100+/mo) as alternatives to per-token pricing\n200K token context window\nStrong safety features\nExcellent for analysis and research\n\nWeaknesses:\nHigher cost than some alternatives (API pricing)\nSmaller ecosystem than OpenAI\nLimited regional availability\nSubscription tiers have model access restrictions (e.g., Opus requires Max tier)\n\nBest For:\nComplex reasoning and analysis\nDocument processing workflows\nAgentic workflows with tools\nWhen extended thinking is valuable\nSubscription users who prefer flat-rate pricing over per-token costs\n\nPricing:\n\nPer-Token API Pricing:\nClaude Haiku 4.5: $0.25/$1.25 per 1M tokens\nClaude Sonnet 4.5: $3.00/$15.00 per 1M tokens\nClaude Opus 4.5: $15.00/$75.00 per 1M tokens\n\nSubscription Pricing (via OAuth):\nFree: Limited daily messages, Sonnet access\nPro ($20/mo): Higher limits, priority access, extended thinking\nMax ($100+/mo): 5x-20x usage, Opus access, highest rate limits","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"2. Anthropic","lvl3":""}},
@@ -9792,7 +9793,7 @@
9792
9793
  {"objectID":"5850b5e6ab599e2c9e2952653e0db0616ccd777c908edd1b43dd4381d0d1eab7","title":"12. OpenAI Compatible","url":"/docs/reference/provider-comparison#12-openai-compatible","content":"Provider ID: openai-compatible\nDefault Model: Auto-discovered\n\nStrengths:\nWorks with any OpenAI-compatible endpoint\nvLLM, FastChat, LocalAI support\nCustom deployment flexibility\nAuto-discovers available models\n\nWeaknesses:\nCapabilities entirely backend-dependent\nNo standardized capability detection\nConfiguration varies by provider\nAuthentication varies\n\nBest For:\nCustom deployments (vLLM, FastChat)\nInternal model serving\nPrivate cloud deployments\nWhen you control the backend\n\nPricing:\nDepends entirely on backend provider\nSelf-hosted: Infrastructure costs only\nCloud-hosted: Provider-specific pricing","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"12. OpenAI Compatible","lvl3":""}},
9793
9794
  {"objectID":"260fb153eca401bd1ca6ed426b7f594aba2907dd9389b79d0bfe62380fc8a7be","title":"13. OpenRouter","url":"/docs/reference/provider-comparison#13-openrouter","content":"Provider ID: openrouter\nDefault Model: anthropic/claude-3-5-sonnet\n\nStrengths:\nAccess to 300+ models from 60+ providers\nMany FREE models available\nAutomatic failover\nUnified API for all models\nCost tracking\n\nWeaknesses:\nTool support varies by model\nVision support varies by model\nCredit-based pricing system\nModel availability can change\n\nBest For:\nAccess to many providers via one API\nCost optimization (free models available)\nRapid prototyping\nWhen you want provider flexibility\n\nPricing:\nFree models available:\nGoogle Gemini 2.0 Flash: FREE\nMeta Llama 3.3 70B: FREE\nQwen models: FREE\nPaid models:\nClaude 3.5 Sonnet: $3.00/$15.00 per 1M tokens\nGPT-4o: $2.50/$10.00 per 1M tokens","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"13. OpenRouter","lvl3":""}},
9794
9795
  {"objectID":"e3aa53a228f2eb44916ad3d765c881b2565668588e1c94e1df543232a78413f6","title":"14. DeepSeek","url":"/docs/reference/provider-comparison#14-deepseek","content":"Provider ID: deepseek\nDefault Model: deepseek-chat\nAliases: ds\n\nStrengths:\nVery competitive pricing (among the cheapest frontier-quality models)\ndeepseek-reasoner (R1) — strong open-weight reasoning model\nOpenAI-compatible API — minimal integration overhead\nTool calling supported on both models\n\nWeaknesses:\nNo vision / multimodal support\nCloud-only (data sent to DeepSeek servers in China — consider for compliance)\nNo PDF support\n\nBest For:\nCost-sensitive text and reasoning workloads\nAgentic tool-calling pipelines where budget matters\nExperimenting with open-weight-quality reasoning at low cost\n\nPricing:\ndeepseek-chat (V3): ~$0.14/$0.28 per 1M tokens\ndeepseek-reasoner (R1): ~$0.55/$2.19 per 1M tokens","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"14. DeepSeek","lvl3":""}},
9795
- {"objectID":"6e5ecdf1db31b0952ff3e3ab0758af1a084052e528319de6bc88f64cef9c3d97","title":"15. NVIDIA NIM","url":"/docs/reference/provider-comparison#15-nvidia-nim","content":"Provider ID: nvidia-nim\nDefault Model: openai/gpt-oss-20b\nAliases: nvidia, nim\n\nStrengths:\nAccess to NVIDIA-hosted Llama, Mistral, Nemotron, DeepSeek models\nThinking/reasoning supported on Nemotron-Reasoning and DeepSeek-R1 models\nVision supported on vision-capable models (Phi-3-vision, Llama 3.2 Vision)\nOpenAI-compatible API with NIM-specific extras (top_k, min_p, reasoning_budget)\nGraceful retry on 400 errors — drops unsupported extras automatically\n\nWeaknesses:\nTool and vision capability depends entirely on the specific hosted model\nRequires NVIDIA NGC API key\nNo PDF support\n\nBest For:\nRunning NVIDIA-optimized Llama/Mistral/Nemotron models in the cloud\nReasoning workloads via hosted DeepSeek-R1 or Nemotron\nDevelopers already in the NVIDIA ecosystem (NGC, DGX Cloud)\n\nPricing:\nVaries by model; new accounts receive free credits\nSee https://build.nvidia.com/models for per-model pricing","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"15. NVIDIA NIM","lvl3":""}},
9796
+ {"objectID":"6e5ecdf1db31b0952ff3e3ab0758af1a084052e528319de6bc88f64cef9c3d97","title":"15. NVIDIA NIM","url":"/docs/reference/provider-comparison#15-nvidia-nim","content":"Provider ID: nvidia-nim\nDefault Model: openai/gpt-oss-20b\nAliases: nvidia, nim\n\nStrengths:\nAccess to NVIDIA-hosted Llama, Mistral, Nemotron, DeepSeek models\nReasoning is model-dependent: the default openai/gpt-oss-20b returns a reasoning trace on every request; thinkingLevel toggles NIM's thinking flags on stream() only\nVision supported on vision-capable models (Phi-3-vision, Llama 3.2 Vision)\nOpenAI-compatible API with NIM-specific extras (top_k, min_p, reasoning_budget)\nGraceful retry on 400 errors — drops unsupported extras automatically\n\nWeaknesses:\nTool and vision capability depends entirely on the specific hosted model\nRequires NVIDIA NGC API key\nNo PDF support\n\nBest For:\nRunning NVIDIA-optimized Llama/Mistral/Nemotron models in the cloud\nReasoning workloads on hosted reasoning models such as openai/gpt-oss-20b\nDevelopers already in the NVIDIA ecosystem (NGC, DGX Cloud)\n\nPricing:\nVaries by model; new accounts receive free credits\nSee https://build.nvidia.com/models for per-model pricing","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"15. NVIDIA NIM","lvl3":""}},
9796
9797
  {"objectID":"3d848b89e6f368d83d5eb4c1857ca90c4fa81391f9da441b10fb82227632408f","title":"16. LM Studio","url":"/docs/reference/provider-comparison#16-lm-studio","content":"Provider ID: lm-studio\nDefault Model: Auto-discovered from running server\nAliases: lmstudio, lms\n\nStrengths:\nCompletely FREE (local execution via LM Studio desktop app)\nMaximum privacy — no data sent to cloud\nAuto-discovers the currently loaded model via /v1/models\nVision supported on compatible models (LLaVA, Llama 3.2 Vision, Qwen-VL, etc.)\nTool calling supported on compatible models\n\nWeaknesses:\nRequires LM Studio app and a loaded model\nModel quality and capability depend entirely on what is loaded\nNo PDF support\nSmall local models may give inconsistent structured output\n\nBest For:\nPrivacy-critical local inference\nOffline / air-gapped environments\nDevelopment and experimentation without cloud costs\nTesting multiple open-weight models via a GUI\n\nPricing:\nFREE (hardware costs only)\nRequires local GPU for best performance","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"16. LM Studio","lvl3":""}},
9797
9798
  {"objectID":"a0f05ec8e14d9e4fb69779c0c25f1e732ae384b506c5be585c5089cd457f293f","title":"17. llama.cpp","url":"/docs/reference/provider-comparison#17-llamacpp","content":"Provider ID: llamacpp\nDefault Model: Auto-discovered from running llama-server\nAliases: llama.cpp, llama-cpp\n\nStrengths:\nCompletely FREE (local execution via llama-server)\nMaximum privacy — no data sent to cloud\nGGUF model support — run quantized models on CPU or GPU\nAuto-discovers loaded model via /v1/models\nVision supported on compatible models (LLaVA, Llama 3.2 Vision)\nTool calling supported when server started with --jinja flag\n\nWeaknesses:\nRequires building / downloading llama-server and a GGUF model\nTool calling requires --jinja flag at server startup\nModel quality depends on the GGUF model loaded\nNo PDF support\nSmall local models may give inconsistent structured output\n\nBest For:\nMaximum privacy and air-gapped deployments\nCPU inference without a GPU\nRunning heavily quantized models at low resource cost\nPower users who want direct control over model serving\n\nPricing:\nFREE (hardware costs only)\nNo API costs or rate limits","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"17. llama.cpp","lvl3":""}},
9798
9799
  {"objectID":"7a70d0d5fafc012db75fd708bf54e3db3a35a71ce61eb67049e87218bbc874d4","title":"Voice Providers","url":"/docs/reference/provider-comparison#voice-providers","content":"Voice providers handle audio I/O and are distinct from LLM text-generation providers. They are categorised by function: Text-to-Speech (TTS), Speech-to-Text (STT), and Realtime (bidirectional audio over WebSocket).\n\n| Provider | Type | Protocol | Streaming | Formats | Auth |\n| ------------------- | -------- | ---------------- | --------- | ----------------------------------------------------- | -------------------------------------------------- |\n| google-ai (TTS) | TTS | REST (gRPC SDK) | No | MP3, WAV, OGG | Service Account (GOOGLE_APPLICATION_CREDENTIALS) |\n| openai-tts | TTS | REST | No | MP3, WAV, OGG, Opus | API Key |\n| elevenlabs | TTS | REST | No | MP3, WAV (PCM), Opus | API Key |\n| azure-tts | TTS | REST | No | MP3, WAV (PCM), Opus | API Key + Region |\n| whisper | STT | REST | No | WAV, MP3, M4A, FLAC, OGG, Opus, WebM, MP4, MPEG, MPGA | API Key |\n| google-stt | STT | REST | No | WAV, FLAC, MP3, OGG | API Key or Service Account |\n| deepgram | STT | REST + WebSocket | Yes | WAV, MP3, OGG, FLAC | API Key |\n| azure-stt | STT | REST | No | WAV¹, OGG, Opus | API Key + Region |\n| openai-realtime | Realtime | WebSocket | Yes | PCM16,","hierarchy":{"lvl0":"Reference","lvl1":"AI Provider Comparison Guide","lvl2":"Voice Providers","lvl3":""}},
@@ -9870,7 +9871,7 @@
9870
9871
  {"objectID":"adefcedd575b72009c4bc0f61997c4250040929f014824c6c6cdbbe7fa0ef1e6","title":"Enterprise Production","url":"/docs/reference/provider-selection#enterprise-production","content":"Recommended Stack:\n\nEnterprise Requirements Checklist:\n[x] SLA guarantees (99.9%+)\n[x] HIPAA/SOC2 compliance\n[x] Multi-region deployment\n[x] Provider failover strategy\n[x] Cost monitoring and alerts","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"Enterprise Production","lvl3":""}},
9871
9872
  {"objectID":"00ead7f5ba563f9adeac903fd53da014cebdb61e277745108608ac4774e49f57","title":"Research and Analysis","url":"/docs/reference/provider-selection#research-and-analysis","content":"Recommended Stack:","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"Research and Analysis","lvl3":""}},
9872
9873
  {"objectID":"1272876f7ecd7e162c7ae353a481e9a18a6d43fa20e84116552e1ac6b188cea8","title":"Cost-Efficient Reasoning (DeepSeek)","url":"/docs/reference/provider-selection#cost-efficient-reasoning-deepseek","content":"Choose DeepSeek when you need frontier-quality reasoning at a fraction of the cost of Anthropic or OpenAI.\nWhen to choose: Text-only agentic workflows, chain-of-thought reasoning tasks, budget-constrained production.\nProvider ID: deepseek\nKey models: deepseek-chat (V3 — general purpose), deepseek-reasoner (R1 — reasoning)\nNot suitable for: Vision, PDF, or image processing tasks.\nCredential needed: DEEPSEEK_API_KEY (get one at https://platform.deepseek.com)","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"Cost-Efficient Reasoning (DeepSeek)","lvl3":""}},
9873
- {"objectID":"a91dc684aba34ed7cc14c808212a1a4ccc3bf679374984bb60818d50498bae4f","title":"NVIDIA-Hosted Models (NVIDIA NIM)","url":"/docs/reference/provider-selection#nvidia-hosted-models-nvidia-nim","content":"Choose NVIDIA NIM when you want NVIDIA-curated hosted inference — Llama, Nemotron, Mistral, and DeepSeek-R1 — accessed via an NVIDIA API key.\nWhen to choose: You want Llama 3.x or Nemotron models served at scale; you need thinking/reasoning via hosted DeepSeek-R1 or Nemotron-Reasoning; you are already an NGC customer.\nProvider ID: nvidia-nim\nKey models: openai/gpt-oss-20b (default), nvidia/nemotron-4-340b-instruct, DeepSeek-R1 variants\nVision: Available on select models (Phi-3-vision, Llama 3.2 Vision); check https://build.nvidia.com/models.\nNot suitable for: PDF processing; vision on non-vision models.\nCredential needed: NVIDIA_NIM_API_KEY (get one at https://build.nvidia.com/settings/api-keys)","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"NVIDIA-Hosted Models (NVIDIA NIM)","lvl3":""}},
9874
+ {"objectID":"a91dc684aba34ed7cc14c808212a1a4ccc3bf679374984bb60818d50498bae4f","title":"NVIDIA-Hosted Models (NVIDIA NIM)","url":"/docs/reference/provider-selection#nvidia-hosted-models-nvidia-nim","content":"Choose NVIDIA NIM when you want NVIDIA-curated hosted inference — Llama, Nemotron, Mistral, and DeepSeek-R1 — accessed via an NVIDIA API key.\nWhen to choose: You want Llama 3.x or Nemotron models served at scale; you need a hosted reasoning model such as openai/gpt-oss-20b; you are already an NGC customer.\nProvider ID: nvidia-nim\nKey models: openai/gpt-oss-20b (default), nvidia/nemotron-4-340b-instruct, DeepSeek-R1 variants\nVision: Available on select models (Phi-3-vision, Llama 3.2 Vision); check https://build.nvidia.com/models.\nNot suitable for: PDF processing; vision on non-vision models.\nCredential needed: NVIDIA_NIM_API_KEY (get one at https://build.nvidia.com/settings/api-keys)","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"NVIDIA-Hosted Models (NVIDIA NIM)","lvl3":""}},
9874
9875
  {"objectID":"cc36677fe4f4c550b7760d8c16ffddec196c19f2498027b05576b3ba4fa37105","title":"Local Inference via LM Studio","url":"/docs/reference/provider-selection#local-inference-via-lm-studio","content":"Choose LM Studio when you want a desktop GUI for managing and running local models, with zero cloud cost and maximum privacy.\nWhen to choose: You want a GUI to browse, download, and switch models; you need local inference without managing llama-server manually; vision models like LLaVA or Qwen-VL are attractive.\nProvider ID: lm-studio\nModel: Auto-discovered from the loaded model (or pass an explicit model name).\nDefault base URL: http://localhost:1234/v1\nNot suitable for: Production at scale (single machine); PDF processing.\nSetup: Download LM Studio, load a model, click \"Start Server\".","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"Local Inference via LM Studio","lvl3":""}},
9875
9876
  {"objectID":"72e9be8e5b8e718308f0fe7360bcba27aae8b42fffa35be62d9a4ef188c470ae","title":"Local Inference via llama.cpp","url":"/docs/reference/provider-selection#local-inference-via-llamacpp","content":"Choose llama.cpp when you want the lowest-level, most resource-efficient local inference — especially on CPU or with heavily quantized GGUF models.\nWhen to choose: You need CPU-only inference; you want direct llama-server process control; you are running in a headless / server environment.\nProvider ID: llamacpp\nModel: Auto-discovered from the running llama-server (or pass an explicit model name).\nDefault base URL: http://localhost:8080/v1\nTool calling: Requires server to be started with --jinja flag.\nNot suitable for: PDF processing; production at scale without additional infrastructure.\nSetup: ./llama-server -m model.gguf --port 8080 [--jinja]","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"Local Inference via llama.cpp","lvl3":""}},
9876
9877
  {"objectID":"f6ce3650e34df2b638d084f777182ef05448c55cc7487917a52a5f6a3a2b4864","title":"Privacy-Critical Applications","url":"/docs/reference/provider-selection#privacy-critical-applications","content":"Recommended Stack:","hierarchy":{"lvl0":"Reference","lvl1":"Provider Selection Guide","lvl2":"Privacy-Critical Applications","lvl3":""}},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "13.8.27",
3
+ "version": "13.8.29",
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": {
@@ -677,7 +677,7 @@
677
677
  "conventional-changelog-conventionalcommits": "9.3.0",
678
678
  "esbuild": "0.28.1",
679
679
  "eslint": "10.1.0",
680
- "glob": "13.0.6",
680
+ "glob": "14.0.2",
681
681
  "husky": "9.1.7",
682
682
  "playwright": "1.58.2",
683
683
  "prettier": "3.8.1",
@@ -785,7 +785,9 @@
785
785
  "tmp@<0.2.6": ">=0.2.6",
786
786
  "axios@<1.13.5": ">=1.13.5",
787
787
  "handlebars@<=4.7.9": ">=4.7.10",
788
- "glob@>=10.3.7 <=11.0.3": ">=11.1.0",
788
+ "glob@>=9.0.0 <14.0.2": ">=14.0.2",
789
+ "archiver-utils>glob": "14.0.2",
790
+ "readdir-glob>minimatch": "11.0.2",
789
791
  "@semantic-release/npm": "^13.1.4",
790
792
  "@opentelemetry/sdk-trace-base": "^2.6.0",
791
793
  "@opentelemetry/sdk-trace-node": "^2.6.0",