@funkai/models 0.3.0 → 0.3.1

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.
Files changed (83) hide show
  1. package/.turbo/turbo-build.log +33 -33
  2. package/CHANGELOG.md +6 -0
  3. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -1
  4. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -1
  5. package/dist/anthropic-yB7ST97_.mjs.map +1 -1
  6. package/dist/cerebras-COfl7XM-.mjs.map +1 -1
  7. package/dist/cohere-B7TgO0hT.mjs.map +1 -1
  8. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -1
  9. package/dist/deepseek-D64ZEsvS.mjs.map +1 -1
  10. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -1
  11. package/dist/google-BypRl349.mjs.map +1 -1
  12. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -1
  13. package/dist/groq-ei_PerYi.mjs.map +1 -1
  14. package/dist/huggingface-DaM1EeLP.mjs.map +1 -1
  15. package/dist/inception-CspEzqNV.mjs.map +1 -1
  16. package/dist/index.d.mts +1 -1
  17. package/dist/index.d.mts.map +1 -1
  18. package/dist/index.mjs +2 -1
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/llama-Cf3-koap.mjs.map +1 -1
  21. package/dist/mistral-BI9MdAO4.mjs.map +1 -1
  22. package/dist/nvidia-COHacuoa.mjs.map +1 -1
  23. package/dist/openai-C0nCfZUq.mjs.map +1 -1
  24. package/dist/openrouter-DSFzxKQb.mjs.map +1 -1
  25. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -1
  26. package/dist/providers/alibaba.d.mts +1 -1
  27. package/dist/providers/amazon-bedrock.d.mts +1 -1
  28. package/dist/providers/anthropic.d.mts +1 -1
  29. package/dist/providers/cerebras.d.mts +1 -1
  30. package/dist/providers/cohere.d.mts +1 -1
  31. package/dist/providers/deepinfra.d.mts +1 -1
  32. package/dist/providers/deepseek.d.mts +1 -1
  33. package/dist/providers/fireworks-ai.d.mts +1 -1
  34. package/dist/providers/google-vertex.d.mts +1 -1
  35. package/dist/providers/google.d.mts +1 -1
  36. package/dist/providers/groq.d.mts +1 -1
  37. package/dist/providers/huggingface.d.mts +1 -1
  38. package/dist/providers/inception.d.mts +1 -1
  39. package/dist/providers/llama.d.mts +1 -1
  40. package/dist/providers/mistral.d.mts +1 -1
  41. package/dist/providers/nvidia.d.mts +1 -1
  42. package/dist/providers/openai.d.mts +1 -1
  43. package/dist/providers/openrouter.d.mts +1 -1
  44. package/dist/providers/perplexity.d.mts +1 -1
  45. package/dist/providers/togetherai.d.mts +1 -1
  46. package/dist/providers/xai.d.mts +1 -1
  47. package/dist/togetherai-BvcxUfPE.mjs.map +1 -1
  48. package/dist/{types-DjdaZckF.d.mts → types-DIzolT_s.d.mts} +61 -21
  49. package/dist/types-DIzolT_s.d.mts.map +1 -0
  50. package/dist/xai-fSuAkQJo.mjs.map +1 -1
  51. package/package.json +6 -3
  52. package/scripts/generate-models.ts +152 -63
  53. package/src/catalog/index.test.ts +8 -8
  54. package/src/catalog/index.ts +4 -1
  55. package/src/catalog/providers/alibaba.ts +91 -91
  56. package/src/catalog/providers/amazon-bedrock.ts +205 -185
  57. package/src/catalog/providers/anthropic.ts +87 -62
  58. package/src/catalog/providers/cerebras.ts +9 -9
  59. package/src/catalog/providers/cohere.ts +16 -16
  60. package/src/catalog/providers/deepinfra.ts +71 -71
  61. package/src/catalog/providers/deepseek.ts +3 -3
  62. package/src/catalog/providers/fireworks-ai.ts +36 -36
  63. package/src/catalog/providers/google-vertex.ts +62 -62
  64. package/src/catalog/providers/google.ts +69 -69
  65. package/src/catalog/providers/groq.ts +24 -24
  66. package/src/catalog/providers/huggingface.ts +52 -52
  67. package/src/catalog/providers/inception.ts +9 -9
  68. package/src/catalog/providers/index.ts +1 -0
  69. package/src/catalog/providers/llama.ts +7 -7
  70. package/src/catalog/providers/mistral.ts +60 -60
  71. package/src/catalog/providers/nvidia.ts +84 -84
  72. package/src/catalog/providers/openai.ts +115 -115
  73. package/src/catalog/providers/openrouter.ts +448 -433
  74. package/src/catalog/providers/perplexity.ts +9 -9
  75. package/src/catalog/providers/togetherai.ts +47 -47
  76. package/src/catalog/providers/xai.ts +49 -49
  77. package/src/catalog/types.ts +60 -20
  78. package/src/cost/calculate.test.ts +11 -11
  79. package/src/provider/registry.ts +1 -1
  80. package/src/provider/types.ts +1 -1
  81. package/tsconfig.json +2 -1
  82. package/tsdown.config.ts +7 -3
  83. package/dist/types-DjdaZckF.d.mts.map +0 -1
