@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.
Files changed (213) hide show
  1. package/.generated/entries.json +23 -0
  2. package/.generated/req.txt +1 -0
  3. package/.turbo/turbo-build.log +145 -0
  4. package/.turbo/turbo-typecheck.log +4 -0
  5. package/CHANGELOG.md +23 -0
  6. package/README.md +95 -0
  7. package/dist/alibaba-B6q4Ng1R.mjs +957 -0
  8. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
  9. package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
  10. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
  11. package/dist/anthropic-yB7ST97_.mjs +651 -0
  12. package/dist/anthropic-yB7ST97_.mjs.map +1 -0
  13. package/dist/cerebras-COfl7XM-.mjs +95 -0
  14. package/dist/cerebras-COfl7XM-.mjs.map +1 -0
  15. package/dist/cohere-B7TgO0hT.mjs +271 -0
  16. package/dist/cohere-B7TgO0hT.mjs.map +1 -0
  17. package/dist/deepinfra-B0GxUwCG.mjs +636 -0
  18. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
  19. package/dist/deepseek-D64ZEsvS.mjs +50 -0
  20. package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
  21. package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
  22. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
  23. package/dist/google-BypRl349.mjs +833 -0
  24. package/dist/google-BypRl349.mjs.map +1 -0
  25. package/dist/google-vertex-DbS-zTGD.mjs +730 -0
  26. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
  27. package/dist/groq-ei_PerYi.mjs +381 -0
  28. package/dist/groq-ei_PerYi.mjs.map +1 -0
  29. package/dist/huggingface-DaM1EeLP.mjs +456 -0
  30. package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
  31. package/dist/inception-CspEzqNV.mjs +101 -0
  32. package/dist/inception-CspEzqNV.mjs.map +1 -0
  33. package/dist/index.d.mts +30314 -0
  34. package/dist/index.d.mts.map +1 -0
  35. package/dist/index.mjs +271 -0
  36. package/dist/index.mjs.map +1 -0
  37. package/dist/llama-Cf3-koap.mjs +161 -0
  38. package/dist/llama-Cf3-koap.mjs.map +1 -0
  39. package/dist/mistral-BI9MdAO4.mjs +579 -0
  40. package/dist/mistral-BI9MdAO4.mjs.map +1 -0
  41. package/dist/nvidia-COHacuoa.mjs +1625 -0
  42. package/dist/nvidia-COHacuoa.mjs.map +1 -0
  43. package/dist/openai-C0nCfZUq.mjs +1023 -0
  44. package/dist/openai-C0nCfZUq.mjs.map +1 -0
  45. package/dist/openrouter-DSFzxKQb.mjs +4608 -0
  46. package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
  47. package/dist/perplexity-zeZ2WlBU.mjs +96 -0
  48. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
  49. package/dist/providers/alibaba.d.mts +1795 -0
  50. package/dist/providers/alibaba.d.mts.map +1 -0
  51. package/dist/providers/alibaba.mjs +39 -0
  52. package/dist/providers/alibaba.mjs.map +1 -0
  53. package/dist/providers/amazon-bedrock.d.mts +3713 -0
  54. package/dist/providers/amazon-bedrock.d.mts.map +1 -0
  55. package/dist/providers/amazon-bedrock.mjs +39 -0
  56. package/dist/providers/amazon-bedrock.mjs.map +1 -0
  57. package/dist/providers/anthropic.d.mts +1109 -0
  58. package/dist/providers/anthropic.d.mts.map +1 -0
  59. package/dist/providers/anthropic.mjs +39 -0
  60. package/dist/providers/anthropic.mjs.map +1 -0
  61. package/dist/providers/cerebras.d.mts +219 -0
  62. package/dist/providers/cerebras.d.mts.map +1 -0
  63. package/dist/providers/cerebras.mjs +39 -0
  64. package/dist/providers/cerebras.mjs.map +1 -0
  65. package/dist/providers/cohere.d.mts +555 -0
  66. package/dist/providers/cohere.d.mts.map +1 -0
  67. package/dist/providers/cohere.mjs +39 -0
  68. package/dist/providers/cohere.mjs.map +1 -0
  69. package/dist/providers/deepinfra.d.mts +1245 -0
  70. package/dist/providers/deepinfra.d.mts.map +1 -0
  71. package/dist/providers/deepinfra.mjs +39 -0
  72. package/dist/providers/deepinfra.mjs.map +1 -0
  73. package/dist/providers/deepseek.d.mts +139 -0
  74. package/dist/providers/deepseek.d.mts.map +1 -0
  75. package/dist/providers/deepseek.mjs +39 -0
  76. package/dist/providers/deepseek.mjs.map +1 -0
  77. package/dist/providers/fireworks-ai.d.mts +611 -0
  78. package/dist/providers/fireworks-ai.d.mts.map +1 -0
  79. package/dist/providers/fireworks-ai.mjs +39 -0
  80. package/dist/providers/fireworks-ai.mjs.map +1 -0
  81. package/dist/providers/google-vertex.d.mts +1227 -0
  82. package/dist/providers/google-vertex.d.mts.map +1 -0
  83. package/dist/providers/google-vertex.mjs +39 -0
  84. package/dist/providers/google-vertex.mjs.map +1 -0
  85. package/dist/providers/google.d.mts +1359 -0
  86. package/dist/providers/google.d.mts.map +1 -0
  87. package/dist/providers/google.mjs +39 -0
  88. package/dist/providers/google.mjs.map +1 -0
  89. package/dist/providers/groq.d.mts +765 -0
  90. package/dist/providers/groq.d.mts.map +1 -0
  91. package/dist/providers/groq.mjs +39 -0
  92. package/dist/providers/groq.mjs.map +1 -0
  93. package/dist/providers/huggingface.d.mts +901 -0
  94. package/dist/providers/huggingface.d.mts.map +1 -0
  95. package/dist/providers/huggingface.mjs +39 -0
  96. package/dist/providers/huggingface.mjs.map +1 -0
  97. package/dist/providers/inception.d.mts +231 -0
  98. package/dist/providers/inception.d.mts.map +1 -0
  99. package/dist/providers/inception.mjs +39 -0
  100. package/dist/providers/inception.mjs.map +1 -0
  101. package/dist/providers/llama.d.mts +345 -0
  102. package/dist/providers/llama.d.mts.map +1 -0
  103. package/dist/providers/llama.mjs +39 -0
  104. package/dist/providers/llama.mjs.map +1 -0
  105. package/dist/providers/mistral.d.mts +1143 -0
  106. package/dist/providers/mistral.d.mts.map +1 -0
  107. package/dist/providers/mistral.mjs +39 -0
  108. package/dist/providers/mistral.mjs.map +1 -0
  109. package/dist/providers/nvidia.d.mts +3117 -0
  110. package/dist/providers/nvidia.d.mts.map +1 -0
  111. package/dist/providers/nvidia.mjs +39 -0
  112. package/dist/providers/nvidia.mjs.map +1 -0
  113. package/dist/providers/openai.d.mts +1963 -0
  114. package/dist/providers/openai.d.mts.map +1 -0
  115. package/dist/providers/openai.mjs +39 -0
  116. package/dist/providers/openai.mjs.map +1 -0
  117. package/dist/providers/openrouter.d.mts +8531 -0
  118. package/dist/providers/openrouter.d.mts.map +1 -0
  119. package/dist/providers/openrouter.mjs +39 -0
  120. package/dist/providers/openrouter.mjs.map +1 -0
  121. package/dist/providers/perplexity.d.mts +221 -0
  122. package/dist/providers/perplexity.d.mts.map +1 -0
  123. package/dist/providers/perplexity.mjs +39 -0
  124. package/dist/providers/perplexity.mjs.map +1 -0
  125. package/dist/providers/togetherai.d.mts +767 -0
  126. package/dist/providers/togetherai.d.mts.map +1 -0
  127. package/dist/providers/togetherai.mjs +39 -0
  128. package/dist/providers/togetherai.mjs.map +1 -0
  129. package/dist/providers/xai.d.mts +1161 -0
  130. package/dist/providers/xai.d.mts.map +1 -0
  131. package/dist/providers/xai.mjs +39 -0
  132. package/dist/providers/xai.mjs.map +1 -0
  133. package/dist/togetherai-BvcxUfPE.mjs +382 -0
  134. package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
  135. package/dist/types-DjdaZckF.d.mts +71 -0
  136. package/dist/types-DjdaZckF.d.mts.map +1 -0
  137. package/dist/xai-fSuAkQJo.mjs +587 -0
  138. package/dist/xai-fSuAkQJo.mjs.map +1 -0
  139. package/docs/catalog/filtering.md +102 -0
  140. package/docs/catalog/overview.md +168 -0
  141. package/docs/catalog/providers.md +73 -0
  142. package/docs/cost/overview.md +125 -0
  143. package/docs/guides/filter-models.md +113 -0
  144. package/docs/guides/setup-resolver.md +106 -0
  145. package/docs/guides/track-costs.md +133 -0
  146. package/docs/overview.md +139 -0
  147. package/docs/provider/configuration.md +100 -0
  148. package/docs/provider/openrouter.md +105 -0
  149. package/docs/provider/overview.md +131 -0
  150. package/docs/troubleshooting.md +100 -0
  151. package/package.json +142 -0
  152. package/providers.json +39 -0
  153. package/scripts/generate-models.ts +392 -0
  154. package/src/catalog/index.test.ts +124 -0
  155. package/src/catalog/index.ts +65 -0
  156. package/src/catalog/providers/alibaba.ts +468 -0
  157. package/src/catalog/providers/amazon-bedrock.ts +941 -0
  158. package/src/catalog/providers/anthropic.ts +270 -0
  159. package/src/catalog/providers/cerebras.ts +61 -0
  160. package/src/catalog/providers/cohere.ts +149 -0
  161. package/src/catalog/providers/deepinfra.ts +325 -0
  162. package/src/catalog/providers/deepseek.ts +39 -0
  163. package/src/catalog/providers/fireworks-ai.ts +160 -0
  164. package/src/catalog/providers/google-vertex.ts +314 -0
  165. package/src/catalog/providers/google.ts +347 -0
  166. package/src/catalog/providers/groq.ts +204 -0
  167. package/src/catalog/providers/huggingface.ts +237 -0
  168. package/src/catalog/providers/inception.ts +61 -0
  169. package/src/catalog/providers/index.ts +59 -0
  170. package/src/catalog/providers/llama.ts +94 -0
  171. package/src/catalog/providers/mistral.ts +303 -0
  172. package/src/catalog/providers/nvidia.ts +820 -0
  173. package/src/catalog/providers/openai.ts +501 -0
  174. package/src/catalog/providers/openrouter.ts +2201 -0
  175. package/src/catalog/providers/perplexity.ts +61 -0
  176. package/src/catalog/providers/togetherai.ts +204 -0
  177. package/src/catalog/providers/xai.ts +292 -0
  178. package/src/catalog/types.ts +86 -0
  179. package/src/cost/calculate.test.ts +157 -0
  180. package/src/cost/calculate.ts +43 -0
  181. package/src/cost/index.ts +2 -0
  182. package/src/cost/types.ts +25 -0
  183. package/src/index.ts +25 -0
  184. package/src/provider/index.ts +9 -0
  185. package/src/provider/openrouter.test.ts +125 -0
  186. package/src/provider/openrouter.ts +110 -0
  187. package/src/provider/resolver.test.ts +138 -0
  188. package/src/provider/resolver.ts +125 -0
  189. package/src/provider/types.ts +39 -0
  190. package/src/providers/alibaba.ts +65 -0
  191. package/src/providers/amazon-bedrock.ts +67 -0
  192. package/src/providers/anthropic.ts +65 -0
  193. package/src/providers/cerebras.ts +65 -0
  194. package/src/providers/cohere.ts +65 -0
  195. package/src/providers/deepinfra.ts +65 -0
  196. package/src/providers/deepseek.ts +65 -0
  197. package/src/providers/fireworks-ai.ts +65 -0
  198. package/src/providers/google-vertex.ts +67 -0
  199. package/src/providers/google.ts +65 -0
  200. package/src/providers/groq.ts +65 -0
  201. package/src/providers/huggingface.ts +67 -0
  202. package/src/providers/inception.ts +65 -0
  203. package/src/providers/llama.ts +65 -0
  204. package/src/providers/mistral.ts +65 -0
  205. package/src/providers/nvidia.ts +65 -0
  206. package/src/providers/openai.ts +65 -0
  207. package/src/providers/openrouter.ts +67 -0
  208. package/src/providers/perplexity.ts +67 -0
  209. package/src/providers/togetherai.ts +65 -0
  210. package/src/providers/xai.ts +65 -0
  211. package/tsconfig.json +25 -0
  212. package/tsdown.config.ts +23 -0
  213. package/vitest.config.ts +29 -0
