@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,95 @@
|
|
|
1
|
+
//#region src/catalog/providers/cerebras.ts
|
|
2
|
+
const CEREBRAS_MODELS = [
|
|
3
|
+
{
|
|
4
|
+
id: "qwen-3-235b-a22b-instruct-2507",
|
|
5
|
+
name: "Qwen 3 235B Instruct",
|
|
6
|
+
provider: "cerebras",
|
|
7
|
+
family: "qwen",
|
|
8
|
+
pricing: {
|
|
9
|
+
input: 6e-7,
|
|
10
|
+
output: 12e-7
|
|
11
|
+
},
|
|
12
|
+
contextWindow: 131e3,
|
|
13
|
+
maxOutput: 32e3,
|
|
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: "gpt-oss-120b",
|
|
27
|
+
name: "GPT OSS 120B",
|
|
28
|
+
provider: "cerebras",
|
|
29
|
+
family: "gpt-oss",
|
|
30
|
+
pricing: {
|
|
31
|
+
input: 25e-8,
|
|
32
|
+
output: 69e-8
|
|
33
|
+
},
|
|
34
|
+
contextWindow: 131072,
|
|
35
|
+
maxOutput: 32768,
|
|
36
|
+
modalities: {
|
|
37
|
+
input: ["text"],
|
|
38
|
+
output: ["text"]
|
|
39
|
+
},
|
|
40
|
+
capabilities: {
|
|
41
|
+
reasoning: true,
|
|
42
|
+
toolCall: true,
|
|
43
|
+
attachment: false,
|
|
44
|
+
structuredOutput: false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "llama3.1-8b",
|
|
49
|
+
name: "Llama 3.1 8B",
|
|
50
|
+
provider: "cerebras",
|
|
51
|
+
family: "llama",
|
|
52
|
+
pricing: {
|
|
53
|
+
input: 1e-7,
|
|
54
|
+
output: 1e-7
|
|
55
|
+
},
|
|
56
|
+
contextWindow: 32e3,
|
|
57
|
+
maxOutput: 8e3,
|
|
58
|
+
modalities: {
|
|
59
|
+
input: ["text"],
|
|
60
|
+
output: ["text"]
|
|
61
|
+
},
|
|
62
|
+
capabilities: {
|
|
63
|
+
reasoning: false,
|
|
64
|
+
toolCall: true,
|
|
65
|
+
attachment: false,
|
|
66
|
+
structuredOutput: false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "zai-glm-4.7",
|
|
71
|
+
name: "Z.AI GLM-4.7",
|
|
72
|
+
provider: "cerebras",
|
|
73
|
+
family: "",
|
|
74
|
+
pricing: {
|
|
75
|
+
input: 225e-8,
|
|
76
|
+
output: 275e-8
|
|
77
|
+
},
|
|
78
|
+
contextWindow: 131072,
|
|
79
|
+
maxOutput: 4e4,
|
|
80
|
+
modalities: {
|
|
81
|
+
input: ["text"],
|
|
82
|
+
output: ["text"]
|
|
83
|
+
},
|
|
84
|
+
capabilities: {
|
|
85
|
+
reasoning: false,
|
|
86
|
+
toolCall: true,
|
|
87
|
+
attachment: false,
|
|
88
|
+
structuredOutput: false
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
//#endregion
|
|
93
|
+
export { CEREBRAS_MODELS as t };
|
|
94
|
+
|
|
95
|
+
//# sourceMappingURL=cerebras-COfl7XM-.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cerebras-COfl7XM-.mjs","names":[],"sources":["../src/catalog/providers/cerebras.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 CEREBRAS_MODELS = [\n {\n id: \"qwen-3-235b-a22b-instruct-2507\",\n name: \"Qwen 3 235B Instruct\",\n provider: \"cerebras\",\n family: \"qwen\",\n pricing: { input: 6e-7, output: 0.0000012 },\n contextWindow: 131000,\n maxOutput: 32000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"gpt-oss-120b\",\n name: \"GPT OSS 120B\",\n provider: \"cerebras\",\n family: \"gpt-oss\",\n pricing: { input: 2.5e-7, output: 6.9e-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: \"llama3.1-8b\",\n name: \"Llama 3.1 8B\",\n provider: \"cerebras\",\n family: \"llama\",\n pricing: { input: 1e-7, output: 1e-7 },\n contextWindow: 32000,\n maxOutput: 8000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-glm-4.7\",\n name: \"Z.AI GLM-4.7\",\n provider: \"cerebras\",\n family: \"\",\n pricing: { input: 0.00000225, output: 0.00000275 },\n contextWindow: 131072,\n maxOutput: 40000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,k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provider: "cohere",
|
|
7
|
+
family: "",
|
|
8
|
+
pricing: {
|
|
9
|
+
input: 0,
|
|
10
|
+
output: 0
|
|
11
|
+
},
|
|
12
|
+
contextWindow: 128e3,
|
|
13
|
+
maxOutput: 4e3,
|
|
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: "command-a-03-2025",
|
|
27
|
+
name: "Command A",
|
|
28
|
+
provider: "cohere",
|
|
29
|
+
family: "command-a",
|
|
30
|
+
pricing: {
|
|
31
|
+
input: 25e-7,
|
|
32
|
+
output: 1e-5
|
|
33
|
+
},
|
|
34
|
+
contextWindow: 256e3,
|
|
35
|
+
maxOutput: 8e3,
|
|
36
|
+
modalities: {
|
|
37
|
+
input: ["text"],
|
|
38
|
+
output: ["text"]
|
|
39
|
+
},
|
|
40
|
+
capabilities: {
|
|
41
|
+
reasoning: true,
|
|
42
|
+
toolCall: true,
|
|
43
|
+
attachment: false,
|
|
44
|
+
structuredOutput: false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "command-r7b-arabic-02-2025",
|
|
49
|
+
name: "Command R7B Arabic",
|
|
50
|
+
provider: "cohere",
|
|
51
|
+
family: "command-r",
|
|
52
|
+
pricing: {
|
|
53
|
+
input: 3.75e-8,
|
|
54
|
+
output: 15e-8
|
|
55
|
+
},
|
|
56
|
+
contextWindow: 128e3,
|
|
57
|
+
maxOutput: 4e3,
|
|
58
|
+
modalities: {
|
|
59
|
+
input: ["text"],
|
|
60
|
+
output: ["text"]
|
|
61
|
+
},
|
|
62
|
+
capabilities: {
|
|
63
|
+
reasoning: false,
|
|
64
|
+
toolCall: true,
|
|
65
|
+
attachment: false,
|
|
66
|
+
structuredOutput: false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "command-a-translate-08-2025",
|
|
71
|
+
name: "Command A Translate",
|
|
72
|
+
provider: "cohere",
|
|
73
|
+
family: "command-a",
|
|
74
|
+
pricing: {
|
|
75
|
+
input: 25e-7,
|
|
76
|
+
output: 1e-5
|
|
77
|
+
},
|
|
78
|
+
contextWindow: 8e3,
|
|
79
|
+
maxOutput: 8e3,
|
|
80
|
+
modalities: {
|
|
81
|
+
input: ["text"],
|
|
82
|
+
output: ["text"]
|
|
83
|
+
},
|
|
84
|
+
capabilities: {
|
|
85
|
+
reasoning: false,
|
|
86
|
+
toolCall: true,
|
|
87
|
+
attachment: false,
|
|
88
|
+
structuredOutput: false
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: "command-r-08-2024",
|
|
93
|
+
name: "Command R",
|
|
94
|
+
provider: "cohere",
|
|
95
|
+
family: "command-r",
|
|
96
|
+
pricing: {
|
|
97
|
+
input: 15e-8,
|
|
98
|
+
output: 6e-7
|
|
99
|
+
},
|
|
100
|
+
contextWindow: 128e3,
|
|
101
|
+
maxOutput: 4e3,
|
|
102
|
+
modalities: {
|
|
103
|
+
input: ["text"],
|
|
104
|
+
output: ["text"]
|
|
105
|
+
},
|
|
106
|
+
capabilities: {
|
|
107
|
+
reasoning: true,
|
|
108
|
+
toolCall: true,
|
|
109
|
+
attachment: false,
|
|
110
|
+
structuredOutput: false
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: "command-r-plus-08-2024",
|
|
115
|
+
name: "Command R+",
|
|
116
|
+
provider: "cohere",
|
|
117
|
+
family: "command-r",
|
|
118
|
+
pricing: {
|
|
119
|
+
input: 25e-7,
|
|
120
|
+
output: 1e-5
|
|
121
|
+
},
|
|
122
|
+
contextWindow: 128e3,
|
|
123
|
+
maxOutput: 4e3,
|
|
124
|
+
modalities: {
|
|
125
|
+
input: ["text"],
|
|
126
|
+
output: ["text"]
|
|
127
|
+
},
|
|
128
|
+
capabilities: {
|
|
129
|
+
reasoning: true,
|
|
130
|
+
toolCall: true,
|
|
131
|
+
attachment: false,
|
|
132
|
+
structuredOutput: false
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "command-a-reasoning-08-2025",
|
|
137
|
+
name: "Command A Reasoning",
|
|
138
|
+
provider: "cohere",
|
|
139
|
+
family: "command-a",
|
|
140
|
+
pricing: {
|
|
141
|
+
input: 25e-7,
|
|
142
|
+
output: 1e-5
|
|
143
|
+
},
|
|
144
|
+
contextWindow: 256e3,
|
|
145
|
+
maxOutput: 32e3,
|
|
146
|
+
modalities: {
|
|
147
|
+
input: ["text"],
|
|
148
|
+
output: ["text"]
|
|
149
|
+
},
|
|
150
|
+
capabilities: {
|
|
151
|
+
reasoning: true,
|
|
152
|
+
toolCall: true,
|
|
153
|
+
attachment: false,
|
|
154
|
+
structuredOutput: false
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: "c4ai-aya-expanse-8b",
|
|
159
|
+
name: "Aya Expanse 8B",
|
|
160
|
+
provider: "cohere",
|
|
161
|
+
family: "",
|
|
162
|
+
pricing: {
|
|
163
|
+
input: 0,
|
|
164
|
+
output: 0
|
|
165
|
+
},
|
|
166
|
+
contextWindow: 8e3,
|
|
167
|
+
maxOutput: 4e3,
|
|
168
|
+
modalities: {
|
|
169
|
+
input: ["text"],
|
|
170
|
+
output: ["text"]
|
|
171
|
+
},
|
|
172
|
+
capabilities: {
|
|
173
|
+
reasoning: false,
|
|
174
|
+
toolCall: true,
|
|
175
|
+
attachment: false,
|
|
176
|
+
structuredOutput: false
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: "c4ai-aya-vision-8b",
|
|
181
|
+
name: "Aya Vision 8B",
|
|
182
|
+
provider: "cohere",
|
|
183
|
+
family: "",
|
|
184
|
+
pricing: {
|
|
185
|
+
input: 0,
|
|
186
|
+
output: 0
|
|
187
|
+
},
|
|
188
|
+
contextWindow: 16e3,
|
|
189
|
+
maxOutput: 4e3,
|
|
190
|
+
modalities: {
|
|
191
|
+
input: ["text", "image"],
|
|
192
|
+
output: ["text"]
|
|
193
|
+
},
|
|
194
|
+
capabilities: {
|
|
195
|
+
reasoning: false,
|
|
196
|
+
toolCall: true,
|
|
197
|
+
attachment: true,
|
|
198
|
+
structuredOutput: false
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
id: "c4ai-aya-vision-32b",
|
|
203
|
+
name: "Aya Vision 32B",
|
|
204
|
+
provider: "cohere",
|
|
205
|
+
family: "",
|
|
206
|
+
pricing: {
|
|
207
|
+
input: 0,
|
|
208
|
+
output: 0
|
|
209
|
+
},
|
|
210
|
+
contextWindow: 16e3,
|
|
211
|
+
maxOutput: 4e3,
|
|
212
|
+
modalities: {
|
|
213
|
+
input: ["text", "image"],
|
|
214
|
+
output: ["text"]
|
|
215
|
+
},
|
|
216
|
+
capabilities: {
|
|
217
|
+
reasoning: false,
|
|
218
|
+
toolCall: true,
|
|
219
|
+
attachment: true,
|
|
220
|
+
structuredOutput: false
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
id: "command-r7b-12-2024",
|
|
225
|
+
name: "Command R7B",
|
|
226
|
+
provider: "cohere",
|
|
227
|
+
family: "command-r",
|
|
228
|
+
pricing: {
|
|
229
|
+
input: 3.75e-8,
|
|
230
|
+
output: 15e-8
|
|
231
|
+
},
|
|
232
|
+
contextWindow: 128e3,
|
|
233
|
+
maxOutput: 4e3,
|
|
234
|
+
modalities: {
|
|
235
|
+
input: ["text"],
|
|
236
|
+
output: ["text"]
|
|
237
|
+
},
|
|
238
|
+
capabilities: {
|
|
239
|
+
reasoning: false,
|
|
240
|
+
toolCall: true,
|
|
241
|
+
attachment: false,
|
|
242
|
+
structuredOutput: false
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
id: "command-a-vision-07-2025",
|
|
247
|
+
name: "Command A Vision",
|
|
248
|
+
provider: "cohere",
|
|
249
|
+
family: "command-a",
|
|
250
|
+
pricing: {
|
|
251
|
+
input: 25e-7,
|
|
252
|
+
output: 1e-5
|
|
253
|
+
},
|
|
254
|
+
contextWindow: 128e3,
|
|
255
|
+
maxOutput: 8e3,
|
|
256
|
+
modalities: {
|
|
257
|
+
input: ["text", "image"],
|
|
258
|
+
output: ["text"]
|
|
259
|
+
},
|
|
260
|
+
capabilities: {
|
|
261
|
+
reasoning: false,
|
|
262
|
+
toolCall: false,
|
|
263
|
+
attachment: false,
|
|
264
|
+
structuredOutput: false
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
];
|
|
268
|
+
//#endregion
|
|
269
|
+
export { COHERE_MODELS as t };
|
|
270
|
+
|
|
271
|
+
//# sourceMappingURL=cohere-B7TgO0hT.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cohere-B7TgO0hT.mjs","names":[],"sources":["../src/catalog/providers/cohere.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 COHERE_MODELS = [\n {\n id: \"c4ai-aya-expanse-32b\",\n name: \"Aya Expanse 32B\",\n provider: \"cohere\",\n family: \"\",\n pricing: { input: 0, output: 0 },\n contextWindow: 128000,\n maxOutput: 4000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-a-03-2025\",\n name: \"Command A\",\n provider: \"cohere\",\n family: \"command-a\",\n pricing: { input: 0.0000025, output: 0.00001 },\n contextWindow: 256000,\n maxOutput: 8000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-r7b-arabic-02-2025\",\n name: \"Command R7B Arabic\",\n provider: \"cohere\",\n family: \"command-r\",\n pricing: { input: 3.75e-8, output: 1.5e-7 },\n contextWindow: 128000,\n maxOutput: 4000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-a-translate-08-2025\",\n name: \"Command A Translate\",\n provider: \"cohere\",\n family: \"command-a\",\n pricing: { input: 0.0000025, output: 0.00001 },\n contextWindow: 8000,\n maxOutput: 8000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-r-08-2024\",\n name: \"Command R\",\n provider: \"cohere\",\n family: \"command-r\",\n pricing: { input: 1.5e-7, output: 6e-7 },\n contextWindow: 128000,\n maxOutput: 4000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-r-plus-08-2024\",\n name: \"Command R+\",\n provider: \"cohere\",\n family: \"command-r\",\n pricing: { input: 0.0000025, output: 0.00001 },\n contextWindow: 128000,\n maxOutput: 4000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-a-reasoning-08-2025\",\n name: \"Command A Reasoning\",\n provider: \"cohere\",\n family: \"command-a\",\n pricing: { input: 0.0000025, output: 0.00001 },\n contextWindow: 256000,\n maxOutput: 32000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"c4ai-aya-expanse-8b\",\n name: \"Aya Expanse 8B\",\n provider: \"cohere\",\n family: \"\",\n pricing: { input: 0, output: 0 },\n contextWindow: 8000,\n maxOutput: 4000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"c4ai-aya-vision-8b\",\n name: \"Aya Vision 8B\",\n provider: \"cohere\",\n family: \"\",\n pricing: { input: 0, output: 0 },\n contextWindow: 16000,\n maxOutput: 4000,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"c4ai-aya-vision-32b\",\n name: \"Aya Vision 32B\",\n provider: \"cohere\",\n family: \"\",\n pricing: { input: 0, output: 0 },\n contextWindow: 16000,\n maxOutput: 4000,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"command-r7b-12-2024\",\n name: \"Command R7B\",\n provider: \"cohere\",\n family: \"command-r\",\n pricing: { input: 3.75e-8, output: 1.5e-7 },\n contextWindow: 128000,\n maxOutput: 4000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"command-a-vision-07-2025\",\n name: \"Command A Vision\",\n provider: \"cohere\",\n family: \"command-a\",\n pricing: { input: 0.0000025, output: 0.00001 },\n contextWindow: 128000,\n maxOutput: 8000,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,gBAAgB;CAC3B;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAG,QAAQ;GAAG;EAChC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAW,QAAQ;GAAS;EAC9C,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAS,QAAQ;GAAQ;EAC3C,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAW,QAAQ;GAAS;EAC9C,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAM;EACxC,eAAe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