@@ -20,8 +20,8 @@ export const DEEPINFRA_MODELS = [
20
20
  provider: "deepinfra",
21
21
  family: "glm-flash",
22
22
  pricing: { input: 6e-8, output: 4e-7 },
23
- contextWindow: 202752,
24
- maxOutput: 16384,
23
+ contextWindow: 202_752,
24
+ maxOutput: 16_384,
25
25
  modalities: { input: ["text"], output: ["text"] },
26
26
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
27
27
  },
@@ -30,9 +30,9 @@ export const DEEPINFRA_MODELS = [
30
30
  name: "GLM-4.6",
31
31
  provider: "deepinfra",
32
32
  family: "glm",
33
- pricing: { input: 4.3e-7, output: 0.00000174, cacheRead: 8e-8 },
34
- contextWindow: 204800,
35
- maxOutput: 131072,
33
+ pricing: { input: 4.3e-7, output: 0.000_001_74, cacheRead: 8e-8 },
34
+ contextWindow: 204_800,
35
+ maxOutput: 131_072,
36
36
  modalities: { input: ["text"], output: ["text"] },
37
37
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
38
38
  },
@@ -41,9 +41,9 @@ export const DEEPINFRA_MODELS = [
41
41
  name: "GLM-4.7",
42
42
  provider: "deepinfra",
43
43
  family: "glm",
44
- pricing: { input: 4.3e-7, output: 0.00000175, cacheRead: 8e-8 },
45
- contextWindow: 202752,
46
- maxOutput: 16384,
44
+ pricing: { input: 4.3e-7, output: 0.000_001_75, cacheRead: 8e-8 },
45
+ contextWindow: 202_752,
46
+ maxOutput: 16_384,
47
47
  modalities: { input: ["text"], output: ["text"] },
48
48
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
49
49
  },
@@ -53,8 +53,8 @@ export const DEEPINFRA_MODELS = [
53
53
  provider: "deepinfra",
54
54
  family: "glm",
55
55
  pricing: { input: 3e-7, output: 9e-7 },
56
- contextWindow: 204800,
57
- maxOutput: 131072,
56
+ contextWindow: 204_800,
57
+ maxOutput: 131_072,
58
58
  modalities: { input: ["text", "image"], output: ["text"] },
59
59
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
60
60
  },
@@ -63,9 +63,9 @@ export const DEEPINFRA_MODELS = [
63
63
  name: "GLM-4.5",
64
64
  provider: "deepinfra",
65
65
  family: "glm",
66
- pricing: { input: 6e-7, output: 0.0000022 },
67
- contextWindow: 131072,
68
- maxOutput: 98304,
66
+ pricing: { input: 6e-7, output: 0.000_002_2 },
67
+ contextWindow: 131_072,
68
+ maxOutput: 98_304,
69
69
  modalities: { input: ["text"], output: ["text"] },
70
70
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
71
71
  },
@@ -74,9 +74,9 @@ export const DEEPINFRA_MODELS = [
74
74
  name: "GLM-5",
75
75
  provider: "deepinfra",
76
76
  family: "glm",
77
- pricing: { input: 8e-7, output: 0.00000256, cacheRead: 1.6e-7 },
78
- contextWindow: 202752,
79
- maxOutput: 16384,
77
+ pricing: { input: 8e-7, output: 0.000_002_56, cacheRead: 1.6e-7 },
78
+ contextWindow: 202_752,
79
+ maxOutput: 16_384,
80
80
  modalities: { input: ["text"], output: ["text"] },
81
81
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
82
82
  },
