@juspay/neurolink 11.4.0 → 11.5.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.
@@ -282,7 +282,7 @@ export const MODEL_CONTEXT_WINDOWS = {
282
282
  bedrock: {
283
283
  _default: 200_000,
284
284
  // Claude 4.6
285
- "anthropic.claude-opus-4-6-v1:0": 1_000_000,
285
+ "anthropic.claude-opus-4-6-v1": 1_000_000,
286
286
  "anthropic.claude-sonnet-4-6": 1_000_000,
287
287
  // Claude 4.5
288
288
  "anthropic.claude-opus-4-5-20251101-v1:0": 200_000,
@@ -67,7 +67,7 @@ export declare enum OpenRouterModels {
67
67
  * Supported Models for Amazon Bedrock
68
68
  */
69
69
  export declare enum BedrockModels {
70
- CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1:0",
70
+ CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1",
71
71
  CLAUDE_4_6_SONNET = "anthropic.claude-sonnet-4-6",
72
72
  CLAUDE_4_5_OPUS = "anthropic.claude-opus-4-5-20251101-v1:0",
73
73
  CLAUDE_4_5_SONNET = "anthropic.claude-sonnet-4-5-20250929-v1:0",
@@ -230,6 +230,13 @@ export declare enum AzureOpenAIModels {
230
230
  GPT_5_CHAT = "gpt-5-chat",
231
231
  GPT_5_CODEX = "gpt-5-codex",
232
232
  GPT_5_PRO = "gpt-5-pro",
233
+ /**
234
+ * @deprecated No such model exists on Azure OpenAI. "Turbo" was a GPT-3.5 and
235
+ * GPT-4 era suffix and was never carried into the GPT-5 family; the real
236
+ * series is gpt-5 / gpt-5-mini / gpt-5-nano / gpt-5-chat / gpt-5-codex /
237
+ * gpt-5-pro. Deploying this id fails. Kept only so existing code still
238
+ * compiles — scheduled for removal in the next major. Use GPT_5 instead.
239
+ */
233
240
  GPT_5_TURBO = "gpt-5-turbo",
234
241
  O4_MINI = "o4-mini",
235
242
  O3 = "o3",
@@ -329,14 +336,21 @@ export declare enum GoogleAIModels {
329
336
  * Supported Models for Anthropic (Direct API)
330
337
  */
331
338
  export declare enum AnthropicModels {
339
+ CLAUDE_OPUS_5 = "claude-opus-5",
332
340
  CLAUDE_SONNET_5 = "claude-sonnet-5",
341
+ CLAUDE_FABLE_5 = "claude-fable-5",
342
+ CLAUDE_OPUS_4_8 = "claude-opus-4-8",
343
+ CLAUDE_OPUS_4_7 = "claude-opus-4-7",
333
344
  CLAUDE_OPUS_4_6 = "claude-opus-4-6",
334
345
  CLAUDE_SONNET_4_6 = "claude-sonnet-4-6",
335
346
  CLAUDE_OPUS_4_5 = "claude-opus-4-5-20251101",
336
347
  CLAUDE_SONNET_4_5 = "claude-sonnet-4-5-20250929",
337
348
  CLAUDE_4_5_HAIKU = "claude-haiku-4-5-20251001",
349
+ /** @deprecated Retired from the Claude API on August 5, 2026. Use CLAUDE_OPUS_4_8 instead. */
338
350
  CLAUDE_OPUS_4_1 = "claude-opus-4-1-20250805",
351
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_OPUS_4_8 instead. */
339
352
  CLAUDE_OPUS_4_0 = "claude-opus-4-20250514",
353
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_SONNET_4_6 instead. */
340
354
  CLAUDE_SONNET_4_0 = "claude-sonnet-4-20250514",
341
355
  /** @deprecated Retired from Anthropic API. Use CLAUDE_SONNET_4_6 instead. */
342
356
  CLAUDE_SONNET_3_7 = "claude-3-7-sonnet-20250219",
@@ -371,7 +385,17 @@ export declare enum MistralModels {
371
385
  CODESTRAL_EMBED = "codestral-embed",
372
386
  DEVSTRAL_MEDIUM_LATEST = "devstral-medium-latest",
373
387
  DEVSTRAL_SMALL_LATEST = "devstral-small-latest",
388
+ /**
389
+ * @deprecated Retired by Mistral on 2026-05-31. The id is also wrong: the
390
+ * API string was `pixtral-large-2411`, and Mistral publishes no dateless
391
+ * `pixtral-large` alias. Use MISTRAL_MEDIUM_LATEST instead.
392
+ */
374
393
  PIXTRAL_LARGE = "pixtral-large",
394
+ /**
395
+ * @deprecated Retired by Mistral on 2025-12-31. The API string was
396
+ * `pixtral-12b-2409`; no dateless alias is published. Mistral recommends
397
+ * Ministral 3 14B as the replacement.
398
+ */
375
399
  PIXTRAL_12B = "pixtral-12b",
376
400
  VOXTRAL_SMALL_LATEST = "voxtral-small-latest",
377
401
  VOXTRAL_MINI_LATEST = "voxtral-mini-latest",
@@ -88,7 +88,7 @@ export var BedrockModels;
88
88
  // ANTHROPIC CLAUDE MODELS
89
89
  // ============================================================================
90
90
  // Claude 4.6 Series (Latest - February 2026)
91
- BedrockModels["CLAUDE_4_6_OPUS"] = "anthropic.claude-opus-4-6-v1:0";
91
+ BedrockModels["CLAUDE_4_6_OPUS"] = "anthropic.claude-opus-4-6-v1";
92
92
  BedrockModels["CLAUDE_4_6_SONNET"] = "anthropic.claude-sonnet-4-6";
93
93
  // Claude 4.5 Series (September-November 2025)
94
94
  BedrockModels["CLAUDE_4_5_OPUS"] = "anthropic.claude-opus-4-5-20251101-v1:0";
@@ -322,6 +322,13 @@ export var AzureOpenAIModels;
322
322
  AzureOpenAIModels["GPT_5_CHAT"] = "gpt-5-chat";
323
323
  AzureOpenAIModels["GPT_5_CODEX"] = "gpt-5-codex";
324
324
  AzureOpenAIModels["GPT_5_PRO"] = "gpt-5-pro";
325
+ /**
326
+ * @deprecated No such model exists on Azure OpenAI. "Turbo" was a GPT-3.5 and
327
+ * GPT-4 era suffix and was never carried into the GPT-5 family; the real
328
+ * series is gpt-5 / gpt-5-mini / gpt-5-nano / gpt-5-chat / gpt-5-codex /
329
+ * gpt-5-pro. Deploying this id fails. Kept only so existing code still
330
+ * compiles — scheduled for removal in the next major. Use GPT_5 instead.
331
+ */
325
332
  AzureOpenAIModels["GPT_5_TURBO"] = "gpt-5-turbo";
326
333
  // O-Series Reasoning Models
327
334
  AzureOpenAIModels["O4_MINI"] = "o4-mini";
@@ -444,12 +451,22 @@ export var GoogleAIModels;
444
451
  /**
445
452
  * Supported Models for Anthropic (Direct API)
446
453
  */
454
+ // Model states below track Anthropic's own status table at
455
+ // platform.claude.com/docs/en/about-claude/model-deprecations. Those dates
456
+ // cover Anthropic-operated platforms only — Amazon Bedrock and Google Cloud
457
+ // set their own retirement schedules, so BedrockModels/VertexModels entries
458
+ // are NOT retired just because the direct-API twin is.
447
459
  export var AnthropicModels;
448
460
  (function (AnthropicModels) {
449
- // Claude 5 Series (mid 2026) — see MODEL_CONTEXT_WINDOWS.anthropic
450
- // (src/lib/constants/contextWindows.ts) for the 1M context window this id
451
- // already carries there.
461
+ // Claude 5 Series (mid 2026). MODEL_CONTEXT_WINDOWS.anthropic
462
+ // (src/lib/constants/contextWindows.ts) already carries the 1M window
463
+ // these ids resolve to.
464
+ AnthropicModels["CLAUDE_OPUS_5"] = "claude-opus-5";
452
465
  AnthropicModels["CLAUDE_SONNET_5"] = "claude-sonnet-5";
466
+ AnthropicModels["CLAUDE_FABLE_5"] = "claude-fable-5";
467
+ // Claude 4.7 / 4.8 Series
468
+ AnthropicModels["CLAUDE_OPUS_4_8"] = "claude-opus-4-8";
469
+ AnthropicModels["CLAUDE_OPUS_4_7"] = "claude-opus-4-7";
453
470
  // Claude 4.6 Series (February 2026)
454
471
  AnthropicModels["CLAUDE_OPUS_4_6"] = "claude-opus-4-6";
455
472
  AnthropicModels["CLAUDE_SONNET_4_6"] = "claude-sonnet-4-6";
@@ -458,9 +475,12 @@ export var AnthropicModels;
458
475
  AnthropicModels["CLAUDE_SONNET_4_5"] = "claude-sonnet-4-5-20250929";
459
476
  AnthropicModels["CLAUDE_4_5_HAIKU"] = "claude-haiku-4-5-20251001";
460
477
  // Claude 4.1 Series (Legacy)
478
+ /** @deprecated Retired from the Claude API on August 5, 2026. Use CLAUDE_OPUS_4_8 instead. */
461
479
  AnthropicModels["CLAUDE_OPUS_4_1"] = "claude-opus-4-1-20250805";
462
480
  // Claude 4.0 Series (Legacy)
481
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_OPUS_4_8 instead. */
463
482
  AnthropicModels["CLAUDE_OPUS_4_0"] = "claude-opus-4-20250514";
483
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_SONNET_4_6 instead. */
464
484
  AnthropicModels["CLAUDE_SONNET_4_0"] = "claude-sonnet-4-20250514";
465
485
  // Claude 3.7 Series (Legacy)
466
486
  /** @deprecated Retired from Anthropic API. Use CLAUDE_SONNET_4_6 instead. */
@@ -506,8 +526,18 @@ export var MistralModels;
506
526
  // Devstral (Software Development)
507
527
  MistralModels["DEVSTRAL_MEDIUM_LATEST"] = "devstral-medium-latest";
508
528
  MistralModels["DEVSTRAL_SMALL_LATEST"] = "devstral-small-latest";
509
- // Pixtral (Multimodal/Vision)
529
+ // Pixtral (Multimodal/Vision) — both retired by Mistral.
530
+ /**
531
+ * @deprecated Retired by Mistral on 2026-05-31. The id is also wrong: the
532
+ * API string was `pixtral-large-2411`, and Mistral publishes no dateless
533
+ * `pixtral-large` alias. Use MISTRAL_MEDIUM_LATEST instead.
534
+ */
510
535
  MistralModels["PIXTRAL_LARGE"] = "pixtral-large";
536
+ /**
537
+ * @deprecated Retired by Mistral on 2025-12-31. The API string was
538
+ * `pixtral-12b-2409`; no dateless alias is published. Mistral recommends
539
+ * Ministral 3 14B as the replacement.
540
+ */
511
541
  MistralModels["PIXTRAL_12B"] = "pixtral-12b";
512
542
  // Voxtral (Audio)
513
543
  MistralModels["VOXTRAL_SMALL_LATEST"] = "voxtral-small-latest";
@@ -192,7 +192,9 @@ const VISION_CAPABILITIES = {
192
192
  // GPT-5 family
193
193
  "gpt-5",
194
194
  "gpt-5-pro",
195
- "gpt-5-turbo",
195
+ // "gpt-5-turbo" removed: Azure publishes no such model, so advertising
196
+ // vision for it made supportsVision() vouch for an id that cannot be
197
+ // deployed.
196
198
  "gpt-5-chat",
197
199
  "gpt-5-mini",
198
200
  // GPT-4.1 family
@@ -282,7 +282,7 @@ export const MODEL_CONTEXT_WINDOWS = {
282
282
  bedrock: {
283
283
  _default: 200_000,
284
284
  // Claude 4.6
285
- "anthropic.claude-opus-4-6-v1:0": 1_000_000,
285
+ "anthropic.claude-opus-4-6-v1": 1_000_000,
286
286
  "anthropic.claude-sonnet-4-6": 1_000_000,
287
287
  // Claude 4.5
288
288
  "anthropic.claude-opus-4-5-20251101-v1:0": 200_000,
@@ -67,7 +67,7 @@ export declare enum OpenRouterModels {
67
67
  * Supported Models for Amazon Bedrock
68
68
  */
69
69
  export declare enum BedrockModels {
70
- CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1:0",
70
+ CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1",
71
71
  CLAUDE_4_6_SONNET = "anthropic.claude-sonnet-4-6",
72
72
  CLAUDE_4_5_OPUS = "anthropic.claude-opus-4-5-20251101-v1:0",
73
73
  CLAUDE_4_5_SONNET = "anthropic.claude-sonnet-4-5-20250929-v1:0",
@@ -230,6 +230,13 @@ export declare enum AzureOpenAIModels {
230
230
  GPT_5_CHAT = "gpt-5-chat",
231
231
  GPT_5_CODEX = "gpt-5-codex",
232
232
  GPT_5_PRO = "gpt-5-pro",
233
+ /**
234
+ * @deprecated No such model exists on Azure OpenAI. "Turbo" was a GPT-3.5 and
235
+ * GPT-4 era suffix and was never carried into the GPT-5 family; the real
236
+ * series is gpt-5 / gpt-5-mini / gpt-5-nano / gpt-5-chat / gpt-5-codex /
237
+ * gpt-5-pro. Deploying this id fails. Kept only so existing code still
238
+ * compiles — scheduled for removal in the next major. Use GPT_5 instead.
239
+ */
233
240
  GPT_5_TURBO = "gpt-5-turbo",
234
241
  O4_MINI = "o4-mini",
235
242
  O3 = "o3",
@@ -329,14 +336,21 @@ export declare enum GoogleAIModels {
329
336
  * Supported Models for Anthropic (Direct API)
330
337
  */
331
338
  export declare enum AnthropicModels {
339
+ CLAUDE_OPUS_5 = "claude-opus-5",
332
340
  CLAUDE_SONNET_5 = "claude-sonnet-5",
341
+ CLAUDE_FABLE_5 = "claude-fable-5",
342
+ CLAUDE_OPUS_4_8 = "claude-opus-4-8",
343
+ CLAUDE_OPUS_4_7 = "claude-opus-4-7",
333
344
  CLAUDE_OPUS_4_6 = "claude-opus-4-6",
334
345
  CLAUDE_SONNET_4_6 = "claude-sonnet-4-6",
335
346
  CLAUDE_OPUS_4_5 = "claude-opus-4-5-20251101",
336
347
  CLAUDE_SONNET_4_5 = "claude-sonnet-4-5-20250929",
337
348
  CLAUDE_4_5_HAIKU = "claude-haiku-4-5-20251001",
349
+ /** @deprecated Retired from the Claude API on August 5, 2026. Use CLAUDE_OPUS_4_8 instead. */
338
350
  CLAUDE_OPUS_4_1 = "claude-opus-4-1-20250805",
351
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_OPUS_4_8 instead. */
339
352
  CLAUDE_OPUS_4_0 = "claude-opus-4-20250514",
353
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_SONNET_4_6 instead. */
340
354
  CLAUDE_SONNET_4_0 = "claude-sonnet-4-20250514",
341
355
  /** @deprecated Retired from Anthropic API. Use CLAUDE_SONNET_4_6 instead. */
342
356
  CLAUDE_SONNET_3_7 = "claude-3-7-sonnet-20250219",
@@ -371,7 +385,17 @@ export declare enum MistralModels {
371
385
  CODESTRAL_EMBED = "codestral-embed",
372
386
  DEVSTRAL_MEDIUM_LATEST = "devstral-medium-latest",
373
387
  DEVSTRAL_SMALL_LATEST = "devstral-small-latest",
388
+ /**
389
+ * @deprecated Retired by Mistral on 2026-05-31. The id is also wrong: the
390
+ * API string was `pixtral-large-2411`, and Mistral publishes no dateless
391
+ * `pixtral-large` alias. Use MISTRAL_MEDIUM_LATEST instead.
392
+ */
374
393
  PIXTRAL_LARGE = "pixtral-large",
394
+ /**
395
+ * @deprecated Retired by Mistral on 2025-12-31. The API string was
396
+ * `pixtral-12b-2409`; no dateless alias is published. Mistral recommends
397
+ * Ministral 3 14B as the replacement.
398
+ */
375
399
  PIXTRAL_12B = "pixtral-12b",
376
400
  VOXTRAL_SMALL_LATEST = "voxtral-small-latest",
377
401
  VOXTRAL_MINI_LATEST = "voxtral-mini-latest",
@@ -88,7 +88,7 @@ export var BedrockModels;
88
88
  // ANTHROPIC CLAUDE MODELS
89
89
  // ============================================================================
90
90
  // Claude 4.6 Series (Latest - February 2026)
91
- BedrockModels["CLAUDE_4_6_OPUS"] = "anthropic.claude-opus-4-6-v1:0";
91
+ BedrockModels["CLAUDE_4_6_OPUS"] = "anthropic.claude-opus-4-6-v1";
92
92
  BedrockModels["CLAUDE_4_6_SONNET"] = "anthropic.claude-sonnet-4-6";
93
93
  // Claude 4.5 Series (September-November 2025)
94
94
  BedrockModels["CLAUDE_4_5_OPUS"] = "anthropic.claude-opus-4-5-20251101-v1:0";
@@ -322,6 +322,13 @@ export var AzureOpenAIModels;
322
322
  AzureOpenAIModels["GPT_5_CHAT"] = "gpt-5-chat";
323
323
  AzureOpenAIModels["GPT_5_CODEX"] = "gpt-5-codex";
324
324
  AzureOpenAIModels["GPT_5_PRO"] = "gpt-5-pro";
325
+ /**
326
+ * @deprecated No such model exists on Azure OpenAI. "Turbo" was a GPT-3.5 and
327
+ * GPT-4 era suffix and was never carried into the GPT-5 family; the real
328
+ * series is gpt-5 / gpt-5-mini / gpt-5-nano / gpt-5-chat / gpt-5-codex /
329
+ * gpt-5-pro. Deploying this id fails. Kept only so existing code still
330
+ * compiles — scheduled for removal in the next major. Use GPT_5 instead.
331
+ */
325
332
  AzureOpenAIModels["GPT_5_TURBO"] = "gpt-5-turbo";
326
333
  // O-Series Reasoning Models
327
334
  AzureOpenAIModels["O4_MINI"] = "o4-mini";
@@ -444,12 +451,22 @@ export var GoogleAIModels;
444
451
  /**
445
452
  * Supported Models for Anthropic (Direct API)
446
453
  */
454
+ // Model states below track Anthropic's own status table at
455
+ // platform.claude.com/docs/en/about-claude/model-deprecations. Those dates
456
+ // cover Anthropic-operated platforms only — Amazon Bedrock and Google Cloud
457
+ // set their own retirement schedules, so BedrockModels/VertexModels entries
458
+ // are NOT retired just because the direct-API twin is.
447
459
  export var AnthropicModels;
448
460
  (function (AnthropicModels) {
449
- // Claude 5 Series (mid 2026) — see MODEL_CONTEXT_WINDOWS.anthropic
450
- // (src/lib/constants/contextWindows.ts) for the 1M context window this id
451
- // already carries there.
461
+ // Claude 5 Series (mid 2026). MODEL_CONTEXT_WINDOWS.anthropic
462
+ // (src/lib/constants/contextWindows.ts) already carries the 1M window
463
+ // these ids resolve to.
464
+ AnthropicModels["CLAUDE_OPUS_5"] = "claude-opus-5";
452
465
  AnthropicModels["CLAUDE_SONNET_5"] = "claude-sonnet-5";
466
+ AnthropicModels["CLAUDE_FABLE_5"] = "claude-fable-5";
467
+ // Claude 4.7 / 4.8 Series
468
+ AnthropicModels["CLAUDE_OPUS_4_8"] = "claude-opus-4-8";
469
+ AnthropicModels["CLAUDE_OPUS_4_7"] = "claude-opus-4-7";
453
470
  // Claude 4.6 Series (February 2026)
454
471
  AnthropicModels["CLAUDE_OPUS_4_6"] = "claude-opus-4-6";
455
472
  AnthropicModels["CLAUDE_SONNET_4_6"] = "claude-sonnet-4-6";
@@ -458,9 +475,12 @@ export var AnthropicModels;
458
475
  AnthropicModels["CLAUDE_SONNET_4_5"] = "claude-sonnet-4-5-20250929";
459
476
  AnthropicModels["CLAUDE_4_5_HAIKU"] = "claude-haiku-4-5-20251001";
460
477
  // Claude 4.1 Series (Legacy)
478
+ /** @deprecated Retired from the Claude API on August 5, 2026. Use CLAUDE_OPUS_4_8 instead. */
461
479
  AnthropicModels["CLAUDE_OPUS_4_1"] = "claude-opus-4-1-20250805";
462
480
  // Claude 4.0 Series (Legacy)
481
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_OPUS_4_8 instead. */
463
482
  AnthropicModels["CLAUDE_OPUS_4_0"] = "claude-opus-4-20250514";
483
+ /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_SONNET_4_6 instead. */
464
484
  AnthropicModels["CLAUDE_SONNET_4_0"] = "claude-sonnet-4-20250514";
465
485
  // Claude 3.7 Series (Legacy)
466
486
  /** @deprecated Retired from Anthropic API. Use CLAUDE_SONNET_4_6 instead. */
@@ -506,8 +526,18 @@ export var MistralModels;
506
526
  // Devstral (Software Development)
507
527
  MistralModels["DEVSTRAL_MEDIUM_LATEST"] = "devstral-medium-latest";
508
528
  MistralModels["DEVSTRAL_SMALL_LATEST"] = "devstral-small-latest";
509
- // Pixtral (Multimodal/Vision)
529
+ // Pixtral (Multimodal/Vision) — both retired by Mistral.
530
+ /**
531
+ * @deprecated Retired by Mistral on 2026-05-31. The id is also wrong: the
532
+ * API string was `pixtral-large-2411`, and Mistral publishes no dateless
533
+ * `pixtral-large` alias. Use MISTRAL_MEDIUM_LATEST instead.
534
+ */
510
535
  MistralModels["PIXTRAL_LARGE"] = "pixtral-large";
536
+ /**
537
+ * @deprecated Retired by Mistral on 2025-12-31. The API string was
538
+ * `pixtral-12b-2409`; no dateless alias is published. Mistral recommends
539
+ * Ministral 3 14B as the replacement.
540
+ */
511
541
  MistralModels["PIXTRAL_12B"] = "pixtral-12b";
512
542
  // Voxtral (Audio)
513
543
  MistralModels["VOXTRAL_SMALL_LATEST"] = "voxtral-small-latest";
@@ -1046,8 +1046,11 @@ export const MODEL_REGISTRY = {
1046
1046
  jsonMode: false,
1047
1047
  },
1048
1048
  pricing: {
1049
- inputCostPer1K: 0.015,
1050
- outputCostPer1K: 0.075,
1049
+ // $5 / $25 per MTok. Was 0.015/0.075 — Claude 3 Opus's rate, left
1050
+ // behind when the entry was updated to 4.5, so every cost estimate
1051
+ // for this model came out 3x high.
1052
+ inputCostPer1K: 0.005,
1053
+ outputCostPer1K: 0.025,
1051
1054
  currency: "USD",
1052
1055
  },
1053
1056
  performance: {
@@ -1071,7 +1074,9 @@ export const MODEL_REGISTRY = {
1071
1074
  },
1072
1075
  aliases: [
1073
1076
  "claude-4.5-opus",
1074
- "claude-opus-latest",
1077
+ // "claude-opus-latest" now belongs to CLAUDE_OPUS_5. An alias declared
1078
+ // on two entries silently resolves to whichever appears later in this
1079
+ // object, so a "latest" pointer must live on exactly one model.
1075
1080
  "opus-4.5",
1076
1081
  "anthropic-flagship",
1077
1082
  ],
@@ -1080,6 +1085,210 @@ export const MODEL_REGISTRY = {
1080
1085
  releaseDate: "2025-11-24",
1081
1086
  category: "reasoning",
1082
1087
  },
1088
+ // Claude 5 and 4.7/4.8. Limits and pricing from Anthropic's models
1089
+ // overview comparison tables. All current Claude models take image input;
1090
+ // these use adaptive thinking rather than the older `thinking.type`
1091
+ // extended-thinking switch, which the overview marks "No" for each.
1092
+ [AnthropicModels.CLAUDE_OPUS_5]: {
1093
+ id: AnthropicModels.CLAUDE_OPUS_5,
1094
+ name: "Claude Opus 5",
1095
+ provider: AIProviderName.ANTHROPIC,
1096
+ description: "For complex agentic coding and enterprise work",
1097
+ capabilities: {
1098
+ vision: true,
1099
+ functionCalling: true,
1100
+ codeGeneration: true,
1101
+ reasoning: true,
1102
+ multimodal: true,
1103
+ streaming: true,
1104
+ jsonMode: false,
1105
+ },
1106
+ pricing: {
1107
+ inputCostPer1K: 0.005,
1108
+ outputCostPer1K: 0.025,
1109
+ currency: "USD",
1110
+ },
1111
+ performance: { speed: "medium", quality: "high", accuracy: "high" },
1112
+ limits: {
1113
+ maxContextTokens: 1000000,
1114
+ maxOutputTokens: 128000,
1115
+ maxRequestsPerMinute: 50,
1116
+ },
1117
+ useCases: {
1118
+ coding: 10,
1119
+ creative: 10,
1120
+ analysis: 10,
1121
+ conversation: 9,
1122
+ reasoning: 10,
1123
+ translation: 9,
1124
+ summarization: 9,
1125
+ },
1126
+ aliases: ["opus-5", "claude-opus-latest"],
1127
+ deprecated: false,
1128
+ isLocal: false,
1129
+ releaseDate: "2026-07-24",
1130
+ category: "reasoning",
1131
+ },
1132
+ [AnthropicModels.CLAUDE_SONNET_5]: {
1133
+ id: AnthropicModels.CLAUDE_SONNET_5,
1134
+ name: "Claude Sonnet 5",
1135
+ provider: AIProviderName.ANTHROPIC,
1136
+ description: "The best combination of speed and intelligence",
1137
+ capabilities: {
1138
+ vision: true,
1139
+ functionCalling: true,
1140
+ codeGeneration: true,
1141
+ reasoning: true,
1142
+ multimodal: true,
1143
+ streaming: true,
1144
+ jsonMode: false,
1145
+ },
1146
+ pricing: {
1147
+ inputCostPer1K: 0.002,
1148
+ outputCostPer1K: 0.01,
1149
+ currency: "USD",
1150
+ },
1151
+ performance: { speed: "fast", quality: "high", accuracy: "high" },
1152
+ limits: {
1153
+ maxContextTokens: 1000000,
1154
+ maxOutputTokens: 128000,
1155
+ maxRequestsPerMinute: 50,
1156
+ },
1157
+ useCases: {
1158
+ coding: 9,
1159
+ creative: 9,
1160
+ analysis: 9,
1161
+ conversation: 9,
1162
+ reasoning: 9,
1163
+ translation: 9,
1164
+ summarization: 9,
1165
+ },
1166
+ aliases: ["sonnet-5", "claude-sonnet-latest"],
1167
+ deprecated: false,
1168
+ isLocal: false,
1169
+ releaseDate: "2026-06-30",
1170
+ category: "general",
1171
+ },
1172
+ [AnthropicModels.CLAUDE_FABLE_5]: {
1173
+ id: AnthropicModels.CLAUDE_FABLE_5,
1174
+ name: "Claude Fable 5",
1175
+ provider: AIProviderName.ANTHROPIC,
1176
+ description: "Next-generation intelligence for long-running agents",
1177
+ capabilities: {
1178
+ vision: true,
1179
+ functionCalling: true,
1180
+ codeGeneration: true,
1181
+ reasoning: true,
1182
+ multimodal: true,
1183
+ streaming: true,
1184
+ jsonMode: false,
1185
+ },
1186
+ pricing: {
1187
+ inputCostPer1K: 0.01,
1188
+ outputCostPer1K: 0.05,
1189
+ currency: "USD",
1190
+ },
1191
+ performance: { speed: "slow", quality: "high", accuracy: "high" },
1192
+ limits: {
1193
+ maxContextTokens: 1000000,
1194
+ maxOutputTokens: 128000,
1195
+ maxRequestsPerMinute: 50,
1196
+ },
1197
+ useCases: {
1198
+ coding: 10,
1199
+ creative: 10,
1200
+ analysis: 10,
1201
+ conversation: 9,
1202
+ reasoning: 10,
1203
+ translation: 9,
1204
+ summarization: 9,
1205
+ },
1206
+ aliases: ["fable-5"],
1207
+ deprecated: false,
1208
+ isLocal: false,
1209
+ releaseDate: "2026-06-09",
1210
+ category: "reasoning",
1211
+ },
1212
+ [AnthropicModels.CLAUDE_OPUS_4_8]: {
1213
+ id: AnthropicModels.CLAUDE_OPUS_4_8,
1214
+ name: "Claude Opus 4.8",
1215
+ provider: AIProviderName.ANTHROPIC,
1216
+ description: "Anthropic Opus 4.8, superseded by Claude Opus 5",
1217
+ capabilities: {
1218
+ vision: true,
1219
+ functionCalling: true,
1220
+ codeGeneration: true,
1221
+ reasoning: true,
1222
+ multimodal: true,
1223
+ streaming: true,
1224
+ jsonMode: false,
1225
+ },
1226
+ pricing: {
1227
+ inputCostPer1K: 0.005,
1228
+ outputCostPer1K: 0.025,
1229
+ currency: "USD",
1230
+ },
1231
+ performance: { speed: "medium", quality: "high", accuracy: "high" },
1232
+ limits: {
1233
+ maxContextTokens: 1000000,
1234
+ maxOutputTokens: 128000,
1235
+ maxRequestsPerMinute: 50,
1236
+ },
1237
+ useCases: {
1238
+ coding: 10,
1239
+ creative: 9,
1240
+ analysis: 10,
1241
+ conversation: 9,
1242
+ reasoning: 10,
1243
+ translation: 9,
1244
+ summarization: 9,
1245
+ },
1246
+ aliases: ["opus-4.8"],
1247
+ deprecated: false,
1248
+ isLocal: false,
1249
+ releaseDate: "2026-05-28",
1250
+ category: "reasoning",
1251
+ },
1252
+ [AnthropicModels.CLAUDE_OPUS_4_7]: {
1253
+ id: AnthropicModels.CLAUDE_OPUS_4_7,
1254
+ name: "Claude Opus 4.7",
1255
+ provider: AIProviderName.ANTHROPIC,
1256
+ description: "Anthropic Opus 4.7, superseded by Claude Opus 4.8",
1257
+ capabilities: {
1258
+ vision: true,
1259
+ functionCalling: true,
1260
+ codeGeneration: true,
1261
+ reasoning: true,
1262
+ multimodal: true,
1263
+ streaming: true,
1264
+ jsonMode: false,
1265
+ },
1266
+ pricing: {
1267
+ inputCostPer1K: 0.005,
1268
+ outputCostPer1K: 0.025,
1269
+ currency: "USD",
1270
+ },
1271
+ performance: { speed: "medium", quality: "high", accuracy: "high" },
1272
+ limits: {
1273
+ maxContextTokens: 1000000,
1274
+ maxOutputTokens: 128000,
1275
+ maxRequestsPerMinute: 50,
1276
+ },
1277
+ useCases: {
1278
+ coding: 10,
1279
+ creative: 9,
1280
+ analysis: 10,
1281
+ conversation: 9,
1282
+ reasoning: 10,
1283
+ translation: 9,
1284
+ summarization: 9,
1285
+ },
1286
+ aliases: ["opus-4.7"],
1287
+ deprecated: false,
1288
+ isLocal: false,
1289
+ releaseDate: "2026-04-16",
1290
+ category: "reasoning",
1291
+ },
1083
1292
  [AnthropicModels.CLAUDE_SONNET_4_5]: {
1084
1293
  id: AnthropicModels.CLAUDE_SONNET_4_5,
1085
1294
  name: "Claude Sonnet 4.5",
@@ -1118,7 +1327,9 @@ export const MODEL_REGISTRY = {
1118
1327
  translation: 8,
1119
1328
  summarization: 8,
1120
1329
  },
1121
- aliases: ["claude-4.5-sonnet", "claude-sonnet-latest", "sonnet-4.5"],
1330
+ // "claude-sonnet-latest" now belongs to CLAUDE_SONNET_5 — see the note
1331
+ // on CLAUDE_OPUS_4_5's aliases.
1332
+ aliases: ["claude-4.5-sonnet", "sonnet-4.5"],
1122
1333
  deprecated: false,
1123
1334
  isLocal: false,
1124
1335
  releaseDate: "2025-09-29",
@@ -1433,7 +1644,10 @@ export const MODEL_REGISTRY = {
1433
1644
  summarization: 8,
1434
1645
  },
1435
1646
  aliases: ["pixtral", "mistral-vision"],
1436
- deprecated: false,
1647
+ // Retired by Mistral on 2026-05-31. Kept so exact-id and alias lookups
1648
+ // still resolve for existing callers; `deprecated` removes it from
1649
+ // `models list` and the recommendation paths.
1650
+ deprecated: true,
1437
1651
  isLocal: false,
1438
1652
  releaseDate: "2024-09-01",
1439
1653
  category: "vision",
@@ -2227,7 +2441,9 @@ export const MODEL_REGISTRY = {
2227
2441
  summarization: 9,
2228
2442
  },
2229
2443
  aliases: ["azure-gpt-5-turbo", "gpt5-turbo-azure"],
2230
- deprecated: false,
2444
+ // Azure OpenAI has never published a "gpt-5-turbo"; the id cannot be
2445
+ // deployed. Flagged so it stops being offered as a live choice.
2446
+ deprecated: true,
2231
2447
  isLocal: false,
2232
2448
  releaseDate: "2025-08-07",
2233
2449
  category: "general",
@@ -2327,7 +2543,9 @@ export const USE_CASE_RECOMMENDATIONS = {
2327
2543
  OpenAIModels.GPT_5_2_PRO,
2328
2544
  AnthropicModels.CLAUDE_OPUS_4_5,
2329
2545
  GoogleAIModels.GEMINI_2_5_PRO,
2330
- MistralModels.PIXTRAL_LARGE,
2546
+ // Mistral's Pixtral Large sat here until it was retired on 2026-05-31.
2547
+ // Left without a substitute rather than guessing at a replacement's
2548
+ // vision support.
2331
2549
  BedrockModels.NOVA_PREMIER,
2332
2550
  ],
2333
2551
  };
@@ -138,7 +138,6 @@ const TOP_MODELS_CONFIG = {
138
138
  model: MistralModels.CODESTRAL_LATEST,
139
139
  description: "Specialized for code",
140
140
  },
141
- { model: MistralModels.PIXTRAL_LARGE, description: "Multimodal vision" },
142
141
  {
143
142
  model: MistralModels.MAGISTRAL_MEDIUM_LATEST,
144
143
  description: "Reasoning model",