@llmgateway/models 1.386.1 → 1.388.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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,94 @@
1
+ import { describe, expect, it } from "vitest";
2
+ import { models } from "./models.js";
3
+ import { getProviderDefinition, isLiveMapping, usesEncryptedReasoning, } from "./providers.js";
4
+ const catalogue = models;
5
+ const retirement = new Date("2026-11-07T00:00:00.000Z");
6
+ describe("Azure AI Foundry consolidation", () => {
7
+ it.each(["grok-4-1-fast-reasoning", "grok-4-3"])("keeps %s available on both providers during the notice period", (modelId) => {
8
+ const model = catalogue.find((entry) => entry.id === modelId);
9
+ const legacy = model?.providers.find((mapping) => mapping.providerId === "azure-ai-foundry");
10
+ const azure = model?.providers.find((mapping) => mapping.providerId === "azure");
11
+ expect(azure).toMatchObject({
12
+ contextSize: modelId === "grok-4-3" ? 200_000 : 128_000,
13
+ maxOutput: modelId === "grok-4-3" ? 8_192 : 128_000,
14
+ });
15
+ expect(legacy).toBeDefined();
16
+ expect(azure).toBeDefined();
17
+ expect(azure).toMatchObject({
18
+ externalId: legacy?.externalId,
19
+ inputPrice: legacy?.inputPrice,
20
+ outputPrice: legacy?.outputPrice,
21
+ streaming: true,
22
+ reasoning: true,
23
+ tools: true,
24
+ });
25
+ expect(azure).not.toHaveProperty("deactivatedAt");
26
+ expect(azure?.supportsResponsesApi).not.toBe(true);
27
+ expect(legacy?.deactivatedAt).toEqual(retirement);
28
+ if (!legacy || !azure) {
29
+ throw new Error("Azure mapping missing");
30
+ }
31
+ expect(isLiveMapping(legacy, new Date("2026-11-06T23:59:59.999Z"))).toBe(true);
32
+ expect(isLiveMapping(legacy, retirement)).toBe(false);
33
+ expect(isLiveMapping(azure, retirement)).toBe(true);
34
+ });
35
+ it("leaves the already retired non-reasoning mapping unchanged", () => {
36
+ const model = catalogue.find((entry) => entry.id === "grok-4-1-fast-non-reasoning");
37
+ expect(model?.providers.find((mapping) => mapping.providerId === "azure-ai-foundry")?.deactivatedAt).toEqual(new Date("2026-10-28"));
38
+ expect(model?.providers.some((mapping) => mapping.providerId === "azure")).toBe(false);
39
+ });
40
+ it("retains the legacy provider and publishes its migration notice", () => {
41
+ const provider = getProviderDefinition("azure-ai-foundry");
42
+ expect(provider?.name).toContain("Legacy");
43
+ expect(provider?.announcement).toContain("2026-11-07");
44
+ expect(provider?.announcement).toContain("Azure");
45
+ });
46
+ });
47
+ describe("per-mapping reasoning binding", () => {
48
+ it("allows a mixed provider's mapping to opt out of bound reasoning", () => {
49
+ const mapping = {
50
+ providerId: "azure",
51
+ reasoning: true,
52
+ encryptedReasoning: false,
53
+ };
54
+ expect(usesEncryptedReasoning(mapping)).toBe(false);
55
+ });
56
+ it("keeps provider defaults for existing reasoning mappings", () => {
57
+ expect(usesEncryptedReasoning({ providerId: "azure", reasoning: true })).toBe(true);
58
+ expect(usesEncryptedReasoning({ providerId: "openai", reasoning: true })).toBe(true);
59
+ });
60
+ it("requires reasoning support even when binding is explicitly enabled", () => {
61
+ const mapping = {
62
+ providerId: "azure",
63
+ reasoning: false,
64
+ encryptedReasoning: true,
65
+ };
66
+ expect(usesEncryptedReasoning(mapping)).toBe(false);
67
+ expect(usesEncryptedReasoning(undefined)).toBe(false);
68
+ });
69
+ });
70
+ it.each(["grok-4-1-fast-reasoning", "grok-4-3"])("does not bind the migrated Azure %s reasoning to a credential", (modelId) => {
71
+ const mapping = catalogue
72
+ .find((model) => model.id === modelId)
73
+ ?.providers.find((provider) => provider.providerId === "azure");
74
+ expect(mapping?.encryptedReasoning).toBe(false);
75
+ expect(usesEncryptedReasoning(mapping)).toBe(false);
76
+ });
77
+ it("can enable binding per mapping without changing a provider default", () => {
78
+ const mapping = {
79
+ providerId: "deepseek",
80
+ reasoning: true,
81
+ encryptedReasoning: true,
82
+ };
83
+ expect(usesEncryptedReasoning(mapping)).toBe(true);
84
+ const withoutReasoning = { providerId: "deepseek", encryptedReasoning: true };
85
+ expect(usesEncryptedReasoning(withoutReasoning)).toBe(false);
86
+ });
87
+ it.each(["azure", "azure-ai-foundry"])("keeps vision enabled and inlines remote Grok images on %s", (providerId) => {
88
+ const mapping = catalogue
89
+ .find((model) => model.id === "grok-4-1-fast-reasoning")
90
+ ?.providers.find((provider) => provider.providerId === providerId);
91
+ expect(mapping?.vision).toBe(true);
92
+ expect(mapping?.requiresBase64Images).toBe(true);
93
+ });
94
+ //# sourceMappingURL=azure-foundry-consolidation.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azure-foundry-consolidation.spec.js","sourceRoot":"","sources":["../src/azure-foundry-consolidation.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACN,qBAAqB,EACrB,aAAa,EACb,sBAAsB,GACtB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,SAAS,GAA+B,MAAM,CAAC;AACrD,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;AAExD,QAAQ,CAAC,gCAAgC,EAAE,GAAG,EAAE;IAC/C,EAAE,CAAC,IAAI,CAAC,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC,CAC/C,+DAA+D,EAC/D,CAAC,OAAO,EAAE,EAAE;QACX,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,OAAO,CAAC,CAAC;QAC9D,MAAM,MAAM,GAAG,KAAK,EAAE,SAAS,CAAC,IAAI,CACnC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,KAAK,kBAAkB,CACtD,CAAC;QACF,MAAM,KAAK,GAAG,KAAK,EAAE,SAAS,CAAC,IAAI,CAClC,CAAC,OAAO,EAAE,EAAE,CAAC,O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I,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACrD,CAAC,CACD,CAAC;AAEF,EAAE,CAAC,oEAAoE,EAAE,GAAG,EAAE;IAC7E,MAAM,OAAO,GAAG;QACf,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,IAAI;QACf,kBAAkB,EAAE,IAAI;KACxB,CAAC;IACF,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,MAAM,gBAAgB,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;IAC9E,MAAM,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC9D,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,kBAAkB,CAAU,CAAC,CAC9C,2DAA2D,EAC3D,CAAC,UAAU,EAAE,EAAE;IACd,MAAM,OAAO,GAAG,SAAS;SACvB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,yBAAyB,CAAC;QACxD,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;IACpE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,MAAM,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClD,CAAC,CACD,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,67 @@
1
+ import { describe, expect, it } from "vitest";
2
+ import { models } from "./models.js";
3
+ describe("Azure OpenAI coverage", () => {
4
+ it("offers GPT-6.1 Terra with Global Standard pricing", () => {
5
+ const mapping = models
6
+ .find((model) => model.id === "gpt-6.1-terra")
7
+ ?.providers.find((provider) => provider.providerId === "azure");
8
+ expect(mapping).toMatchObject({
9
+ externalId: "gpt-6.1-terra",
10
+ contextSize: 1050000,
11
+ maxOutput: 128000,
12
+ streaming: true,
13
+ vision: true,
14
+ tools: true,
15
+ supportsResponsesApi: true,
16
+ jsonOutput: true,
17
+ jsonOutputSchema: true,
18
+ reasoning: true,
19
+ reasoningOutput: "omit",
20
+ reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
21
+ supportedToolChoices: ["auto", "none", "required", "function"],
22
+ inputPrice: "1.0e-6",
23
+ outputPrice: "5.0e-6",
24
+ cachedInputPrice: "0.05e-6",
25
+ cacheWriteInputPrice: "1.25e-6",
26
+ pricingTiers: [
27
+ {
28
+ upToTokens: 272000,
29
+ inputPrice: "1.0e-6",
30
+ outputPrice: "5.0e-6",
31
+ cachedInputPrice: "0.05e-6",
32
+ cacheWriteInputPrice: "1.25e-6",
33
+ },
34
+ {
35
+ upToTokens: Infinity,
36
+ inputPrice: "2.0e-6",
37
+ outputPrice: "7.5e-6",
38
+ cachedInputPrice: "0.1e-6",
39
+ cacheWriteInputPrice: "2.5e-6",
40
+ },
41
+ ],
42
+ });
43
+ expect(mapping).not.toHaveProperty("serviceTiers");
44
+ expect(mapping).not.toHaveProperty("deactivatedAt");
45
+ });
46
+ it("offers GPT-5 Pro with Azure's output limit", () => {
47
+ const mapping = models
48
+ .find((model) => model.id === "gpt-5-pro")
49
+ ?.providers.find((provider) => provider.providerId === "azure");
50
+ expect(mapping).toMatchObject({
51
+ externalId: "gpt-5-pro",
52
+ contextSize: 400000,
53
+ maxOutput: 128000,
54
+ streaming: true,
55
+ vision: true,
56
+ tools: true,
57
+ supportsResponsesApi: true,
58
+ reasoning: true,
59
+ reasoningEfforts: ["high"],
60
+ inputPrice: "15e-6",
61
+ outputPrice: "120e-6",
62
+ });
63
+ expect(mapping).not.toHaveProperty("serviceTiers");
64
+ expect(mapping).not.toHaveProperty("deactivatedAt");
65
+ });
66
+ });
67
+ //# sourceMappingURL=azure-openai-parity.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azure-openai-parity.spec.js","sourceRoot":"","sources":["../src/azure-openai-parity.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIrC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACtC,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAC5D,MAAM,OAAO,GAAI,MAAqC;aACpD,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,eAAe,CAAC;YAC9C,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,KAAK,OAAO,CAAC,CAAC;QAEjE,MAAM,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC;YAC7B,UAAU,EAAE,eAAe;YAC3B,WAAW,EAAE,OAAO;YACpB,SAAS,EAAE,MAAM;YACjB,SAAS,EAAE,IAAI;YACf,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,IAAI;YACX,oBAAoB,EAAE,IAAI;YAC1B,UAAU,EAAE,IAAI;YAChB,gBAAgB,EAAE,IAAI;YACtB,SAAS,EAAE,IAAI;YACf,eAAe,EAAE,MAAM;YACvB,gBAAgB,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC;YACnE,oBAAoB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,CAAC;YAC9D,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,gBAAgB,EAAE,SAAS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Ac,CAAC,CAAC;QACnD,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -946,6 +946,28 @@ export declare const openaiModels: [{
946
946
  readonly jsonOutputSchema: true;