@@ -86,8 +86,8 @@ export const DEEPINFRA_MODELS = [
86
86
  provider: "deepinfra",
87
87
  family: "minimax",
88
88
  pricing: { input: 2.7e-7, output: 9.5e-7, cacheRead: 3e-8, cacheWrite: 3.75e-7 },
89
- contextWindow: 204800,
90
- maxOutput: 131072,
89
+ contextWindow: 204_800,
90
+ maxOutput: 131_072,
91
91
  modalities: { input: ["text"], output: ["text"] },
92
92
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
93
93
  },
@@ -96,9 +96,9 @@ export const DEEPINFRA_MODELS = [
96
96
  name: "MiniMax M2",
97
97
  provider: "deepinfra",
98
98
  family: "minimax",
99
- pricing: { input: 2.54e-7, output: 0.00000102 },
100
- contextWindow: 262144,
101
- maxOutput: 32768,
99
+ pricing: { input: 2.54e-7, output: 0.000_001_02 },
100
+ contextWindow: 262_144,
101
+ maxOutput: 32_768,
102
102
  modalities: { input: ["text"], output: ["text"] },
103
103
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
104
104
  },
@@ -107,9 +107,9 @@ export const DEEPINFRA_MODELS = [
107
107
  name: "MiniMax M2.1",
108
108
  provider: "deepinfra",
109
109
  family: "",
110
- pricing: { input: 2.8e-7, output: 0.0000012 },
111
- contextWindow: 196608,
112
- maxOutput: 196608,
110
+ pricing: { input: 2.8e-7, output: 0.000_001_2 },
111
+ contextWindow: 196_608,
112
+ maxOutput: 196_608,
113
113
  modalities: { input: ["text"], output: ["text"] },
114
114
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
115
115
  },
@@ -118,9 +118,9 @@ export const DEEPINFRA_MODELS = [
118
118
  name: "DeepSeek-R1-0528",
119
119
  provider: "deepinfra",
120
120
  family: "",
121
- pricing: { input: 5e-7, output: 0.00000215, cacheRead: 3.5e-7 },
122
- contextWindow: 163840,
123
- maxOutput: 64000,
121
+ pricing: { input: 5e-7, output: 0.000_002_15, cacheRead: 3.5e-7 },
122
+ contextWindow: 163_840,
123
+ maxOutput: 64_000,
124
124
  modalities: { input: ["text"], output: ["text"] },
125
125
  capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },
126
126
  },
@@ -130,8 +130,8 @@ export const DEEPINFRA_MODELS = [
130
130
  provider: "deepinfra",
131
131
  family: "",
132
132
  pricing: { input: 2.6e-7, output: 3.8e-7, cacheRead: 1.3e-7 },
133
- contextWindow: 163840,
134
- maxOutput: 64000,
133
+ contextWindow: 163_840,
134
+ maxOutput: 64_000,
135
135
  modalities: { input: ["text"], output: ["text"] },
136
136
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
137
137
  },
@@ -140,9 +140,9 @@ export const DEEPINFRA_MODELS = [
140
140
  name: "Kimi K2",
141
141
  provider: "deepinfra",
142
142
  family: "kimi",
143
- pricing: { input: 5e-7, output: 0.000002 },
144
- contextWindow: 131072,
145
- maxOutput: 32768,
143
+ pricing: { input: 5e-7, output: 0.000_002 },
144
+ contextWindow: 131_072,
145
+ maxOutput: 32_768,
146
146
  modalities: { input: ["text"], output: ["text"] },
147
147
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
148
148
  },
@@ -151,9 +151,9 @@ export const DEEPINFRA_MODELS = [
151
151
  name: "Kimi K2 0905",
152
152
  provider: "deepinfra",
153
153
  family: "kimi",
154
- pricing: { input: 4e-7, output: 0.000002, cacheRead: 1.5e-7 },
155
- contextWindow: 262144,
156
- maxOutput: 262144,
154
+ pricing: { input: 4e-7, output: 0.000_002, cacheRead: 1.5e-7 },
155
+ contextWindow: 262_144,
156
+ maxOutput: 262_144,
157
157
  modalities: { input: ["text"], output: ["text"] },
158
158
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
159
159
  },