@@ -0,0 +1,2201 @@
1
+ // ──────────────────────────────────────────────────────────────
2
+ // ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗
3
+ // ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║
4
+ // █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║
5
+ // ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║
6
+ // ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║
7
+ // ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝
8
+ //
9
+ // AUTO-GENERATED — DO NOT EDIT
10
+ // Source: https://models.dev
11
+ // Update: pnpm --filter=@funkai/models generate:models
12
+ // ──────────────────────────────────────────────────────────────
13
+
14
+ import type { ModelDefinition } from "../types.js";
15
+
16
+ export const OPENROUTER_MODELS = [
17
+ {
18
+ id: "prime-intellect/intellect-3",
19
+ name: "Intellect 3",
20
+ provider: "openrouter",
21
+ family: "glm",
22
+ pricing: { input: 2e-7, output: 0.0000011 },
23
+ contextWindow: 131072,
24
+ maxOutput: 8192,
25
+ modalities: { input: ["text"], output: ["text"] },
26
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
27
+ },
28
+ {
29
+ id: "featherless/qwerky-72b",
30
+ name: "Qwerky 72B",
31
+ provider: "openrouter",
32
+ family: "qwerky",
33
+ pricing: { input: 0, output: 0 },
34
+ contextWindow: 32768,
35
+ maxOutput: 8192,
36
+ modalities: { input: ["text"], output: ["text"] },
37
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
38
+ },
39
+ {
40
+ id: "allenai/molmo-2-8b:free",
41
+ name: "Molmo2 8B (free)",
42
+ provider: "openrouter",
43
+ family: "allenai",
44
+ pricing: { input: 0, output: 0 },
45
+ contextWindow: 36864,
46
+ maxOutput: 36864,
47
+ modalities: { input: ["text", "image", "video"], output: ["text"] },
48
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },
49
+ },
50
+ {
51
+ id: "nvidia/nemotron-nano-9b-v2:free",
52
+ name: "Nemotron Nano 9B V2 (free)",
53
+ provider: "openrouter",
54
+ family: "nemotron",
55
+ pricing: { input: 0, output: 0 },
56
+ contextWindow: 128000,
57
+ maxOutput: 128000,
58
+ modalities: { input: ["text"], output: ["text"] },
59
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
60
+ },
61
+ {
62
+ id: "nvidia/nemotron-nano-12b-v2-vl:free",
63
+ name: "Nemotron Nano 12B 2 VL (free)",
64
+ provider: "openrouter",
65
+ family: "nemotron",
66
+ pricing: { input: 0, output: 0 },
67
+ contextWindow: 128000,
68
+ maxOutput: 128000,
69
+ modalities: { input: ["text", "image"], output: ["text"] },
70
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
71
+ },
72
+ {
73
+ id: "nvidia/nemotron-3-nano-30b-a3b:free",
74
+ name: "Nemotron 3 Nano 30B A3B (free)",
75
+ provider: "openrouter",
76
+ family: "nemotron",
77
+ pricing: { input: 0, output: 0 },
78
+ contextWindow: 256000,
79
+ maxOutput: 256000,
80
+ modalities: { input: ["text"], output: ["text"] },
81
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
82
+ },
83
+ {
84
+ id: "nvidia/nemotron-nano-9b-v2",
85
+ name: "nvidia-nemotron-nano-9b-v2",
86
+ provider: "openrouter",
87
+ family: "nemotron",
88
+ pricing: { input: 4e-8, output: 1.6e-7 },
89
+ contextWindow: 131072,
90
+ maxOutput: 131072,
91
+ modalities: { input: ["text"], output: ["text"] },
92
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
93
+ },
94
+ {
95
+ id: "arcee-ai/trinity-large-preview:free",
96
+ name: "Trinity Large Preview",
97
+ provider: "openrouter",
98
+ family: "trinity",
99
+ pricing: { input: 0, output: 0 },
100
+ contextWindow: 131072,
101
+ maxOutput: 131072,
102
+ modalities: { input: ["text"], output: ["text"] },
103
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
104
+ },
105
+ {
106
+ id: "arcee-ai/trinity-mini:free",
107
+ name: "Trinity Mini",
108
+ provider: "openrouter",
109
+ family: "trinity-mini",
110
+ pricing: { input: 0, output: 0 },
111
+ contextWindow: 131072,
112
+ maxOutput: 131072,
113
+ modalities: { input: ["text"], output: ["text"] },
114
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
115
+ },
116
+ {
117
+ id: "xiaomi/mimo-v2-flash",
118
+ name: "MiMo-V2-Flash",
119
+ provider: "openrouter",
120
+ family: "mimo",
121
+ pricing: { input: 1e-7, output: 3e-7, cacheRead: 1e-8 },
122
+ contextWindow: 262144,
123
+ maxOutput: 65536,
124
+ modalities: { input: ["text"], output: ["text"] },
125
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
126
+ },
127
+ {
128
+ id: "microsoft/mai-ds-r1:free",
129
+ name: "MAI DS R1 (free)",
130
+ provider: "openrouter",
131
+ family: "mai",
132
+ pricing: { input: 0, output: 0 },
133
+ contextWindow: 163840,
134
+ maxOutput: 163840,
135
+ modalities: { input: ["text"], output: ["text"] },
136
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
137
+ },
138
+ {
139
+ id: "sarvamai/sarvam-m:free",
140
+ name: "Sarvam-M (free)",
141
+ provider: "openrouter",
142
+ family: "sarvam",
143
+ pricing: { input: 0, output: 0 },
144
+ contextWindow: 32768,
145
+ maxOutput: 32768,
146
+ modalities: { input: ["text"], output: ["text"] },
147
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
148
+ },
149
+ {
150
+ id: "liquid/lfm-2.5-1.2b-thinking:free",
151
+ name: "LFM2.5-1.2B-Thinking (free)",
152
+ provider: "openrouter",
153
+ family: "liquid",
154
+ pricing: { input: 0, output: 0 },
155
+ contextWindow: 131072,
156
+ maxOutput: 32768,
157
+ modalities: { input: ["text"], output: ["text"] },
158
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },
159
+ },
160
+ {
161
+ id: "liquid/lfm-2.5-1.2b-instruct:free",
162
+ name: "LFM2.5-1.2B-Instruct (free)",
163
+ provider: "openrouter",
164
+ family: "liquid",
165
+ pricing: { input: 0, output: 0 },
166
+ contextWindow: 131072,
167
+ maxOutput: 32768,
168
+ modalities: { input: ["text"], output: ["text"] },
169
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
170
+ },
171
+ {
172
+ id: "inception/mercury-2",
173
+ name: "Mercury 2",
174
+ provider: "openrouter",
175
+ family: "mercury",
176
+ pricing: { input: 2.5e-7, output: 7.5e-7, cacheRead: 2.5e-8 },
177
+ contextWindow: 128000,
178
+ maxOutput: 50000,
179
+ modalities: { input: ["text"], output: ["text"] },
180
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
181
+ },
182
+ {
183
+ id: "inception/mercury",
184
+ name: "Mercury",
185
+ provider: "openrouter",
186
+ family: "mercury",
187
+ pricing: { input: 2.5e-7, output: 7.5e-7, cacheRead: 2.5e-8 },
188
+ contextWindow: 128000,
189
+ maxOutput: 32000,
190
+ modalities: { input: ["text"], output: ["text"] },
191
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
192
+ },
193
+ {
194
+ id: "inception/mercury-coder",
195
+ name: "Mercury Coder",
196
+ provider: "openrouter",
197
+ family: "mercury",
198
+ pricing: { input: 2.5e-7, output: 7.5e-7, cacheRead: 2.5e-8 },
199
+ contextWindow: 128000,
200
+ maxOutput: 32000,
201
+ modalities: { input: ["text"], output: ["text"] },
202
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
203
+ },
204
+ {
205
+ id: "thudm/glm-z1-32b:free",
206
+ name: "GLM Z1 32B (free)",
207
+ provider: "openrouter",
208
+ family: "glm-z",
209
+ pricing: { input: 0, output: 0 },
210
+ contextWindow: 32768,
211
+ maxOutput: 32768,
212
+ modalities: { input: ["text"], output: ["text"] },
213
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
214
+ },
215
+ {
216
+ id: "sourceful/riverflow-v2-fast-preview",
217
+ name: "Riverflow V2 Fast Preview",
218
+ provider: "openrouter",
219
+ family: "sourceful",
220
+ pricing: { input: 0, output: 0 },
221
+ contextWindow: 8192,
222
+ maxOutput: 8192,
223
+ modalities: { input: ["text", "image"], output: ["image"] },
224
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
225
+ },
226
+ {
227
+ id: "sourceful/riverflow-v2-max-preview",
228
+ name: "Riverflow V2 Max Preview",
229
+ provider: "openrouter",
230
+ family: "sourceful",
231
+ pricing: { input: 0, output: 0 },
232
+ contextWindow: 8192,
233
+ maxOutput: 8192,
234
+ modalities: { input: ["text", "image"], output: ["image"] },
235
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
236
+ },
237
+ {
238
+ id: "sourceful/riverflow-v2-standard-preview",
239
+ name: "Riverflow V2 Standard Preview",
240
+ provider: "openrouter",
241
+ family: "sourceful",
242
+ pricing: { input: 0, output: 0 },
243
+ contextWindow: 8192,
244
+ maxOutput: 8192,
245
+ modalities: { input: ["text", "image"], output: ["image"] },
246
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
247
+ },
248
+ {
249
+ id: "rekaai/reka-flash-3",
250
+ name: "Reka Flash 3",
251
+ provider: "openrouter",
252
+ family: "reka",
253
+ pricing: { input: 0, output: 0 },
254
+ contextWindow: 32768,
255
+ maxOutput: 8192,
256
+ modalities: { input: ["text"], output: ["text"] },
257
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
258
+ },
259
+ {
260
+ id: "stepfun/step-3.5-flash:free",
261
+ name: "Step 3.5 Flash (free)",
262
+ provider: "openrouter",
263
+ family: "step",
264
+ pricing: { input: 0, output: 0 },
265
+ contextWindow: 256000,
266
+ maxOutput: 256000,
267
+ modalities: { input: ["text"], output: ["text"] },
268
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
269
+ },
270
+ {
271
+ id: "stepfun/step-3.5-flash",
272
+ name: "Step 3.5 Flash",
273
+ provider: "openrouter",
274
+ family: "step",
275
+ pricing: { input: 1e-7, output: 3e-7, cacheRead: 2e-8 },
276
+ contextWindow: 256000,
277
+ maxOutput: 256000,
278
+ modalities: { input: ["text"], output: ["text"] },
279
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
280
+ },
281
+ {
282
+ id: "cognitivecomputations/dolphin3.0-r1-mistral-24b",
283
+ name: "Dolphin3.0 R1 Mistral 24B",
284
+ provider: "openrouter",
285
+ family: "mistral",
286
+ pricing: { input: 0, output: 0 },
287
+ contextWindow: 32768,
288
+ maxOutput: 8192,
289
+ modalities: { input: ["text"], output: ["text"] },
290
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
291
+ },
292
+ {
293
+ id: "cognitivecomputations/dolphin3.0-mistral-24b",
294
+ name: "Dolphin3.0 Mistral 24B",
295
+ provider: "openrouter",
296
+ family: "mistral",
297
+ pricing: { input: 0, output: 0 },
298
+ contextWindow: 32768,
299
+ maxOutput: 8192,
300
+ modalities: { input: ["text"], output: ["text"] },
301
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
302
+ },
303
+ {
304
+ id: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
305
+ name: "Uncensored (free)",
306
+ provider: "openrouter",
307
+ family: "mistral",
308
+ pricing: { input: 0, output: 0 },
309
+ contextWindow: 32768,
310
+ maxOutput: 32768,
311
+ modalities: { input: ["text"], output: ["text"] },
312
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: true },
313
+ },
314
+ {
315
+ id: "kwaipilot/kat-coder-pro:free",
316
+ name: "Kat Coder Pro (free)",
317
+ provider: "openrouter",
318
+ family: "kat-coder",
319
+ pricing: { input: 0, output: 0 },
320
+ contextWindow: 256000,
321
+ maxOutput: 65536,
322
+ modalities: { input: ["text"], output: ["text"] },
323
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
324
+ },
325
+ {
326
+ id: "deepseek/deepseek-v3.1-terminus:exacto",
327
+ name: "DeepSeek V3.1 Terminus (exacto)",
328
+ provider: "openrouter",
329
+ family: "deepseek",
330
+ pricing: { input: 2.7e-7, output: 0.000001 },
331
+ contextWindow: 131072,
332
+ maxOutput: 65536,
333
+ modalities: { input: ["text"], output: ["text"] },
334
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
335
+ },
336
+ {
337
+ id: "deepseek/deepseek-r1-0528:free",
338
+ name: "R1 0528 (free)",
339
+ provider: "openrouter",
340
+ family: "deepseek",
341
+ pricing: { input: 0, output: 0 },
342
+ contextWindow: 163840,
343
+ maxOutput: 163840,
344
+ modalities: { input: ["text"], output: ["text"] },
345
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: true },
346
+ },
347
+ {
348
+ id: "deepseek/deepseek-r1-distill-qwen-14b",
349
+ name: "DeepSeek R1 Distill Qwen 14B",
350
+ provider: "openrouter",
351
+ family: "qwen",
352
+ pricing: { input: 0, output: 0 },
353
+ contextWindow: 64000,
354
+ maxOutput: 8192,
355
+ modalities: { input: ["text"], output: ["text"] },
356
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },
357
+ },
358
+ {
359
+ id: "deepseek/deepseek-r1:free",
360
+ name: "R1 (free)",
361
+ provider: "openrouter",
362
+ family: "deepseek",
363
+ pricing: { input: 0, output: 0 },
364
+ contextWindow: 163840,
365
+ maxOutput: 163840,
366
+ modalities: { input: ["text"], output: ["text"] },
367
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
368
+ },
369
+ {
370
+ id: "deepseek/deepseek-r1-0528-qwen3-8b:free",
371
+ name: "Deepseek R1 0528 Qwen3 8B (free)",
372
+ provider: "openrouter",
373
+ family: "qwen",
374
+ pricing: { input: 0, output: 0 },
375
+ contextWindow: 131072,
376
+ maxOutput: 131072,
377
+ modalities: { input: ["text"], output: ["text"] },
378
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
379
+ },
380
+ {
381
+ id: "deepseek/deepseek-v3.2-speciale",
382
+ name: "DeepSeek V3.2 Speciale",
383
+ provider: "openrouter",
384
+ family: "deepseek",
385
+ pricing: { input: 2.7e-7, output: 4.1e-7 },
386
+ contextWindow: 163840,
387
+ maxOutput: 65536,
388
+ modalities: { input: ["text"], output: ["text"] },
389
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
390
+ },
391
+ {
392
+ id: "deepseek/deepseek-chat-v3.1",
393
+ name: "DeepSeek-V3.1",
394
+ provider: "openrouter",
395
+ family: "deepseek",
396
+ pricing: { input: 2e-7, output: 8e-7 },
397
+ contextWindow: 163840,
398
+ maxOutput: 163840,
399
+ modalities: { input: ["text"], output: ["text"] },
400
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
401
+ },
402
+ {
403
+ id: "deepseek/deepseek-chat-v3-0324",
404
+ name: "DeepSeek V3 0324",
405
+ provider: "openrouter",
406
+ family: "deepseek",
407
+ pricing: { input: 0, output: 0 },
408
+ contextWindow: 16384,
409
+ maxOutput: 8192,
410
+ modalities: { input: ["text"], output: ["text"] },
411
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: true },
412
+ },
413
+ {
414
+ id: "deepseek/deepseek-r1-distill-llama-70b",
415
+ name: "DeepSeek R1 Distill Llama 70B",
416
+ provider: "openrouter",
417
+ family: "deepseek-thinking",
418
+ pricing: { input: 0, output: 0 },
419
+ contextWindow: 8192,
420
+ maxOutput: 8192,
421
+ modalities: { input: ["text"], output: ["text"] },
422
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: true },
423
+ },
424
+ {
425
+ id: "deepseek/deepseek-v3.1-terminus",
426
+ name: "DeepSeek V3.1 Terminus",
427
+ provider: "openrouter",
428
+ family: "deepseek",
429
+ pricing: { input: 2.7e-7, output: 0.000001 },
430
+ contextWindow: 131072,
431
+ maxOutput: 65536,
432
+ modalities: { input: ["text"], output: ["text"] },
433
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
434
+ },
435
+ {
436
+ id: "deepseek/deepseek-v3.2",
437
+ name: "DeepSeek V3.2",
438
+ provider: "openrouter",
439
+ family: "deepseek",
440
+ pricing: { input: 2.8e-7, output: 4e-7 },
441
+ contextWindow: 163840,
442
+ maxOutput: 65536,
443
+ modalities: { input: ["text"], output: ["text"] },
444
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
445
+ },
446
+ {
447
+ id: "deepseek/deepseek-v3-base:free",
448
+ name: "DeepSeek V3 Base (free)",
449
+ provider: "openrouter",
450
+ family: "deepseek",
451
+ pricing: { input: 0, output: 0 },
452
+ contextWindow: 163840,
453
+ maxOutput: 163840,
454
+ modalities: { input: ["text"], output: ["text"] },
455
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
456
+ },
457
+ {
458
+ id: "openrouter/hunter-alpha",
459
+ name: "Hunter Alpha",
460
+ provider: "openrouter",
461
+ family: "alpha",
462
+ pricing: { input: 0, output: 0 },
463
+ contextWindow: 1048576,
464
+ maxOutput: 64000,
465
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
466
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
467
+ },
468
+ {
469
+ id: "openrouter/sherlock-think-alpha",
470
+ name: "Sherlock Think Alpha",
471
+ provider: "openrouter",
472
+ family: "sherlock",
473
+ pricing: { input: 0, output: 0 },
474
+ contextWindow: 1840000,
475
+ maxOutput: 0,
476
+ modalities: { input: ["text", "image"], output: ["text"] },
477
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
478
+ },
479
+ {
480
+ id: "openrouter/sherlock-dash-alpha",
481
+ name: "Sherlock Dash Alpha",
482
+ provider: "openrouter",
483
+ family: "sherlock",
484
+ pricing: { input: 0, output: 0 },
485
+ contextWindow: 1840000,
486
+ maxOutput: 0,
487
+ modalities: { input: ["text", "image"], output: ["text"] },
488
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
489
+ },
490
+ {
491
+ id: "openrouter/free",
492
+ name: "Free Models Router",
493
+ provider: "openrouter",
494
+ family: "",
495
+ pricing: { input: 0, output: 0 },
496
+ contextWindow: 200000,
497
+ maxOutput: 8000,
498
+ modalities: { input: ["text", "image"], output: ["text"] },
499
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
500
+ },
501
+ {
502
+ id: "openrouter/healer-alpha",
503
+ name: "Healer Alpha",
504
+ provider: "openrouter",
505
+ family: "alpha",
506
+ pricing: { input: 0, output: 0 },
507
+ contextWindow: 262144,
508
+ maxOutput: 64000,
509
+ modalities: { input: ["text", "image", "audio", "pdf"], output: ["text"] },
510
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
511
+ },
512
+ {
513
+ id: "openrouter/aurora-alpha",
514
+ name: "Aurora Alpha",
515
+ provider: "openrouter",
516
+ family: "",
517
+ pricing: { input: 0, output: 0 },
518
+ contextWindow: 128000,
519
+ maxOutput: 50000,
520
+ modalities: { input: ["text"], output: ["text"] },
521
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
522
+ },
523
+ {
524
+ id: "moonshotai/kimi-dev-72b:free",
525
+ name: "Kimi Dev 72b (free)",
526
+ provider: "openrouter",
527
+ family: "kimi",
528
+ pricing: { input: 0, output: 0 },
529
+ contextWindow: 131072,
530
+ maxOutput: 131072,
531
+ modalities: { input: ["text"], output: ["text"] },
532
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
533
+ },
534
+ {
535
+ id: "moonshotai/kimi-k2",
536
+ name: "Kimi K2",
537
+ provider: "openrouter",
538
+ family: "kimi",
539
+ pricing: { input: 5.5e-7, output: 0.0000022 },
540
+ contextWindow: 131072,
541
+ maxOutput: 32768,
542
+ modalities: { input: ["text"], output: ["text"] },
543
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
544
+ },
545
+ {
546
+ id: "moonshotai/kimi-k2-0905",
547
+ name: "Kimi K2 Instruct 0905",
548
+ provider: "openrouter",
549
+ family: "kimi",
550
+ pricing: { input: 6e-7, output: 0.0000025 },
551
+ contextWindow: 262144,
552
+ maxOutput: 16384,
553
+ modalities: { input: ["text"], output: ["text"] },
554
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
555
+ },
556
+ {
557
+ id: "moonshotai/kimi-k2-0905:exacto",
558
+ name: "Kimi K2 Instruct 0905 (exacto)",
559
+ provider: "openrouter",
560
+ family: "kimi",
561
+ pricing: { input: 6e-7, output: 0.0000025 },
562
+ contextWindow: 262144,
563
+ maxOutput: 16384,
564
+ modalities: { input: ["text"], output: ["text"] },
565
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
566
+ },
567
+ {
568
+ id: "moonshotai/kimi-k2.5",
569
+ name: "Kimi K2.5",
570
+ provider: "openrouter",
571
+ family: "kimi",
572
+ pricing: { input: 6e-7, output: 0.000003, cacheRead: 1e-7 },
573
+ contextWindow: 262144,
574
+ maxOutput: 262144,
575
+ modalities: { input: ["text", "image", "video"], output: ["text"] },
576
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
577
+ },
578
+ {
579
+ id: "moonshotai/kimi-k2-thinking",
580
+ name: "Kimi K2 Thinking",
581
+ provider: "openrouter",
582
+ family: "kimi-thinking",
583
+ pricing: { input: 6e-7, output: 0.0000025, cacheRead: 1.5e-7 },
584
+ contextWindow: 262144,
585
+ maxOutput: 262144,
586
+ modalities: { input: ["text"], output: ["text"] },
587
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
588
+ },
589
+ {
590
+ id: "moonshotai/kimi-k2:free",
591
+ name: "Kimi K2 (free)",
592
+ provider: "openrouter",
593
+ family: "kimi",
594
+ pricing: { input: 0, output: 0 },
595
+ contextWindow: 32800,
596
+ maxOutput: 32800,
597
+ modalities: { input: ["text"], output: ["text"] },
598
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
599
+ },
600
+ {
601
+ id: "google/gemini-2.5-flash-lite-preview-09-2025",
602
+ name: "Gemini 2.5 Flash Lite Preview 09-25",
603
+ provider: "openrouter",
604
+ family: "gemini-flash-lite",
605
+ pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },
606
+ contextWindow: 1048576,
607
+ maxOutput: 65536,
608
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
609
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
610
+ },
611
+ {
612
+ id: "google/gemini-3.1-pro-preview-customtools",
613
+ name: "Gemini 3.1 Pro Preview Custom Tools",
614
+ provider: "openrouter",
615
+ family: "gemini-pro",
616
+ pricing: { input: 0.000002, output: 0.000012, reasoning: 0.000012 },
617
+ contextWindow: 1048576,
618
+ maxOutput: 65536,
619
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
620
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
621
+ },
622
+ {
623
+ id: "google/gemini-2.5-pro-preview-06-05",
624
+ name: "Gemini 2.5 Pro Preview 06-05",
625
+ provider: "openrouter",
626
+ family: "gemini-pro",
627
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 3.1e-7 },
628
+ contextWindow: 1048576,
629
+ maxOutput: 65536,
630
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
631
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
632
+ },
633
+ {
634
+ id: "google/gemma-3n-e4b-it:free",
635
+ name: "Gemma 3n 4B (free)",
636
+ provider: "openrouter",
637
+ family: "gemma",
638
+ pricing: { input: 0, output: 0 },
639
+ contextWindow: 8192,
640
+ maxOutput: 2000,
641
+ modalities: { input: ["text"], output: ["text"] },
642
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
643
+ },
644
+ {
645
+ id: "google/gemini-2.5-flash-preview-09-2025",
646
+ name: "Gemini 2.5 Flash Preview 09-25",
647
+ provider: "openrouter",
648
+ family: "gemini-flash",
649
+ pricing: { input: 3e-7, output: 0.0000025, cacheRead: 3.1e-8 },
650
+ contextWindow: 1048576,
651
+ maxOutput: 65536,
652
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
653
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
654
+ },
655
+ {
656
+ id: "google/gemini-2.5-pro-preview-05-06",
657
+ name: "Gemini 2.5 Pro Preview 05-06",
658
+ provider: "openrouter",
659
+ family: "gemini-pro",
660
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 3.1e-7 },
661
+ contextWindow: 1048576,
662
+ maxOutput: 65536,
663
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
664
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
665
+ },
666
+ {
667
+ id: "google/gemma-3n-e2b-it:free",
668
+ name: "Gemma 3n 2B (free)",
669
+ provider: "openrouter",
670
+ family: "gemma",
671
+ pricing: { input: 0, output: 0 },
672
+ contextWindow: 8192,
673
+ maxOutput: 2000,
674
+ modalities: { input: ["text"], output: ["text"] },
675
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
676
+ },
677
+ {
678
+ id: "google/gemini-2.5-flash",
679
+ name: "Gemini 2.5 Flash",
680
+ provider: "openrouter",
681
+ family: "gemini-flash",
682
+ pricing: { input: 3e-7, output: 0.0000025, cacheRead: 3.75e-8 },
683
+ contextWindow: 1048576,
684
+ maxOutput: 65536,
685
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
686
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
687
+ },
688
+ {
689
+ id: "google/gemini-2.0-flash-001",
690
+ name: "Gemini 2.0 Flash",
691
+ provider: "openrouter",
692
+ family: "gemini-flash",
693
+ pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },
694
+ contextWindow: 1048576,
695
+ maxOutput: 8192,
696
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
697
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
698
+ },
699
+ {
700
+ id: "google/gemini-3.1-flash-lite-preview",
701
+ name: "Gemini 3.1 Flash Lite Preview",
702
+ provider: "openrouter",
703
+ family: "gemini-flash-lite",
704
+ pricing: {
705
+ input: 2.5e-7,
706
+ output: 0.0000015,
707
+ cacheRead: 2.5e-8,
708
+ cacheWrite: 8.3e-8,
709
+ reasoning: 0.0000015,
710
+ },
711
+ contextWindow: 1048576,
712
+ maxOutput: 65536,
713
+ modalities: { input: ["text", "image", "video", "pdf", "audio"], output: ["text"] },
714
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
715
+ },
716
+ {
717
+ id: "google/gemini-3-flash-preview",
718
+ name: "Gemini 3 Flash Preview",
719
+ provider: "openrouter",
720
+ family: "gemini-flash",
721
+ pricing: { input: 5e-7, output: 0.000003, cacheRead: 5e-8 },
722
+ contextWindow: 1048576,
723
+ maxOutput: 65536,
724
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
725
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
726
+ },
727
+ {
728
+ id: "google/gemma-3-12b-it:free",
729
+ name: "Gemma 3 12B (free)",
730
+ provider: "openrouter",
731
+ family: "gemma",
732
+ pricing: { input: 0, output: 0 },
733
+ contextWindow: 32768,
734
+ maxOutput: 8192,
735
+ modalities: { input: ["text", "image"], output: ["text"] },
736
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
737
+ },
738
+ {
739
+ id: "google/gemini-2.5-flash-lite",
740
+ name: "Gemini 2.5 Flash Lite",
741
+ provider: "openrouter",
742
+ family: "gemini-flash-lite",
743
+ pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },
744
+ contextWindow: 1048576,
745
+ maxOutput: 65536,
746
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
747
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
748
+ },
749
+ {
750
+ id: "google/gemini-3.1-pro-preview",
751
+ name: "Gemini 3.1 Pro Preview",
752
+ provider: "openrouter",
753
+ family: "gemini-pro",
754
+ pricing: { input: 0.000002, output: 0.000012, reasoning: 0.000012 },
755
+ contextWindow: 1048576,
756
+ maxOutput: 65536,
757
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
758
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
759
+ },
760
+ {
761
+ id: "google/gemini-2.0-flash-exp:free",
762
+ name: "Gemini 2.0 Flash Experimental (free)",
763
+ provider: "openrouter",
764
+ family: "gemini-flash",
765
+ pricing: { input: 0, output: 0 },
766
+ contextWindow: 1048576,
767
+ maxOutput: 1048576,
768
+ modalities: { input: ["text", "image"], output: ["text"] },
769
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
770
+ },
771
+ {
772
+ id: "google/gemma-2-9b-it",
773
+ name: "Gemma 2 9B",
774
+ provider: "openrouter",
775
+ family: "gemma",
776
+ pricing: { input: 3e-8, output: 9e-8 },
777
+ contextWindow: 8192,
778
+ maxOutput: 8192,
779
+ modalities: { input: ["text"], output: ["text"] },
780
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
781
+ },
782
+ {
783
+ id: "google/gemma-3-4b-it:free",
784
+ name: "Gemma 3 4B (free)",
785
+ provider: "openrouter",
786
+ family: "gemma",
787
+ pricing: { input: 0, output: 0 },
788
+ contextWindow: 32768,
789
+ maxOutput: 8192,
790
+ modalities: { input: ["text", "image"], output: ["text"] },
791
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
792
+ },
793
+ {
794
+ id: "google/gemma-3n-e4b-it",
795
+ name: "Gemma 3n 4B",
796
+ provider: "openrouter",
797
+ family: "gemma",
798
+ pricing: { input: 2e-8, output: 4e-8 },
799
+ contextWindow: 32768,
800
+ maxOutput: 32768,
801
+ modalities: { input: ["text"], output: ["text"] },
802
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
803
+ },
804
+ {
805
+ id: "google/gemini-3-pro-preview",
806
+ name: "Gemini 3 Pro Preview",
807
+ provider: "openrouter",
808
+ family: "gemini-pro",
809
+ pricing: { input: 0.000002, output: 0.000012 },
810
+ contextWindow: 1050000,
811
+ maxOutput: 66000,
812
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
813
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
814
+ },
815
+ {
816
+ id: "google/gemma-3-12b-it",
817
+ name: "Gemma 3 12B",
818
+ provider: "openrouter",
819
+ family: "gemma",
820
+ pricing: { input: 3e-8, output: 1e-7 },
821
+ contextWindow: 131072,
822
+ maxOutput: 131072,
823
+ modalities: { input: ["text", "image"], output: ["text"] },
824
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: true },
825
+ },
826
+ {
827
+ id: "google/gemma-3-4b-it",
828
+ name: "Gemma 3 4B",
829
+ provider: "openrouter",
830
+ family: "gemma",
831
+ pricing: { input: 1.703e-8, output: 6.815e-8 },
832
+ contextWindow: 96000,
833
+ maxOutput: 96000,
834
+ modalities: { input: ["text", "image"], output: ["text"] },
835
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
836
+ },
837
+ {
838
+ id: "google/gemma-3-27b-it",
839
+ name: "Gemma 3 27B",
840
+ provider: "openrouter",
841
+ family: "gemma",
842
+ pricing: { input: 4e-8, output: 1.5e-7 },
843
+ contextWindow: 96000,
844
+ maxOutput: 96000,
845
+ modalities: { input: ["text", "image"], output: ["text"] },
846
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
847
+ },
848
+ {
849
+ id: "google/gemini-2.5-pro",
850
+ name: "Gemini 2.5 Pro",
851
+ provider: "openrouter",
852
+ family: "gemini-pro",
853
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 3.1e-7 },
854
+ contextWindow: 1048576,
855
+ maxOutput: 65536,
856
+ modalities: { input: ["text", "image", "audio", "video", "pdf"], output: ["text"] },
857
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
858
+ },
859
+ {
860
+ id: "google/gemma-3-27b-it:free",
861
+ name: "Gemma 3 27B (free)",
862
+ provider: "openrouter",
863
+ family: "gemma",
864
+ pricing: { input: 0, output: 0 },
865
+ contextWindow: 131072,
866
+ maxOutput: 8192,
867
+ modalities: { input: ["text", "image"], output: ["text"] },
868
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
869
+ },
870
+ {
871
+ id: "z-ai/glm-5",
872
+ name: "GLM-5",
873
+ provider: "openrouter",
874
+ family: "glm",
875
+ pricing: { input: 0.000001, output: 0.0000032, cacheRead: 2e-7 },
876
+ contextWindow: 202752,
877
+ maxOutput: 131000,
878
+ modalities: { input: ["text"], output: ["text"] },
879
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
880
+ },
881
+ {
882
+ id: "z-ai/glm-4.5-air",
883
+ name: "GLM 4.5 Air",
884
+ provider: "openrouter",
885
+ family: "glm-air",
886
+ pricing: { input: 2e-7, output: 0.0000011 },
887
+ contextWindow: 128000,
888
+ maxOutput: 96000,
889
+ modalities: { input: ["text"], output: ["text"] },
890
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
891
+ },
892
+ {
893
+ id: "z-ai/glm-4.5",
894
+ name: "GLM 4.5",
895
+ provider: "openrouter",
896
+ family: "glm",
897
+ pricing: { input: 6e-7, output: 0.0000022 },
898
+ contextWindow: 128000,
899
+ maxOutput: 96000,
900
+ modalities: { input: ["text"], output: ["text"] },
901
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
902
+ },
903
+ {
904
+ id: "z-ai/glm-4.6:exacto",
905
+ name: "GLM 4.6 (exacto)",
906
+ provider: "openrouter",
907
+ family: "glm",
908
+ pricing: { input: 6e-7, output: 0.0000019, cacheRead: 1.1e-7 },
909
+ contextWindow: 200000,
910
+ maxOutput: 128000,
911
+ modalities: { input: ["text"], output: ["text"] },
912
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
913
+ },
914
+ {
915
+ id: "z-ai/glm-4.7-flash",
916
+ name: "GLM-4.7-Flash",
917
+ provider: "openrouter",
918
+ family: "glm",
919
+ pricing: { input: 7e-8, output: 4e-7 },
920
+ contextWindow: 200000,
921
+ maxOutput: 65535,
922
+ modalities: { input: ["text"], output: ["text"] },
923
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
924
+ },
925
+ {
926
+ id: "z-ai/glm-4.5-air:free",
927
+ name: "GLM 4.5 Air (free)",
928
+ provider: "openrouter",
929
+ family: "glm-air",
930
+ pricing: { input: 0, output: 0 },
931
+ contextWindow: 128000,
932
+ maxOutput: 96000,
933
+ modalities: { input: ["text"], output: ["text"] },
934
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },
935
+ },
936
+ {
937
+ id: "z-ai/glm-4.6",
938
+ name: "GLM 4.6",
939
+ provider: "openrouter",
940
+ family: "glm",
941
+ pricing: { input: 6e-7, output: 0.0000022, cacheRead: 1.1e-7 },
942
+ contextWindow: 200000,
943
+ maxOutput: 128000,
944
+ modalities: { input: ["text"], output: ["text"] },
945
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
946
+ },
947
+ {
948
+ id: "z-ai/glm-4.7",
949
+ name: "GLM-4.7",
950
+ provider: "openrouter",
951
+ family: "glm",
952
+ pricing: { input: 6e-7, output: 0.0000022, cacheRead: 1.1e-7 },
953
+ contextWindow: 204800,
954
+ maxOutput: 131072,
955
+ modalities: { input: ["text"], output: ["text"] },
956
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
957
+ },
958
+ {
959
+ id: "z-ai/glm-4.5v",
960
+ name: "GLM 4.5V",
961
+ provider: "openrouter",
962
+ family: "glm",
963
+ pricing: { input: 6e-7, output: 0.0000018 },
964
+ contextWindow: 64000,
965
+ maxOutput: 16384,
966
+ modalities: { input: ["text", "image", "video"], output: ["text"] },
967
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
968
+ },
969
+ {
970
+ id: "qwen/qwen3-next-80b-a3b-thinking",
971
+ name: "Qwen3 Next 80B A3B Thinking",
972
+ provider: "openrouter",
973
+ family: "qwen",
974
+ pricing: { input: 1.4e-7, output: 0.0000014 },
975
+ contextWindow: 262144,
976
+ maxOutput: 262144,
977
+ modalities: { input: ["text"], output: ["text"] },
978
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
979
+ },
980
+ {
981
+ id: "qwen/qwen-2.5-vl-7b-instruct:free",
982
+ name: "Qwen2.5-VL 7B Instruct (free)",
983
+ provider: "openrouter",
984
+ family: "qwen",
985
+ pricing: { input: 0, output: 0 },
986
+ contextWindow: 32768,
987
+ maxOutput: 32768,
988
+ modalities: { input: ["text", "image"], output: ["text"] },
989
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
990
+ },
991
+ {
992
+ id: "qwen/qwen3-32b:free",
993
+ name: "Qwen3 32B (free)",
994
+ provider: "openrouter",
995
+ family: "qwen",
996
+ pricing: { input: 0, output: 0 },
997
+ contextWindow: 40960,
998
+ maxOutput: 40960,
999
+ modalities: { input: ["text"], output: ["text"] },
1000
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1001
+ },
1002
+ {
1003
+ id: "qwen/qwen3-coder:free",
1004
+ name: "Qwen3 Coder 480B A35B Instruct (free)",
1005
+ provider: "openrouter",
1006
+ family: "qwen",
1007
+ pricing: { input: 0, output: 0 },
1008
+ contextWindow: 262144,
1009
+ maxOutput: 66536,
1010
+ modalities: { input: ["text"], output: ["text"] },
1011
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1012
+ },
1013
+ {
1014
+ id: "qwen/qwen3-coder-flash",
1015
+ name: "Qwen3 Coder Flash",
1016
+ provider: "openrouter",
1017
+ family: "qwen",
1018
+ pricing: { input: 3e-7, output: 0.0000015 },
1019
+ contextWindow: 128000,
1020
+ maxOutput: 66536,
1021
+ modalities: { input: ["text"], output: ["text"] },
1022
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1023
+ },
1024
+ {
1025
+ id: "qwen/qwen3-30b-a3b:free",
1026
+ name: "Qwen3 30B A3B (free)",
1027
+ provider: "openrouter",
1028
+ family: "qwen",
1029
+ pricing: { input: 0, output: 0 },
1030
+ contextWindow: 40960,
1031
+ maxOutput: 40960,
1032
+ modalities: { input: ["text"], output: ["text"] },
1033
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1034
+ },
1035
+ {
1036
+ id: "qwen/qwen3-235b-a22b-07-25:free",
1037
+ name: "Qwen3 235B A22B Instruct 2507 (free)",
1038
+ provider: "openrouter",
1039
+ family: "qwen",
1040
+ pricing: { input: 0, output: 0 },
1041
+ contextWindow: 262144,
1042
+ maxOutput: 131072,
1043
+ modalities: { input: ["text"], output: ["text"] },
1044
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1045
+ },
1046
+ {
1047
+ id: "qwen/qwen3-14b:free",
1048
+ name: "Qwen3 14B (free)",
1049
+ provider: "openrouter",
1050
+ family: "qwen",
1051
+ pricing: { input: 0, output: 0 },
1052
+ contextWindow: 40960,
1053
+ maxOutput: 40960,
1054
+ modalities: { input: ["text"], output: ["text"] },
1055
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1056
+ },
1057
+ {
1058
+ id: "qwen/qwen3-coder",
1059
+ name: "Qwen3 Coder",
1060
+ provider: "openrouter",
1061
+ family: "qwen",
1062
+ pricing: { input: 3e-7, output: 0.0000012 },
1063
+ contextWindow: 262144,
1064
+ maxOutput: 66536,
1065
+ modalities: { input: ["text"], output: ["text"] },
1066
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1067
+ },
1068
+ {
1069
+ id: "qwen/qwq-32b:free",
1070
+ name: "QwQ 32B (free)",
1071
+ provider: "openrouter",
1072
+ family: "qwen",
1073
+ pricing: { input: 0, output: 0 },
1074
+ contextWindow: 32768,
1075
+ maxOutput: 32768,
1076
+ modalities: { input: ["text"], output: ["text"] },
1077
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1078
+ },
1079
+ {
1080
+ id: "qwen/qwen3.5-397b-a17b",
1081
+ name: "Qwen3.5 397B A17B",
1082
+ provider: "openrouter",
1083
+ family: "qwen",
1084
+ pricing: { input: 6e-7, output: 0.0000036 },
1085
+ contextWindow: 262144,
1086
+ maxOutput: 65536,
1087
+ modalities: { input: ["text", "image", "video"], output: ["text"] },
1088
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1089
+ },
1090
+ {
1091
+ id: "qwen/qwen3-coder:exacto",
1092
+ name: "Qwen3 Coder (exacto)",
1093
+ provider: "openrouter",
1094
+ family: "qwen",
1095
+ pricing: { input: 3.8e-7, output: 0.00000153 },
1096
+ contextWindow: 131072,
1097
+ maxOutput: 32768,
1098
+ modalities: { input: ["text"], output: ["text"] },
1099
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1100
+ },
1101
+ {
1102
+ id: "qwen/qwen-2.5-coder-32b-instruct",
1103
+ name: "Qwen2.5 Coder 32B Instruct",
1104
+ provider: "openrouter",
1105
+ family: "qwen",
1106
+ pricing: { input: 0, output: 0 },
1107
+ contextWindow: 32768,
1108
+ maxOutput: 8192,
1109
+ modalities: { input: ["text"], output: ["text"] },
1110
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: true },
1111
+ },
1112
+ {
1113
+ id: "qwen/qwen3.5-plus-02-15",
1114
+ name: "Qwen3.5 Plus 2026-02-15",
1115
+ provider: "openrouter",
1116
+ family: "qwen",
1117
+ pricing: { input: 4e-7, output: 0.0000024 },
1118
+ contextWindow: 1000000,
1119
+ maxOutput: 65536,
1120
+ modalities: { input: ["text", "image", "video"], output: ["text"] },
1121
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1122
+ },
1123
+ {
1124
+ id: "qwen/qwen3-30b-a3b-instruct-2507",
1125
+ name: "Qwen3 30B A3B Instruct 2507",
1126
+ provider: "openrouter",
1127
+ family: "qwen",
1128
+ pricing: { input: 2e-7, output: 8e-7 },
1129
+ contextWindow: 262000,
1130
+ maxOutput: 262000,
1131
+ modalities: { input: ["text"], output: ["text"] },
1132
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1133
+ },
1134
+ {
1135
+ id: "qwen/qwen2.5-vl-72b-instruct",
1136
+ name: "Qwen2.5 VL 72B Instruct",
1137
+ provider: "openrouter",
1138
+ family: "qwen",
1139
+ pricing: { input: 0, output: 0 },
1140
+ contextWindow: 32768,
1141
+ maxOutput: 8192,
1142
+ modalities: { input: ["text", "image"], output: ["text"] },
1143
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: true },
1144
+ },
1145
+ {
1146
+ id: "qwen/qwen3-coder-30b-a3b-instruct",
1147
+ name: "Qwen3 Coder 30B A3B Instruct",
1148
+ provider: "openrouter",
1149
+ family: "qwen",
1150
+ pricing: { input: 7e-8, output: 2.7e-7 },
1151
+ contextWindow: 160000,
1152
+ maxOutput: 65536,
1153
+ modalities: { input: ["text"], output: ["text"] },
1154
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1155
+ },
1156
+ {
1157
+ id: "qwen/qwen3-235b-a22b-07-25",
1158
+ name: "Qwen3 235B A22B Instruct 2507",
1159
+ provider: "openrouter",
1160
+ family: "qwen",
1161
+ pricing: { input: 1.5e-7, output: 8.5e-7 },
1162
+ contextWindow: 262144,
1163
+ maxOutput: 131072,
1164
+ modalities: { input: ["text"], output: ["text"] },
1165
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1166
+ },
1167
+ {
1168
+ id: "qwen/qwen3-235b-a22b:free",
1169
+ name: "Qwen3 235B A22B (free)",
1170
+ provider: "openrouter",
1171
+ family: "qwen",
1172
+ pricing: { input: 0, output: 0 },
1173
+ contextWindow: 131072,
1174
+ maxOutput: 131072,
1175
+ modalities: { input: ["text"], output: ["text"] },
1176
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1177
+ },
1178
+ {
1179
+ id: "qwen/qwen3-next-80b-a3b-instruct:free",
1180
+ name: "Qwen3 Next 80B A3B Instruct (free)",
1181
+ provider: "openrouter",
1182
+ family: "qwen",
1183
+ pricing: { input: 0, output: 0 },
1184
+ contextWindow: 262144,
1185
+ maxOutput: 262144,
1186
+ modalities: { input: ["text"], output: ["text"] },
1187
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1188
+ },
1189
+ {
1190
+ id: "qwen/qwen3-4b:free",
1191
+ name: "Qwen3 4B (free)",
1192
+ provider: "openrouter",
1193
+ family: "qwen",
1194
+ pricing: { input: 0, output: 0 },
1195
+ contextWindow: 40960,
1196
+ maxOutput: 40960,
1197
+ modalities: { input: ["text"], output: ["text"] },
1198
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1199
+ },
1200
+ {
1201
+ id: "qwen/qwen3-8b:free",
1202
+ name: "Qwen3 8B (free)",
1203
+ provider: "openrouter",
1204
+ family: "qwen",
1205
+ pricing: { input: 0, output: 0 },
1206
+ contextWindow: 40960,
1207
+ maxOutput: 40960,
1208
+ modalities: { input: ["text"], output: ["text"] },
1209
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1210
+ },
1211
+ {
1212
+ id: "qwen/qwen3-30b-a3b-thinking-2507",
1213
+ name: "Qwen3 30B A3B Thinking 2507",
1214
+ provider: "openrouter",
1215
+ family: "qwen",
1216
+ pricing: { input: 2e-7, output: 8e-7 },
1217
+ contextWindow: 262000,
1218
+ maxOutput: 262000,
1219
+ modalities: { input: ["text"], output: ["text"] },
1220
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1221
+ },
1222
+ {
1223
+ id: "qwen/qwen2.5-vl-32b-instruct:free",
1224
+ name: "Qwen2.5 VL 32B Instruct (free)",
1225
+ provider: "openrouter",
1226
+ family: "qwen",
1227
+ pricing: { input: 0, output: 0 },
1228
+ contextWindow: 8192,
1229
+ maxOutput: 8192,
1230
+ modalities: { input: ["text", "image", "video"], output: ["text"] },
1231
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1232
+ },
1233
+ {
1234
+ id: "qwen/qwen3-235b-a22b-thinking-2507",
1235
+ name: "Qwen3 235B A22B Thinking 2507",
1236
+ provider: "openrouter",
1237
+ family: "qwen",
1238
+ pricing: { input: 7.8e-8, output: 3.12e-7 },
1239
+ contextWindow: 262144,
1240
+ maxOutput: 81920,
1241
+ modalities: { input: ["text"], output: ["text"] },
1242
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1243
+ },
1244
+ {
1245
+ id: "qwen/qwen3-next-80b-a3b-instruct",
1246
+ name: "Qwen3 Next 80B A3B Instruct",
1247
+ provider: "openrouter",
1248
+ family: "qwen",
1249
+ pricing: { input: 1.4e-7, output: 0.0000014 },
1250
+ contextWindow: 262144,
1251
+ maxOutput: 262144,
1252
+ modalities: { input: ["text"], output: ["text"] },
1253
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1254
+ },
1255
+ {
1256
+ id: "qwen/qwen2.5-vl-72b-instruct:free",
1257
+ name: "Qwen2.5 VL 72B Instruct (free)",
1258
+ provider: "openrouter",
1259
+ family: "qwen",
1260
+ pricing: { input: 0, output: 0 },
1261
+ contextWindow: 32768,
1262
+ maxOutput: 32768,
1263
+ modalities: { input: ["text", "image"], output: ["text"] },
1264
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
1265
+ },
1266
+ {
1267
+ id: "qwen/qwen3-max",
1268
+ name: "Qwen3 Max",
1269
+ provider: "openrouter",
1270
+ family: "qwen",
1271
+ pricing: { input: 0.0000012, output: 0.000006 },
1272
+ contextWindow: 262144,
1273
+ maxOutput: 32768,
1274
+ modalities: { input: ["text"], output: ["text"] },
1275
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
1276
+ },
1277
+ {
1278
+ id: "x-ai/grok-3",
1279
+ name: "Grok 3",
1280
+ provider: "openrouter",
1281
+ family: "grok",
1282
+ pricing: { input: 0.000003, output: 0.000015, cacheRead: 7.5e-7, cacheWrite: 0.000015 },
1283
+ contextWindow: 131072,
1284
+ maxOutput: 8192,
1285
+ modalities: { input: ["text"], output: ["text"] },
1286
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1287
+ },
1288
+ {
1289
+ id: "x-ai/grok-code-fast-1",
1290
+ name: "Grok Code Fast 1",
1291
+ provider: "openrouter",
1292
+ family: "grok",
1293
+ pricing: { input: 2e-7, output: 0.0000015, cacheRead: 2e-8 },
1294
+ contextWindow: 256000,
1295
+ maxOutput: 10000,
1296
+ modalities: { input: ["text"], output: ["text"] },
1297
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1298
+ },
1299
+ {
1300
+ id: "x-ai/grok-4-fast",
1301
+ name: "Grok 4 Fast",
1302
+ provider: "openrouter",
1303
+ family: "grok",
1304
+ pricing: { input: 2e-7, output: 5e-7, cacheRead: 5e-8, cacheWrite: 5e-8 },
1305
+ contextWindow: 2000000,
1306
+ maxOutput: 30000,
1307
+ modalities: { input: ["text", "image"], output: ["text"] },
1308
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1309
+ },
1310
+ {
1311
+ id: "x-ai/grok-4",
1312
+ name: "Grok 4",
1313
+ provider: "openrouter",
1314
+ family: "grok",
1315
+ pricing: { input: 0.000003, output: 0.000015, cacheRead: 7.5e-7, cacheWrite: 0.000015 },
1316
+ contextWindow: 256000,
1317
+ maxOutput: 64000,
1318
+ modalities: { input: ["text"], output: ["text"] },
1319
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1320
+ },
1321
+ {
1322
+ id: "x-ai/grok-4.1-fast",
1323
+ name: "Grok 4.1 Fast",
1324
+ provider: "openrouter",
1325
+ family: "grok",
1326
+ pricing: { input: 2e-7, output: 5e-7, cacheRead: 5e-8, cacheWrite: 5e-8 },
1327
+ contextWindow: 2000000,
1328
+ maxOutput: 30000,
1329
+ modalities: { input: ["text", "image"], output: ["text"] },
1330
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1331
+ },
1332
+ {
1333
+ id: "x-ai/grok-3-mini-beta",
1334
+ name: "Grok 3 Mini Beta",
1335
+ provider: "openrouter",
1336
+ family: "grok",
1337
+ pricing: { input: 3e-7, output: 5e-7, cacheRead: 7.5e-8, cacheWrite: 5e-7 },
1338
+ contextWindow: 131072,
1339
+ maxOutput: 8192,
1340
+ modalities: { input: ["text"], output: ["text"] },
1341
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
1342
+ },
1343
+ {
1344
+ id: "x-ai/grok-3-mini",
1345
+ name: "Grok 3 Mini",
1346
+ provider: "openrouter",
1347
+ family: "grok",
1348
+ pricing: { input: 3e-7, output: 5e-7, cacheRead: 7.5e-8, cacheWrite: 5e-7 },
1349
+ contextWindow: 131072,
1350
+ maxOutput: 8192,
1351
+ modalities: { input: ["text"], output: ["text"] },
1352
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1353
+ },
1354
+ {
1355
+ id: "x-ai/grok-4.20-multi-agent-beta",
1356
+ name: "Grok 4.20 Multi - Agent Beta",
1357
+ provider: "openrouter",
1358
+ family: "grok",
1359
+ pricing: { input: 0.000002, output: 0.000006, cacheRead: 2e-7 },
1360
+ contextWindow: 2000000,
1361
+ maxOutput: 30000,
1362
+ modalities: { input: ["text", "image"], output: ["text"] },
1363
+ capabilities: { reasoning: true, toolCall: false, attachment: true, structuredOutput: false },
1364
+ },
1365
+ {
1366
+ id: "x-ai/grok-4.20-beta",
1367
+ name: "Grok 4.20 Beta",
1368
+ provider: "openrouter",
1369
+ family: "grok",
1370
+ pricing: { input: 0.000002, output: 0.000006, cacheRead: 2e-7 },
1371
+ contextWindow: 2000000,
1372
+ maxOutput: 30000,
1373
+ modalities: { input: ["text", "image"], output: ["text"] },
1374
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
1375
+ },
1376
+ {
1377
+ id: "x-ai/grok-3-beta",
1378
+ name: "Grok 3 Beta",
1379
+ provider: "openrouter",
1380
+ family: "grok",
1381
+ pricing: { input: 0.000003, output: 0.000015, cacheRead: 7.5e-7, cacheWrite: 0.000015 },
1382
+ contextWindow: 131072,
1383
+ maxOutput: 8192,
1384
+ modalities: { input: ["text"], output: ["text"] },
1385
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1386
+ },
1387
+ {
1388
+ id: "meta-llama/llama-3.3-70b-instruct:free",
1389
+ name: "Llama 3.3 70B Instruct (free)",
1390
+ provider: "openrouter",
1391
+ family: "llama",
1392
+ pricing: { input: 0, output: 0 },
1393
+ contextWindow: 131072,
1394
+ maxOutput: 131072,
1395
+ modalities: { input: ["text"], output: ["text"] },
1396
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1397
+ },
1398
+ {
1399
+ id: "meta-llama/llama-4-scout:free",
1400
+ name: "Llama 4 Scout (free)",
1401
+ provider: "openrouter",
1402
+ family: "llama",
1403
+ pricing: { input: 0, output: 0 },
1404
+ contextWindow: 64000,
1405
+ maxOutput: 64000,
1406
+ modalities: { input: ["text", "image"], output: ["text"] },
1407
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1408
+ },
1409
+ {
1410
+ id: "meta-llama/llama-3.2-11b-vision-instruct",
1411
+ name: "Llama 3.2 11B Vision Instruct",
1412
+ provider: "openrouter",
1413
+ family: "llama",
1414
+ pricing: { input: 0, output: 0 },
1415
+ contextWindow: 131072,
1416
+ maxOutput: 8192,
1417
+ modalities: { input: ["text", "image"], output: ["text"] },
1418
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
1419
+ },
1420
+ {
1421
+ id: "meta-llama/llama-3.2-3b-instruct:free",
1422
+ name: "Llama 3.2 3B Instruct (free)",
1423
+ provider: "openrouter",
1424
+ family: "llama",
1425
+ pricing: { input: 0, output: 0 },
1426
+ contextWindow: 131072,
1427
+ maxOutput: 131072,
1428
+ modalities: { input: ["text", "image"], output: ["text"] },
1429
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: false },
1430
+ },
1431
+ {
1432
+ id: "meta-llama/llama-3.1-405b-instruct:free",
1433
+ name: "Llama 3.1 405B Instruct (free)",
1434
+ provider: "openrouter",
1435
+ family: "llama",
1436
+ pricing: { input: 0, output: 0 },
1437
+ contextWindow: 131072,
1438
+ maxOutput: 131072,
1439
+ modalities: { input: ["text"], output: ["text"] },
1440
+ capabilities: { reasoning: false, toolCall: false, attachment: true, structuredOutput: true },
1441
+ },
1442
+ {
1443
+ id: "tngtech/tng-r1t-chimera:free",
1444
+ name: "R1T Chimera (free)",
1445
+ provider: "openrouter",
1446
+ family: "tngtech",
1447
+ pricing: { input: 0, output: 0 },
1448
+ contextWindow: 163840,
1449
+ maxOutput: 163840,
1450
+ modalities: { input: ["text"], output: ["text"] },
1451
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1452
+ },
1453
+ {
1454
+ id: "tngtech/deepseek-r1t2-chimera:free",
1455
+ name: "DeepSeek R1T2 Chimera (free)",
1456
+ provider: "openrouter",
1457
+ family: "deepseek-thinking",
1458
+ pricing: { input: 0, output: 0 },
1459
+ contextWindow: 163840,
1460
+ maxOutput: 163840,
1461
+ modalities: { input: ["text"], output: ["text"] },
1462
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: true },
1463
+ },
1464
+ {
1465
+ id: "mistralai/devstral-medium-2507",
1466
+ name: "Devstral Medium",
1467
+ provider: "openrouter",
1468
+ family: "devstral",
1469
+ pricing: { input: 4e-7, output: 0.000002 },
1470
+ contextWindow: 131072,
1471
+ maxOutput: 131072,
1472
+ modalities: { input: ["text"], output: ["text"] },
1473
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1474
+ },
1475
+ {
1476
+ id: "mistralai/devstral-small-2505:free",
1477
+ name: "Devstral Small 2505 (free)",
1478
+ provider: "openrouter",
1479
+ family: "devstral",
1480
+ pricing: { input: 0, output: 0 },
1481
+ contextWindow: 32768,
1482
+ maxOutput: 32768,
1483
+ modalities: { input: ["text"], output: ["text"] },
1484
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1485
+ },
1486
+ {
1487
+ id: "mistralai/mistral-medium-3",
1488
+ name: "Mistral Medium 3",
1489
+ provider: "openrouter",
1490
+ family: "mistral-medium",
1491
+ pricing: { input: 4e-7, output: 0.000002 },
1492
+ contextWindow: 131072,
1493
+ maxOutput: 131072,
1494
+ modalities: { input: ["text", "image"], output: ["text"] },
1495
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1496
+ },
1497
+ {
1498
+ id: "mistralai/codestral-2508",
1499
+ name: "Codestral 2508",
1500
+ provider: "openrouter",
1501
+ family: "codestral",
1502
+ pricing: { input: 3e-7, output: 9e-7 },
1503
+ contextWindow: 256000,
1504
+ maxOutput: 256000,
1505
+ modalities: { input: ["text"], output: ["text"] },
1506
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1507
+ },
1508
+ {
1509
+ id: "mistralai/devstral-2512:free",
1510
+ name: "Devstral 2 2512 (free)",
1511
+ provider: "openrouter",
1512
+ family: "devstral",
1513
+ pricing: { input: 0, output: 0 },
1514
+ contextWindow: 262144,
1515
+ maxOutput: 262144,
1516
+ modalities: { input: ["text"], output: ["text"] },
1517
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1518
+ },
1519
+ {
1520
+ id: "mistralai/mistral-small-3.1-24b-instruct",
1521
+ name: "Mistral Small 3.1 24B Instruct",
1522
+ provider: "openrouter",
1523
+ family: "mistral-small",
1524
+ pricing: { input: 0, output: 0 },
1525
+ contextWindow: 128000,
1526
+ maxOutput: 8192,
1527
+ modalities: { input: ["text", "image"], output: ["text"] },
1528
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1529
+ },
1530
+ {
1531
+ id: "mistralai/devstral-small-2505",
1532
+ name: "Devstral Small",
1533
+ provider: "openrouter",
1534
+ family: "devstral",
1535
+ pricing: { input: 6e-8, output: 1.2e-7 },
1536
+ contextWindow: 128000,
1537
+ maxOutput: 128000,
1538
+ modalities: { input: ["text"], output: ["text"] },
1539
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1540
+ },
1541
+ {
1542
+ id: "mistralai/mistral-7b-instruct:free",
1543
+ name: "Mistral 7B Instruct (free)",
1544
+ provider: "openrouter",
1545
+ family: "mistral",
1546
+ pricing: { input: 0, output: 0 },
1547
+ contextWindow: 32768,
1548
+ maxOutput: 32768,
1549
+ modalities: { input: ["text"], output: ["text"] },
1550
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
1551
+ },
1552
+ {
1553
+ id: "mistralai/devstral-2512",
1554
+ name: "Devstral 2 2512",
1555
+ provider: "openrouter",
1556
+ family: "devstral",
1557
+ pricing: { input: 1.5e-7, output: 6e-7 },
1558
+ contextWindow: 262144,
1559
+ maxOutput: 262144,
1560
+ modalities: { input: ["text"], output: ["text"] },
1561
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1562
+ },
1563
+ {
1564
+ id: "mistralai/mistral-small-3.2-24b-instruct",
1565
+ name: "Mistral Small 3.2 24B Instruct",
1566
+ provider: "openrouter",
1567
+ family: "mistral-small",
1568
+ pricing: { input: 0, output: 0 },
1569
+ contextWindow: 96000,
1570
+ maxOutput: 8192,
1571
+ modalities: { input: ["text", "image"], output: ["text"] },
1572
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1573
+ },
1574
+ {
1575
+ id: "mistralai/mistral-small-3.2-24b-instruct:free",
1576
+ name: "Mistral Small 3.2 24B (free)",
1577
+ provider: "openrouter",
1578
+ family: "mistral-small",
1579
+ pricing: { input: 0, output: 0 },
1580
+ contextWindow: 96000,
1581
+ maxOutput: 96000,
1582
+ modalities: { input: ["text", "image"], output: ["text"] },
1583
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1584
+ },
1585
+ {
1586
+ id: "mistralai/devstral-small-2507",
1587
+ name: "Devstral Small 1.1",
1588
+ provider: "openrouter",
1589
+ family: "devstral",
1590
+ pricing: { input: 1e-7, output: 3e-7 },
1591
+ contextWindow: 131072,
1592
+ maxOutput: 131072,
1593
+ modalities: { input: ["text"], output: ["text"] },
1594
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1595
+ },
1596
+ {
1597
+ id: "mistralai/mistral-nemo:free",
1598
+ name: "Mistral Nemo (free)",
1599
+ provider: "openrouter",
1600
+ family: "mistral-nemo",
1601
+ pricing: { input: 0, output: 0 },
1602
+ contextWindow: 131072,
1603
+ maxOutput: 131072,
1604
+ modalities: { input: ["text"], output: ["text"] },
1605
+ capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },
1606
+ },
1607
+ {
1608
+ id: "mistralai/mistral-medium-3.1",
1609
+ name: "Mistral Medium 3.1",
1610
+ provider: "openrouter",
1611
+ family: "mistral-medium",
1612
+ pricing: { input: 4e-7, output: 0.000002 },
1613
+ contextWindow: 262144,
1614
+ maxOutput: 262144,
1615
+ modalities: { input: ["text", "image"], output: ["text"] },
1616
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1617
+ },
1618
+ {
1619
+ id: "openai/gpt-5.3-codex",
1620
+ name: "GPT-5.3-Codex",
1621
+ provider: "openrouter",
1622
+ family: "gpt-codex",
1623
+ pricing: { input: 0.00000175, output: 0.000014, cacheRead: 1.75e-7 },
1624
+ contextWindow: 400000,
1625
+ maxOutput: 128000,
1626
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
1627
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1628
+ },
1629
+ {
1630
+ id: "openai/gpt-5-codex",
1631
+ name: "GPT-5 Codex",
1632
+ provider: "openrouter",
1633
+ family: "gpt-codex",
1634
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 1.25e-7 },
1635
+ contextWindow: 400000,
1636
+ maxOutput: 128000,
1637
+ modalities: { input: ["text", "image"], output: ["text"] },
1638
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1639
+ },
1640
+ {
1641
+ id: "openai/gpt-5-pro",
1642
+ name: "GPT-5 Pro",
1643
+ provider: "openrouter",
1644
+ family: "gpt-pro",
1645
+ pricing: { input: 0.000015, output: 0.00012 },
1646
+ contextWindow: 400000,
1647
+ maxOutput: 272000,
1648
+ modalities: { input: ["text", "image"], output: ["text"] },
1649
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1650
+ },
1651
+ {
1652
+ id: "openai/gpt-4o-mini",
1653
+ name: "GPT-4o-mini",
1654
+ provider: "openrouter",
1655
+ family: "gpt-mini",
1656
+ pricing: { input: 1.5e-7, output: 6e-7, cacheRead: 8e-8 },
1657
+ contextWindow: 128000,
1658
+ maxOutput: 16384,
1659
+ modalities: { input: ["text", "image"], output: ["text"] },
1660
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1661
+ },
1662
+ {
1663
+ id: "openai/gpt-5.1-codex-max",
1664
+ name: "GPT-5.1-Codex-Max",
1665
+ provider: "openrouter",
1666
+ family: "gpt-codex",
1667
+ pricing: { input: 0.0000011, output: 0.000009, cacheRead: 1.1e-7 },
1668
+ contextWindow: 400000,
1669
+ maxOutput: 128000,
1670
+ modalities: { input: ["text", "image"], output: ["text"] },
1671
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1672
+ },
1673
+ {
1674
+ id: "openai/gpt-5.2-codex",
1675
+ name: "GPT-5.2-Codex",
1676
+ provider: "openrouter",
1677
+ family: "gpt-codex",
1678
+ pricing: { input: 0.00000175, output: 0.000014, cacheRead: 1.75e-7 },
1679
+ contextWindow: 400000,
1680
+ maxOutput: 128000,
1681
+ modalities: { input: ["text", "image"], output: ["text"] },
1682
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1683
+ },
1684
+ {
1685
+ id: "openai/gpt-oss-120b:exacto",
1686
+ name: "GPT OSS 120B (exacto)",
1687
+ provider: "openrouter",
1688
+ family: "gpt-oss",
1689
+ pricing: { input: 5e-8, output: 2.4e-7 },
1690
+ contextWindow: 131072,
1691
+ maxOutput: 32768,
1692
+ modalities: { input: ["text"], output: ["text"] },
1693
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1694
+ },
1695
+ {
1696
+ id: "openai/gpt-5.1",
1697
+ name: "GPT-5.1",
1698
+ provider: "openrouter",
1699
+ family: "gpt",
1700
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 1.25e-7 },
1701
+ contextWindow: 400000,
1702
+ maxOutput: 128000,
1703
+ modalities: { input: ["text", "image"], output: ["text"] },
1704
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1705
+ },
1706
+ {
1707
+ id: "openai/gpt-5.2-chat",
1708
+ name: "GPT-5.2 Chat",
1709
+ provider: "openrouter",
1710
+ family: "gpt-codex",
1711
+ pricing: { input: 0.00000175, output: 0.000014, cacheRead: 1.75e-7 },
1712
+ contextWindow: 128000,
1713
+ maxOutput: 16384,
1714
+ modalities: { input: ["text", "image"], output: ["text"] },
1715
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1716
+ },
1717
+ {
1718
+ id: "openai/gpt-5-chat",
1719
+ name: "GPT-5 Chat (latest)",
1720
+ provider: "openrouter",
1721
+ family: "gpt-codex",
1722
+ pricing: { input: 0.00000125, output: 0.00001 },
1723
+ contextWindow: 400000,
1724
+ maxOutput: 128000,
1725
+ modalities: { input: ["text", "image"], output: ["text"] },
1726
+ capabilities: { reasoning: true, toolCall: false, attachment: true, structuredOutput: true },
1727
+ },
1728
+ {
1729
+ id: "openai/gpt-5.1-chat",
1730
+ name: "GPT-5.1 Chat",
1731
+ provider: "openrouter",
1732
+ family: "gpt-codex",
1733
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 1.25e-7 },
1734
+ contextWindow: 128000,
1735
+ maxOutput: 16384,
1736
+ modalities: { input: ["text", "image"], output: ["text"] },
1737
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1738
+ },
1739
+ {
1740
+ id: "openai/gpt-5-image",
1741
+ name: "GPT-5 Image",
1742
+ provider: "openrouter",
1743
+ family: "gpt",
1744
+ pricing: { input: 0.000005, output: 0.00001, cacheRead: 0.00000125 },
1745
+ contextWindow: 400000,
1746
+ maxOutput: 128000,
1747
+ modalities: { input: ["text", "image", "pdf"], output: ["text", "image"] },
1748
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1749
+ },
1750
+ {
1751
+ id: "openai/gpt-oss-120b",
1752
+ name: "GPT OSS 120B",
1753
+ provider: "openrouter",
1754
+ family: "gpt-oss",
1755
+ pricing: { input: 7.2e-8, output: 2.8e-7 },
1756
+ contextWindow: 131072,
1757
+ maxOutput: 32768,
1758
+ modalities: { input: ["text"], output: ["text"] },
1759
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1760
+ },
1761
+ {
1762
+ id: "openai/gpt-5.1-codex-mini",
1763
+ name: "GPT-5.1-Codex-Mini",
1764
+ provider: "openrouter",
1765
+ family: "gpt-codex",
1766
+ pricing: { input: 2.5e-7, output: 0.000002, cacheRead: 2.5e-8 },
1767
+ contextWindow: 400000,
1768
+ maxOutput: 100000,
1769
+ modalities: { input: ["text", "image"], output: ["text"] },
1770
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1771
+ },
1772
+ {
1773
+ id: "openai/gpt-5.2",
1774
+ name: "GPT-5.2",
1775
+ provider: "openrouter",
1776
+ family: "gpt",
1777
+ pricing: { input: 0.00000175, output: 0.000014, cacheRead: 1.75e-7 },
1778
+ contextWindow: 400000,
1779
+ maxOutput: 128000,
1780
+ modalities: { input: ["text", "image"], output: ["text"] },
1781
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1782
+ },
1783
+ {
1784
+ id: "openai/gpt-oss-20b:free",
1785
+ name: "gpt-oss-20b (free)",
1786
+ provider: "openrouter",
1787
+ family: "gpt-oss",
1788
+ pricing: { input: 0, output: 0 },
1789
+ contextWindow: 131072,
1790
+ maxOutput: 32768,
1791
+ modalities: { input: ["text"], output: ["text"] },
1792
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
1793
+ },
1794
+ {
1795
+ id: "openai/gpt-4.1",
1796
+ name: "GPT-4.1",
1797
+ provider: "openrouter",
1798
+ family: "gpt",
1799
+ pricing: { input: 0.000002, output: 0.000008, cacheRead: 5e-7 },
1800
+ contextWindow: 1047576,
1801
+ maxOutput: 32768,
1802
+ modalities: { input: ["text", "image"], output: ["text"] },
1803
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1804
+ },
1805
+ {
1806
+ id: "openai/gpt-5",
1807
+ name: "GPT-5",
1808
+ provider: "openrouter",
1809
+ family: "gpt",
1810
+ pricing: { input: 0.00000125, output: 0.00001 },
1811
+ contextWindow: 400000,
1812
+ maxOutput: 128000,
1813
+ modalities: { input: ["text", "image"], output: ["text"] },
1814
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1815
+ },
1816
+ {
1817
+ id: "openai/o4-mini",
1818
+ name: "o4 Mini",
1819
+ provider: "openrouter",
1820
+ family: "o-mini",
1821
+ pricing: { input: 0.0000011, output: 0.0000044, cacheRead: 2.8e-7 },
1822
+ contextWindow: 200000,
1823
+ maxOutput: 100000,
1824
+ modalities: { input: ["text", "image"], output: ["text"] },
1825
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1826
+ },
1827
+ {
1828
+ id: "openai/gpt-4.1-mini",
1829
+ name: "GPT-4.1 Mini",
1830
+ provider: "openrouter",
1831
+ family: "gpt-mini",
1832
+ pricing: { input: 4e-7, output: 0.0000016, cacheRead: 1e-7 },
1833
+ contextWindow: 1047576,
1834
+ maxOutput: 32768,
1835
+ modalities: { input: ["text", "image"], output: ["text"] },
1836
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },
1837
+ },
1838
+ {
1839
+ id: "openai/gpt-5.4",
1840
+ name: "GPT-5.4",
1841
+ provider: "openrouter",
1842
+ family: "gpt",
1843
+ pricing: { input: 0.0000025, output: 0.000015, cacheRead: 2.5e-7 },
1844
+ contextWindow: 1050000,
1845
+ maxOutput: 128000,
1846
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
1847
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1848
+ },
1849
+ {
1850
+ id: "openai/gpt-5.4-pro",
1851
+ name: "GPT-5.4 Pro",
1852
+ provider: "openrouter",
1853
+ family: "gpt-pro",
1854
+ pricing: { input: 0.00003, output: 0.00018, cacheRead: 0.00003 },
1855
+ contextWindow: 1050000,
1856
+ maxOutput: 128000,
1857
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
1858
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
1859
+ },
1860
+ {
1861
+ id: "openai/gpt-oss-safeguard-20b",
1862
+ name: "GPT OSS Safeguard 20B",
1863
+ provider: "openrouter",
1864
+ family: "gpt-oss",
1865
+ pricing: { input: 7.5e-8, output: 3e-7 },
1866
+ contextWindow: 131072,
1867
+ maxOutput: 65536,
1868
+ modalities: { input: ["text"], output: ["text"] },
1869
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
1870
+ },
1871
+ {
1872
+ id: "openai/gpt-5.1-codex",
1873
+ name: "GPT-5.1-Codex",
1874
+ provider: "openrouter",
1875
+ family: "gpt-codex",
1876
+ pricing: { input: 0.00000125, output: 0.00001, cacheRead: 1.25e-7 },
1877
+ contextWindow: 400000,
1878
+ maxOutput: 128000,
1879
+ modalities: { input: ["text", "image"], output: ["text"] },
1880
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1881
+ },
1882
+ {
1883
+ id: "openai/gpt-5.2-pro",
1884
+ name: "GPT-5.2 Pro",
1885
+ provider: "openrouter",
1886
+ family: "gpt-pro",
1887
+ pricing: { input: 0.000021, output: 0.000168 },
1888
+ contextWindow: 400000,
1889
+ maxOutput: 128000,
1890
+ modalities: { input: ["text", "image"], output: ["text"] },
1891
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1892
+ },
1893
+ {
1894
+ id: "openai/gpt-5-mini",
1895
+ name: "GPT-5 Mini",
1896
+ provider: "openrouter",
1897
+ family: "gpt-mini",
1898
+ pricing: { input: 2.5e-7, output: 0.000002 },
1899
+ contextWindow: 400000,
1900
+ maxOutput: 128000,
1901
+ modalities: { input: ["text", "image"], output: ["text"] },
1902
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1903
+ },
1904
+ {
1905
+ id: "openai/gpt-oss-20b",
1906
+ name: "GPT OSS 20B",
1907
+ provider: "openrouter",
1908
+ family: "gpt-oss",
1909
+ pricing: { input: 5e-8, output: 2e-7 },
1910
+ contextWindow: 131072,
1911
+ maxOutput: 32768,
1912
+ modalities: { input: ["text"], output: ["text"] },
1913
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1914
+ },
1915
+ {
1916
+ id: "openai/gpt-oss-120b:free",
1917
+ name: "gpt-oss-120b (free)",
1918
+ provider: "openrouter",
1919
+ family: "gpt-oss",
1920
+ pricing: { input: 0, output: 0 },
1921
+ contextWindow: 131072,
1922
+ maxOutput: 32768,
1923
+ modalities: { input: ["text"], output: ["text"] },
1924
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
1925
+ },
1926
+ {
1927
+ id: "openai/gpt-5-nano",
1928
+ name: "GPT-5 Nano",
1929
+ provider: "openrouter",
1930
+ family: "gpt-nano",
1931
+ pricing: { input: 5e-8, output: 4e-7 },
1932
+ contextWindow: 400000,
1933
+ maxOutput: 128000,
1934
+ modalities: { input: ["text", "image"], output: ["text"] },
1935
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
1936
+ },
1937
+ {
1938
+ id: "minimax/minimax-m1",
1939
+ name: "MiniMax M1",
1940
+ provider: "openrouter",
1941
+ family: "minimax",
1942
+ pricing: { input: 4e-7, output: 0.0000022 },
1943
+ contextWindow: 1000000,
1944
+ maxOutput: 40000,
1945
+ modalities: { input: ["text"], output: ["text"] },
1946
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
1947
+ },
1948
+ {
1949
+ id: "minimax/minimax-01",
1950
+ name: "MiniMax-01",
1951
+ provider: "openrouter",
1952
+ family: "minimax",
1953
+ pricing: { input: 2e-7, output: 0.0000011 },
1954
+ contextWindow: 1000000,
1955
+ maxOutput: 1000000,
1956
+ modalities: { input: ["text", "image"], output: ["text"] },
1957
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
1958
+ },
1959
+ {
1960
+ id: "minimax/minimax-m2.1",
1961
+ name: "MiniMax M2.1",
1962
+ provider: "openrouter",
1963
+ family: "minimax",
1964
+ pricing: { input: 3e-7, output: 0.0000012 },
1965
+ contextWindow: 204800,
1966
+ maxOutput: 131072,
1967
+ modalities: { input: ["text"], output: ["text"] },
1968
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1969
+ },
1970
+ {
1971
+ id: "minimax/minimax-m2",
1972
+ name: "MiniMax M2",
1973
+ provider: "openrouter",
1974
+ family: "minimax",
1975
+ pricing: { input: 2.8e-7, output: 0.00000115, cacheRead: 2.8e-7, cacheWrite: 0.00000115 },
1976
+ contextWindow: 196600,
1977
+ maxOutput: 118000,
1978
+ modalities: { input: ["text"], output: ["text"] },
1979
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1980
+ },
1981
+ {
1982
+ id: "minimax/minimax-m2.5",
1983
+ name: "MiniMax M2.5",
1984
+ provider: "openrouter",
1985
+ family: "minimax",
1986
+ pricing: { input: 3e-7, output: 0.0000012, cacheRead: 3e-8 },
1987
+ contextWindow: 204800,
1988
+ maxOutput: 131072,
1989
+ modalities: { input: ["text"], output: ["text"] },
1990
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
1991
+ },
1992
+ {
1993
+ id: "bytedance-seed/seedream-4.5",
1994
+ name: "Seedream 4.5",
1995
+ provider: "openrouter",
1996
+ family: "seed",
1997
+ pricing: { input: 0, output: 0 },
1998
+ contextWindow: 4096,
1999
+ maxOutput: 4096,
2000
+ modalities: { input: ["image", "text"], output: ["image"] },
2001
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
2002
+ },
2003
+ {
2004
+ id: "anthropic/claude-3.7-sonnet",
2005
+ name: "Claude Sonnet 3.7",
2006
+ provider: "openrouter",
2007
+ family: "claude-sonnet",
2008
+ pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
2009
+ contextWindow: 200000,
2010
+ maxOutput: 128000,
2011
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2012
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
2013
+ },
2014
+ {
2015
+ id: "anthropic/claude-opus-4.1",
2016
+ name: "Claude Opus 4.1",
2017
+ provider: "openrouter",
2018
+ family: "claude-opus",
2019
+ pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
2020
+ contextWindow: 200000,
2021
+ maxOutput: 32000,
2022
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2023
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
2024
+ },
2025
+ {
2026
+ id: "anthropic/claude-sonnet-4.6",
2027
+ name: "Claude Sonnet 4.6",
2028
+ provider: "openrouter",
2029
+ family: "claude-sonnet",
2030
+ pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
2031
+ contextWindow: 1000000,
2032
+ maxOutput: 128000,
2033
+ modalities: { input: ["text", "image"], output: ["text"] },
2034
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
2035
+ },
2036
+ {
2037
+ id: "anthropic/claude-haiku-4.5",
2038
+ name: "Claude Haiku 4.5",
2039
+ provider: "openrouter",
2040
+ family: "claude-haiku",
2041
+ pricing: { input: 0.000001, output: 0.000005, cacheRead: 1e-7, cacheWrite: 0.00000125 },
2042
+ contextWindow: 200000,
2043
+ maxOutput: 64000,
2044
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2045
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
2046
+ },
2047
+ {
2048
+ id: "anthropic/claude-3.5-haiku",
2049
+ name: "Claude Haiku 3.5",
2050
+ provider: "openrouter",
2051
+ family: "claude-haiku",
2052
+ pricing: { input: 8e-7, output: 0.000004, cacheRead: 8e-8, cacheWrite: 0.000001 },
2053
+ contextWindow: 200000,
2054
+ maxOutput: 8192,
2055
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2056
+ capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
2057
+ },
2058
+ {
2059
+ id: "anthropic/claude-opus-4.5",
2060
+ name: "Claude Opus 4.5",
2061
+ provider: "openrouter",
2062
+ family: "claude-opus",
2063
+ pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
2064
+ contextWindow: 200000,
2065
+ maxOutput: 32000,
2066
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2067
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
2068
+ },
2069
+ {
2070
+ id: "anthropic/claude-opus-4",
2071
+ name: "Claude Opus 4",
2072
+ provider: "openrouter",
2073
+ family: "claude-opus",
2074
+ pricing: { input: 0.000015, output: 0.000075, cacheRead: 0.0000015, cacheWrite: 0.00001875 },
2075
+ contextWindow: 200000,
2076
+ maxOutput: 32000,
2077
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2078
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
2079
+ },
2080
+ {
2081
+ id: "anthropic/claude-sonnet-4",
2082
+ name: "Claude Sonnet 4",
2083
+ provider: "openrouter",
2084
+ family: "claude-sonnet",
2085
+ pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
2086
+ contextWindow: 200000,
2087
+ maxOutput: 64000,
2088
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2089
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },
2090
+ },
2091
+ {
2092
+ id: "anthropic/claude-sonnet-4.5",
2093
+ name: "Claude Sonnet 4.5",
2094
+ provider: "openrouter",
2095
+ family: "claude-sonnet",
2096
+ pricing: { input: 0.000003, output: 0.000015, cacheRead: 3e-7, cacheWrite: 0.00000375 },
2097
+ contextWindow: 1000000,
2098
+ maxOutput: 64000,
2099
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2100
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
2101
+ },
2102
+ {
2103
+ id: "anthropic/claude-opus-4.6",
2104
+ name: "Claude Opus 4.6",
2105
+ provider: "openrouter",
2106
+ family: "claude-opus",
2107
+ pricing: { input: 0.000005, output: 0.000025, cacheRead: 5e-7, cacheWrite: 0.00000625 },
2108
+ contextWindow: 1000000,
2109
+ maxOutput: 128000,
2110
+ modalities: { input: ["text", "image", "pdf"], output: ["text"] },
2111
+ capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },
2112
+ },
2113
+ {
2114
+ id: "black-forest-labs/flux.2-pro",
2115
+ name: "FLUX.2 Pro",
2116
+ provider: "openrouter",
2117
+ family: "flux",
2118
+ pricing: { input: 0, output: 0 },
2119
+ contextWindow: 46864,
2120
+ maxOutput: 46864,
2121
+ modalities: { input: ["image", "text"], output: ["image"] },
2122
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
2123
+ },
2124
+ {
2125
+ id: "black-forest-labs/flux.2-flex",
2126
+ name: "FLUX.2 Flex",
2127
+ provider: "openrouter",
2128
+ family: "flux",
2129
+ pricing: { input: 0, output: 0 },
2130
+ contextWindow: 67344,
2131
+ maxOutput: 67344,
2132
+ modalities: { input: ["image", "text"], output: ["image"] },
2133
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
2134
+ },
2135
+ {
2136
+ id: "black-forest-labs/flux.2-max",
2137
+ name: "FLUX.2 Max",
2138
+ provider: "openrouter",
2139
+ family: "flux",
2140
+ pricing: { input: 0, output: 0 },
2141
+ contextWindow: 46864,
2142
+ maxOutput: 46864,
2143
+ modalities: { input: ["image", "text"], output: ["image"] },
2144
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
2145
+ },
2146
+ {
2147
+ id: "black-forest-labs/flux.2-klein-4b",
2148
+ name: "FLUX.2 Klein 4B",
2149
+ provider: "openrouter",
2150
+ family: "flux",
2151
+ pricing: { input: 0, output: 0 },
2152
+ contextWindow: 40960,
2153
+ maxOutput: 40960,
2154
+ modalities: { input: ["image", "text"], output: ["image"] },
2155
+ capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
2156
+ },
2157
+ {
2158
+ id: "nousresearch/hermes-4-405b",
2159
+ name: "Hermes 4 405B",
2160
+ provider: "openrouter",
2161
+ family: "hermes",
2162
+ pricing: { input: 0.000001, output: 0.000003 },
2163
+ contextWindow: 131072,
2164
+ maxOutput: 131072,
2165
+ modalities: { input: ["text"], output: ["text"] },
2166
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
2167
+ },
2168
+ {
2169
+ id: "nousresearch/hermes-4-70b",
2170
+ name: "Hermes 4 70B",
2171
+ provider: "openrouter",
2172
+ family: "hermes",
2173
+ pricing: { input: 1.3e-7, output: 4e-7 },
2174
+ contextWindow: 131072,
2175
+ maxOutput: 131072,
2176
+ modalities: { input: ["text"], output: ["text"] },
2177
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },
2178
+ },
2179
+ {
2180
+ id: "nousresearch/deephermes-3-llama-3-8b-preview",
2181
+ name: "DeepHermes 3 Llama 3 8B Preview",
2182
+ provider: "openrouter",
2183
+ family: "llama",
2184
+ pricing: { input: 0, output: 0 },
2185
+ contextWindow: 131072,
2186
+ maxOutput: 8192,
2187
+ modalities: { input: ["text"], output: ["text"] },
2188
+ capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
2189
+ },
2190
+ {
2191
+ id: "nousresearch/hermes-3-llama-3.1-405b:free",
2192
+ name: "Hermes 3 405B Instruct (free)",
2193
+ provider: "openrouter",
2194
+ family: "hermes",
2195
+ pricing: { input: 0, output: 0 },
2196
+ contextWindow: 131072,
2197
+ maxOutput: 131072,
2198
+ modalities: { input: ["text"], output: ["text"] },
2199
+ capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },
2200
+ },
2201
+ ] as const satisfies readonly ModelDefinition[];