@chainfuse/types 4.2.23 → 4.2.24
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/ai-tools/index.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ export declare const ZodLanguageModelValues: zm.ZodMiniEnum<{
|
|
|
105
105
|
"workersai:@hf/thebloke/mistral-7b-instruct-v0.1-awq": "workersai:@hf/thebloke/mistral-7b-instruct-v0.1-awq";
|
|
106
106
|
"workersai:@cf/qwen/qwen1.5-7b-chat-awq": "workersai:@cf/qwen/qwen1.5-7b-chat-awq";
|
|
107
107
|
"workersai:@cf/meta/llama-3.2-1b-instruct": "workersai:@cf/meta/llama-3.2-1b-instruct";
|
|
108
|
+
"workersai:@cf/moonshotai/kimi-k2.6": "workersai:@cf/moonshotai/kimi-k2.6";
|
|
108
109
|
"workersai:@cf/zai-org/glm-4.7-flash": "workersai:@cf/zai-org/glm-4.7-flash";
|
|
109
110
|
"workersai:@hf/thebloke/llama-2-13b-chat-awq": "workersai:@hf/thebloke/llama-2-13b-chat-awq";
|
|
110
111
|
"workersai:@hf/thebloke/deepseek-coder-6.7b-base-awq": "workersai:@hf/thebloke/deepseek-coder-6.7b-base-awq";
|
|
@@ -193,6 +194,7 @@ export declare const ZodLanguageModelValues4: z4.ZodEnum<{
|
|
|
193
194
|
"workersai:@hf/thebloke/mistral-7b-instruct-v0.1-awq": "workersai:@hf/thebloke/mistral-7b-instruct-v0.1-awq";
|
|
194
195
|
"workersai:@cf/qwen/qwen1.5-7b-chat-awq": "workersai:@cf/qwen/qwen1.5-7b-chat-awq";
|
|
195
196
|
"workersai:@cf/meta/llama-3.2-1b-instruct": "workersai:@cf/meta/llama-3.2-1b-instruct";
|
|
197
|
+
"workersai:@cf/moonshotai/kimi-k2.6": "workersai:@cf/moonshotai/kimi-k2.6";
|
|
196
198
|
"workersai:@cf/zai-org/glm-4.7-flash": "workersai:@cf/zai-org/glm-4.7-flash";
|
|
197
199
|
"workersai:@hf/thebloke/llama-2-13b-chat-awq": "workersai:@hf/thebloke/llama-2-13b-chat-awq";
|
|
198
200
|
"workersai:@hf/thebloke/deepseek-coder-6.7b-base-awq": "workersai:@hf/thebloke/deepseek-coder-6.7b-base-awq";
|
|
@@ -137,6 +137,15 @@ export declare const workersAiCatalog: {
|
|
|
137
137
|
readonly properties: {
|
|
138
138
|
readonly async_queue: true;
|
|
139
139
|
readonly context_window: 256000;
|
|
140
|
+
readonly price: readonly [{
|
|
141
|
+
readonly unit: "per M input tokens";
|
|
142
|
+
readonly price: 0.6;
|
|
143
|
+
readonly currency: "USD";
|
|
144
|
+
}, {
|
|
145
|
+
readonly unit: "per M output tokens";
|
|
146
|
+
readonly price: 3;
|
|
147
|
+
readonly currency: "USD";
|
|
148
|
+
}];
|
|
140
149
|
readonly function_calling: true;
|
|
141
150
|
readonly reasoning: true;
|
|
142
151
|
readonly terms: "https://github.com/MoonshotAI/Kimi-K2.5/blob/master/LICENSE";
|
|
@@ -379,6 +388,29 @@ export declare const workersAiCatalog: {
|
|
|
379
388
|
readonly context_window: 60000;
|
|
380
389
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE";
|
|
381
390
|
};
|
|
391
|
+
}, {
|
|
392
|
+
readonly id: "8a5d00bd-de28-4a28-b37a-ce46d01ebaeb";
|
|
393
|
+
readonly source: 1;
|
|
394
|
+
readonly name: "@cf/moonshotai/kimi-k2.6";
|
|
395
|
+
readonly description: "Kimi K2.6 is a frontier-scale open-source 1T parameter model with a 262.1k context window, multi-turn tool calling, vision inputs, and structured outputs for agentic workloads.";
|
|
396
|
+
readonly created_at: "2026-04-20 01:40:35.001";
|
|
397
|
+
readonly tags: readonly [];
|
|
398
|
+
readonly properties: {
|
|
399
|
+
readonly context_window: 262144;
|
|
400
|
+
readonly price: readonly [{
|
|
401
|
+
readonly unit: "per M input tokens";
|
|
402
|
+
readonly price: 0.95;
|
|
403
|
+
readonly currency: "USD";
|
|
404
|
+
}, {
|
|
405
|
+
readonly unit: "per M output tokens";
|
|
406
|
+
readonly price: 4;
|
|
407
|
+
readonly currency: "USD";
|
|
408
|
+
}];
|
|
409
|
+
readonly function_calling: true;
|
|
410
|
+
readonly reasoning: true;
|
|
411
|
+
readonly terms: "https://huggingface.co/moonshotai/Kimi-K2.6/blob/main/LICENSE";
|
|
412
|
+
readonly vision: true;
|
|
413
|
+
};
|
|
382
414
|
}, {
|
|
383
415
|
readonly id: "86b3e51a-4b05-43fa-a403-0f27821919d2";
|
|
384
416
|
readonly source: 1;
|
|
@@ -576,11 +608,11 @@ export declare const workersAiCatalog: {
|
|
|
576
608
|
readonly context_window: 256000;
|
|
577
609
|
readonly price: readonly [{
|
|
578
610
|
readonly unit: "per M input tokens";
|
|
579
|
-
readonly price: 0;
|
|
611
|
+
readonly price: 0.5;
|
|
580
612
|
readonly currency: "USD";
|
|
581
613
|
}, {
|
|
582
614
|
readonly unit: "per M output tokens";
|
|
583
|
-
readonly price:
|
|
615
|
+
readonly price: 1.5;
|
|
584
616
|
readonly currency: "USD";
|
|
585
617
|
}];
|
|
586
618
|
readonly function_calling: true;
|
|
@@ -157,6 +157,18 @@ export const workersAiCatalog = {
|
|
|
157
157
|
properties: {
|
|
158
158
|
async_queue: true,
|
|
159
159
|
context_window: 256000,
|
|
160
|
+
price: [
|
|
161
|
+
{
|
|
162
|
+
unit: 'per M input tokens',
|
|
163
|
+
price: 0.6,
|
|
164
|
+
currency: 'USD',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
unit: 'per M output tokens',
|
|
168
|
+
price: 3,
|
|
169
|
+
currency: 'USD',
|
|
170
|
+
},
|
|
171
|
+
],
|
|
160
172
|
function_calling: true,
|
|
161
173
|
reasoning: true,
|
|
162
174
|
terms: 'https://github.com/MoonshotAI/Kimi-K2.5/blob/master/LICENSE',
|
|
@@ -433,6 +445,33 @@ export const workersAiCatalog = {
|
|
|
433
445
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE',
|
|
434
446
|
},
|
|
435
447
|
},
|
|
448
|
+
{
|
|
449
|
+
id: '8a5d00bd-de28-4a28-b37a-ce46d01ebaeb',
|
|
450
|
+
source: 1,
|
|
451
|
+
name: '@cf/moonshotai/kimi-k2.6',
|
|
452
|
+
description: 'Kimi K2.6 is a frontier-scale open-source 1T parameter model with a 262.1k context window, multi-turn tool calling, vision inputs, and structured outputs for agentic workloads.',
|
|
453
|
+
created_at: '2026-04-20 01:40:35.001',
|
|
454
|
+
tags: [],
|
|
455
|
+
properties: {
|
|
456
|
+
context_window: 262144,
|
|
457
|
+
price: [
|
|
458
|
+
{
|
|
459
|
+
unit: 'per M input tokens',
|
|
460
|
+
price: 0.95,
|
|
461
|
+
currency: 'USD',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
unit: 'per M output tokens',
|
|
465
|
+
price: 4,
|
|
466
|
+
currency: 'USD',
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
function_calling: true,
|
|
470
|
+
reasoning: true,
|
|
471
|
+
terms: 'https://huggingface.co/moonshotai/Kimi-K2.6/blob/main/LICENSE',
|
|
472
|
+
vision: true,
|
|
473
|
+
},
|
|
474
|
+
},
|
|
436
475
|
{
|
|
437
476
|
id: '86b3e51a-4b05-43fa-a403-0f27821919d2',
|
|
438
477
|
source: 1,
|
|
@@ -655,12 +694,12 @@ export const workersAiCatalog = {
|
|
|
655
694
|
price: [
|
|
656
695
|
{
|
|
657
696
|
unit: 'per M input tokens',
|
|
658
|
-
price: 0,
|
|
697
|
+
price: 0.5,
|
|
659
698
|
currency: 'USD',
|
|
660
699
|
},
|
|
661
700
|
{
|
|
662
701
|
unit: 'per M output tokens',
|
|
663
|
-
price:
|
|
702
|
+
price: 1.5,
|
|
664
703
|
currency: 'USD',
|
|
665
704
|
},
|
|
666
705
|
],
|
|
@@ -13,7 +13,7 @@ type cloudflareFilteredModelPossibilities<M extends cloudflareModelTypes = cloud
|
|
|
13
13
|
export declare const enabledCloudflareLlmEmbeddingProviders: cloudflareModelPossibilities<'Text Embeddings'>[];
|
|
14
14
|
export declare const enabledCloudflareLlmImageProviders: cloudflareModelPossibilities<'Text-to-Image'>[];
|
|
15
15
|
export declare const enabledCloudflareLlmProviders: cloudflareModelPossibilities<'Text Generation'>[];
|
|
16
|
-
export declare const enabledCloudflareLlmFunctionProviders: ("@cf/openai/gpt-oss-120b" | "@cf/moonshotai/kimi-k2.5" | "@cf/zai-org/glm-4.7-flash" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/ibm-granite/granite-4.0-h-micro" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@cf/nvidia/nemotron-3-120b-a12b" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/google/gemma-4-26b-a4b-it" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/openai/gpt-oss-20b" | "@cf/meta/llama-4-scout-17b-16e-instruct")[];
|
|
16
|
+
export declare const enabledCloudflareLlmFunctionProviders: ("@cf/openai/gpt-oss-120b" | "@cf/moonshotai/kimi-k2.5" | "@cf/moonshotai/kimi-k2.6" | "@cf/zai-org/glm-4.7-flash" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/ibm-granite/granite-4.0-h-micro" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@cf/nvidia/nemotron-3-120b-a12b" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/google/gemma-4-26b-a4b-it" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/openai/gpt-oss-20b" | "@cf/meta/llama-4-scout-17b-16e-instruct")[];
|
|
17
17
|
export declare const enabledCloudflareLlmSpeechProviders: ("@cf/myshell-ai/melotts" | "@cf/deepgram/aura-2-es" | "@cf/deepgram/aura-1" | "@cf/deepgram/aura-2-en")[];
|
|
18
18
|
export declare const enabledCloudflareLlmTranscriptionProviders: ("@cf/openai/whisper" | "@cf/deepgram/flux" | "@cf/deepgram/nova-3" | "@cf/openai/whisper-tiny-en" | "@cf/openai/whisper-large-v3-turbo")[];
|
|
19
19
|
export type CloudflareModelsEnum<M extends cloudflareModelTypes = cloudflareModelTypes> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.24",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"zod": "^4.3.6"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@cloudflare/workers-types": "^4.
|
|
102
|
+
"@cloudflare/workers-types": "^4.20260421.1",
|
|
103
103
|
"@types/validator": "^13.15.10"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "c97fac2776ad35ca7a19fa56d821ffbf6b81a90a"
|
|
106
106
|
}
|