@@ -162,9 +162,9 @@ export const DEEPINFRA_MODELS = [
162
162
  name: "Kimi K2.5",
163
163
  provider: "deepinfra",
164
164
  family: "kimi",
165
- pricing: { input: 5e-7, output: 0.0000028 },
166
- contextWindow: 262144,
167
- maxOutput: 32768,
165
+ pricing: { input: 5e-7, output: 0.000_002_8 },
166
+ contextWindow: 262_144,
167
+ maxOutput: 32_768,
168
168
  modalities: { input: ["text", "image", "video"], output: ["text"] },
169
169
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
170
170
  },
@@ -173,9 +173,9 @@ export const DEEPINFRA_MODELS = [
173
173
  name: "Kimi K2 Thinking",
174
174
  provider: "deepinfra",
175
175
  family: "kimi-thinking",
176
- pricing: { input: 4.7e-7, output: 0.000002 },
177
- contextWindow: 131072,
178
- maxOutput: 32768,
176
+ pricing: { input: 4.7e-7, output: 0.000_002 },
177
+ contextWindow: 131_072,
178
+ maxOutput: 32_768,
179
179
  modalities: { input: ["text"], output: ["text"] },
180
180
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
181
181
  },
@@ -185,8 +185,8 @@ export const DEEPINFRA_MODELS = [
185
185
  provider: "deepinfra",
186
186
  family: "llama",
187
187
  pricing: { input: 2e-8, output: 3e-8 },
188
- contextWindow: 131072,
189
- maxOutput: 16384,
188
+ contextWindow: 131_072,
189
+ maxOutput: 16_384,
190
190
  modalities: { input: ["text"], output: ["text"] },
191
191
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
192
192
  },
@@ -196,8 +196,8 @@ export const DEEPINFRA_MODELS = [
196
196
  provider: "deepinfra",
197
197
  family: "llama",
198
198
  pricing: { input: 4e-7, output: 4e-7 },
199
- contextWindow: 131072,
200
- maxOutput: 16384,
199
+ contextWindow: 131_072,
200
+ maxOutput: 16_384,
201
201
  modalities: { input: ["text"], output: ["text"] },
202
202
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
203
203
  },
@@ -207,8 +207,8 @@ export const DEEPINFRA_MODELS = [
207
207
  provider: "deepinfra",
208
208
  family: "llama",
209
209
  pricing: { input: 8e-8, output: 3e-7 },
210
- contextWindow: 10000000,
211
- maxOutput: 16384,
210
+ contextWindow: 10_000_000,
211
+ maxOutput: 16_384,
212
212
  modalities: { input: ["text", "image"], output: ["text"] },
213
213
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
214
214
  },
@@ -218,8 +218,8 @@ export const DEEPINFRA_MODELS = [
218
218
  provider: "deepinfra",
219
219
  family: "llama",
220
220
  pricing: { input: 4e-7, output: 4e-7 },
221
- contextWindow: 131072,
222
- maxOutput: 16384,
221
+ contextWindow: 131_072,
222
+ maxOutput: 16_384,
223
223
  modalities: { input: ["text"], output: ["text"] },
224
224
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
225
225
  },
@@ -229,8 +229,8 @@ export const DEEPINFRA_MODELS = [
229
229
  provider: "deepinfra",
230
230
  family: "llama",
231
231
  pricing: { input: 2e-8, output: 5e-8 },
232
- contextWindow: 131072,
233
- maxOutput: 16384,
232
+ contextWindow: 131_072,
233
+ maxOutput: 16_384,
234
234
  modalities: { input: ["text"], output: ["text"] },
235
235
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
236
236
  },
@@ -240,8 +240,8 @@ export const DEEPINFRA_MODELS = [
240
240
  provider: "deepinfra",
241
241
  family: "llama",
242
242
  pricing: { input: 1.5e-7, output: 6e-7 },
243
- contextWindow: 1000000,
244
- maxOutput: 16384,
243
+ contextWindow: 1_000_000,
244
+ maxOutput: 16_384,
245
245
  modalities: { input: ["text", "image"], output: ["text"] },
246
246
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
247
247
  },