947
947
  readonly verbosity: true;
948
948
  readonly jsonOutput: true;
949
+ }, {
950
+ readonly test: "skip";
951
+ readonly providerId: "azure";
952
+ readonly externalId: "gpt-5-pro";
953
+ readonly inputPrice: "15e-6";
954
+ readonly outputPrice: "120e-6";
955
+ readonly requestPrice: "0";
956
+ readonly contextSize: 400000;
957
+ readonly maxOutput: 128000;
958
+ readonly streaming: true;
959
+ readonly reasoning: true;
960
+ readonly reasoningEfforts: ["high"];
961
+ readonly reasoningOutput: "omit";
962
+ readonly vision: true;
963
+ readonly tools: true;
964
+ readonly supportedToolChoices: ["auto", "none", "required", "function"];
965
+ readonly webSearch: true;
966
+ readonly webSearchPrice: "0.01";
967
+ readonly supportsResponsesApi: true;
968
+ readonly jsonOutputSchema: true;
969
+ readonly verbosity: true;
970
+ readonly jsonOutput: true;
949
971
  }];
950
972
  }, {
951
973
  readonly id: "gpt-5.1-codex";
@@ -2443,6 +2465,46 @@ export declare const openaiModels: [{
2443
2465
  readonly jsonOutputSchema: true;
2444
2466
  readonly supportedParameters: ["max_tokens", "response_format", "verbosity", "tools", "tool_choice"];
2445
2467
  readonly jsonOutput: true;
2468
+ }, {
2469
+ readonly test: "skip";
2470
+ readonly providerId: "azure";
2471
+ readonly externalId: "gpt-6.1-terra";
2472
+ readonly inputPrice: "1.0e-6";
2473
+ readonly outputPrice: "5.0e-6";
2474
+ readonly cachedInputPrice: "0.05e-6";
2475
+ readonly cacheWriteInputPrice: "1.25e-6";
2476
+ readonly pricingTiers: [{
2477
+ readonly name: "Up to 272K";
2478
+ readonly upToTokens: 272000;
2479
+ readonly inputPrice: "1.0e-6";
2480
+ readonly outputPrice: "5.0e-6";
2481
+ readonly cachedInputPrice: "0.05e-6";
2482
+ readonly cacheWriteInputPrice: "1.25e-6";
2483
+ }, {
2484
+ readonly name: "Over 272K";
2485
+ readonly upToTokens: number;
2486
+ readonly inputPrice: "2.0e-6";
2487
+ readonly outputPrice: "7.5e-6";
2488
+ readonly cachedInputPrice: "0.1e-6";
2489
+ readonly cacheWriteInputPrice: "2.5e-6";
2490
+ }];
2491
+ readonly requestPrice: "0";
2492
+ readonly contextSize: 1050000;
2493
+ readonly maxOutput: 128000;
2494
+ readonly streaming: true;
2495
+ readonly vision: true;
2496
+ readonly tools: true;
2497
+ readonly supportedToolChoices: ["auto", "none", "required", "function"];
2498
+ readonly webSearch: true;
2499
+ readonly webSearchPrice: "0.01";
2500
+ readonly reasoning: true;
2501
+ readonly reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"];
2502
+ readonly reasoningOutput: "omit";
2503
+ readonly verbosity: true;
2504
+ readonly supportsResponsesApi: true;
2505
+ readonly jsonOutputSchema: true;
2506
+ readonly supportedParameters: ["max_tokens", "response_format", "verbosity", "tools", "tool_choice"];
2507
+ readonly jsonOutput: true;
2446
2508
  }];
2447
2509
  }, {
2448
2510
  readonly id: "gpt-6-luna";
@@ -1158,6 +1158,29 @@ export const openaiModels = [
1158
1158
  verbosity: true,
1159
1159
  jsonOutput: true,
1160
1160
  },
1161
+ {
1162
+ test: "skip",
1163
+ providerId: "azure",
1164
+ externalId: "gpt-5-pro",
1165
+ inputPrice: "15e-6",
1166
+ outputPrice: "120e-6",
1167
+ requestPrice: "0",
1168
+ contextSize: 400000,
1169
+ maxOutput: 128000,
1170
+ streaming: true,
1171
+ reasoning: true,
1172
+ reasoningEfforts: ["high"],
1173
+ reasoningOutput: "omit",
1174
+ vision: true,
1175
+ tools: true,
1176
+ supportedToolChoices: ["auto", "none", "required", "function"],
1177
+ webSearch: true,
1178
+ webSearchPrice: "0.01",
1179
+ supportsResponsesApi: true,
1180
+ jsonOutputSchema: true,
1181
+ verbosity: true,
1182
+ jsonOutput: true,
1183
+ },
1161
1184
  ],
