omk-ai 0.90.6 → 0.90.8
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 +372 -21
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +293 -50
- 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-moa-context.d.ts +3 -0
- package/dist/providers/openai-codex-moa-context.d.ts.map +1 -0
- package/dist/providers/openai-codex-moa-context.js +29 -0
- package/dist/providers/openai-codex-moa-context.js.map +1 -0
- package/dist/providers/openai-codex-moa-stream-limits.d.ts +26 -0
- package/dist/providers/openai-codex-moa-stream-limits.d.ts.map +1 -0
- package/dist/providers/openai-codex-moa-stream-limits.js +180 -0
- package/dist/providers/openai-codex-moa-stream-limits.js.map +1 -0
- package/dist/providers/openai-codex-moa.d.ts +13 -0
- package/dist/providers/openai-codex-moa.d.ts.map +1 -0
- package/dist/providers/openai-codex-moa.js +182 -0
- package/dist/providers/openai-codex-moa.js.map +1 -0
- 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 +125 -58
- 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/C,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAavF,KAAK,QAAQ,CACZ,SAAS,SAAS,aAAa,EAC/B,QAAQ,SAAS,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,IAC9C,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,SAAS;IAAE,GAAG,EAAE,MAAM,IAAI,CAAA;CAAE,GAAG,CAAC,IAAI,SAAS,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC;AAEjH,wBAAgB,QAAQ,CAAC,SAAS,SAAS,aAAa,EAAE,QAAQ,SAAS,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,EAC1G,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,QAAQ,GACf,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAGtC;AAED,wBAAgB,YAAY,IAAI,aAAa,EAAE,CAE9C;AAED,wBAAgB,SAAS,CAAC,SAAS,SAAS,aAAa,EACxD,QAAQ,EAAE,SAAS,GACjB,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAGhE;AAED,wBAAgB,aAAa,CAAC,IAAI,SAAS,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAO/F;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAavF,KAAK,QAAQ,CACZ,SAAS,SAAS,aAAa,EAC/B,QAAQ,SAAS,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,IAC9C,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,SAAS;IAAE,GAAG,EAAE,MAAM,IAAI,CAAA;CAAE,GAAG,CAAC,IAAI,SAAS,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC;AAEjH,wBAAgB,QAAQ,CAAC,SAAS,SAAS,aAAa,EAAE,QAAQ,SAAS,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,EAC1G,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,QAAQ,GACf,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAGtC;AAED,wBAAgB,YAAY,IAAI,aAAa,EAAE,CAE9C;AAED,wBAAgB,SAAS,CAAC,SAAS,SAAS,aAAa,EACxD,QAAQ,EAAE,SAAS,GACjB,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAGhE;AAED,wBAAgB,aAAa,CAAC,IAAI,SAAS,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAO/F;AAaD,wBAAgB,0BAA0B,CAAC,IAAI,SAAS,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,kBAAkB,EAAE,CAUrG;AAED,wBAAgB,kBAAkB,CAAC,IAAI,SAAS,GAAG,EAClD,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,EAClB,KAAK,EAAE,kBAAkB,GACvB,kBAAkB,CAgBpB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,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,8 +9518,28 @@ 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;
|
|
9525
|
+
};
|
|
9526
|
+
input: ("image" | "text")[];
|
|
9527
|
+
cost: {
|
|
9528
|
+
input: number;
|
|
9529
|
+
output: number;
|
|
9530
|
+
cacheRead: number;
|
|
9531
|
+
cacheWrite: number;
|
|
9401
9532
|
};
|
|
9533
|
+
contextWindow: number;
|
|
9534
|
+
maxTokens: number;
|
|
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;
|
|
9402
9543
|
input: ("image" | "text")[];
|
|
9403
9544
|
cost: {
|
|
9404
9545
|
input: number;
|
|
@@ -9631,6 +9772,97 @@ 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-moa": {
|
|
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-sol": {
|
|
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
|
+
};
|
|
9843
|
+
readonly "gpt-5.6-terra": {
|
|
9844
|
+
id: string;
|
|
9845
|
+
name: string;
|
|
9846
|
+
api: "openai-codex-responses";
|
|
9847
|
+
provider: string;
|
|
9848
|
+
baseUrl: string;
|
|
9849
|
+
reasoning: true;
|
|
9850
|
+
thinkingLevelMap: {
|
|
9851
|
+
xhigh: string;
|
|
9852
|
+
max: string;
|
|
9853
|
+
minimal: string;
|
|
9854
|
+
ultra: string;
|
|
9855
|
+
};
|
|
9856
|
+
input: ("image" | "text")[];
|
|
9857
|
+
cost: {
|
|
9858
|
+
input: number;
|
|
9859
|
+
output: number;
|
|
9860
|
+
cacheRead: number;
|
|
9861
|
+
cacheWrite: number;
|
|
9862
|
+
};
|
|
9863
|
+
contextWindow: number;
|
|
9864
|
+
maxTokens: number;
|
|
9865
|
+
};
|
|
9634
9866
|
};
|
|
9635
9867
|
readonly opencode: {
|
|
9636
9868
|
readonly "big-pickle": {
|
|
@@ -10399,6 +10631,72 @@ export declare const MODELS: {
|
|
|
10399
10631
|
contextWindow: number;
|
|
10400
10632
|
maxTokens: number;
|
|
10401
10633
|
};
|
|
10634
|
+
readonly "gpt-5.6-luna": {
|
|
10635
|
+
id: string;
|
|
10636
|
+
name: string;
|
|
10637
|
+
api: "openai-responses";
|
|
10638
|
+
provider: string;
|
|
10639
|
+
baseUrl: string;
|
|
10640
|
+
reasoning: true;
|
|
10641
|
+
thinkingLevelMap: {
|
|
10642
|
+
off: null;
|
|
10643
|
+
xhigh: string;
|
|
10644
|
+
max: string;
|
|
10645
|
+
};
|
|
10646
|
+
input: ("image" | "text")[];
|
|
10647
|
+
cost: {
|
|
10648
|
+
input: number;
|
|
10649
|
+
output: number;
|
|
10650
|
+
cacheRead: number;
|
|
10651
|
+
cacheWrite: number;
|
|
10652
|
+
};
|
|
10653
|
+
contextWindow: number;
|
|
10654
|
+
maxTokens: number;
|
|
10655
|
+
};
|
|
10656
|
+
readonly "gpt-5.6-sol": {
|
|
10657
|
+
id: string;
|
|
10658
|
+
name: string;
|
|
10659
|
+
api: "openai-responses";
|
|
10660
|
+
provider: string;
|
|
10661
|
+
baseUrl: string;
|
|
10662
|
+
reasoning: true;
|
|
10663
|
+
thinkingLevelMap: {
|
|
10664
|
+
off: null;
|
|
10665
|
+
xhigh: string;
|
|
10666
|
+
max: string;
|
|
10667
|
+
};
|
|
10668
|
+
input: ("image" | "text")[];
|
|
10669
|
+
cost: {
|
|
10670
|
+
input: number;
|
|
10671
|
+
output: number;
|
|
10672
|
+
cacheRead: number;
|
|
10673
|
+
cacheWrite: number;
|
|
10674
|
+
};
|
|
10675
|
+
contextWindow: number;
|
|
10676
|
+
maxTokens: number;
|
|
10677
|
+
};
|
|
10678
|
+
readonly "gpt-5.6-terra": {
|
|
10679
|
+
id: string;
|
|
10680
|
+
name: string;
|
|
10681
|
+
api: "openai-responses";
|
|
10682
|
+
provider: string;
|
|
10683
|
+
baseUrl: string;
|
|
10684
|
+
reasoning: true;
|
|
10685
|
+
thinkingLevelMap: {
|
|
10686
|
+
off: null;
|
|
10687
|
+
xhigh: string;
|
|
10688
|
+
max: string;
|
|
10689
|
+
};
|
|
10690
|
+
input: ("image" | "text")[];
|
|
10691
|
+
cost: {
|
|
10692
|
+
input: number;
|
|
10693
|
+
output: number;
|
|
10694
|
+
cacheRead: number;
|
|
10695
|
+
cacheWrite: number;
|
|
10696
|
+
};
|
|
10697
|
+
contextWindow: number;
|
|
10698
|
+
maxTokens: number;
|
|
10699
|
+
};
|
|
10402
10700
|
readonly "grok-4.5": {
|
|
10403
10701
|
id: string;
|
|
10404
10702
|
name: string;
|
|
@@ -11356,23 +11654,6 @@ export declare const MODELS: {
|
|
|
11356
11654
|
contextWindow: number;
|
|
11357
11655
|
maxTokens: number;
|
|
11358
11656
|
};
|
|
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
11657
|
readonly "arcee-ai/virtuoso-large": {
|
|
11377
11658
|
id: string;
|
|
11378
11659
|
name: string;
|
|
@@ -13622,6 +13903,10 @@ export declare const MODELS: {
|
|
|
13622
13903
|
provider: string;
|
|
13623
13904
|
baseUrl: string;
|
|
13624
13905
|
reasoning: true;
|
|
13906
|
+
thinkingLevelMap: {
|
|
13907
|
+
xhigh: string;
|
|
13908
|
+
max: string;
|
|
13909
|
+
};
|
|
13625
13910
|
input: ("image" | "text")[];
|
|
13626
13911
|
cost: {
|
|
13627
13912
|
input: number;
|
|
@@ -13639,6 +13924,10 @@ export declare const MODELS: {
|
|
|
13639
13924
|
provider: string;
|
|
13640
13925
|
baseUrl: string;
|
|
13641
13926
|
reasoning: true;
|
|
13927
|
+
thinkingLevelMap: {
|
|
13928
|
+
xhigh: string;
|
|
13929
|
+
max: string;
|
|
13930
|
+
};
|
|
13642
13931
|
input: ("image" | "text")[];
|
|
13643
13932
|
cost: {
|
|
13644
13933
|
input: number;
|
|
@@ -13656,6 +13945,10 @@ export declare const MODELS: {
|
|
|
13656
13945
|
provider: string;
|
|
13657
13946
|
baseUrl: string;
|
|
13658
13947
|
reasoning: true;
|
|
13948
|
+
thinkingLevelMap: {
|
|
13949
|
+
xhigh: string;
|
|
13950
|
+
max: string;
|
|
13951
|
+
};
|
|
13659
13952
|
input: ("image" | "text")[];
|
|
13660
13953
|
cost: {
|
|
13661
13954
|
input: number;
|
|
@@ -13673,6 +13966,10 @@ export declare const MODELS: {
|
|
|
13673
13966
|
provider: string;
|
|
13674
13967
|
baseUrl: string;
|
|
13675
13968
|
reasoning: true;
|
|
13969
|
+
thinkingLevelMap: {
|
|
13970
|
+
xhigh: string;
|
|
13971
|
+
max: string;
|
|
13972
|
+
};
|
|
13676
13973
|
input: ("image" | "text")[];
|
|
13677
13974
|
cost: {
|
|
13678
13975
|
input: number;
|
|
@@ -13690,6 +13987,10 @@ export declare const MODELS: {
|
|
|
13690
13987
|
provider: string;
|
|
13691
13988
|
baseUrl: string;
|
|
13692
13989
|
reasoning: true;
|
|
13990
|
+
thinkingLevelMap: {
|
|
13991
|
+
xhigh: string;
|
|
13992
|
+
max: string;
|
|
13993
|
+
};
|
|
13693
13994
|
input: ("image" | "text")[];
|
|
13694
13995
|
cost: {
|
|
13695
13996
|
input: number;
|
|
@@ -13707,6 +14008,10 @@ export declare const MODELS: {
|
|
|
13707
14008
|
provider: string;
|
|
13708
14009
|
baseUrl: string;
|
|
13709
14010
|
reasoning: true;
|
|
14011
|
+
thinkingLevelMap: {
|
|
14012
|
+
xhigh: string;
|
|
14013
|
+
max: string;
|
|
14014
|
+
};
|
|
13710
14015
|
input: ("image" | "text")[];
|
|
13711
14016
|
cost: {
|
|
13712
14017
|
input: number;
|
|
@@ -17386,6 +17691,23 @@ export declare const MODELS: {
|
|
|
17386
17691
|
contextWindow: number;
|
|
17387
17692
|
maxTokens: number;
|
|
17388
17693
|
};
|
|
17694
|
+
readonly "kwaipilot/kat-coder-air-v2.5": {
|
|
17695
|
+
id: string;
|
|
17696
|
+
name: string;
|
|
17697
|
+
api: "anthropic-messages";
|
|
17698
|
+
provider: string;
|
|
17699
|
+
baseUrl: string;
|
|
17700
|
+
reasoning: true;
|
|
17701
|
+
input: "text"[];
|
|
17702
|
+
cost: {
|
|
17703
|
+
input: number;
|
|
17704
|
+
output: number;
|
|
17705
|
+
cacheRead: number;
|
|
17706
|
+
cacheWrite: number;
|
|
17707
|
+
};
|
|
17708
|
+
contextWindow: number;
|
|
17709
|
+
maxTokens: number;
|
|
17710
|
+
};
|
|
17389
17711
|
readonly "kwaipilot/kat-coder-pro-v1": {
|
|
17390
17712
|
id: string;
|
|
17391
17713
|
name: string;
|
|
@@ -17420,6 +17742,23 @@ export declare const MODELS: {
|
|
|
17420
17742
|
contextWindow: number;
|
|
17421
17743
|
maxTokens: number;
|
|
17422
17744
|
};
|
|
17745
|
+
readonly "kwaipilot/kat-coder-pro-v2.5": {
|
|
17746
|
+
id: string;
|
|
17747
|
+
name: string;
|
|
17748
|
+
api: "anthropic-messages";
|
|
17749
|
+
provider: string;
|
|
17750
|
+
baseUrl: string;
|
|
17751
|
+
reasoning: true;
|
|
17752
|
+
input: "text"[];
|
|
17753
|
+
cost: {
|
|
17754
|
+
input: number;
|
|
17755
|
+
output: number;
|
|
17756
|
+
cacheRead: number;
|
|
17757
|
+
cacheWrite: number;
|
|
17758
|
+
};
|
|
17759
|
+
contextWindow: number;
|
|
17760
|
+
maxTokens: number;
|
|
17761
|
+
};
|
|
17423
17762
|
readonly "meituan/longcat-flash-chat": {
|
|
17424
17763
|
id: string;
|
|
17425
17764
|
name: string;
|
|
@@ -18741,6 +19080,10 @@ export declare const MODELS: {
|
|
|
18741
19080
|
provider: string;
|
|
18742
19081
|
baseUrl: string;
|
|
18743
19082
|
reasoning: true;
|
|
19083
|
+
thinkingLevelMap: {
|
|
19084
|
+
xhigh: string;
|
|
19085
|
+
max: string;
|
|
19086
|
+
};
|
|
18744
19087
|
input: ("image" | "text")[];
|
|
18745
19088
|
cost: {
|
|
18746
19089
|
input: number;
|
|
@@ -18758,6 +19101,10 @@ export declare const MODELS: {
|
|
|
18758
19101
|
provider: string;
|
|
18759
19102
|
baseUrl: string;
|
|
18760
19103
|
reasoning: true;
|
|
19104
|
+
thinkingLevelMap: {
|
|
19105
|
+
xhigh: string;
|
|
19106
|
+
max: string;
|
|
19107
|
+
};
|
|
18761
19108
|
input: ("image" | "text")[];
|
|
18762
19109
|
cost: {
|
|
18763
19110
|
input: number;
|
|
@@ -18775,6 +19122,10 @@ export declare const MODELS: {
|
|
|
18775
19122
|
provider: string;
|
|
18776
19123
|
baseUrl: string;
|
|
18777
19124
|
reasoning: true;
|
|
19125
|
+
thinkingLevelMap: {
|
|
19126
|
+
xhigh: string;
|
|
19127
|
+
max: string;
|
|
19128
|
+
};
|
|
18778
19129
|
input: ("image" | "text")[];
|
|
18779
19130
|
cost: {
|
|
18780
19131
|
input: number;
|