@@ -251,8 +251,8 @@ export const DEEPINFRA_MODELS = [
251
251
  provider: "deepinfra",
252
252
  family: "llama",
253
253
  pricing: { input: 1e-7, output: 3.2e-7 },
254
- contextWindow: 131072,
255
- maxOutput: 16384,
254
+ contextWindow: 131_072,
255
+ maxOutput: 16_384,
256
256
  modalities: { input: ["text"], output: ["text"] },
257
257
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
258
258
  },
@@ -261,9 +261,9 @@ export const DEEPINFRA_MODELS = [
261
261
  name: "Qwen3 Coder 480B A35B Instruct Turbo",
262
262
  provider: "deepinfra",
263
263
  family: "qwen",
264
- pricing: { input: 3e-7, output: 0.0000012 },
265
- contextWindow: 262144,
266
- maxOutput: 66536,
264
+ pricing: { input: 3e-7, output: 0.000_001_2 },
265
+ contextWindow: 262_144,
266
+ maxOutput: 66_536,
267
267
  modalities: { input: ["text"], output: ["text"] },
268
268
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
269
269
  },
@@ -272,9 +272,9 @@ export const DEEPINFRA_MODELS = [
272
272
  name: "Qwen3 Coder 480B A35B Instruct",
273
273
  provider: "deepinfra",
274
274
  family: "qwen",
275
- pricing: { input: 4e-7, output: 0.0000016 },
276
- contextWindow: 262144,
277
- maxOutput: 66536,
275
+ pricing: { input: 4e-7, output: 0.000_001_6 },
276
+ contextWindow: 262_144,
277
+ maxOutput: 66_536,
278
278
  modalities: { input: ["text"], output: ["text"] },
279
279
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
280
280
  },
@@ -284,8 +284,8 @@ export const DEEPINFRA_MODELS = [
284
284
  provider: "deepinfra",
285
285
  family: "gpt-oss",
286
286
  pricing: { input: 5e-8, output: 2.4e-7 },
287
- contextWindow: 131072,
288
- maxOutput: 16384,
287
+ contextWindow: 131_072,
288
+ maxOutput: 16_384,
289
289
  modalities: { input: ["text"], output: ["text"] },
290
290
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
291
291
  },
@@ -295,8 +295,8 @@ export const DEEPINFRA_MODELS = [
295
295
  provider: "deepinfra",
296
296
  family: "gpt-oss",
297
297
  pricing: { input: 3e-8, output: 1.4e-7 },
298
- contextWindow: 131072,
299
- maxOutput: 16384,
298
+ contextWindow: 131_072,
299
+ maxOutput: 16_384,
300
300
  modalities: { input: ["text"], output: ["text"] },
301
301
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
302
302
  },
@@ -305,9 +305,9 @@ export const DEEPINFRA_MODELS = [
305
305
  name: "Claude Sonnet 3.7 (Latest)",
306
306
  provider: "deepinfra",
307
307
  family: "claude-sonnet",
308
- pricing: { input: 0.0000033, output: 0.0000165, cacheRead: 3.3e-7 },
309
- contextWindow: 200000,
310
- maxOutput: 64000,
308
+ pricing: { input: 0.000_003_3, output: 0.000_016_5, cacheRead: 3.3e-7 },
309
+ contextWindow: 200_000,
310
+ maxOutput: 64_000,
311
311
  modalities: { input: ["text", "image"], output: ["text"] },
312
312
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
313
313
  },
@@ -316,9 +316,9 @@ export const DEEPINFRA_MODELS = [
316
316
  name: "Claude Opus 4",
317
317
  provider: "deepinfra",
318
318
  family: "claude-opus",
319
- pricing: { input: 0.0000165, output: 0.0000825 },
320
- contextWindow: 200000,
321
- maxOutput: 32000,
319
+ pricing: { input: 0.000_016_5, output: 0.000_082_5 },
320
+ contextWindow: 200_000,
321
+ maxOutput: 32_000,
322
322
  modalities: { input: ["text", "image"], output: ["text"] },
323
323
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
324
324
  },
@@ -20,8 +20,8 @@ export const DEEPSEEK_MODELS = [
20
20
  provider: "deepseek",
21
21
  family: "deepseek-thinking",
22
22
  pricing: { input: 2.8e-7, output: 4.2e-7, cacheRead: 2.8e-8 },
23
- contextWindow: 128000,
24
- maxOutput: 64000,
23
+ contextWindow: 128_000,
24
+ maxOutput: 64_000,
25
25
  modalities: { input: ["text"], output: ["text"] },
26
26
  capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
27
27
  },
