@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
@@ -1,15 +1,20 @@
1
1
  // GENERATED FILE — do not edit. Regenerate with `pnpm run codegen:catalog`.
2
2
  // Source of truth: the per-provider JSON files in this directory.
3
3
  import aboveDevJson from "./above-dev.json" with { type: "json" };
4
+ import ai21Json from "./ai21.json" with { type: "json" };
4
5
  import aiandJson from "./aiand.json" with { type: "json" };
6
+ import aionlabsJson from "./aionlabs.json" with { type: "json" };
5
7
  import ambientJson from "./ambient.json" with { type: "json" };
6
8
  import apiRouteJson from "./api-route.json" with { type: "json" };
9
+ import atlasCloudJson from "./atlas-cloud.json" with { type: "json" };
10
+ import avianIoJson from "./avian-io.json" with { type: "json" };
7
11
  import basetenJson from "./baseten.json" with { type: "json" };
8
12
  import beeHeossiJson from "./bee-heossi.json" with { type: "json" };
9
13
  import cerebrasJson from "./cerebras.json" with { type: "json" };
10
14
  import charmHyperJson from "./charm-hyper.json" with { type: "json" };
11
15
  import chutesJson from "./chutes.json" with { type: "json" };
12
16
  import cloudflareJson from "./cloudflare.json" with { type: "json" };
17
+ import crusoeJson from "./crusoe.json" with { type: "json" };
13
18
  import deepinfraJson from "./deepinfra.json" with { type: "json" };
14
19
  import deepseekJson from "./deepseek.json" with { type: "json" };
15
20
  import empiriolabsJson from "./empiriolabs.json" with { type: "json" };
@@ -27,31 +32,51 @@ import koscomputeJson from "./koscompute.json" with { type: "json" };
27
32
  import lilacJson from "./lilac.json" with { type: "json" };
28
33
  import llmtechJson from "./llmtech.json" with { type: "json" };
29
34
  import mancerJson from "./mancer.json" with { type: "json" };
35
+ import minimaxJson from "./minimax.json" with { type: "json" };
30
36
  import mistralJson from "./mistral.json" with { type: "json" };
31
37
  import moarkJson from "./moark.json" with { type: "json" };
38
+ import moonshotAiJson from "./moonshot-ai.json" with { type: "json" };
32
39
  import morphJson from "./morph.json" with { type: "json" };
40
+ import nebiusJson from "./nebius.json" with { type: "json" };
33
41
  import neuralwattJson from "./neuralwatt.json" with { type: "json" };
34
42
  import novitaJson from "./novita.json" with { type: "json" };
35
43
  import ovhcloudJson from "./ovhcloud.json" with { type: "json" };
36
44
  import paretoInferenceJson from "./pareto-inference.json" with { type: "json" };
37
45
  import perplexityJson from "./perplexity.json" with { type: "json" };
46
+ import primeIntellectJson from "./prime-intellect.json" with { type: "json" };
38
47
  import sambanovaJson from "./sambanova.json" with { type: "json" };
39
48
  import sarvamJson from "./sarvam.json" with { type: "json" };
49
+ import scalewayJson from "./scaleway.json" with { type: "json" };
50
+ import siliconflowJson from "./siliconflow.json" with { type: "json" };
51
+ import stepfunJson from "./stepfun.json" with { type: "json" };
52
+ import subconsciousJson from "./subconscious.json" with { type: "json" };
40
53
  import syntheticJson from "./synthetic.json" with { type: "json" };
54
+ import tinfoilJson from "./tinfoil.json" with { type: "json" };
41
55
  import togetherAiJson from "./together-ai.json" with { type: "json" };
56
+ import umansAiJson from "./umans-ai.json" with { type: "json" };
42
57
  import upstageJson from "./upstage.json" with { type: "json" };
58
+ import veniceAiJson from "./venice-ai.json" with { type: "json" };
59
+ import vultrInferenceJson from "./vultr-inference.json" with { type: "json" };
60
+ import waferJson from "./wafer.json" with { type: "json" };
61
+ import wandbInferenceJson from "./wandb-inference.json" with { type: "json" };
43
62
  import xaiJson from "./xai.json" with { type: "json" };
