omk-ai 0.90.6 → 0.90.7
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.
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +349 -21
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +265 -40
- package/dist/models.generated.js.map +1 -1
- package/dist/models.js +12 -3
- package/dist/models.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +5 -2
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/azure-openai-responses.d.ts +1 -1
- package/dist/providers/azure-openai-responses.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.js.map +1 -1
- package/dist/providers/google-vertex.d.ts.map +1 -1
- package/dist/providers/google-vertex.js.map +1 -1
- package/dist/providers/google.d.ts.map +1 -1
- package/dist/providers/google.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts +1 -1
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/providers/openai-completions.d.ts +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses.d.ts +1 -1
- package/dist/providers/openai-responses.d.ts.map +1 -1
- package/dist/providers/openai-responses.js.map +1 -1
- package/dist/providers/simple-options.d.ts +1 -1
- package/dist/providers/simple-options.d.ts.map +1 -1
- package/dist/providers/simple-options.js +1 -1
- package/dist/providers/simple-options.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/models.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/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,SAAS,GAAG,EAC9C,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,EACjC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,GAC/B,OAAO,CAGT","sourcesContent":["import { MODELS } from \"./models.generated.ts\";\nimport type { Api, KnownProvider, Model, ModelThinkingLevel, Usage } from \"./types.ts\";\n\nconst modelRegistry: Map<string, Map<string, Model<Api>>> = new Map();\n\n// Initialize registry from MODELS on module load\nfor (const [provider, models] of Object.entries(MODELS)) {\n\tconst providerModels = new Map<string, Model<Api>>();\n\tfor (const [id, model] of Object.entries(models)) {\n\t\tproviderModels.set(id, model as Model<Api>);\n\t}\n\tmodelRegistry.set(provider, providerModels);\n}\n\ntype ModelApi<\n\tTProvider extends KnownProvider,\n\tTModelId extends keyof (typeof MODELS)[TProvider],\n> = (typeof MODELS)[TProvider][TModelId] extends { api: infer TApi } ? (TApi extends Api ? TApi : never) : never;\n\nexport function getModel<TProvider extends KnownProvider, TModelId extends keyof (typeof MODELS)[TProvider]>(\n\tprovider: TProvider,\n\tmodelId: TModelId,\n): Model<ModelApi<TProvider, TModelId>> {\n\tconst providerModels = modelRegistry.get(provider);\n\treturn providerModels?.get(modelId as string) as Model<ModelApi<TProvider, TModelId>>;\n}\n\nexport function getProviders(): KnownProvider[] {\n\treturn Array.from(modelRegistry.keys()) as KnownProvider[];\n}\n\nexport function getModels<TProvider extends KnownProvider>(\n\tprovider: TProvider,\n): Model<ModelApi<TProvider, keyof (typeof MODELS)[TProvider]>>[] {\n\tconst models = modelRegistry.get(provider);\n\treturn models ? (Array.from(models.values()) as Model<ModelApi<TProvider, keyof (typeof MODELS)[TProvider]>>[]) : [];\n}\n\nexport function calculateCost<TApi extends Api>(model: Model<TApi>, usage: Usage): Usage[\"cost\"] {\n\tusage.cost.input = (model.cost.input / 1000000) * usage.input;\n\tusage.cost.output = (model.cost.output / 1000000) * usage.output;\n\tusage.cost.cacheRead = (model.cost.cacheRead / 1000000) * usage.cacheRead;\n\tusage.cost.cacheWrite = (model.cost.cacheWrite / 1000000) * usage.cacheWrite;\n\tusage.cost.total = usage.cost.input + usage.cost.output + usage.cost.cacheRead + usage.cost.cacheWrite;\n\treturn usage.cost;\n}\n\nconst EXTENDED_THINKING_LEVELS: ModelThinkingLevel[] = [\n\t\"off\",\n\t\"minimal\",\n\t\"low\",\n\t\"medium\",\n\t\"high\",\n\t\"xhigh\",\n\t\"max\",\n\t\"ultra\",\n];\n\nexport function getSupportedThinkingLevels<TApi extends Api>(model: Model<TApi>): ModelThinkingLevel[] {\n\tif (!model.reasoning) return [\"off\"];\n\n\treturn EXTENDED_THINKING_LEVELS.filter((level) => {\n\t\tconst mapped = model.thinkingLevelMap?.[level];\n\t\tif (mapped === null) return false;\n\t\t// xhigh, max, and ultra are top-tier levels only exposed when a model explicitly maps them.\n\t\tif (level === \"xhigh\" || level === \"max\" || level === \"ultra\") return mapped !== undefined;\n\t\treturn true;\n\t});\n}\n\nexport function clampThinkingLevel<TApi extends Api>(\n\tmodel: Model<TApi>,\n\tlevel: ModelThinkingLevel,\n): ModelThinkingLevel {\n\tconst availableLevels = getSupportedThinkingLevels(model);\n\tif (availableLevels.includes(level)) return level;\n\n\tconst requestedIndex = EXTENDED_THINKING_LEVELS.indexOf(level);\n\tif (requestedIndex === -1) return availableLevels[0] ?? \"off\";\n\n\tfor (let i = requestedIndex; i < EXTENDED_THINKING_LEVELS.length; i++) {\n\t\tconst candidate = EXTENDED_THINKING_LEVELS[i];\n\t\tif (availableLevels.includes(candidate)) return candidate;\n\t}\n\tfor (let i = requestedIndex - 1; i >= 0; i--) {\n\t\tconst candidate = EXTENDED_THINKING_LEVELS[i];\n\t\tif (availableLevels.includes(candidate)) return candidate;\n\t}\n\treturn availableLevels[0] ?? \"off\";\n}\n\n/**\n * Check if two models are equal by comparing both their id and provider.\n * Returns false if either model is null or undefined.\n */\nexport function modelsAreEqual<TApi extends Api>(\n\ta: Model<TApi> | null | undefined,\n\tb: Model<TApi> | null | undefined,\n): boolean {\n\tif (!a || !b) return false;\n\treturn a.id === b.id && a.provider === b.provider;\n}\n"]}
|
|
@@ -2916,6 +2916,8 @@ export declare const MODELS: {
|
|
|
2916
2916
|
reasoning: true;
|
|
2917
2917
|
thinkingLevelMap: {
|
|
2918
2918
|
off: null;
|
|
2919
|
+
xhigh: string;
|
|
2920
|
+
max: string;
|
|
2919
2921
|
};
|
|
2920
2922
|
input: ("image" | "text")[];
|
|
2921
2923
|
cost: {
|
|
@@ -2936,6 +2938,8 @@ export declare const MODELS: {
|
|
|
2936
2938
|
reasoning: true;
|
|
2937
2939
|
thinkingLevelMap: {
|
|
2938
2940
|
off: null;
|
|
2941
|
+
xhigh: string;
|
|
2942
|
+
max: string;
|
|
2939
2943
|
};
|
|
2940
2944
|
input: ("image" | "text")[];
|
|
2941
2945
|
cost: {
|
|
@@ -2956,6 +2960,8 @@ export declare const MODELS: {
|
|
|
2956
2960
|
reasoning: true;
|
|
2957
2961
|
thinkingLevelMap: {
|
|
2958
2962
|
off: null;
|
|
2963
|
+
xhigh: string;
|
|
2964
|
+
max: string;
|
|
2959
2965
|
};
|
|
2960
2966
|
input: ("image" | "text")[];
|
|
2961
2967
|
cost: {
|
|
@@ -2976,6 +2982,8 @@ export declare const MODELS: {
|
|
|
2976
2982
|
reasoning: true;
|
|
2977
2983
|
thinkingLevelMap: {
|
|
2978
2984
|
off: null;
|
|
2985
|
+
xhigh: string;
|
|
2986
|
+
max: string;
|
|
2979
2987
|
};
|
|
2980
2988
|
input: ("image" | "text")[];
|
|
2981
2989
|
cost: {
|
|
@@ -2987,6 +2995,23 @@ export declare const MODELS: {
|
|
|
2987
2995
|
contextWindow: number;
|
|
2988
2996
|
maxTokens: number;
|
|
2989
2997
|
};
|
|
2998
|
+
readonly "gpt-realtime-2.1": {
|
|
2999
|
+
id: string;
|
|
3000
|
+
name: string;
|
|
3001
|
+
api: "azure-openai-responses";
|
|
3002
|
+
provider: string;
|
|
3003
|
+
baseUrl: string;
|
|
3004
|
+
reasoning: true;
|
|
3005
|
+
input: ("image" | "text")[];
|
|
3006
|
+
cost: {
|
|
3007
|
+
input: number;
|
|
3008
|
+
output: number;
|
|
3009
|
+
cacheRead: number;
|
|
3010
|
+
cacheWrite: number;
|
|
3011
|
+
};
|
|
3012
|
+
contextWindow: number;
|
|
3013
|
+
maxTokens: number;
|
|
3014
|
+
};
|
|
2990
3015
|
readonly o1: {
|
|
2991
3016
|
id: string;
|
|
2992
3017
|
name: string;
|
|
@@ -5226,6 +5251,93 @@ export declare const MODELS: {
|
|
|
5226
5251
|
contextWindow: number;
|
|
5227
5252
|
maxTokens: number;
|
|
5228
5253
|
};
|
|
5254
|
+
readonly "gpt-5.6-luna": {
|
|
5255
|
+
id: string;
|
|
5256
|
+
name: string;
|
|
5257
|
+
api: "openai-responses";
|
|
5258
|
+
provider: string;
|
|
5259
|
+
baseUrl: string;
|
|
5260
|
+
headers: {
|
|
5261
|
+
"User-Agent": string;
|
|
5262
|
+
"Editor-Version": string;
|
|
5263
|
+
"Editor-Plugin-Version": string;
|
|
5264
|
+
"Copilot-Integration-Id": string;
|
|
5265
|
+
};
|
|
5266
|
+
reasoning: true;
|
|
5267
|
+
thinkingLevelMap: {
|
|
5268
|
+
off: null;
|
|
5269
|
+
minimal: string;
|
|
5270
|
+
xhigh: string;
|
|
5271
|
+
max: string;
|
|
5272
|
+
};
|
|
5273
|
+
input: ("image" | "text")[];
|
|
5274
|
+
cost: {
|
|
5275
|
+
input: number;
|
|
5276
|
+
output: number;
|
|
5277
|
+
cacheRead: number;
|
|
5278
|
+
cacheWrite: number;
|
|
5279
|
+
};
|
|
5280
|
+
contextWindow: number;
|
|
5281
|
+
maxTokens: number;
|
|
5282
|
+
};
|
|
5283
|
+
readonly "gpt-5.6-sol": {
|
|
5284
|
+
id: string;
|
|
5285
|
+
name: string;
|
|
5286
|
+
api: "openai-responses";
|
|
5287
|
+
provider: string;
|
|
5288
|
+
baseUrl: string;
|
|
5289
|
+
headers: {
|
|
5290
|
+
"User-Agent": string;
|
|
5291
|
+
"Editor-Version": string;
|
|
5292
|
+
"Editor-Plugin-Version": string;
|
|
5293
|
+
"Copilot-Integration-Id": string;
|
|
5294
|
+
};
|
|
5295
|
+
reasoning: true;
|
|
5296
|
+
thinkingLevelMap: {
|
|
5297
|
+
off: null;
|
|
5298
|
+
minimal: string;
|
|
5299
|
+
xhigh: string;
|
|
5300
|
+
max: string;
|
|
5301
|
+
};
|
|
5302
|
+
input: ("image" | "text")[];
|
|
5303
|
+
cost: {
|
|
5304
|
+
input: number;
|
|
5305
|
+
output: number;
|
|
5306
|
+
cacheRead: number;
|
|
5307
|
+
cacheWrite: number;
|
|
5308
|
+
};
|
|
5309
|
+
contextWindow: number;
|
|
5310
|
+
maxTokens: number;
|
|
5311
|
+
};
|
|
5312
|
+
readonly "gpt-5.6-terra": {
|
|
5313
|
+
id: string;
|
|
5314
|
+
name: string;
|
|
5315
|
+
api: "openai-responses";
|
|
5316
|
+
provider: string;
|
|
5317
|
+
baseUrl: string;
|
|
5318
|
+
headers: {
|
|
5319
|
+
"User-Agent": string;
|
|
5320
|
+
"Editor-Version": string;
|
|
5321
|
+
"Editor-Plugin-Version": string;
|
|
5322
|
+
"Copilot-Integration-Id": string;
|
|
5323
|
+
};
|
|
5324
|
+
reasoning: true;
|
|
5325
|
+
thinkingLevelMap: {
|
|
5326
|
+
off: null;
|
|
5327
|
+
minimal: string;
|
|
5328
|
+
xhigh: string;
|
|
5329
|
+
max: string;
|
|
5330
|
+
};
|
|
5331
|
+
input: ("image" | "text")[];
|
|
5332
|
+
cost: {
|
|
5333
|
+
input: number;
|
|
5334
|
+
output: number;
|
|
5335
|
+
cacheRead: number;
|
|
5336
|
+
cacheWrite: number;
|
|
5337
|
+
};
|
|
5338
|
+
contextWindow: number;
|
|
5339
|
+
maxTokens: number;
|
|
5340
|
+
};
|
|
5229
5341
|
readonly "kimi-k2.7-code": {
|
|
5230
5342
|
id: string;
|
|
5231
5343
|
name: string;
|
|
@@ -9337,7 +9449,10 @@ export declare const MODELS: {
|
|
|
9337
9449
|
baseUrl: string;
|
|
9338
9450
|
reasoning: true;
|
|
9339
9451
|
thinkingLevelMap: {
|
|
9340
|
-
off:
|
|
9452
|
+
off: string;
|
|
9453
|
+
xhigh: string;
|
|
9454
|
+
minimal: null;
|
|
9455
|
+
max: string;
|
|
9341
9456
|
};
|
|
9342
9457
|
input: ("image" | "text")[];
|
|
9343
9458
|
cost: {
|
|
@@ -9357,7 +9472,10 @@ export declare const MODELS: {
|
|
|
9357
9472
|
baseUrl: string;
|
|
9358
9473
|
reasoning: true;
|
|
9359
9474
|
thinkingLevelMap: {
|
|
9360
|
-
off:
|
|
9475
|
+
off: string;
|
|
9476
|
+
xhigh: string;
|
|
9477
|
+
minimal: null;
|
|
9478
|
+
max: string;
|
|
9361
9479
|
};
|
|
9362
9480
|
input: ("image" | "text")[];
|
|
9363
9481
|
cost: {
|
|
@@ -9377,7 +9495,10 @@ export declare const MODELS: {
|
|
|
9377
9495
|
baseUrl: string;
|
|
9378
9496
|
reasoning: true;
|
|
9379
9497
|
thinkingLevelMap: {
|
|
9380
|
-
off:
|
|
9498
|
+
off: string;
|
|
9499
|
+
xhigh: string;
|
|
9500
|
+
minimal: null;
|
|
9501
|
+
max: string;
|
|
9381
9502
|
};
|
|
9382
9503
|
input: ("image" | "text")[];
|
|
9383
9504
|
cost: {
|
|
@@ -9397,7 +9518,10 @@ export declare const MODELS: {
|
|
|
9397
9518
|
baseUrl: string;
|
|
9398
9519
|
reasoning: true;
|
|
9399
9520
|
thinkingLevelMap: {
|
|
9400
|
-
off:
|
|
9521
|
+
off: string;
|
|
9522
|
+
xhigh: string;
|
|
9523
|
+
minimal: null;
|
|
9524
|
+
max: string;
|
|
9401
9525
|
};
|
|
9402
9526
|
input: ("image" | "text")[];
|
|
9403
9527
|
cost: {
|
|
@@ -9409,6 +9533,23 @@ export declare const MODELS: {
|
|
|
9409
9533
|
contextWindow: number;
|
|
9410
9534
|
maxTokens: number;
|
|
9411
9535
|
};
|
|
9536
|
+
readonly "gpt-realtime-2.1": {
|
|
9537
|
+
id: string;
|
|
9538
|
+
name: string;
|
|
9539
|
+
api: "openai-responses";
|
|
9540
|
+
provider: string;
|
|
9541
|
+
baseUrl: string;
|
|
9542
|
+
reasoning: true;
|
|
9543
|
+
input: ("image" | "text")[];
|
|
9544
|
+
cost: {
|
|
9545
|
+
input: number;
|
|
9546
|
+
output: number;
|
|
9547
|
+
cacheRead: number;
|
|
9548
|
+
cacheWrite: number;
|
|
9549
|
+
};
|
|
9550
|
+
contextWindow: number;
|
|
9551
|
+
maxTokens: number;
|
|
9552
|
+
};
|
|
9412
9553
|
readonly o1: {
|
|
9413
9554
|
id: string;
|
|
9414
9555
|
name: string;
|
|
@@ -9631,6 +9772,74 @@ export declare const MODELS: {
|
|
|
9631
9772
|
contextWindow: number;
|
|
9632
9773
|
maxTokens: number;
|
|
9633
9774
|
};
|
|
9775
|
+
readonly "gpt-5.6-luna": {
|
|
9776
|
+
id: string;
|
|
9777
|
+
name: string;
|
|
9778
|
+
api: "openai-codex-responses";
|
|
9779
|
+
provider: string;
|
|
9780
|
+
baseUrl: string;
|
|
9781
|
+
reasoning: true;
|
|
9782
|
+
thinkingLevelMap: {
|
|
9783
|
+
xhigh: string;
|
|
9784
|
+
max: string;
|
|
9785
|
+
minimal: string;
|
|
9786
|
+
};
|
|
9787
|
+
input: ("image" | "text")[];
|
|
9788
|
+
cost: {
|
|
9789
|
+
input: number;
|
|
9790
|
+
output: number;
|
|
9791
|
+
cacheRead: number;
|
|
9792
|
+
cacheWrite: number;
|
|
9793
|
+
};
|
|
9794
|
+
contextWindow: number;
|
|
9795
|
+
maxTokens: number;
|
|
9796
|
+
};
|
|
9797
|
+
readonly "gpt-5.6-sol": {
|
|
9798
|
+
id: string;
|
|
9799
|
+
name: string;
|
|
9800
|
+
api: "openai-codex-responses";
|
|
9801
|
+
provider: string;
|
|
9802
|
+
baseUrl: string;
|
|
9803
|
+
reasoning: true;
|
|
9804
|
+
thinkingLevelMap: {
|
|
9805
|
+
xhigh: string;
|
|
9806
|
+
max: string;
|
|
9807
|
+
minimal: string;
|
|
9808
|
+
ultra: string;
|
|
9809
|
+
};
|
|
9810
|
+
input: ("image" | "text")[];
|
|
9811
|
+
cost: {
|
|
9812
|
+
input: number;
|
|
9813
|
+
output: number;
|
|
9814
|
+
cacheRead: number;
|
|
9815
|
+
cacheWrite: number;
|
|
9816
|
+
};
|
|
9817
|
+
contextWindow: number;
|
|
9818
|
+
maxTokens: number;
|
|
9819
|
+
};
|
|
9820
|
+
readonly "gpt-5.6-terra": {
|
|
9821
|
+
id: string;
|
|
9822
|
+
name: string;
|
|
9823
|
+
api: "openai-codex-responses";
|
|
9824
|
+
provider: string;
|
|
9825
|
+
baseUrl: string;
|
|
9826
|
+
reasoning: true;
|
|
9827
|
+
thinkingLevelMap: {
|
|
9828
|
+
xhigh: string;
|
|
9829
|
+
max: string;
|
|
9830
|
+
minimal: string;
|
|
9831
|
+
ultra: string;
|
|
9832
|
+
};
|
|
9833
|
+
input: ("image" | "text")[];
|
|
9834
|
+
cost: {
|
|
9835
|
+
input: number;
|
|
9836
|
+
output: number;
|
|
9837
|
+
cacheRead: number;
|
|
9838
|
+
cacheWrite: number;
|
|
9839
|
+
};
|
|
9840
|
+
contextWindow: number;
|
|
9841
|
+
maxTokens: number;
|
|
9842
|
+
};
|
|
9634
9843
|
};
|
|
9635
9844
|
readonly opencode: {
|
|
9636
9845
|
readonly "big-pickle": {
|
|
@@ -10399,6 +10608,72 @@ export declare const MODELS: {
|
|
|
10399
10608
|
contextWindow: number;
|
|
10400
10609
|
maxTokens: number;
|
|
10401
10610
|
};
|
|
10611
|
+
readonly "gpt-5.6-luna": {
|
|
10612
|
+
id: string;
|
|
10613
|
+
name: string;
|
|
10614
|
+
api: "openai-responses";
|
|
10615
|
+
provider: string;
|
|
10616
|
+
baseUrl: string;
|
|
10617
|
+
reasoning: true;
|
|
10618
|
+
thinkingLevelMap: {
|
|
10619
|
+
off: null;
|
|
10620
|
+
xhigh: string;
|
|
10621
|
+
max: string;
|
|
10622
|
+
};
|
|
10623
|
+
input: ("image" | "text")[];
|
|
10624
|
+
cost: {
|
|
10625
|
+
input: number;
|
|
10626
|
+
output: number;
|
|
10627
|
+
cacheRead: number;
|
|
10628
|
+
cacheWrite: number;
|
|
10629
|
+
};
|
|
10630
|
+
contextWindow: number;
|
|
10631
|
+
maxTokens: number;
|
|
10632
|
+
};
|
|
10633
|
+
readonly "gpt-5.6-sol": {
|
|
10634
|
+
id: string;
|
|
10635
|
+
name: string;
|
|
10636
|
+
api: "openai-responses";
|
|
10637
|
+
provider: string;
|
|
10638
|
+
baseUrl: string;
|
|
10639
|
+
reasoning: true;
|
|
10640
|
+
thinkingLevelMap: {
|
|
10641
|
+
off: null;
|
|
10642
|
+
xhigh: string;
|
|
10643
|
+
max: string;
|
|
10644
|
+
};
|
|
10645
|
+
input: ("image" | "text")[];
|
|
10646
|
+
cost: {
|
|
10647
|
+
input: number;
|
|
10648
|
+
output: number;
|
|
10649
|
+
cacheRead: number;
|
|
10650
|
+
cacheWrite: number;
|
|
10651
|
+
};
|
|
10652
|
+
contextWindow: number;
|
|
10653
|
+
maxTokens: number;
|
|
10654
|
+
};
|
|
10655
|
+
readonly "gpt-5.6-terra": {
|
|
10656
|
+
id: string;
|
|
10657
|
+
name: string;
|
|
10658
|
+
api: "openai-responses";
|
|
10659
|
+
provider: string;
|
|
10660
|
+
baseUrl: string;
|
|
10661
|
+
reasoning: true;
|
|
10662
|
+
thinkingLevelMap: {
|
|
10663
|
+
off: null;
|
|
10664
|
+
xhigh: string;
|
|
10665
|
+
max: string;
|
|
10666
|
+
};
|
|
10667
|
+
input: ("image" | "text")[];
|
|
10668
|
+
cost: {
|
|
10669
|
+
input: number;
|
|
10670
|
+
output: number;
|
|
10671
|
+
cacheRead: number;
|
|
10672
|
+
cacheWrite: number;
|
|
10673
|
+
};
|
|
10674
|
+
contextWindow: number;
|
|
10675
|
+
maxTokens: number;
|
|
10676
|
+
};
|
|
10402
10677
|
readonly "grok-4.5": {
|
|
10403
10678
|
id: string;
|
|
10404
10679
|
name: string;
|
|
@@ -11356,23 +11631,6 @@ export declare const MODELS: {
|
|
|
11356
11631
|
contextWindow: number;
|
|
11357
11632
|
maxTokens: number;
|
|
11358
11633
|
};
|
|
11359
|
-
readonly "arcee-ai/trinity-mini": {
|
|
11360
|
-
id: string;
|
|
11361
|
-
name: string;
|
|
11362
|
-
api: "openai-completions";
|
|
11363
|
-
provider: string;
|
|
11364
|
-
baseUrl: string;
|
|
11365
|
-
reasoning: true;
|
|
11366
|
-
input: "text"[];
|
|
11367
|
-
cost: {
|
|
11368
|
-
input: number;
|
|
11369
|
-
output: number;
|
|
11370
|
-
cacheRead: number;
|
|
11371
|
-
cacheWrite: number;
|
|
11372
|
-
};
|
|
11373
|
-
contextWindow: number;
|
|
11374
|
-
maxTokens: number;
|
|
11375
|
-
};
|
|
11376
11634
|
readonly "arcee-ai/virtuoso-large": {
|
|
11377
11635
|
id: string;
|
|
11378
11636
|
name: string;
|
|
@@ -13622,6 +13880,10 @@ export declare const MODELS: {
|
|
|
13622
13880
|
provider: string;
|
|
13623
13881
|
baseUrl: string;
|
|
13624
13882
|
reasoning: true;
|
|
13883
|
+
thinkingLevelMap: {
|
|
13884
|
+
xhigh: string;
|
|
13885
|
+
max: string;
|
|
13886
|
+
};
|
|
13625
13887
|
input: ("image" | "text")[];
|
|
13626
13888
|
cost: {
|
|
13627
13889
|
input: number;
|
|
@@ -13639,6 +13901,10 @@ export declare const MODELS: {
|
|
|
13639
13901
|
provider: string;
|
|
13640
13902
|
baseUrl: string;
|
|
13641
13903
|
reasoning: true;
|
|
13904
|
+
thinkingLevelMap: {
|
|
13905
|
+
xhigh: string;
|
|
13906
|
+
max: string;
|
|
13907
|
+
};
|
|
13642
13908
|
input: ("image" | "text")[];
|
|
13643
13909
|
cost: {
|
|
13644
13910
|
input: number;
|
|
@@ -13656,6 +13922,10 @@ export declare const MODELS: {
|
|
|
13656
13922
|
provider: string;
|
|
13657
13923
|
baseUrl: string;
|
|
13658
13924
|
reasoning: true;
|
|
13925
|
+
thinkingLevelMap: {
|
|
13926
|
+
xhigh: string;
|
|
13927
|
+
max: string;
|
|
13928
|
+
};
|
|
13659
13929
|
input: ("image" | "text")[];
|
|
13660
13930
|
cost: {
|
|
13661
13931
|
input: number;
|
|
@@ -13673,6 +13943,10 @@ export declare const MODELS: {
|
|
|
13673
13943
|
provider: string;
|
|
13674
13944
|
baseUrl: string;
|
|
13675
13945
|
reasoning: true;
|
|
13946
|
+
thinkingLevelMap: {
|
|
13947
|
+
xhigh: string;
|
|
13948
|
+
max: string;
|
|
13949
|
+
};
|
|
13676
13950
|
input: ("image" | "text")[];
|
|
13677
13951
|
cost: {
|
|
13678
13952
|
input: number;
|
|
@@ -13690,6 +13964,10 @@ export declare const MODELS: {
|
|
|
13690
13964
|
provider: string;
|
|
13691
13965
|
baseUrl: string;
|
|
13692
13966
|
reasoning: true;
|
|
13967
|
+
thinkingLevelMap: {
|
|
13968
|
+
xhigh: string;
|
|
13969
|
+
max: string;
|
|
13970
|
+
};
|
|
13693
13971
|
input: ("image" | "text")[];
|
|
13694
13972
|
cost: {
|
|
13695
13973
|
input: number;
|
|
@@ -13707,6 +13985,10 @@ export declare const MODELS: {
|
|
|
13707
13985
|
provider: string;
|
|
13708
13986
|
baseUrl: string;
|
|
13709
13987
|
reasoning: true;
|
|
13988
|
+
thinkingLevelMap: {
|
|
13989
|
+
xhigh: string;
|
|
13990
|
+
max: string;
|
|
13991
|
+
};
|
|
13710
13992
|
input: ("image" | "text")[];
|
|
13711
13993
|
cost: {
|
|
13712
13994
|
input: number;
|
|
@@ -17386,6 +17668,23 @@ export declare const MODELS: {
|
|
|
17386
17668
|
contextWindow: number;
|
|
17387
17669
|
maxTokens: number;
|
|
17388
17670
|
};
|
|
17671
|
+
readonly "kwaipilot/kat-coder-air-v2.5": {
|
|
17672
|
+
id: string;
|
|
17673
|
+
name: string;
|
|
17674
|
+
api: "anthropic-messages";
|
|
17675
|
+
provider: string;
|
|
17676
|
+
baseUrl: string;
|
|
17677
|
+
reasoning: true;
|
|
17678
|
+
input: "text"[];
|
|
17679
|
+
cost: {
|
|
17680
|
+
input: number;
|
|
17681
|
+
output: number;
|
|
17682
|
+
cacheRead: number;
|
|
17683
|
+
cacheWrite: number;
|
|
17684
|
+
};
|
|
17685
|
+
contextWindow: number;
|
|
17686
|
+
maxTokens: number;
|
|
17687
|
+
};
|
|
17389
17688
|
readonly "kwaipilot/kat-coder-pro-v1": {
|
|
17390
17689
|
id: string;
|
|
17391
17690
|
name: string;
|
|
@@ -17420,6 +17719,23 @@ export declare const MODELS: {
|
|
|
17420
17719
|
contextWindow: number;
|
|
17421
17720
|
maxTokens: number;
|
|
17422
17721
|
};
|
|
17722
|
+
readonly "kwaipilot/kat-coder-pro-v2.5": {
|
|
17723
|
+
id: string;
|
|
17724
|
+
name: string;
|
|
17725
|
+
api: "anthropic-messages";
|
|
17726
|
+
provider: string;
|
|
17727
|
+
baseUrl: string;
|
|
17728
|
+
reasoning: true;
|
|
17729
|
+
input: "text"[];
|
|
17730
|
+
cost: {
|
|
17731
|
+
input: number;
|
|
17732
|
+
output: number;
|
|
17733
|
+
cacheRead: number;
|
|
17734
|
+
cacheWrite: number;
|
|
17735
|
+
};
|
|
17736
|
+
contextWindow: number;
|
|
17737
|
+
maxTokens: number;
|
|
17738
|
+
};
|
|
17423
17739
|
readonly "meituan/longcat-flash-chat": {
|
|
17424
17740
|
id: string;
|
|
17425
17741
|
name: string;
|
|
@@ -18741,6 +19057,10 @@ export declare const MODELS: {
|
|
|
18741
19057
|
provider: string;
|
|
18742
19058
|
baseUrl: string;
|
|
18743
19059
|
reasoning: true;
|
|
19060
|
+
thinkingLevelMap: {
|
|
19061
|
+
xhigh: string;
|
|
19062
|
+
max: string;
|
|
19063
|
+
};
|
|
18744
19064
|
input: ("image" | "text")[];
|
|
18745
19065
|
cost: {
|
|
18746
19066
|
input: number;
|
|
@@ -18758,6 +19078,10 @@ export declare const MODELS: {
|
|
|
18758
19078
|
provider: string;
|
|
18759
19079
|
baseUrl: string;
|
|
18760
19080
|
reasoning: true;
|
|
19081
|
+
thinkingLevelMap: {
|
|
19082
|
+
xhigh: string;
|
|
19083
|
+
max: string;
|
|
19084
|
+
};
|
|
18761
19085
|
input: ("image" | "text")[];
|
|
18762
19086
|
cost: {
|
|
18763
19087
|
input: number;
|
|
@@ -18775,6 +19099,10 @@ export declare const MODELS: {
|
|
|
18775
19099
|
provider: string;
|
|
18776
19100
|
baseUrl: string;
|
|
18777
19101
|
reasoning: true;
|
|
19102
|
+
thinkingLevelMap: {
|
|
19103
|
+
xhigh: string;
|
|
19104
|
+
max: string;
|
|
19105
|
+
};
|
|
18778
19106
|
input: ("image" | "text")[];
|
|
18779
19107
|
cost: {
|
|
18780
19108
|
input: number;
|