@@ -31,7 +31,7 @@ export const DEEPSEEK_MODELS = [
31
31
  provider: "deepseek",
32
32
  family: "deepseek",
33
33
  pricing: { input: 2.8e-7, output: 4.2e-7, cacheRead: 2.8e-8 },
34
- contextWindow: 128000,
34
+ contextWindow: 128_000,
35
35
  maxOutput: 8192,
36
36
  modalities: { input: ["text"], output: ["text"] },
37
37
  capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
@@ -19,9 +19,9 @@ export const FIREWORKS_AI_MODELS = [
19
19
  name: "Kimi K2 Instruct",
20
20
  provider: "fireworks-ai",
21
21
  family: "kimi",
22
- pricing: { input: 0.000001, output: 0.000003 },
23
- contextWindow: 128000,
24
- maxOutput: 16384,
22
+ pricing: { input: 0.000_001, output: 0.000_003 },
23
+ contextWindow: 128_000,
24
+ maxOutput: 16_384,
25
25
  modalities: { input: ["text"], output: ["text"] },
26
26
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
27
27
  },
@@ -30,9 +30,9 @@ export const FIREWORKS_AI_MODELS = [
30
30
  name: "GLM 4.7",
31
31
  provider: "fireworks-ai",
32
32
  family: "glm",
33
- pricing: { input: 6e-7, output: 0.0000022, cacheRead: 3e-7 },
34
- contextWindow: 198000,
35
- maxOutput: 198000,
33
+ pricing: { input: 6e-7, output: 0.000_002_2, cacheRead: 3e-7 },
34
+ contextWindow: 198_000,
35
+ maxOutput: 198_000,
36
36
  modalities: { input: ["text"], output: ["text"] },
37
37
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
38
38
  },
@@ -41,9 +41,9 @@ export const FIREWORKS_AI_MODELS = [
41
41
  name: "GLM 5",
42
42
  provider: "fireworks-ai",
43
43
  family: "glm",
44
- pricing: { input: 0.000001, output: 0.0000032, cacheRead: 5e-7 },
45
- contextWindow: 202752,
46
- maxOutput: 131072,
44
+ pricing: { input: 0.000_001, output: 0.000_003_2, cacheRead: 5e-7 },
45
+ contextWindow: 202_752,
46
+ maxOutput: 131_072,
47
47
  modalities: { input: ["text"], output: ["text"] },
48
48
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
49
49
  },
@@ -52,9 +52,9 @@ export const FIREWORKS_AI_MODELS = [
52
52
  name: "DeepSeek V3.1",
53
53
  provider: "fireworks-ai",
54
54
  family: "deepseek",
55
- pricing: { input: 5.6e-7, output: 0.00000168 },
56
- contextWindow: 163840,
57
- maxOutput: 163840,
55
+ pricing: { input: 5.6e-7, output: 0.000_001_68 },
56
+ contextWindow: 163_840,
57
+ maxOutput: 163_840,
58
58
  modalities: { input: ["text"], output: ["text"] },
59
59
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
60
60
  },
@@ -63,9 +63,9 @@ export const FIREWORKS_AI_MODELS = [
63
63
  name: "MiniMax-M2.1",
64
64
  provider: "fireworks-ai",
65
65
  family: "minimax",
66
- pricing: { input: 3e-7, output: 0.0000012, cacheRead: 3e-8 },
67
- contextWindow: 200000,
68
- maxOutput: 200000,
66
+ pricing: { input: 3e-7, output: 0.000_001_2, cacheRead: 3e-8 },
67
+ contextWindow: 200_000,
68
+ maxOutput: 200_000,
69
69
  modalities: { input: ["text"], output: ["text"] },
70
70
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
71
71
  },
@@ -75,8 +75,8 @@ export const FIREWORKS_AI_MODELS = [
75
75
  provider: "fireworks-ai",
76
76
  family: "glm-air",
77
77
  pricing: { input: 2.2e-7, output: 8.8e-7 },
78
- contextWindow: 131072,
79
- maxOutput: 131072,
78
+ contextWindow: 131_072,
79
+ maxOutput: 131_072,
80
80
  modalities: { input: ["text"], output: ["text"] },
81
81
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
82
82
  },
@@ -85,9 +85,9 @@ export const FIREWORKS_AI_MODELS = [
85
85
  name: "DeepSeek V3.2",
86
86
  provider: "fireworks-ai",
87
87
  family: "deepseek",
88
- pricing: { input: 5.6e-7, output: 0.00000168, cacheRead: 2.8e-7 },
89
- contextWindow: 160000,
90
- maxOutput: 160000,
88
+ pricing: { input: 5.6e-7, output: 0.000_001_68, cacheRead: 2.8e-7 },
89
+ contextWindow: 160_000,
90
+ maxOutput: 160_000,
91
91
  modalities: { input: ["text"], output: ["text"] },
92
92
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
93
93
  },
@@ -96,9 +96,9 @@ export const FIREWORKS_AI_MODELS = [
96
96
  name: "MiniMax-M2.5",
97
97
  provider: "fireworks-ai",
98
98
  family: "minimax",
99
- pricing: { input: 3e-7, output: 0.0000012, cacheRead: 3e-8 },
100
- contextWindow: 196608,
101
- maxOutput: 196608,
99
+ pricing: { input: 3e-7, output: 0.000_001_2, cacheRead: 3e-8 },
100
+ contextWindow: 196_608,
101
+ maxOutput: 196_608,
102
102
  modalities: { input: ["text"], output: ["text"] },
103
103
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
104
104
  },
@@ -108,8 +108,8 @@ export const FIREWORKS_AI_MODELS = [
108
108
  provider: "fireworks-ai",
109
109
  family: "gpt-oss",
110
110
  pricing: { input: 1.5e-7, output: 6e-7 },
111
- contextWindow: 131072,
112
- maxOutput: 32768,
111
+ contextWindow: 131_072,
112
+ maxOutput: 32_768,
113
113
  modalities: { input: ["text"], output: ["text"] },
114
114
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
115
115
  },
@@ -118,9 +118,9 @@ export const FIREWORKS_AI_MODELS = [
118
118
  name: "Kimi K2.5",
119
119
  provider: "fireworks-ai",
120
120
  family: "kimi-thinking",
121
- pricing: { input: 6e-7, output: 0.000003, cacheRead: 1e-7 },
122
- contextWindow: 256000,
123
- maxOutput: 256000,
121
+ pricing: { input: 6e-7, output: 0.000_003, cacheRead: 1e-7 },
122
+ contextWindow: 256_000,
123
+ maxOutput: 256_000,
124
124
  modalities: { input: ["text", "image", "video"], output: ["text"] },
125
125
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
126
126
  },
@@ -129,9 +129,9 @@ export const FIREWORKS_AI_MODELS = [
129
129
  name: "Kimi K2 Thinking",
130
130
  provider: "fireworks-ai",
131
131
  family: "kimi-thinking",
132
- pricing: { input: 6e-7, output: 0.0000025, cacheRead: 3e-7 },
133
- contextWindow: 256000,
134
- maxOutput: 256000,
132
+ pricing: { input: 6e-7, output: 0.000_002_5, cacheRead: 3e-7 },
133
+ contextWindow: 256_000,
134
+ maxOutput: 256_000,
135
135
  modalities: { input: ["text"], output: ["text"] },
136
136
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
137
137
  },
@@ -140,9 +140,9 @@ export const FIREWORKS_AI_MODELS = [
140
140
  name: "GLM 4.5",
141
141
  provider: "fireworks-ai",
142
142
  family: "glm",
143
- pricing: { input: 5.5e-7, output: 0.00000219 },
144
- contextWindow: 131072,
145
- maxOutput: 131072,
143
+ pricing: { input: 5.5e-7, output: 0.000_002_19 },
144
+ contextWindow: 131_072,
145
+ maxOutput: 131_072,
146
146
  modalities: { input: ["text"], output: ["text"] },
147
147
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
148
148
  },
@@ -152,8 +152,8 @@ export const FIREWORKS_AI_MODELS = [
152
152
  provider: "fireworks-ai",
153
153
  family: "gpt-oss",
154
154
  pricing: { input: 5e-8, output: 2e-7 },
155
- contextWindow: 131072,
156
- maxOutput: 32768,
155
+ contextWindow: 131_072,
156
+ maxOutput: 32_768,
157
157
  modalities: { input: ["text"], output: ["text"] },
158
158
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
159
159
  },