63
+ import zAiJson from "./z-ai.json" with { type: "json" };
44
64
  export const CATALOG_JSON_ENTRIES = [
45
65
  aboveDevJson,
66
+ ai21Json,
46
67
  aiandJson,
68
+ aionlabsJson,
47
69
  ambientJson,
48
70
  apiRouteJson,
71
+ atlasCloudJson,
72
+ avianIoJson,
49
73
  basetenJson,
50
74
  beeHeossiJson,
51
75
  cerebrasJson,
52
76
  charmHyperJson,
53
77
  chutesJson,
54
78
  cloudflareJson,
79
+ crusoeJson,
55
80
  deepinfraJson,
56
81
  deepseekJson,
57
82
  empiriolabsJson,
@@ -69,32 +94,52 @@ export const CATALOG_JSON_ENTRIES = [
69
94
  lilacJson,
70
95
  llmtechJson,
71
96
  mancerJson,
97
+ minimaxJson,
72
98
  mistralJson,
73
99
  moarkJson,
100
+ moonshotAiJson,
74
101
  morphJson,
102
+ nebiusJson,
75
103
  neuralwattJson,
76
104
  novitaJson,
77
105
  ovhcloudJson,
78
106
  paretoInferenceJson,
79
107
  perplexityJson,
108
+ primeIntellectJson,
80
109
  sambanovaJson,
81
110
  sarvamJson,
111
+ scalewayJson,
112
+ siliconflowJson,
113
+ stepfunJson,
114
+ subconsciousJson,
82
115
  syntheticJson,
116
+ tinfoilJson,
83
117
  togetherAiJson,
118
+ umansAiJson,
84
119
  upstageJson,
120
+ veniceAiJson,
121
+ vultrInferenceJson,
122
+ waferJson,
123
+ wandbInferenceJson,
85
124
  xaiJson,
125
+ zAiJson,
86
126
  ];
87
127
  export const CATALOG_PROVIDER_IDS = [
88
128
  "above-dev",
129
+ "ai21",
89
130
  "aiand",
131
+ "aionlabs",
90
132
  "ambient",
91
133
  "api-route",
134
+ "atlas-cloud",
135
+ "avian-io",
92
136
  "baseten",
93
137
  "bee-heossi",
94
138
  "cerebras",
95
139
  "charm-hyper",
96
140
  "chutes",
97
141
  "cloudflare",
142
+ "crusoe",
98
143
  "deepinfra",
99
144
  "deepseek",
100
145
  "empiriolabs",
@@ -112,18 +157,33 @@ export const CATALOG_PROVIDER_IDS = [
112
157
  "lilac",
113
158
  "llmtech",
114
159
  "mancer",
160
+ "minimax",
115
161
  "mistral",
116
162
  "moark",
163
+ "moonshot-ai",
117
164
  "morph",
165
+ "nebius",
118
166
  "neuralwatt",
119
167
  "novita",
120
168
  "ovhcloud",
121
169
  "pareto-inference",
122
170
  "perplexity",
171
+ "prime-intellect",
123
172
  "sambanova",
124
173
  "sarvam",
174
+ "scaleway",
175
+ "siliconflow",
176
+ "stepfun",
177
+ "subconscious",
125
178
  "synthetic",
179
+ "tinfoil",
126
180
  "together-ai",
181
+ "umans-ai",
127
182
  "upstage",
183
+ "venice-ai",
184
+ "vultr-inference",
185
+ "wafer",
186
+ "wandb-inference",
128
187
  "xai",
188
+ "z-ai",
129
189
  ];
@@ -0,0 +1,200 @@
1
+ {
2
+ "$schema": "./provider-catalog.schema.json",
3
+ "id": "minimax",
4
+ "displayName": "MiniMax",
5
+ "aliases": [],
6
+ "tier": 2,
7
+ "wire": {
8
+ "baseURL": "https://api.minimax.io/v1"
9
+ },
10
+ "models": {
11
+ "default": "MiniMax-M3",
12
+ "fallbacks": [
13
+ "MiniMax-M2.7",
14
+ "MiniMax-M2.7-highspeed",
15
+ "MiniMax-M2.5",
16
+ "MiniMax-M2.5-highspeed",
17
+ "MiniMax-M2.1",
18
+ "MiniMax-M2.1-highspeed",
19
+ "MiniMax-M2"
20
+ ],
21
+ "fallbackModelName": "MiniMax-M2.7",
22
+ "defaultContextWindow": 204800,
23
+ "defaultMaxOutputTokens": 65536,
24
+ "catalog": {
25
+ "MiniMax-M3": {
26
+ "contextWindow": 1000000,
27
+ "maxOutputTokens": 524288,
28
+ "pricingPerMTok": {
29
+ "input": 0.3,
30
+ "output": 1.2,
31
+ "cachedInput": 0.06
32
+ },
33
+ "vision": true,
34
+ "status": "production",
35
+ "description": "NeuroLink default. OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Frontier multimodal coding model with 1M context window\", context window 1,000,000; the same page says \"Image and video inputs are supported by MiniMax-M3.1-Flash-Preview and MiniMax-M3 through OpenAI-compatible message content parts\", hence vision true. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): max_completion_tokens maximum 524288 for MiniMax-M3.1-Flash-Preview and MiniMax-M3. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo), Standard tab: \"≤ 512k input tokens\", $0.30 input, $1.20 output and $0.06 prompt caching read per M tokens (the page shows $0.60, $2.40 and $0.12 struck through beside them); \"> 512k input tokens\" $0.60 input, $2.40 output and $0.12 prompt caching read per M tokens (the page shows $1.20, $4.80 and $0.24 struck through beside them); both Standard rows carry the label \"Permanent 50% off\". The Priority tab says \"Pricing is 1.5x standard.\" The pricingPerMTok figures are the Standard tab, \"≤ 512k input tokens\" row. Chat Completions reference thinking parameter: \"adaptive thinking is on by default\" for MiniMax-M3. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 200, TPM 10,000,000. The Integrate via SDK page (https://platform.minimax.io/docs/guides/quickstart-sdk) calls model=\"MiniMax-M3\"."
36
+ },
37
+ "MiniMax-M3.1-Flash-Preview": {
38
+ "contextWindow": 1000000,
39
+ "maxOutputTokens": 524288,
40
+ "vision": true,
41
+ "status": "preview",
42
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Frontier multimodal coding model with 1M context window and tunable thinking depth\", context window 1,000,000; the page notes \"MiniMax-M3.1-Flash-Preview is available only through Token Plan and MiniMax Code for now.\" and says image and video inputs are supported for this model, hence vision true. Token Plan overview (https://platform.minimax.io/docs/token-plan/intro): \"The Subscription Key is not interchangeable with pay-as-you-go API Keys.\" Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): max_completion_tokens maximum 524288, and the model \"always thinks\"."
43
+ },
44
+ "MiniMax-M2.7": {
45
+ "contextWindow": 204800,
46
+ "maxOutputTokens": 204800,
47
+ "pricingPerMTok": {
48
+ "input": 0.3,
49
+ "output": 1.2,
50
+ "cachedInput": 0.06
51
+ },
52
+ "vision": false,
53
+ "status": "production",
54
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Beginning the journey of recursive self-improvement (output speed approximately 60 tps)\", context window 204,800. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3, max_completion_tokens maximum 204800. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo): $0.3 input, $1.2 output, $0.06 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false."
55
+ },
56
+ "MiniMax-M2.7-highspeed": {
57
+ "contextWindow": 204800,
58
+ "maxOutputTokens": 204800,
59
+ "pricingPerMTok": {
60
+ "input": 0.6,
61
+ "output": 2.4,
62
+ "cachedInput": 0.06
63
+ },
64
+ "vision": false,
65
+ "status": "production",
66
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"M2.7 Highspeed: Same performance, faster and more agile (output speed approximately 100 tps)\", context window 204,800. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3, max_completion_tokens maximum 204800. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo): $0.6 input, $2.4 output, $0.06 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false."
67
+ },
68
+ "MiniMax-M2.5": {
69
+ "contextWindow": 204800,
70
+ "maxOutputTokens": 204800,
71
+ "pricingPerMTok": {
72
+ "input": 0.3,
73
+ "output": 1.2,
74
+ "cachedInput": 0.03
75
+ },
76
+ "vision": false,
77
+ "status": "production",
78
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Peak Performance. Ultimate Value. Master the Complex (output speed approximately 60 tps)\", context window 204,800; listed under \"Legacy Models\" on https://platform.minimax.io/docs/guides/models-intro. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3, max_completion_tokens maximum 204800. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo, Legacy Models): $0.3 input, $1.2 output, $0.03 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false."
79
+ },
80
+ "MiniMax-M2.5-highspeed": {
81
+ "contextWindow": 204800,
82
+ "maxOutputTokens": 204800,
83
+ "pricingPerMTok": {
84
+ "input": 0.6,
85
+ "output": 2.4,
86
+ "cachedInput": 0.03
87
+ },
88
+ "vision": false,
89
+ "status": "production",
90
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"M2.5 highspeed: Same performance, faster and more agile (output speed approximately 100 tps)\", context window 204,800; listed under \"Legacy Models\" on https://platform.minimax.io/docs/guides/models-intro. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3, max_completion_tokens maximum 204800. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo, Legacy Models): $0.6 input, $2.4 output, $0.03 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false."
91
+ },
92
+ "MiniMax-M2.1": {
93
+ "contextWindow": 204800,
94
+ "maxOutputTokens": 204800,
95
+ "pricingPerMTok": {
96
+ "input": 0.3,
97
+ "output": 1.2,
98
+ "cachedInput": 0.03
99
+ },
100
+ "vision": false,
101
+ "status": "production",
102
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Powerful Multi-Language Programming Capabilities with Comprehensively Enhanced Programming Experience (output speed approximately 60 tps)\", context window 204,800; listed under \"Legacy Models\" on https://platform.minimax.io/docs/guides/models-intro. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3, max_completion_tokens maximum 204800. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo, Legacy Models): $0.3 input, $1.2 output, $0.03 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false."
103
+ },
104
+ "MiniMax-M2.1-highspeed": {
105
+ "contextWindow": 204800,
106
+ "maxOutputTokens": 204800,
107
+ "pricingPerMTok": {
108
+ "input": 0.6,
109
+ "output": 2.4,
110
+ "cachedInput": 0.03
111
+ },
112
+ "vision": false,
113
+ "status": "production",
114
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Faster and More Agile (output speed approximately 100 tps)\", context window 204,800; listed under \"Legacy Models\" on https://platform.minimax.io/docs/guides/models-intro. Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai): for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3, max_completion_tokens maximum 204800. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo, Legacy Models): $0.6 input, $2.4 output, $0.03 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false."
115
+ },
116
+ "MiniMax-M2": {
117
+ "contextWindow": 204800,
118
+ "pricingPerMTok": {
119
+ "input": 0.3,
120
+ "output": 1.2,
121
+ "cachedInput": 0.03
122
+ },
123
+ "vision": false,
124
+ "status": "production",
125
+ "description": "OpenAI SDK page (https://platform.minimax.io/docs/api-reference/text-openai-api, retrieved 2026-09-29): \"Agentic capabilities, Advanced reasoning\", context window 204,800; listed under \"Legacy Models\" on https://platform.minimax.io/docs/guides/models-intro. Pay-as-you-go pricing page (https://platform.minimax.io/docs/guides/pricing-paygo, Legacy Models): $0.3 input, $1.2 output, $0.03 prompt caching read and $0.375 prompt caching write per M tokens. Rate limits page (https://platform.minimax.io/docs/guides/rate-limits): RPM 500, TPM 20,000,000. Vision: the Anthropic API page (https://platform.minimax.io/docs/api-reference/text-anthropic-api, retrieved 2026-09-29), messages row, says \"The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input\"; vision false. Max output: the Models page (https://platform.minimax.io/docs/guides/models-intro), Legacy Models, lists \"Maximum Output: 128k tokens (including CoT)\" for MiniMax-M2; the Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai) says for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3 \"the maximum is 204800 (200K)\". The two pages give different figures, so maxOutputTokens is not set for this id."
126
+ }
127
+ },
128
+ "topModels": [
129
+ "MiniMax-M3",
130
+ "MiniMax-M3.1-Flash-Preview",
131
+ "MiniMax-M2.7",
132
+ "MiniMax-M2.7-highspeed",
133
+ "MiniMax-M2.5",
134
+ "MiniMax-M2.5-highspeed",
135
+ "MiniMax-M2.1",
136
+ "MiniMax-M2.1-highspeed",
137
+ "MiniMax-M2"
138
+ ]
139
+ },
140
+ "capabilities": {
141
+ "text": true,
142
+ "streaming": true,
143
+ "tools": "model-dependent",
144
+ "toolsWithStreaming": false,
145
+ "structuredOutput": false,
146
+ "structuredOutputWithTools": false,
147
+ "embeddings": false,
148
+ "thinking": false
149
+ },
150
+ "errorRules": [
151
+ {
152
+ "status": 401,
153
+ "pattern": "invalid api key|not authorized",
154
+ "class": "authentication",
155
+ "message": "MiniMax rejected the API key (HTTP 401, authorized_error). Check {apiKeyEnvVar}. Get one at {setupUrl}"
156
+ },
157
+ {
158
+ "pattern": "insufficient balance",
159
+ "class": "provider",
160
+ "message": "MiniMax reports an insufficient balance (error 1008). The vendor's error-code table says: \"Please check your account balance.\" (https://platform.minimax.io/docs/api-reference/errorcode)"
161
+ },
162
+ {
163
+ "pattern": "rate limit",
164
+ "class": "rate-limit",
165
+ "message": "MiniMax reports a rate limit (error 1002). The vendor's error-code table says: \"Please retry your requests later.\" (https://platform.minimax.io/docs/api-reference/errorcode)"
166
+ }
167
+ ],
168
+ "setup": {
169
+ "url": "https://platform.minimax.io/user-center/basic-information/interface-key",
170
+ "apiKeyFormat": null,
171
+ "billingPolicy": "free-tier",
172
+ "instructions": [
173
+ "1. Visit: https://platform.minimax.io/login?source=platform_docs and register or log in (https://platform.minimax.io/docs/guides/quickstart-preparation)",
174
+ "2. Pay-as-you-go: open API Keys > Create new secret key at https://platform.minimax.io/user-center/basic-information/interface-key and copy the API Key (https://platform.minimax.io/docs/guides/quickstart-preparation)",
175
+ "3. Token Plan: view your Subscription Key at https://platform.minimax.io/user-center/payment/token-plan. MiniMax-M3.1-Flash-Preview is stated as available only through Token Plan and MiniMax Code for now, and the Subscription Key is stated as not interchangeable with pay-as-you-go API Keys (https://platform.minimax.io/docs/api-reference/text-openai-api, https://platform.minimax.io/docs/token-plan/intro)",
176
+ "4. Billing as the vendor words it: \"Pay-as-you-go uses standard Open Platform API Keys and consumes your account balance by actual usage.\" (https://platform.minimax.io/docs/guides/pricing-paygo) and \"New users without subscription can try the free quota from Pay-as-you-go\" (https://platform.minimax.io/docs/solutions/eigent, a tutorial dated January 23, 2026)",
177
+ "5. Set {apiKeyEnvVar} in your .env file"
178
+ ],
179
+ "description": "OpenAI-compatible endpoint at https://api.minimax.io/v1 (https://platform.minimax.io/docs/api-reference/text-openai-api sets OPENAI_BASE_URL=https://api.minimax.io/v1 and calls client.chat.completions.create), with the nine model ids in that page's Supported Models table in models.catalog. This entry is docs-verified only: an unauthenticated GET of https://api.minimax.io/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 error.type authorized_error with the message \"login fail: Please carry the API secret key in the 'Authorization' field of the request header (1004)\" (2026-09-29), so errorRules match status 401 and the messages in the vendor's error-code table (https://platform.minimax.io/docs/api-reference/errorcode). models.defaultContextWindow (204800) and models.defaultMaxOutputTokens (65536) apply to ids outside the catalog: 204,800 is the context window the OpenAI SDK page lists for the MiniMax-M2.x models and 65536 is the recommended max_completion_tokens the Chat Completions reference gives for models other than MiniMax-M3.1-Flash-Preview and MiniMax-M3. capabilities.thinking is false and the entry sets none of the thinking, reasoning_effort or reasoning_split request parameters; the Chat Completions reference (https://platform.minimax.io/docs/api-reference/text-chat-openai) says of MiniMax-M3 \"adaptive thinking is on by default\" and of MiniMax-M3.1-Flash-Preview \"always thinks\". billingPolicy free-tier is the schema's closest value (the schema has no unknown value) and is not a MiniMax statement of terms; each model's status is likewise a value the schema requires (production, or preview for the id the vendor names Preview)."
180
+ },
181
+ "evidence": {
182
+ "rosterVerified": {
183
+ "date": "2026-09-29",
184
+ "status": 401,
185
+ "method": "docs-only — unauthenticated GET https://api.minimax.io/v1/models answers 401 without a key, so model ids are taken from https://platform.minimax.io/docs/api-reference/text-openai-api (retrieved 2026-09-29); roster not verified"
186
+ },
187
+ "authProbe": {
188
+ "date": "2026-09-29",
189
+ "status": 401,
190
+ "code": "authorized_error",
191
+ "method": "unauthenticated GET https://api.minimax.io/v1/models — error.type authorized_error, error.http_code \"401\", message ending (1004); credential-free, no key used"
192
+ },
193
+ "billingProbe": {
194
+ "date": "2026-09-29",
195
+ "method": "public pages https://platform.minimax.io/docs/guides/pricing-paygo (\"Pay-as-you-go uses standard Open Platform API Keys and consumes your account balance by actual usage.\") and https://platform.minimax.io/docs/solutions/eigent (\"New users without subscription can try the free quota from Pay-as-you-go\"); credential-free"
196
+ },
197
+ "liveMatrix": null,
198
+ "addedInPR": "https://github.com/juspay/neurolink/pull/1860"
199
+ }
200
+ }
@@ -0,0 +1,135 @@
1
+ {
2
+ "$schema": "./provider-catalog.schema.json",
3
+ "id": "moonshot-ai",
4
+ "displayName": "Moonshot AI (Kimi)",
5
+ "aliases": ["moonshot", "kimi"],
6
+ "tier": 2,
7
+ "wire": {
8
+ "baseURL": "https://api.moonshot.ai/v1",
9
+ "apiKeyFallbackEnvVars": ["MOONSHOT_API_KEY"]
10
+ },
11
+ "models": {
12
+ "default": "kimi-k3",
13
+ "fallbacks": ["kimi-k2.7-code", "kimi-k2.6", "kimi-k2.7-code-highspeed"],
14
+ "defaultContextWindow": 262144,
15
+ "defaultMaxOutputTokens": 131072,
16
+ "catalog": {
17
+ "kimi-k3": {
18
+ "contextWindow": 1048576,
19
+ "pricingPerMTok": {
20
+ "input": 3.0,
21
+ "output": 15.0,
22
+ "cachedInput": 0.3
23
+ },
24
+ "vision": true,
25
+ "status": "production",
26
+ "description": "NeuroLink default. Model list https://platform.kimi.ai/docs/models (retrieved 2026-09-29): \"Kimi's most capable model to date, with 2.8 trillion parameters, native visual understanding, and a 1M-token context window, designed for frontier intelligence scenarios such as software engineering, knowledge work, and deep reasoning.\" The Kimi K3 page https://platform.kimi.ai/docs/guide/kimi-k3-quickstart calls it \"Kimi's most capable flagship model to date\", states \"K3 always has thinking mode enabled\" with the top-level reasoning_effort field (low, high, max; default max), and states max_completion_tokens \"defaults to 131072 and can be set up to 1048576\". Pricing page https://platform.kimi.ai/docs/pricing/chat (2026-09-29): context window 1,048,576 tokens; per 1M tokens input $3.00, cached input $0.30, output $15.00, cache write $3.00 (TTL 5min) or $6.00 (TTL 1h). The vision guide https://platform.kimi.ai/docs/guide/use-kimi-vision-model names kimi-k3 in its description of the Kimi Vision Model, hence vision true."
27
+ },
28
+ "kimi-k2.7-code": {
29
+ "contextWindow": 262144,
30
+ "pricingPerMTok": {
31
+ "input": 0.95,
32
+ "output": 4.0,
33
+ "cachedInput": 0.19
34
+ },
35
+ "vision": true,
36
+ "status": "production",
37
+ "description": "Fallback in NeuroLink's catalog order. Model list https://platform.kimi.ai/docs/models (retrieved 2026-09-29): \"Kimi's dedicated coding model.\" with \"Context 256k\". Pricing page https://platform.kimi.ai/docs/pricing/chat (2026-09-29): context window 262,144 tokens; per 1M tokens cache-hit input $0.19, cache-miss input $0.95, output $4.00. The Kimi K2.7 Code page https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart states \"Kimi K2.7 Code does not support non-thinking mode.\" The parameter reference https://platform.kimi.ai/docs/api/models-overview states that kimi-k2.6 and kimi-k2.7-code do not support tool_choice required and \"return an error if it is passed\". The vision guide https://platform.kimi.ai/docs/guide/use-kimi-vision-model names kimi-k2.7-code in its description of the Kimi Vision Model, hence vision true."
38
+ },
39
+ "kimi-k2.7-code-highspeed": {
40
+ "contextWindow": 262144,
41
+ "pricingPerMTok": {
42
+ "input": 1.9,
43
+ "output": 8.0,
44
+ "cachedInput": 0.38
45
+ },
46
+ "vision": true,
47
+ "status": "production",
48
+ "description": "Fallback in NeuroLink's catalog order. Model list https://platform.kimi.ai/docs/models (retrieved 2026-09-29): \"High-Speed version of Kimi K2.7 Code model, with output speed of approximately 180 Tokens/s and up to 260 Tokens/s in short context scenarios\". The Kimi K2.7 Code page https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart states it is \"the same model as Kimi K2.7 Code\" and ends that paragraph with \"(Currently, the resource is limited, and the experience of the high-speed model may be slightly fluctuate,we are gradually increasing the resource.)\". Pricing page https://platform.kimi.ai/docs/pricing/chat (2026-09-29): context window 262,144 tokens; per 1M tokens cache-hit input $0.38, cache-miss input $1.90, output $8.00. The vision guide https://platform.kimi.ai/docs/guide/use-kimi-vision-model names kimi-k2.7-code-highspeed in its description of the Kimi Vision Model, hence vision true."
49
+ },
50
+ "kimi-k2.6": {
51
+ "contextWindow": 262144,
52
+ "pricingPerMTok": {
53
+ "input": 0.95,
54
+ "output": 4.0,
55
+ "cachedInput": 0.16
56
+ },
57
+ "vision": true,
58
+ "status": "production",
59
+ "description": "Fallback in NeuroLink's catalog order. Model list https://platform.kimi.ai/docs/models (retrieved 2026-09-29): \"Supports both visual and text input, thinking and non-thinking modes, and dialogue and Agent tasks.\" with \"Context 256k\". Pricing page https://platform.kimi.ai/docs/pricing/chat (2026-09-29): context window 262,144 tokens; per 1M tokens cache-hit input $0.16, cache-miss input $0.95, output $4.00. The Thinking Models page https://platform.kimi.ai/docs/guide/use-thinking-models states \"thinking is on by default, can be disabled\" for kimi-k2.6. The response_format guide https://platform.kimi.ai/docs/guide/response_format states \"kimi-k2.6 occasionally behaves unstably with complex schemas; for example, $ref may return a Markdown code block, oneOf may be ignored, and partial=true may output fields outside the schema.\" The vision guide https://platform.kimi.ai/docs/guide/use-kimi-vision-model names kimi-k2.6 in its description of the Kimi Vision Model, hence vision true."
60
+ }
61
+ },
62
+ "topModels": [
63
+ "kimi-k3",
64
+ "kimi-k2.7-code",
65
+ "kimi-k2.7-code-highspeed",
66
+ "kimi-k2.6"
67
+ ]
68
+ },
69
+ "capabilities": {
70
+ "text": true,
71
+ "streaming": true,
72
+ "tools": true,
73
+ "toolsWithStreaming": true,
74
+ "structuredOutput": true,
75
+ "structuredOutputWithTools": false,
76
+ "embeddings": false,
77
+ "thinking": false
78
+ },
79
+ "errorRules": [
80
+ {
81
+ "pattern": "Account balance is insufficient|Token quota is insufficient|exceeded_current_quota_error",
82
+ "class": "provider",
83
+ "message": "Moonshot AI reports an insufficient account balance or token quota (HTTP 429, exceeded_current_quota_error). Its error list gives the messages \"Account balance is insufficient or the account has been disabled\" and \"Token quota is insufficient\" (https://platform.kimi.ai/docs/api/errors)"
84
+ },
85
+ {
86
+ "status": 401,
87
+ "class": "authentication",
88
+ "message": "Invalid or missing Moonshot AI API key (HTTP 401, incorrect_api_key_error: \"The API key was not provided, or the key is incorrect\"). Check {apiKeyEnvVar}. Get one at {setupUrl}. Keys issued on platform.kimi.ai are independent from keys issued on other regional Kimi platforms (https://platform.kimi.ai/docs/api/errors)"
89
+ },
90
+ {
91
+ "status": 404,
92
+ "class": "invalid-model",
93
+ "message": "Model {model} was not found, or this account does not have permission to access it (HTTP 404, resource_not_found_error: \"Model not found, or this account does not have permission to access the model\"; https://platform.kimi.ai/docs/api/errors)"
94
+ },
95
+ {
96
+ "status": 429,
97
+ "class": "rate-limit",
98
+ "message": "Moonshot AI returned HTTP 429. Its error list gives engine_overloaded_error, exceeded_current_quota_error and rate_limit_reached_error for this status (https://platform.kimi.ai/docs/api/errors)"
99
+ }
100
+ ],
101
+ "quirks": {
102
+ "replayReasoningContent": true
103
+ },
104
+ "setup": {
105
+ "url": "https://platform.kimi.ai/console/api-keys",
106
+ "apiKeyFormat": null,
107
+ "billingPolicy": "no-free-tier",
108
+ "instructions": [
109
+ "1. Visit: https://platform.kimi.ai/console/api-keys and sign in, then create and copy an API key (https://platform.kimi.ai/docs/overview describes signing in to the Kimi API Platform and creating a key under API Keys)",
110
+ "2. Create the key on platform.kimi.ai: the errors page states that keys issued on platform.kimi.ai are independent from keys issued on other regional Kimi platforms, and that \"Mixing keys across platforms returns 401.\" (https://platform.kimi.ai/docs/api/errors)",
111
+ "3. Top up before use: \"To prevent abuse, you need to recharge at least $1 to start using, and when your cumulative recharge reaches $5, you will receive a $5 voucher.\" (https://platform.kimi.ai/docs/pricing/limits); the Kimi K3 page states \"Kimi K3 is a flagship model: it is unlocked after a successful top-up (minimum $1).\" (https://platform.kimi.ai/docs/guide/kimi-k3-quickstart)",
112
+ "4. Set {apiKeyEnvVar} in your .env file (MOONSHOT_API_KEY, the variable Kimi's own docs use, is also read)"
113
+ ],
114
+ "description": "OpenAI-compatible endpoint at https://api.moonshot.ai/v1 (https://platform.kimi.ai/docs/overview: \"Kimi API lets you interact with Kimi models and is compatible with both the OpenAI and Anthropic API formats.\"). The docs and console live on platform.kimi.ai and call the product the Kimi API; the API host is api.moonshot.ai. This entry is docs-verified only: the vendor's GET /v1/models needs a key, so the four model ids come from its public docs and the roster has not been checked; it is not yet live-verified. models.defaultContextWindow (262144, the context window the pricing page lists for kimi-k2.7-code, kimi-k2.7-code-highspeed and kimi-k2.6) and models.defaultMaxOutputTokens (131072, the max_completion_tokens default the vendor states for kimi-k3) apply to model ids outside the catalog and are placeholders, since the vendor publishes no figure for such ids. errorRules follow the statuses and messages on https://platform.kimi.ai/docs/api/errors; the 401 status and incorrect_api_key_error type were also seen on an unauthenticated GET of /v1/models."
115
+ },
116
+ "evidence": {
117
+ "rosterVerified": {
118
+ "date": "2026-09-29",
119
+ "status": 401,
120
+ "method": "docs-only — unauthenticated GET https://api.moonshot.ai/v1/models answers 401 without a key, so model ids are taken from https://platform.kimi.ai/docs/models (retrieved 2026-09-29); roster not verified"
121
+ },
122
+ "authProbe": {
123
+ "date": "2026-09-29",
124
+ "status": 401,
125
+ "code": "incorrect_api_key_error",
126
+ "method": "unauthenticated GET https://api.moonshot.ai/v1/models with no credentials — HTTP 401, JSON body {\"error\":{\"message\":\"Incorrect API key provided\",\"type\":\"incorrect_api_key_error\"}}; the code recorded here is the body's error.type value (the body has no error.code field); credential-free, no key used"
127
+ },
128
+ "billingProbe": {
129
+ "date": "2026-09-29",
130
+ "method": "public page https://platform.kimi.ai/docs/pricing/limits — \"To prevent abuse, you need to recharge at least $1 to start using, and when your cumulative recharge reaches $5, you will receive a $5 voucher.\"; credential-free"
131
+ },
132
+ "liveMatrix": null,
133
+ "addedInPR": "https://github.com/juspay/neurolink/pull/1860"
134
+ }
135
+ }