@juspay/neurolink 12.39.0 → 12.40.0

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +6 -2
  2. package/README.md +1 -1
  3. package/dist/auth/middleware/AuthMiddleware.d.ts +1 -1
  4. package/dist/browser/neurolink.min.js +437 -435
  5. package/dist/constants/enums.d.ts +237 -0
  6. package/dist/constants/enums.js +257 -0
  7. package/dist/neurolink.js +52 -21
  8. package/dist/providers/catalog/ai21.json +142 -0
  9. package/dist/providers/catalog/aionlabs.json +144 -0
  10. package/dist/providers/catalog/atlas-cloud.json +203 -0
  11. package/dist/providers/catalog/avian-io.json +227 -0
  12. package/dist/providers/catalog/crusoe.json +229 -0
  13. package/dist/providers/catalog/index.generated.d.ts +1 -1
  14. package/dist/providers/catalog/index.generated.js +60 -0
  15. package/dist/providers/catalog/minimax.json +200 -0
  16. package/dist/providers/catalog/moonshot-ai.json +135 -0
  17. package/dist/providers/catalog/nebius.json +165 -0
  18. package/dist/providers/catalog/prime-intellect.json +217 -0
  19. package/dist/providers/catalog/scaleway.json +177 -0
  20. package/dist/providers/catalog/siliconflow.json +242 -0
  21. package/dist/providers/catalog/stepfun.json +155 -0
  22. package/dist/providers/catalog/subconscious.json +93 -0
  23. package/dist/providers/catalog/tinfoil.json +155 -0
  24. package/dist/providers/catalog/umans-ai.json +174 -0
  25. package/dist/providers/catalog/venice-ai.json +208 -0
  26. package/dist/providers/catalog/vultr-inference.json +220 -0
  27. package/dist/providers/catalog/wafer.json +165 -0
  28. package/dist/providers/catalog/wandb-inference.json +249 -0
  29. package/dist/providers/catalog/z-ai.json +255 -0
  30. package/dist/providers/googleAiStudio/client.js +687 -263
  31. package/dist/providers/googleNativeGemini3/utils.d.ts +44 -1
  32. package/dist/providers/googleNativeGemini3/utils.js +300 -1
  33. package/dist/types/providerCatalog.generated.d.ts +2 -2
  34. package/dist/types/providers.d.ts +80 -0
  35. package/docs-site/static/search-index.json +227 -3
  36. package/package.json +1 -1