1162
1185
  },
1163
1186
  {
@@ -2942,6 +2965,56 @@ export const openaiModels = [
2942
2965
  ],
2943
2966
  jsonOutput: true,
2944
2967
  },
2968
+ {
2969
+ test: "skip",
2970
+ providerId: "azure",
2971
+ externalId: "gpt-6.1-terra",
2972
+ inputPrice: "1.0e-6",
2973
+ outputPrice: "5.0e-6",
2974
+ cachedInputPrice: "0.05e-6",
2975
+ cacheWriteInputPrice: "1.25e-6",
2976
+ pricingTiers: [
2977
+ {
2978
+ name: "Up to 272K",
2979
+ upToTokens: 272000,
2980
+ inputPrice: "1.0e-6",
2981
+ outputPrice: "5.0e-6",
2982
+ cachedInputPrice: "0.05e-6",
2983
+ cacheWriteInputPrice: "1.25e-6",
2984
+ },
2985
+ {
2986
+ name: "Over 272K",
2987
+ upToTokens: Infinity,
2988
+ inputPrice: "2.0e-6",
2989
+ outputPrice: "7.5e-6",
2990
+ cachedInputPrice: "0.1e-6",
2991
+ cacheWriteInputPrice: "2.5e-6",
2992
+ },
2993
+ ],
2994
+ requestPrice: "0",
2995
+ contextSize: 1050000,
2996
+ maxOutput: 128000,
2997
+ streaming: true,
2998
+ vision: true,
2999
+ tools: true,
3000
+ supportedToolChoices: ["auto", "none", "required", "function"],
3001
+ webSearch: true,
3002
+ webSearchPrice: "0.01",
3003
+ reasoning: true,
3004
+ reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
3005
+ reasoningOutput: "omit",
3006
+ verbosity: true,
3007
+ supportsResponsesApi: true,
3008
+ jsonOutputSchema: true,
3009
+ supportedParameters: [
3010
+ "max_tokens",
3011
+ "response_format",
3012
+ "verbosity",
3013
+ "tools",
3014
+ "tool_choice",
3015
+ ],
3016
+ jsonOutput: true,
3017
+ },
2945
3018
  ],
2946
3019
  },
2947
3020
  {