@funkai/models 0.1.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.
- package/.generated/entries.json +23 -0
- package/.generated/req.txt +1 -0
- package/.turbo/turbo-build.log +145 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +23 -0
- package/README.md +95 -0
- package/dist/alibaba-B6q4Ng1R.mjs +957 -0
- package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
- package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
- package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
- package/dist/anthropic-yB7ST97_.mjs +651 -0
- package/dist/anthropic-yB7ST97_.mjs.map +1 -0
- package/dist/cerebras-COfl7XM-.mjs +95 -0
- package/dist/cerebras-COfl7XM-.mjs.map +1 -0
- package/dist/cohere-B7TgO0hT.mjs +271 -0
- package/dist/cohere-B7TgO0hT.mjs.map +1 -0
- package/dist/deepinfra-B0GxUwCG.mjs +636 -0
- package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
- package/dist/deepseek-D64ZEsvS.mjs +50 -0
- package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
- package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
- package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
- package/dist/google-BypRl349.mjs +833 -0
- package/dist/google-BypRl349.mjs.map +1 -0
- package/dist/google-vertex-DbS-zTGD.mjs +730 -0
- package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
- package/dist/groq-ei_PerYi.mjs +381 -0
- package/dist/groq-ei_PerYi.mjs.map +1 -0
- package/dist/huggingface-DaM1EeLP.mjs +456 -0
- package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
- package/dist/inception-CspEzqNV.mjs +101 -0
- package/dist/inception-CspEzqNV.mjs.map +1 -0
- package/dist/index.d.mts +30314 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +271 -0
- package/dist/index.mjs.map +1 -0
- package/dist/llama-Cf3-koap.mjs +161 -0
- package/dist/llama-Cf3-koap.mjs.map +1 -0
- package/dist/mistral-BI9MdAO4.mjs +579 -0
- package/dist/mistral-BI9MdAO4.mjs.map +1 -0
- package/dist/nvidia-COHacuoa.mjs +1625 -0
- package/dist/nvidia-COHacuoa.mjs.map +1 -0
- package/dist/openai-C0nCfZUq.mjs +1023 -0
- package/dist/openai-C0nCfZUq.mjs.map +1 -0
- package/dist/openrouter-DSFzxKQb.mjs +4608 -0
- package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
- package/dist/perplexity-zeZ2WlBU.mjs +96 -0
- package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
- package/dist/providers/alibaba.d.mts +1795 -0
- package/dist/providers/alibaba.d.mts.map +1 -0
- package/dist/providers/alibaba.mjs +39 -0
- package/dist/providers/alibaba.mjs.map +1 -0
- package/dist/providers/amazon-bedrock.d.mts +3713 -0
- package/dist/providers/amazon-bedrock.d.mts.map +1 -0
- package/dist/providers/amazon-bedrock.mjs +39 -0
- package/dist/providers/amazon-bedrock.mjs.map +1 -0
- package/dist/providers/anthropic.d.mts +1109 -0
- package/dist/providers/anthropic.d.mts.map +1 -0
- package/dist/providers/anthropic.mjs +39 -0
- package/dist/providers/anthropic.mjs.map +1 -0
- package/dist/providers/cerebras.d.mts +219 -0
- package/dist/providers/cerebras.d.mts.map +1 -0
- package/dist/providers/cerebras.mjs +39 -0
- package/dist/providers/cerebras.mjs.map +1 -0
- package/dist/providers/cohere.d.mts +555 -0
- package/dist/providers/cohere.d.mts.map +1 -0
- package/dist/providers/cohere.mjs +39 -0
- package/dist/providers/cohere.mjs.map +1 -0
- package/dist/providers/deepinfra.d.mts +1245 -0
- package/dist/providers/deepinfra.d.mts.map +1 -0
- package/dist/providers/deepinfra.mjs +39 -0
- package/dist/providers/deepinfra.mjs.map +1 -0
- package/dist/providers/deepseek.d.mts +139 -0
- package/dist/providers/deepseek.d.mts.map +1 -0
- package/dist/providers/deepseek.mjs +39 -0
- package/dist/providers/deepseek.mjs.map +1 -0
- package/dist/providers/fireworks-ai.d.mts +611 -0
- package/dist/providers/fireworks-ai.d.mts.map +1 -0
- package/dist/providers/fireworks-ai.mjs +39 -0
- package/dist/providers/fireworks-ai.mjs.map +1 -0
- package/dist/providers/google-vertex.d.mts +1227 -0
- package/dist/providers/google-vertex.d.mts.map +1 -0
- package/dist/providers/google-vertex.mjs +39 -0
- package/dist/providers/google-vertex.mjs.map +1 -0
- package/dist/providers/google.d.mts +1359 -0
- package/dist/providers/google.d.mts.map +1 -0
- package/dist/providers/google.mjs +39 -0
- package/dist/providers/google.mjs.map +1 -0
- package/dist/providers/groq.d.mts +765 -0
- package/dist/providers/groq.d.mts.map +1 -0
- package/dist/providers/groq.mjs +39 -0
- package/dist/providers/groq.mjs.map +1 -0
- package/dist/providers/huggingface.d.mts +901 -0
- package/dist/providers/huggingface.d.mts.map +1 -0
- package/dist/providers/huggingface.mjs +39 -0
- package/dist/providers/huggingface.mjs.map +1 -0
- package/dist/providers/inception.d.mts +231 -0
- package/dist/providers/inception.d.mts.map +1 -0
- package/dist/providers/inception.mjs +39 -0
- package/dist/providers/inception.mjs.map +1 -0
- package/dist/providers/llama.d.mts +345 -0
- package/dist/providers/llama.d.mts.map +1 -0
- package/dist/providers/llama.mjs +39 -0
- package/dist/providers/llama.mjs.map +1 -0
- package/dist/providers/mistral.d.mts +1143 -0
- package/dist/providers/mistral.d.mts.map +1 -0
- package/dist/providers/mistral.mjs +39 -0
- package/dist/providers/mistral.mjs.map +1 -0
- package/dist/providers/nvidia.d.mts +3117 -0
- package/dist/providers/nvidia.d.mts.map +1 -0
- package/dist/providers/nvidia.mjs +39 -0
- package/dist/providers/nvidia.mjs.map +1 -0
- package/dist/providers/openai.d.mts +1963 -0
- package/dist/providers/openai.d.mts.map +1 -0
- package/dist/providers/openai.mjs +39 -0
- package/dist/providers/openai.mjs.map +1 -0
- package/dist/providers/openrouter.d.mts +8531 -0
- package/dist/providers/openrouter.d.mts.map +1 -0
- package/dist/providers/openrouter.mjs +39 -0
- package/dist/providers/openrouter.mjs.map +1 -0
- package/dist/providers/perplexity.d.mts +221 -0
- package/dist/providers/perplexity.d.mts.map +1 -0
- package/dist/providers/perplexity.mjs +39 -0
- package/dist/providers/perplexity.mjs.map +1 -0
- package/dist/providers/togetherai.d.mts +767 -0
- package/dist/providers/togetherai.d.mts.map +1 -0
- package/dist/providers/togetherai.mjs +39 -0
- package/dist/providers/togetherai.mjs.map +1 -0
- package/dist/providers/xai.d.mts +1161 -0
- package/dist/providers/xai.d.mts.map +1 -0
- package/dist/providers/xai.mjs +39 -0
- package/dist/providers/xai.mjs.map +1 -0
- package/dist/togetherai-BvcxUfPE.mjs +382 -0
- package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
- package/dist/types-DjdaZckF.d.mts +71 -0
- package/dist/types-DjdaZckF.d.mts.map +1 -0
- package/dist/xai-fSuAkQJo.mjs +587 -0
- package/dist/xai-fSuAkQJo.mjs.map +1 -0
- package/docs/catalog/filtering.md +102 -0
- package/docs/catalog/overview.md +168 -0
- package/docs/catalog/providers.md +73 -0
- package/docs/cost/overview.md +125 -0
- package/docs/guides/filter-models.md +113 -0
- package/docs/guides/setup-resolver.md +106 -0
- package/docs/guides/track-costs.md +133 -0
- package/docs/overview.md +139 -0
- package/docs/provider/configuration.md +100 -0
- package/docs/provider/openrouter.md +105 -0
- package/docs/provider/overview.md +131 -0
- package/docs/troubleshooting.md +100 -0
- package/package.json +142 -0
- package/providers.json +39 -0
- package/scripts/generate-models.ts +392 -0
- package/src/catalog/index.test.ts +124 -0
- package/src/catalog/index.ts +65 -0
- package/src/catalog/providers/alibaba.ts +468 -0
- package/src/catalog/providers/amazon-bedrock.ts +941 -0
- package/src/catalog/providers/anthropic.ts +270 -0
- package/src/catalog/providers/cerebras.ts +61 -0
- package/src/catalog/providers/cohere.ts +149 -0
- package/src/catalog/providers/deepinfra.ts +325 -0
- package/src/catalog/providers/deepseek.ts +39 -0
- package/src/catalog/providers/fireworks-ai.ts +160 -0
- package/src/catalog/providers/google-vertex.ts +314 -0
- package/src/catalog/providers/google.ts +347 -0
- package/src/catalog/providers/groq.ts +204 -0
- package/src/catalog/providers/huggingface.ts +237 -0
- package/src/catalog/providers/inception.ts +61 -0
- package/src/catalog/providers/index.ts +59 -0
- package/src/catalog/providers/llama.ts +94 -0
- package/src/catalog/providers/mistral.ts +303 -0
- package/src/catalog/providers/nvidia.ts +820 -0
- package/src/catalog/providers/openai.ts +501 -0
- package/src/catalog/providers/openrouter.ts +2201 -0
- package/src/catalog/providers/perplexity.ts +61 -0
- package/src/catalog/providers/togetherai.ts +204 -0
- package/src/catalog/providers/xai.ts +292 -0
- package/src/catalog/types.ts +86 -0
- package/src/cost/calculate.test.ts +157 -0
- package/src/cost/calculate.ts +43 -0
- package/src/cost/index.ts +2 -0
- package/src/cost/types.ts +25 -0
- package/src/index.ts +25 -0
- package/src/provider/index.ts +9 -0
- package/src/provider/openrouter.test.ts +125 -0
- package/src/provider/openrouter.ts +110 -0
- package/src/provider/resolver.test.ts +138 -0
- package/src/provider/resolver.ts +125 -0
- package/src/provider/types.ts +39 -0
- package/src/providers/alibaba.ts +65 -0
- package/src/providers/amazon-bedrock.ts +67 -0
- package/src/providers/anthropic.ts +65 -0
- package/src/providers/cerebras.ts +65 -0
- package/src/providers/cohere.ts +65 -0
- package/src/providers/deepinfra.ts +65 -0
- package/src/providers/deepseek.ts +65 -0
- package/src/providers/fireworks-ai.ts +65 -0
- package/src/providers/google-vertex.ts +67 -0
- package/src/providers/google.ts +65 -0
- package/src/providers/groq.ts +65 -0
- package/src/providers/huggingface.ts +67 -0
- package/src/providers/inception.ts +65 -0
- package/src/providers/llama.ts +65 -0
- package/src/providers/mistral.ts +65 -0
- package/src/providers/nvidia.ts +65 -0
- package/src/providers/openai.ts +65 -0
- package/src/providers/openrouter.ts +67 -0
- package/src/providers/perplexity.ts +67 -0
- package/src/providers/togetherai.ts +65 -0
- package/src/providers/xai.ts +65 -0
- package/tsconfig.json +25 -0
- package/tsdown.config.ts +23 -0
- package/vitest.config.ts +29 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//#region src/catalog/providers/deepseek.ts
|
|
2
|
+
const DEEPSEEK_MODELS = [{
|
|
3
|
+
id: "deepseek-reasoner",
|
|
4
|
+
name: "DeepSeek Reasoner",
|
|
5
|
+
provider: "deepseek",
|
|
6
|
+
family: "deepseek-thinking",
|
|
7
|
+
pricing: {
|
|
8
|
+
input: 28e-8,
|
|
9
|
+
output: 42e-8,
|
|
10
|
+
cacheRead: 28e-9
|
|
11
|
+
},
|
|
12
|
+
contextWindow: 128e3,
|
|
13
|
+
maxOutput: 64e3,
|
|
14
|
+
modalities: {
|
|
15
|
+
input: ["text"],
|
|
16
|
+
output: ["text"]
|
|
17
|
+
},
|
|
18
|
+
capabilities: {
|
|
19
|
+
reasoning: true,
|
|
20
|
+
toolCall: true,
|
|
21
|
+
attachment: true,
|
|
22
|
+
structuredOutput: false
|
|
23
|
+
}
|
|
24
|
+
}, {
|
|
25
|
+
id: "deepseek-chat",
|
|
26
|
+
name: "DeepSeek Chat",
|
|
27
|
+
provider: "deepseek",
|
|
28
|
+
family: "deepseek",
|
|
29
|
+
pricing: {
|
|
30
|
+
input: 28e-8,
|
|
31
|
+
output: 42e-8,
|
|
32
|
+
cacheRead: 28e-9
|
|
33
|
+
},
|
|
34
|
+
contextWindow: 128e3,
|
|
35
|
+
maxOutput: 8192,
|
|
36
|
+
modalities: {
|
|
37
|
+
input: ["text"],
|
|
38
|
+
output: ["text"]
|
|
39
|
+
},
|
|
40
|
+
capabilities: {
|
|
41
|
+
reasoning: false,
|
|
42
|
+
toolCall: true,
|
|
43
|
+
attachment: true,
|
|
44
|
+
structuredOutput: false
|
|
45
|
+
}
|
|
46
|
+
}];
|
|
47
|
+
//#endregion
|
|
48
|
+
export { DEEPSEEK_MODELS as t };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=deepseek-D64ZEsvS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepseek-D64ZEsvS.mjs","names":[],"sources":["../src/catalog/providers/deepseek.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const DEEPSEEK_MODELS = [\n {\n id: \"deepseek-reasoner\",\n name: \"DeepSeek Reasoner\",\n provider: \"deepseek\",\n family: \"deepseek-thinking\",\n pricing: { input: 2.8e-7, output: 4.2e-7, cacheRead: 2.8e-8 },\n contextWindow: 128000,\n maxOutput: 64000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"deepseek-chat\",\n name: \"DeepSeek Chat\",\n provider: \"deepseek\",\n family: \"deepseek\",\n pricing: { input: 2.8e-7, output: 4.2e-7, cacheRead: 2.8e-8 },\n contextWindow: 128000,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,kBAAkB,CAC7B;CACE,IAAI;CACJ,MAAM;CACN,UAAU;CACV,QAAQ;CACR,SAAS;EAAE,OAAO;EAAQ,QAAQ;EAAQ,WAAW;EAAQ;CAC7D,eAAe;CACf,WAAW;CACX,YAAY;EAAE,OAAO,CAAC,OAAO;EAAE,QAAQ,CAAC,OAAO;EAAE;CACjD,cAAc;EAAE,WAAW;EAAM,UAAU;EAAM,YAAY;EAAM,kBAAkB;EAAO;CAC7F,EACD;CACE,IAAI;CACJ,MAAM;CACN,UAAU;CACV,QAAQ;CACR,SAAS;EAAE,OAAO;EAAQ,QAAQ;EAAQ,WAAW;EAAQ;CAC7D,eAAe;CACf,WAAW;CACX,YAAY;EAAE,OAAO,CAAC,OAAO;EAAE,QAAQ,CAAC,OAAO;EAAE;CACjD,cAAc;EAAE,WAAW;EAAO,UAAU;EAAM,YAAY;EAAM,kBAAkB;EAAO;CAC9F,CACF"}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
//#region src/catalog/providers/fireworks-ai.ts
|
|
2
|
+
const FIREWORKS_AI_MODELS = [
|
|
3
|
+
{
|
|
4
|
+
id: "accounts/fireworks/models/kimi-k2-instruct",
|
|
5
|
+
name: "Kimi K2 Instruct",
|
|
6
|
+
provider: "fireworks-ai",
|
|
7
|
+
family: "kimi",
|
|
8
|
+
pricing: {
|
|
9
|
+
input: 1e-6,
|
|
10
|
+
output: 3e-6
|
|
11
|
+
},
|
|
12
|
+
contextWindow: 128e3,
|
|
13
|
+
maxOutput: 16384,
|
|
14
|
+
modalities: {
|
|
15
|
+
input: ["text"],
|
|
16
|
+
output: ["text"]
|
|
17
|
+
},
|
|
18
|
+
capabilities: {
|
|
19
|
+
reasoning: false,
|
|
20
|
+
toolCall: true,
|
|
21
|
+
attachment: false,
|
|
22
|
+
structuredOutput: false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: "accounts/fireworks/models/glm-4p7",
|
|
27
|
+
name: "GLM 4.7",
|
|
28
|
+
provider: "fireworks-ai",
|
|
29
|
+
family: "glm",
|
|
30
|
+
pricing: {
|
|
31
|
+
input: 6e-7,
|
|
32
|
+
output: 22e-7,
|
|
33
|
+
cacheRead: 3e-7
|
|
34
|
+
},
|
|
35
|
+
contextWindow: 198e3,
|
|
36
|
+
maxOutput: 198e3,
|
|
37
|
+
modalities: {
|
|
38
|
+
input: ["text"],
|
|
39
|
+
output: ["text"]
|
|
40
|
+
},
|
|
41
|
+
capabilities: {
|
|
42
|
+
reasoning: true,
|
|
43
|
+
toolCall: true,
|
|
44
|
+
attachment: false,
|
|
45
|
+
structuredOutput: false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "accounts/fireworks/models/glm-5",
|
|
50
|
+
name: "GLM 5",
|
|
51
|
+
provider: "fireworks-ai",
|
|
52
|
+
family: "glm",
|
|
53
|
+
pricing: {
|
|
54
|
+
input: 1e-6,
|
|
55
|
+
output: 32e-7,
|
|
56
|
+
cacheRead: 5e-7
|
|
57
|
+
},
|
|
58
|
+
contextWindow: 202752,
|
|
59
|
+
maxOutput: 131072,
|
|
60
|
+
modalities: {
|
|
61
|
+
input: ["text"],
|
|
62
|
+
output: ["text"]
|
|
63
|
+
},
|
|
64
|
+
capabilities: {
|
|
65
|
+
reasoning: true,
|
|
66
|
+
toolCall: true,
|
|
67
|
+
attachment: false,
|
|
68
|
+
structuredOutput: false
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: "accounts/fireworks/models/deepseek-v3p1",
|
|
73
|
+
name: "DeepSeek V3.1",
|
|
74
|
+
provider: "fireworks-ai",
|
|
75
|
+
family: "deepseek",
|
|
76
|
+
pricing: {
|
|
77
|
+
input: 56e-8,
|
|
78
|
+
output: 168e-8
|
|
79
|
+
},
|
|
80
|
+
contextWindow: 163840,
|
|
81
|
+
maxOutput: 163840,
|
|
82
|
+
modalities: {
|
|
83
|
+
input: ["text"],
|
|
84
|
+
output: ["text"]
|
|
85
|
+
},
|
|
86
|
+
capabilities: {
|
|
87
|
+
reasoning: true,
|
|
88
|
+
toolCall: true,
|
|
89
|
+
attachment: false,
|
|
90
|
+
structuredOutput: false
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: "accounts/fireworks/models/minimax-m2p1",
|
|
95
|
+
name: "MiniMax-M2.1",
|
|
96
|
+
provider: "fireworks-ai",
|
|
97
|
+
family: "minimax",
|
|
98
|
+
pricing: {
|
|
99
|
+
input: 3e-7,
|
|
100
|
+
output: 12e-7,
|
|
101
|
+
cacheRead: 3e-8
|
|
102
|
+
},
|
|
103
|
+
contextWindow: 2e5,
|
|
104
|
+
maxOutput: 2e5,
|
|
105
|
+
modalities: {
|
|
106
|
+
input: ["text"],
|
|
107
|
+
output: ["text"]
|
|
108
|
+
},
|
|
109
|
+
capabilities: {
|
|
110
|
+
reasoning: true,
|
|
111
|
+
toolCall: true,
|
|
112
|
+
attachment: false,
|
|
113
|
+
structuredOutput: false
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: "accounts/fireworks/models/glm-4p5-air",
|
|
118
|
+
name: "GLM 4.5 Air",
|
|
119
|
+
provider: "fireworks-ai",
|
|
120
|
+
family: "glm-air",
|
|
121
|
+
pricing: {
|
|
122
|
+
input: 22e-8,
|
|
123
|
+
output: 88e-8
|
|
124
|
+
},
|
|
125
|
+
contextWindow: 131072,
|
|
126
|
+
maxOutput: 131072,
|
|
127
|
+
modalities: {
|
|
128
|
+
input: ["text"],
|
|
129
|
+
output: ["text"]
|
|
130
|
+
},
|
|
131
|
+
capabilities: {
|
|
132
|
+
reasoning: true,
|
|
133
|
+
toolCall: true,
|
|
134
|
+
attachment: false,
|
|
135
|
+
structuredOutput: false
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: "accounts/fireworks/models/deepseek-v3p2",
|
|
140
|
+
name: "DeepSeek V3.2",
|
|
141
|
+
provider: "fireworks-ai",
|
|
142
|
+
family: "deepseek",
|
|
143
|
+
pricing: {
|
|
144
|
+
input: 56e-8,
|
|
145
|
+
output: 168e-8,
|
|
146
|
+
cacheRead: 28e-8
|
|
147
|
+
},
|
|
148
|
+
contextWindow: 16e4,
|
|
149
|
+
maxOutput: 16e4,
|
|
150
|
+
modalities: {
|
|
151
|
+
input: ["text"],
|
|
152
|
+
output: ["text"]
|
|
153
|
+
},
|
|
154
|
+
capabilities: {
|
|
155
|
+
reasoning: true,
|
|
156
|
+
toolCall: true,
|
|
157
|
+
attachment: false,
|
|
158
|
+
structuredOutput: false
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: "accounts/fireworks/models/minimax-m2p5",
|
|
163
|
+
name: "MiniMax-M2.5",
|
|
164
|
+
provider: "fireworks-ai",
|
|
165
|
+
family: "minimax",
|
|
166
|
+
pricing: {
|
|
167
|
+
input: 3e-7,
|
|
168
|
+
output: 12e-7,
|
|
169
|
+
cacheRead: 3e-8
|
|
170
|
+
},
|
|
171
|
+
contextWindow: 196608,
|
|
172
|
+
maxOutput: 196608,
|
|
173
|
+
modalities: {
|
|
174
|
+
input: ["text"],
|
|
175
|
+
output: ["text"]
|
|
176
|
+
},
|
|
177
|
+
capabilities: {
|
|
178
|
+
reasoning: true,
|
|
179
|
+
toolCall: true,
|
|
180
|
+
attachment: false,
|
|
181
|
+
structuredOutput: false
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
id: "accounts/fireworks/models/gpt-oss-120b",
|
|
186
|
+
name: "GPT OSS 120B",
|
|
187
|
+
provider: "fireworks-ai",
|
|
188
|
+
family: "gpt-oss",
|
|
189
|
+
pricing: {
|
|
190
|
+
input: 15e-8,
|
|
191
|
+
output: 6e-7
|
|
192
|
+
},
|
|
193
|
+
contextWindow: 131072,
|
|
194
|
+
maxOutput: 32768,
|
|
195
|
+
modalities: {
|
|
196
|
+
input: ["text"],
|
|
197
|
+
output: ["text"]
|
|
198
|
+
},
|
|
199
|
+
capabilities: {
|
|
200
|
+
reasoning: true,
|
|
201
|
+
toolCall: true,
|
|
202
|
+
attachment: false,
|
|
203
|
+
structuredOutput: false
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "accounts/fireworks/models/kimi-k2p5",
|
|
208
|
+
name: "Kimi K2.5",
|
|
209
|
+
provider: "fireworks-ai",
|
|
210
|
+
family: "kimi-thinking",
|
|
211
|
+
pricing: {
|
|
212
|
+
input: 6e-7,
|
|
213
|
+
output: 3e-6,
|
|
214
|
+
cacheRead: 1e-7
|
|
215
|
+
},
|
|
216
|
+
contextWindow: 256e3,
|
|
217
|
+
maxOutput: 256e3,
|
|
218
|
+
modalities: {
|
|
219
|
+
input: [
|
|
220
|
+
"text",
|
|
221
|
+
"image",
|
|
222
|
+
"video"
|
|
223
|
+
],
|
|
224
|
+
output: ["text"]
|
|
225
|
+
},
|
|
226
|
+
capabilities: {
|
|
227
|
+
reasoning: true,
|
|
228
|
+
toolCall: true,
|
|
229
|
+
attachment: false,
|
|
230
|
+
structuredOutput: false
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
id: "accounts/fireworks/models/kimi-k2-thinking",
|
|
235
|
+
name: "Kimi K2 Thinking",
|
|
236
|
+
provider: "fireworks-ai",
|
|
237
|
+
family: "kimi-thinking",
|
|
238
|
+
pricing: {
|
|
239
|
+
input: 6e-7,
|
|
240
|
+
output: 25e-7,
|
|
241
|
+
cacheRead: 3e-7
|
|
242
|
+
},
|
|
243
|
+
contextWindow: 256e3,
|
|
244
|
+
maxOutput: 256e3,
|
|
245
|
+
modalities: {
|
|
246
|
+
input: ["text"],
|
|
247
|
+
output: ["text"]
|
|
248
|
+
},
|
|
249
|
+
capabilities: {
|
|
250
|
+
reasoning: true,
|
|
251
|
+
toolCall: true,
|
|
252
|
+
attachment: false,
|
|
253
|
+
structuredOutput: false
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: "accounts/fireworks/models/glm-4p5",
|
|
258
|
+
name: "GLM 4.5",
|
|
259
|
+
provider: "fireworks-ai",
|
|
260
|
+
family: "glm",
|
|
261
|
+
pricing: {
|
|
262
|
+
input: 55e-8,
|
|
263
|
+
output: 219e-8
|
|
264
|
+
},
|
|
265
|
+
contextWindow: 131072,
|
|
266
|
+
maxOutput: 131072,
|
|
267
|
+
modalities: {
|
|
268
|
+
input: ["text"],
|
|
269
|
+
output: ["text"]
|
|
270
|
+
},
|
|
271
|
+
capabilities: {
|
|
272
|
+
reasoning: true,
|
|
273
|
+
toolCall: true,
|
|
274
|
+
attachment: false,
|
|
275
|
+
structuredOutput: false
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "accounts/fireworks/models/gpt-oss-20b",
|
|
280
|
+
name: "GPT OSS 20B",
|
|
281
|
+
provider: "fireworks-ai",
|
|
282
|
+
family: "gpt-oss",
|
|
283
|
+
pricing: {
|
|
284
|
+
input: 5e-8,
|
|
285
|
+
output: 2e-7
|
|
286
|
+
},
|
|
287
|
+
contextWindow: 131072,
|
|
288
|
+
maxOutput: 32768,
|
|
289
|
+
modalities: {
|
|
290
|
+
input: ["text"],
|
|
291
|
+
output: ["text"]
|
|
292
|
+
},
|
|
293
|
+
capabilities: {
|
|
294
|
+
reasoning: true,
|
|
295
|
+
toolCall: true,
|
|
296
|
+
attachment: false,
|
|
297
|
+
structuredOutput: false
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
];
|
|
301
|
+
//#endregion
|
|
302
|
+
export { FIREWORKS_AI_MODELS as t };
|
|
303
|
+
|
|
304
|
+
//# sourceMappingURL=fireworks-ai-DJYvdAi_.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fireworks-ai-DJYvdAi_.mjs","names":[],"sources":["../src/catalog/providers/fireworks-ai.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const FIREWORKS_AI_MODELS = [\n {\n id: \"accounts/fireworks/models/kimi-k2-instruct\",\n name: \"Kimi K2 Instruct\",\n provider: \"fireworks-ai\",\n family: \"kimi\",\n pricing: { input: 0.000001, output: 0.000003 },\n contextWindow: 128000,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/glm-4p7\",\n name: \"GLM 4.7\",\n provider: \"fireworks-ai\",\n family: \"glm\",\n pricing: { input: 6e-7, output: 0.0000022, cacheRead: 3e-7 },\n contextWindow: 198000,\n maxOutput: 198000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/glm-5\",\n name: \"GLM 5\",\n provider: \"fireworks-ai\",\n family: \"glm\",\n pricing: { input: 0.000001, output: 0.0000032, cacheRead: 5e-7 },\n contextWindow: 202752,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/deepseek-v3p1\",\n name: \"DeepSeek V3.1\",\n provider: \"fireworks-ai\",\n family: \"deepseek\",\n pricing: { input: 5.6e-7, output: 0.00000168 },\n contextWindow: 163840,\n maxOutput: 163840,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/minimax-m2p1\",\n name: \"MiniMax-M2.1\",\n provider: \"fireworks-ai\",\n family: \"minimax\",\n pricing: { input: 3e-7, output: 0.0000012, cacheRead: 3e-8 },\n contextWindow: 200000,\n maxOutput: 200000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/glm-4p5-air\",\n name: \"GLM 4.5 Air\",\n provider: \"fireworks-ai\",\n family: \"glm-air\",\n pricing: { input: 2.2e-7, output: 8.8e-7 },\n contextWindow: 131072,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/deepseek-v3p2\",\n name: \"DeepSeek V3.2\",\n provider: \"fireworks-ai\",\n family: \"deepseek\",\n pricing: { input: 5.6e-7, output: 0.00000168, cacheRead: 2.8e-7 },\n contextWindow: 160000,\n maxOutput: 160000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/minimax-m2p5\",\n name: \"MiniMax-M2.5\",\n provider: \"fireworks-ai\",\n family: \"minimax\",\n pricing: { input: 3e-7, output: 0.0000012, cacheRead: 3e-8 },\n contextWindow: 196608,\n maxOutput: 196608,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/gpt-oss-120b\",\n name: \"GPT OSS 120B\",\n provider: \"fireworks-ai\",\n family: \"gpt-oss\",\n pricing: { input: 1.5e-7, output: 6e-7 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/kimi-k2p5\",\n name: \"Kimi K2.5\",\n provider: \"fireworks-ai\",\n family: \"kimi-thinking\",\n pricing: { input: 6e-7, output: 0.000003, cacheRead: 1e-7 },\n contextWindow: 256000,\n maxOutput: 256000,\n modalities: { input: [\"text\", \"image\", \"video\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/kimi-k2-thinking\",\n name: \"Kimi K2 Thinking\",\n provider: \"fireworks-ai\",\n family: \"kimi-thinking\",\n pricing: { input: 6e-7, output: 0.0000025, cacheRead: 3e-7 },\n contextWindow: 256000,\n maxOutput: 256000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/glm-4p5\",\n name: \"GLM 4.5\",\n provider: \"fireworks-ai\",\n family: \"glm\",\n pricing: { input: 5.5e-7, output: 0.00000219 },\n contextWindow: 131072,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"accounts/fireworks/models/gpt-oss-20b\",\n name: \"GPT OSS 20B\",\n provider: \"fireworks-ai\",\n family: \"gpt-oss\",\n pricing: { input: 5e-8, output: 2e-7 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,sBAAsB;CACjC;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAU,QAAQ;GAAU;EAC9C,eAAe;EACf,WAAW;EACX,YAA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