@@ -0,0 +1,242 @@
1
+ {
2
+ "$schema": "./provider-catalog.schema.json",
3
+ "id": "siliconflow",
4
+ "displayName": "SiliconFlow",
5
+ "aliases": [],
6
+ "tier": 2,
7
+ "wire": {
8
+ "baseURL": "https://api.siliconflow.com/v1"
9
+ },
10
+ "models": {
11
+ "default": "deepseek-ai/DeepSeek-V4-Pro",
12
+ "fallbacks": [
13
+ "deepseek-ai/DeepSeek-V4-Flash",
14
+ "deepseek-ai/DeepSeek-V3.2",
15
+ "zai-org/GLM-5.1",
16
+ "moonshotai/Kimi-K2.6",
17
+ "Qwen/Qwen3-32B"
18
+ ],
19
+ "defaultContextWindow": 32768,
20
+ "defaultMaxOutputTokens": 4096,
21
+ "catalog": {
22
+ "deepseek-ai/DeepSeek-V4-Pro": {
23
+ "contextWindow": 1049000,
24
+ "maxOutputTokens": 393000,
25
+ "pricingPerMTok": {
26
+ "input": 1.50162,
27
+ "output": 3.135,
28
+ "cachedInput": 0.135
29
+ },
30
+ "vision": false,
31
+ "status": "production",
32
+ "description": "NeuroLink default. The model page About text begins \"DeepSeek-V4-Pro is DeepSeek's flagship open-source MoE model\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/deepseek-v4-pro (retrieved 2026-09-29) shows the id deepseek-ai/DeepSeek-V4-Pro, context length \"1049K\", max tokens \"393K\", input price 1.50162, cache read 0.135, output price 3.135 ($ per M tokens), Support image input \"Not supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name DeepSeek-V4-Pro."
33
+ },
34
+ "deepseek-ai/DeepSeek-V4-Flash": {
35
+ "contextWindow": 1049000,
36
+ "maxOutputTokens": 393000,
37
+ "pricingPerMTok": {
38
+ "input": 0.13,
39
+ "output": 0.28,
40
+ "cachedInput": 0.028
41
+ },
42
+ "vision": false,
43
+ "status": "production",
44
+ "description": "The model page About text begins \"DeepSeek-V4-Flash is DeepSeek's latest open-source MoE model\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/deepseek-v4-flash (retrieved 2026-09-29) shows the id deepseek-ai/DeepSeek-V4-Flash, context length \"1049K\", max tokens \"393K\", input price 0.13, cache read 0.028, output price 0.28 ($ per M tokens), Support image input \"Not supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\"."
45
+ },
46
+ "deepseek-ai/DeepSeek-V3.2": {
47
+ "contextWindow": 164000,
48
+ "maxOutputTokens": 164000,
49
+ "pricingPerMTok": {
50
+ "input": 0.27,
51
+ "output": 0.42,
52
+ "cachedInput": 0.135
53
+ },
54
+ "vision": false,
55
+ "status": "production",
56
+ "description": "The model page About text begins \"DeepSeek-V3.2 is a model that harmonizes high computational efficiency with superior reasoning and agent performance\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/deepseek-v3-2 (retrieved 2026-09-29) shows the id deepseek-ai/DeepSeek-V3.2, context length \"164K\", max tokens \"164K\", input price 0.27, cache read 0.135, output price 0.42 ($ per M tokens), Support image input \"Not supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\"."
57
+ },
58
+ "zai-org/GLM-5.1": {
59
+ "contextWindow": 205000,
60
+ "maxOutputTokens": 131000,
61
+ "pricingPerMTok": {
62
+ "input": 1.19,
63
+ "output": 3.74,
64
+ "cachedInput": 0.6
65
+ },
66
+ "vision": false,
67
+ "status": "production",
68
+ "description": "The model page About text begins \"GLM-5.1 is Z.ai's next-generation flagship model built for agentic engineering\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/glm-5-1 (retrieved 2026-09-29) shows the id zai-org/GLM-5.1, context length \"205K\", max tokens \"131K\", input price 1.19, cache read 0.6, output price 3.74 ($ per M tokens), Support image input \"Not supported\", Tools \"Supported\", JSON Mode \"Not supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name GLM-5.1."
69
+ },
70
+ "zai-org/GLM-5": {
71
+ "contextWindow": 205000,
72
+ "maxOutputTokens": 131000,
73
+ "pricingPerMTok": {
74
+ "input": 0.95,
75
+ "output": 2.55,
76
+ "cachedInput": 0.2
77
+ },
78
+ "vision": false,
79
+ "status": "production",
80
+ "description": "The model page About text begins \"GLM-5 is a next-generation open-source model for complex systems engineering and long-horizon agentic tasks\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/glm-5 (retrieved 2026-09-29) shows the id zai-org/GLM-5, context length \"205K\", max tokens \"131K\", input price 0.95, cache read 0.2, output price 2.55 ($ per M tokens), Support image input \"Not supported\", Tools \"Supported\", JSON Mode \"Not supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name GLM-5."
81
+ },
82
+ "moonshotai/Kimi-K2.6": {
83
+ "contextWindow": 262000,
84
+ "maxOutputTokens": 262000,
85
+ "pricingPerMTok": {
86
+ "input": 0.77,
87
+ "output": 3.4,
88
+ "cachedInput": 0.14
89
+ },
90
+ "vision": true,
91
+ "status": "production",
92
+ "description": "The model page About text begins \"Kimi K2.6 is an open-source, native multimodal agentic model by Moonshot AI\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/kimi-k2-6 (retrieved 2026-09-29) shows the id moonshotai/Kimi-K2.6, context length \"262K\", max tokens \"262K\", input price 0.77, cache read 0.14, output price 3.4 ($ per M tokens), Support image input \"Supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name Kimi-K2.6."
93
+ },
94
+ "moonshotai/Kimi-K2.5": {
95
+ "contextWindow": 262000,
96
+ "maxOutputTokens": 262000,
97
+ "pricingPerMTok": {
98
+ "input": 0.45,
99
+ "output": 2.25,
100
+ "cachedInput": 0.07
101
+ },
102
+ "vision": true,
103
+ "status": "production",
104
+ "description": "The model page About text begins \"Kimi K2.5 is an open-source, native multimodal agentic model\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/kimi-k2-5 (retrieved 2026-09-29) shows the id moonshotai/Kimi-K2.5, context length \"262K\", max tokens \"262K\", input price 0.45, cache read 0.07, output price 2.25 ($ per M tokens), Support image input \"Supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name Kimi-K2.5."
105
+ },
106
+ "Qwen/Qwen3.6-27B": {
107
+ "contextWindow": 262000,
108
+ "maxOutputTokens": 262000,
109
+ "pricingPerMTok": {
110
+ "input": 0.3,
111
+ "output": 3.2
112
+ },
113
+ "vision": true,
114
+ "status": "production",
115
+ "description": "The model page About text begins \"Qwen3.6-27B is the first open-weight small-to-mid-sized dense model in the Qwen3.6 series\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/qwen3-6-27b (retrieved 2026-09-29) shows the id Qwen/Qwen3.6-27B, context length \"262K\", max tokens \"262K\", input price 0.3, output price 3.2 ($ per M tokens), Support image input \"Supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name Qwen3.6-27B."
116
+ },
117
+ "Qwen/Qwen3.6-35B-A3B": {
118
+ "contextWindow": 262000,
119
+ "maxOutputTokens": 262000,
120
+ "pricingPerMTok": {
121
+ "input": 0.24,
122
+ "output": 1.8,
123
+ "cachedInput": 0.15
124
+ },
125
+ "vision": true,
126
+ "status": "production",
127
+ "description": "The model page About text begins \"Qwen3.6-35B-A3B is a large language model from Alibaba's Qwen3.6 series\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/qwen3-6-35b-a3b (retrieved 2026-09-29) shows the id Qwen/Qwen3.6-35B-A3B, context length \"262K\", max tokens \"262K\", input price 0.24, cache read 0.15, output price 1.8 ($ per M tokens), Support image input \"Supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name Qwen3.6-35B-A3B."
128
+ },
129
+ "Qwen/Qwen3-32B": {
130
+ "contextWindow": 131000,
131
+ "pricingPerMTok": {
132
+ "input": 0.14,
133
+ "output": 0.57
134
+ },
135
+ "vision": false,
136
+ "status": "production",
137
+ "description": "The model page About text begins \"Qwen3-32B is the latest large language model in the Qwen series with 32.8B parameters\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/qwen3-32b (retrieved 2026-09-29) shows the id Qwen/Qwen3-32B, context length \"131K\", max tokens \"131K\", input price 0.14, output price 0.57 ($ per M tokens), Support image input \"Not supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The Reasoning page (https://docs.siliconflow.com/en/userguide/capabilities/reasoning, retrieved 2026-09-29) lists the Qwen3 Series with Maximum Response Length 8192, Maximum Reasoning Chain Length 32768 and Maximum Context Length 131072. The two pages give different output figures, so maxOutputTokens is not set for this model."
138
+ },
139
+ "Qwen/Qwen3-VL-32B-Instruct": {
140
+ "contextWindow": 262000,
141
+ "maxOutputTokens": 262000,
142
+ "pricingPerMTok": {
143
+ "input": 0.2,
144
+ "output": 0.6
145
+ },
146
+ "vision": true,
147
+ "status": "production",
148
+ "description": "The model page About text begins \"Qwen3-VL is the vision-language model in the Qwen3 series\". Listed in the model enum of the VLM request schema in the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/qwen3-vl-32b-instruct (retrieved 2026-09-29) shows the id Qwen/Qwen3-VL-32B-Instruct, context length \"262K\", max tokens \"262K\", input price 0.2, output price 0.6 ($ per M tokens), Support image input \"Supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\"."
149
+ },
150
+ "google/gemma-4-31B-it": {
151
+ "contextWindow": 262000,
152
+ "maxOutputTokens": 262000,
153
+ "pricingPerMTok": {
154
+ "input": 0.75,
155
+ "output": 1.0,
156
+ "cachedInput": 0.25
157
+ },
158
+ "vision": true,
159
+ "status": "production",
160
+ "description": "The model page About text begins \"Gemma 4 31B is Google DeepMind's latest open-source model\". Listed in the model enum of the chat-completions API reference (https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions, retrieved 2026-09-29). The model page https://www.siliconflow.com/models/gemma-4-31b-it (retrieved 2026-09-29) shows the id google/gemma-4-31B-it, context length \"262K\", max tokens \"262K\", input price 0.75, cache read 0.25, output price 1.0 ($ per M tokens), Support image input \"Supported\", Tools \"Supported\", JSON Mode \"Supported\", Structured Outputs \"Not supported\". The pricing page (https://www.siliconflow.com/pricing, retrieved 2026-09-29) shows the same context length and prices under the name gemma-4-31B-it."
161
+ }
162
+ },
163
+ "topModels": [
164
+ "deepseek-ai/DeepSeek-V4-Pro",
165
+ "deepseek-ai/DeepSeek-V4-Flash",
166
+ "deepseek-ai/DeepSeek-V3.2",
167
+ "zai-org/GLM-5.1",
168
+ "zai-org/GLM-5",
169
+ "moonshotai/Kimi-K2.6",
170
+ "moonshotai/Kimi-K2.5",
171
+ "Qwen/Qwen3.6-27B",
172
+ "Qwen/Qwen3.6-35B-A3B",
173
+ "Qwen/Qwen3-32B",
174
+ "Qwen/Qwen3-VL-32B-Instruct",
175
+ "google/gemma-4-31B-it"
176
+ ],
177
+ "visionModel": "Qwen/Qwen3-VL-32B-Instruct"
178
+ },
179
+ "capabilities": {
180
+ "text": true,
181
+ "streaming": true,
182
+ "tools": "model-dependent",
183
+ "toolsWithStreaming": false,
184
+ "structuredOutput": false,
185
+ "structuredOutputWithTools": false,
186
+ "embeddings": false,
187
+ "thinking": false
188
+ },
189
+ "errorRules": [
190
+ {
191
+ "status": 401,
192
+ "class": "authentication",
193
+ "message": "SiliconFlow rejected the request as unauthorized (HTTP 401; an unauthenticated GET https://api.siliconflow.com/v1/models returned code 30014 with the message \"Token is invalid.\"). Check {apiKeyEnvVar}. Get one at {setupUrl}"
194
+ },
195
+ {
196
+ "status": 403,
197
+ "class": "authentication",
198
+ "message": "SiliconFlow reports insufficient permissions (HTTP 403). Its error-handling page (https://docs.siliconflow.com/en/faqs/error-code) says: \"The most common reason is that the model requires real-name authentication.\""
199
+ },
200
+ {
201
+ "status": 429,
202
+ "class": "rate-limit",
203
+ "message": "SiliconFlow rate limit reached (HTTP 429). Its error-handling page (https://docs.siliconflow.com/en/faqs/error-code) says to refer to the error message to determine whether the limit is RPM / RPD / TPM / TPD / IPM / IPD."
204
+ },
205
+ {
206
+ "pattern": "Model does not exist",
207
+ "class": "invalid-model",
208
+ "message": "SiliconFlow model '{model}' was not found. Its error-handling page (https://docs.siliconflow.com/en/faqs/error-code) shows the HTTP 400 message \"Model does not exist. Please check it carefully.\" with code 20012."
209
+ }
210
+ ],
211
+ "setup": {
212
+ "url": "https://cloud.siliconflow.com/account/ak",
213
+ "apiKeyFormat": null,
214
+ "billingPolicy": "free-tier",
215
+ "instructions": [
216
+ "1. Visit: https://cloud.siliconflow.com/ and create a SiliconFlow account (https://docs.siliconflow.com/en/userguide/quickstart)",
217
+ "2. Open the API Keys page at https://cloud.siliconflow.com/account/ak, click Create API Key and copy the key (https://docs.siliconflow.com/en/userguide/quickstart)",
218
+ "3. Billing as the vendor words it on https://www.siliconflow.com/pricing: \"Flexible token pricing, high usage limits, and postpaid billing—plus $1 in free credits to get you started!\"",
219
+ "4. Set {apiKeyEnvVar} in your .env file"
220
+ ],
221
+ "description": "Endpoint https://api.siliconflow.com/v1 (the chat-completions API reference lists the server https://api.siliconflow.com/v1 and POST /chat/completions with bearer auth; the Text Generation page says \"You can make end-to-end API requests using the OpenAI SDK\" and the Quick Start says \"The platform currently supports most OpenAI-related parameters.\"). This entry is docs-verified only: an unauthenticated GET of https://api.siliconflow.com/v1/models answered HTTP 401 without a key, so the model ids come from the vendor's public docs and the roster has not been checked; it is not yet live-verified. That GET returned code 30014 with the message \"Token is invalid.\" (2026-09-29), so errorRules match status 401 and the statuses and messages on the vendor's error-handling page (https://docs.siliconflow.com/en/faqs/error-code). capabilities.structuredOutput is false because the model pages show Structured Outputs \"Not supported\" on the 12 catalog models; the JSON Mode page documents response_format={\"type\": \"json_object\"} and this entry sets no responseFormatDowngrade quirk. vision is true for moonshotai/Kimi-K2.6, moonshotai/Kimi-K2.5, Qwen/Qwen3.6-27B, Qwen/Qwen3.6-35B-A3B and google/gemma-4-31B-it from the model page value Support image input \"Supported\"; image input was not exercised. models.defaultContextWindow (32768) and models.defaultMaxOutputTokens (4096) are placeholders for ids outside the catalog that the vendor does not publish; the status values are ones the schema requires (production), not vendor statements. billingPolicy free-tier follows the pricing page's \"$1 in free credits\" statement."
222
+ },
223
+ "evidence": {
224
+ "rosterVerified": {
225
+ "date": "2026-09-29",
226
+ "status": 401,
227
+ "method": "docs-only — unauthenticated GET https://api.siliconflow.com/v1/models answers 401 without a key, so model ids are taken from https://docs.siliconflow.com/en/api-reference/chat-completions/chat-completions (retrieved 2026-09-29) and cross-checked against the ids shown on the model pages under https://www.siliconflow.com/models/ (retrieved 2026-09-29); roster not verified"
228
+ },
229
+ "authProbe": {
230
+ "date": "2026-09-29",
231
+ "status": 401,
232
+ "code": "30014",
233
+ "method": "unauthenticated GET https://api.siliconflow.com/v1/models — body {\"code\":30014,\"data\":null,\"message\":\"Token is invalid.\"} with header www-authenticate: Bearer realm=\"siliconflow\", error=\"invalid_token\", error_description=\"Token is invalid.\"; credential-free, no key used"
234
+ },
235
+ "billingProbe": {
236
+ "date": "2026-09-29",
237
+ "method": "public page https://www.siliconflow.com/pricing — \"Flexible token pricing, high usage limits, and postpaid billing—plus $1 in free credits to get you started!\" and the FAQ answer \"No, there are no minimum commitments. You only pay for what you use, and you can start with $1 in free credits.\"; credential-free"
238
+ },
239
+ "liveMatrix": null,
240
+ "addedInPR": "https://github.com/juspay/neurolink/pull/1860"
241
+ }
242
+ }
@@ -0,0 +1,155 @@
1
+ {
2
+ "$schema": "./provider-catalog.schema.json",
3
+ "id": "stepfun",
4
+ "displayName": "StepFun",
5
+ "aliases": [],
6
+ "tier": 2,
7
+ "wire": {
8
+ "baseURL": "https://api.stepfun.ai/v1"
9
+ },
10
+ "models": {
11
+ "default": "step-5-preview",
12
+ "fallbacks": [
13
+ "step-3.7-flash",
14
+ "step-3.5-flash",
15
+ "step-3.5-flash-2603",
16
+ "step-1o-turbo-vision"
17
+ ],
18
+ "fallbackModelName": "step-3.7-flash",
19
+ "defaultContextWindow": 32000,
20
+ "defaultMaxOutputTokens": 16384,
21
+ "catalog": {
22
+ "step-5-preview": {
23
+ "contextWindow": 1000000,
24
+ "maxOutputTokens": 64000,
25
+ "pricingPerMTok": {
26
+ "input": 1.0,
27
+ "output": 2.7,
28
+ "cachedInput": 0.05
29
+ },
30
+ "vision": true,
31
+ "status": "preview",
32
+ "description": "NeuroLink default. Model page https://platform.stepfun.ai/docs/en/guides/models/step-5-preview (retrieved 2026-09-29): \"Step 5 Preview is StepFun's flagship model for agentic work.\" The page's specification table gives Model ID step-5-preview, Context window \"1M tokens\", Input types \"Text, images, and video\", Output type \"Text\" and Maximum output \"64k tokens\"; its features table lists Streaming output, Tool calling, Structured output (\"JSON Mode and JSON Schema supported\"), Reasoning effort (low, medium, high) and Prompt caching. The Chat Completions page https://platform.stepfun.ai/docs/en/api-reference/chat/chat-completion-create.md states \"The examples below use step-5-preview by default.\" Prices per https://platform.stepfun.ai/docs/en/guides/pricing/details.md: $1.00 input (cache miss), $0.05 input (cache hit), $2.70 output per 1M tokens. contextWindow 1000000 and maxOutputTokens 64000 are the decimal forms of \"1M tokens\" and \"64k tokens\"; vision is true because the model page lists images and video as input types; status is preview because the vendor names the model \"Step 5 Preview\"."
33
+ },
34
+ "step-3.7-flash": {
35
+ "contextWindow": 256000,
36
+ "pricingPerMTok": {
37
+ "input": 0.2,
38
+ "output": 1.15,
39
+ "cachedInput": 0.04
40
+ },
41
+ "vision": true,
42
+ "status": "production",
43
+ "description": "Fallback. Model page https://platform.stepfun.ai/docs/en/guides/models/step-3.7-flash (retrieved 2026-09-29): \"StepFun's flagship multimodal reasoning model. Powered by a 198B-parameter / 11B-activation sparse MoE architecture, with native support for image and video understanding.\" Its Key facts section states a context length of 256K tokens, and the page lists three reasoning effort levels (low, medium, high) set with reasoning_effort on the Chat Completions API. The Quickstart table (https://platform.stepfun.ai/docs/en/quickstart/overview.md) lists Input capabilities \"Text, images, and video\" for it; the Tool Call page (https://platform.stepfun.ai/docs/en/api-reference/tool-call.md) lists it among the models that support Toolcall requests, and the JSON Mode page (https://platform.stepfun.ai/docs/en/guides/developer/json-mode.md) says the json_schema approach applies to it. Prices per https://platform.stepfun.ai/docs/en/guides/pricing/details.md (the model page shows the same figures): $0.20 input (cache miss), $0.04 input (cache hit), $1.15 output per 1M tokens. contextWindow 256000 is the decimal form of \"256K tokens\"; vision is true because the Quickstart table lists images and video as input capabilities."
44
+ },
45
+ "step-3.5-flash": {
46
+ "contextWindow": 256000,
47
+ "pricingPerMTok": {
48
+ "input": 0.1,
49
+ "output": 0.3,
50
+ "cachedInput": 0.02
51
+ },
52
+ "vision": false,
53
+ "status": "production",
54
+ "description": "Fallback. Model page https://platform.stepfun.ai/docs/en/guides/models/step-3.5-flash (retrieved 2026-09-29): the model is \"StepFun's flagship language reasoning model\", \"Built on a 196B-parameter / 11B-activation sparse MoE architecture.\" Its Key facts section states a context length of 256K tokens. The Quickstart table (https://platform.stepfun.ai/docs/en/quickstart/overview.md) lists Input capabilities \"Text only\" for it and says \"Step 3.5 Flash does not support image input\". The Tool Call page (https://platform.stepfun.ai/docs/en/api-reference/tool-call.md) lists it among the models that support Toolcall requests, and the JSON Mode page (https://platform.stepfun.ai/docs/en/guides/developer/json-mode.md) says the json_schema approach applies to it. Prices per https://platform.stepfun.ai/docs/en/guides/pricing/details.md (the model page shows the same figures): $0.10 input (cache miss), $0.02 input (cache hit), $0.30 output per 1M tokens. contextWindow 256000 is the decimal form of \"256K tokens\"."
55
+ },
56
+ "step-3.5-flash-2603": {
57
+ "contextWindow": 256000,
58
+ "pricingPerMTok": {
59
+ "input": 0.1,
60
+ "output": 0.3,
61
+ "cachedInput": 0.02
62
+ },
63
+ "vision": false,
64
+ "status": "production",
65
+ "description": "Fallback. The Model variants section of https://platform.stepfun.ai/docs/en/guides/models/step-3.5-flash (retrieved 2026-09-29) describes step-3.5-flash-2603 as \"Agent-optimized version: tuned from step-3.5-flash for high-frequency agent scenarios.\" and says it \"Supports the reasoning_effort field (low / high).\" The Chat Completions page (https://platform.stepfun.ai/docs/en/api-reference/chat/chat-completion-create.md) says step-3.5-flash-2603 accepts low and high for reasoning_effort. The welcome page model overview (https://platform.stepfun.ai/docs/en/welcome.md) has a card titled \"Step 3.5 Flash 2603\" with the category \"Reasoning / text\", the subtitle \"Optimized for agents\" and the metric \"Max context\" (value 256K). The Tool Call page (https://platform.stepfun.ai/docs/en/api-reference/tool-call.md) lists step-3.5-flash-2603 among the models that support Toolcall requests, and the JSON Mode page (https://platform.stepfun.ai/docs/en/guides/developer/json-mode.md) says the json_schema approach applies to it. Prices per https://platform.stepfun.ai/docs/en/guides/pricing/details.md: $0.10 input (cache miss), $0.02 input (cache hit), $0.30 output per 1M tokens. contextWindow 256000 is the decimal form of 256K; vision is false (the welcome card category is \"Reasoning / text\")."
66
+ },
67
+ "step-1o-turbo-vision": {
68
+ "contextWindow": 32000,
69
+ "pricingPerMTok": {
70
+ "input": 0.36,
71
+ "output": 1.15,
72
+ "cachedInput": 0.07
73
+ },
74
+ "vision": true,
75
+ "status": "production",
76
+ "description": "Fallback. Listed as step-1o-turbo-vision under \"Pricing for Vision Models\" on https://platform.stepfun.ai/docs/en/guides/pricing/details.md (retrieved 2026-09-29): $0.36 input (cache miss), $0.07 input (cache hit), $1.15 output per 1M tokens; the page adds \"Image input is counted and billed as tokens, just like text input.\" The Model Retirement and Migration page (https://platform.stepfun.ai/docs/en/guides/model-migration.md) lists it in the \"Recommended replacement\" column for step-1-8k, step-1-32k, step-1v-8k, step-1v-32k, step-2-mini, step-1o-vision-32k and step-2-16k. The welcome page model overview (https://platform.stepfun.ai/docs/en/welcome.md) has a card titled \"Step-1o Turbo Vision\" with the metric \"Max context\" (value 32K) and the text \"Designed for social content creation, AI assistants, and image and video understanding.\" contextWindow 32000 is the decimal form of 32K; vision is true because the pricing page groups the model under vision models and the card describes image and video understanding."
77
+ }
78
+ },
79
+ "topModels": [
80
+ "step-5-preview",
81
+ "step-3.7-flash",
82
+ "step-3.5-flash",
83
+ "step-3.5-flash-2603",
84
+ "step-1o-turbo-vision"
85
+ ],
86
+ "visionModel": "step-5-preview"
87
+ },
88
+ "capabilities": {
89
+ "text": true,
90
+ "streaming": true,
91
+ "tools": "model-dependent",
92
+ "toolsWithStreaming": true,
93
+ "structuredOutput": true,
94
+ "structuredOutputWithTools": false,
95
+ "embeddings": false,
96
+ "thinking": true
97
+ },
98
+ "errorRules": [
99
+ {
100
+ "status": 401,
101
+ "class": "authentication",
102
+ "message": "StepFun rejected the API key (HTTP 401 invalid_api_key; the Error Codes page lists 401 as \"Invalid authentication\" with the resolution \"Make sure you are using the correct API key.\"). Check {apiKeyEnvVar}. Create a key: {setupUrl}"
103
+ },
104
+ {
105
+ "status": 402,
106
+ "class": "provider",
107
+ "message": "StepFun returned HTTP 402 (the Error Codes page lists 402 as \"Insufficient balance\" with the resolution \"Add funds to your account.\")."
108
+ },
109
+ {
110
+ "status": 429,
111
+ "class": "rate-limit",
112
+ "message": "StepFun returned HTTP 429 (the Error Codes page lists 429 as \"Resource or rate limit exceeded, usually because requests are too frequent\" with the resolution \"Retry after a short delay.\")."
113
+ },
114
+ {
115
+ "status": 451,
116
+ "class": "provider",
117
+ "message": "StepFun returned HTTP 451 (the Error Codes page lists 451 as \"The request or response content failed review\" with the resolution \"Modify the request and try again.\")."
118
+ },
119
+ {
120
+ "status": 503,
121
+ "class": "provider",
122
+ "message": "StepFun returned HTTP 503 (the Error Codes page lists 503 as \"Server is currently overloaded\" with the resolution \"Retry after a short delay.\")."
123
+ }
124
+ ],
125
+ "setup": {
126
+ "url": "https://platform.stepfun.ai/interface-key",
127
+ "apiKeyFormat": null,
128
+ "billingPolicy": "no-free-tier",
129
+ "instructions": [
130
+ "1. Visit: https://platform.stepfun.ai/interface-key and sign in - the Quickstart (https://platform.stepfun.ai/docs/en/quickstart/overview.md) says \"Sign in to the StepFun Open Platform and create and copy an API key on the Interface Keys page.\"",
131
+ "2. Billing as the vendor states it: the pricing overview (https://platform.stepfun.ai/docs/en/guides/pricing/intro.md) says fees are deducted \"drawing from free credit first, then paid balance\", and the Error Codes page (https://platform.stepfun.ai/docs/en/api-reference/error-codes.md) lists HTTP 402 as \"Insufficient balance\" with the resolution \"Add funds to your account.\"",
132
+ "3. Set {apiKeyEnvVar} in your .env file"
133
+ ],
134
+ "description": "Docs-verified only: the vendor's GET https://api.stepfun.ai/v1/models needs a key (it answers HTTP 401 without one), so the five model ids come from the pricing page https://platform.stepfun.ai/docs/en/guides/pricing/details.md and the roster has not been checked; the entry is not yet live-verified. OpenAI-compatible endpoint at https://api.stepfun.ai/v1: the Chat Completions page (https://platform.stepfun.ai/docs/en/api-reference/chat/chat-completion-create.md) documents POST https://api.stepfun.ai/v1/chat/completions with a required model and messages, and streaming as data: chunks ending in data: [DONE]; the migration page (https://platform.stepfun.ai/docs/en/guides/developer/openai.md) says \"Stepfun models are compatible with the OpenAI API spec.\" Unauthenticated GETs made 2026-09-29: /models and /chat/completions each answered HTTP 401 with the body {\"error\":{\"message\":\"Incorrect API key provided\",\"type\":\"invalid_api_key\"}}; errorRules carry that 401 and the 402, 429, 451 and 503 statuses listed on the Error Codes page. models.defaultContextWindow (32000) and models.defaultMaxOutputTokens (16384) are conservative placeholders for model ids outside the catalog; the vendor does not publish a general default. Per-model contextWindow and maxOutputTokens values are the decimal forms of the labels the vendor prints (\"1M tokens\", \"256K tokens\", 32K, \"64k tokens\"). billingPolicy holds the schema value no-free-tier because the catalog schema has no unknown value; it is not a vendor statement. The base URL is the standard Open Platform endpoint; the Step Plan overview (https://platform.stepfun.ai/docs/en/step-plan/overview.md) lists a separate OpenAI SDK base URL, https://api.stepfun.ai/step_plan/v1. No POST request was sent, so the request fields NeuroLink's chat-completions client can add (stream_options on streaming calls, tool_choice on calls with tools, and a json_schema response_format for schema output) have not been exercised against StepFun."
135
+ },
136
+ "evidence": {
137
+ "rosterVerified": {
138
+ "date": "2026-09-29",
139
+ "status": 401,
140
+ "method": "docs-only — unauthenticated GET https://api.stepfun.ai/v1/models answers 401 without a key, so model ids are taken from https://platform.stepfun.ai/docs/en/guides/pricing/details.md (retrieved 2026-09-29); roster not verified"
141
+ },
142
+ "authProbe": {
143
+ "date": "2026-09-29",
144
+ "status": 401,
145
+ "code": "invalid_api_key",
146
+ "method": "unauthenticated GET https://api.stepfun.ai/v1/models and GET https://api.stepfun.ai/v1/chat/completions, no Authorization header — each HTTP 401, JSON body {\"error\":{\"message\":\"Incorrect API key provided\",\"type\":\"invalid_api_key\"}}; the code recorded here is the body's error.type value (the body has no error.code field); credential-free, no key used"
147
+ },
148
+ "billingProbe": {
149
+ "date": "2026-09-29",
150
+ "method": "public pages https://platform.stepfun.ai/docs/en/guides/pricing/intro.md (\"drawing from free credit first, then paid balance\"), https://platform.stepfun.ai/docs/en/guides/pricing/details.md (per-token prices and rate-limit tiers by cumulative top-up amount) and https://platform.stepfun.ai/docs/en/api-reference/error-codes.md (402 \"Insufficient balance\"); credential-free, no signup performed"
151
+ },
152
+ "liveMatrix": null,
153
+ "addedInPR": "https://github.com/juspay/neurolink/pull/1860"
154
+ }
155
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "./provider-catalog.schema.json",
3
+ "id": "subconscious",
4
+ "displayName": "Subconscious",
5
+ "aliases": [],
6
+ "tier": 2,
7
+ "wire": {
8
+ "baseURL": "https://api.subconscious.dev/v1"
9
+ },
10
+ "models": {
11
+ "default": "subconscious/glm-5.3-marathon",
12
+ "fallbacks": [
13
+ "subconscious/deepseek-v4.1-flash-marathon",
14
+ "subconscious/tim-qwen3.6-27b"
15
+ ],
16
+ "defaultContextWindow": 200000,
17
+ "defaultMaxOutputTokens": 4096,
18
+ "catalog": {
19
+ "subconscious/glm-5.3-marathon": {
20
+ "pricingPerMTok": {
21
+ "input": 1.4,
22
+ "output": 4.4,
23
+ "cachedInput": 0.26
24
+ },
25
+ "vision": false,
26
+ "status": "production",
27
+ "description": "NeuroLink default. The pricing page (https://www.subconscious.dev/pricing, retrieved 2026-09-29) lists the id subconscious/glm-5.3-marathon under the name 'GLM-5.3 Marathon', with the description 'Open-source frontier coding model', at $0.26 cached, $1.40 input and $4.40 output per 1M tokens. The API reference (https://docs.subconscious.dev/api-reference/openapi.json) lists this id as the model enum value. Present on the unauthenticated GET /v1/models roster (2026-09-29). vision is false as a schema-required placeholder the vendor does not publish for this id."
28
+ },
29
+ "subconscious/deepseek-v4.1-flash-marathon": {
30
+ "vision": false,
31
+ "status": "production",
32
+ "description": "NeuroLink fallback. Present on the unauthenticated GET /v1/models roster (2026-09-29). The vendor homepage FAQ (https://www.subconscious.dev, retrieved 2026-09-29) says 'On our managed inference service, we serve GLM 5.3 Marathon and DeepSeek V4.1 Flash Marathon.' No pricing is attached: the pricing page (https://www.subconscious.dev/pricing, retrieved 2026-09-29) lists the id subconscious/deepseek-v4-flash-marathon, which differs from this roster id, with the description 'Multimodal & high-throughput DeepSeek V4'. vision is false as a schema-required placeholder the vendor does not publish for this roster id. Not probed with a key."
33
+ },
34
+ "subconscious/tim-qwen3.6-27b": {
35
+ "vision": false,
36
+ "status": "production",
37
+ "description": "NeuroLink fallback. Present on the unauthenticated GET /v1/models roster (2026-09-29). The vendor blog post 'Introducing TIM-Qwen3.6-27B' (https://www.subconscious.dev/blog/introducing-tim-qwen3-6-27b, May 21, 2026) says the model is 'available via the OpenAI chat completions and Anthropic messages API formats'. vision is false as a schema-required placeholder the vendor does not publish for this id. Not probed with a key."
38
+ }
39
+ },
40
+ "topModels": [
41
+ "subconscious/glm-5.3-marathon",
42
+ "subconscious/deepseek-v4.1-flash-marathon",
43
+ "subconscious/tim-qwen3.6-27b"
44
+ ]
45
+ },
46
+ "capabilities": {
47
+ "text": true,
48
+ "streaming": true,
49
+ "tools": false,
50
+ "toolsWithStreaming": false,
51
+ "structuredOutput": false,
52
+ "structuredOutputWithTools": false,
53
+ "embeddings": false,
54
+ "thinking": false
55
+ },
56
+ "errorRules": [
57
+ {
58
+ "status": 401,
59
+ "class": "authentication",
60
+ "message": "Invalid or missing Subconscious API key. Check {apiKeyEnvVar}. Get one at {setupUrl}"
61
+ },
62
+ {
63
+ "status": 429,
64
+ "class": "rate-limit",
65
+ "message": "Subconscious returned HTTP 429: rate limited due to too many requests or tokens per minute."
66
+ }
67
+ ],
68
+ "setup": {
69
+ "url": "https://subconscious.dev/platform/api-keys",
70
+ "apiKeyFormat": null,
71
+ "billingPolicy": "no-free-tier",
72
+ "instructions": [
73
+ "1. Visit https://subconscious.dev/platform and sign up or sign in (the quickstart, https://docs.subconscious.dev/quickstart, describes signing up on the platform and generating an API key from the dashboard)",
74
+ "2. Create an API key at https://subconscious.dev/platform/api-keys and copy it (https://docs.subconscious.dev/ways-to-use/cloud-api says API keys are created and managed from the dashboard)",
75
+ "3. Pricing is at https://www.subconscious.dev/pricing (monthly token plans and usage-based per-token pricing); the cloud-API page says 'Usage is billed per token.' and 'Credits are added from your dashboard'",
76
+ "4. Set {apiKeyEnvVar} in your .env file"
77
+ ],
78
+ "description": "OpenAI-compatible Chat Completions endpoint at https://api.subconscious.dev/v1. The vendor overview (https://docs.subconscious.dev/overview) says 'Our API is compatible with both the OpenAI Completions and Anthropic Messages APIs'; this entry uses the OpenAI-format /chat/completions route. Verification level: docs- and roster-verified, not live-verified (evidence.liveMatrix is null). Checks made on 2026-09-29 were unauthenticated GET requests to /v1/models (HTTP 200, 4 models) and /v1/chat/completions (HTTP 405, allow: POST); no key was used and no POST was sent. The OpenAPI spec (https://docs.subconscious.dev/api-reference/openapi.json) lists statuses 400, 401 ('Unauthorized because of a missing or invalid API key'), 429 ('Rate limited due to too many requests or tokens per minute') and 500, so errorRules match on status. The spec says of response_format: 'Currently unsupported. The request may accept this field, but it is ignored and does not constrain the model output to JSON or a schema.' tools, toolsWithStreaming, structuredOutput, structuredOutputWithTools and thinking are declared false and were not probed with a key. models.defaultContextWindow (200000), models.defaultMaxOutputTokens (4096) and the vision value (false) of the three catalog models are placeholders the vendor does not publish per model. billingPolicy no-free-tier is the schema's required field value, not a vendor statement."
79
+ },
80
+ "evidence": {
81
+ "rosterVerified": {
82
+ "date": "2026-09-29",
83
+ "method": "unauthenticated GET https://api.subconscious.dev/v1/models — 4 models; credential-free, no key used",
84
+ "status": 200
85
+ },
86
+ "billingProbe": {
87
+ "date": "2026-09-29",
88
+ "method": "public pages https://docs.subconscious.dev/ways-to-use/cloud-api and https://www.subconscious.dev/pricing read without an account. The vendor blog post https://www.subconscious.dev/blog/subconscious-glm-5-2-makes-compact-obsolete (June 22, 2026, about GLM-5.2) says 'You also get $50 credits to test the model performance'; no account was created, so that offer was not tried; credential-free"
89
+ },
90
+ "liveMatrix": null,
91
+ "addedInPR": "https://github.com/juspay/neurolink/pull/1860"
92
+ }
93
+ }