models.php
1512 lines
| 1 | <?php |
| 2 | |
| 3 | // Price as of June 2024: https://openai.com/api/pricing/ |
| 4 | |
| 5 | // TODO: After 2027-02 (OpenAI ends fine-tune job creation on 2027-01-06), drop the `finetune` key from every model entry below and remove 'finetune' from every model's `tags` array. |
| 6 | |
| 7 | define( 'MWAI_OPENAI_MODELS', [ |
| 8 | /* |
| 9 | GPT-5.5 |
| 10 | Latest flagship: tool-heavy agents, grounded assistants, long-context retrieval |
| 11 | https://developers.openai.com/api/docs/models/gpt-5.5 |
| 12 | */ |
| 13 | [ |
| 14 | 'model' => 'gpt-5.5', |
| 15 | 'name' => 'GPT-5.5', |
| 16 | 'family' => 'gpt-5', |
| 17 | 'features' => ['completion'], |
| 18 | 'price' => [ |
| 19 | 'in' => 5.00, |
| 20 | 'out' => 30.00, |
| 21 | 'cached' => 0.50, |
| 22 | ], |
| 23 | 'type' => 'token', |
| 24 | 'unit' => 1 / 1000000, |
| 25 | 'maxCompletionTokens' => 128000, |
| 26 | 'maxContextualTokens' => 1050000, |
| 27 | 'finetune' => false, |
| 28 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity', 'latest'], |
| 29 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 30 | 'params' => [ |
| 31 | 'reasoning' => ['none', 'low', 'medium', 'high', 'xhigh'], |
| 32 | 'verbosity' => ['low', 'medium', 'high'] |
| 33 | ] |
| 34 | ], |
| 35 | /* |
| 36 | GPT-5.4 |
| 37 | Our most capable model for professional work |
| 38 | https://platform.openai.com/docs/models/gpt-5.4 |
| 39 | */ |
| 40 | [ |
| 41 | 'model' => 'gpt-5.4', |
| 42 | 'name' => 'GPT-5.4', |
| 43 | 'family' => 'gpt-5', |
| 44 | 'features' => ['completion'], |
| 45 | 'price' => [ |
| 46 | 'in' => 2.50, |
| 47 | 'out' => 15.00, |
| 48 | ], |
| 49 | 'type' => 'token', |
| 50 | 'unit' => 1 / 1000000, |
| 51 | 'maxCompletionTokens' => 128000, |
| 52 | 'maxContextualTokens' => 1050000, |
| 53 | 'finetune' => false, |
| 54 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity'], |
| 55 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 56 | 'params' => [ |
| 57 | 'reasoning' => ['none', 'low', 'medium', 'high', 'xhigh'], |
| 58 | 'verbosity' => ['low', 'medium', 'high'] |
| 59 | ] |
| 60 | ], |
| 61 | /* |
| 62 | GPT-5.4 Pro |
| 63 | Most advanced model with enhanced reasoning for complex tasks |
| 64 | https://developers.openai.com/api/docs/models/gpt-5.4-pro |
| 65 | */ |
| 66 | [ |
| 67 | 'model' => 'gpt-5.4-pro', |
| 68 | 'name' => 'GPT-5.4 Pro', |
| 69 | 'family' => 'gpt-5', |
| 70 | 'features' => ['completion'], |
| 71 | 'price' => [ |
| 72 | 'in' => 30.00, |
| 73 | 'out' => 180.00, |
| 74 | ], |
| 75 | 'type' => 'token', |
| 76 | 'unit' => 1 / 1000000, |
| 77 | 'maxCompletionTokens' => 128000, |
| 78 | 'maxContextualTokens' => 1050000, |
| 79 | 'finetune' => false, |
| 80 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'responses', 'mcp', 'reasoning'], |
| 81 | 'tools' => ['web_search', 'image_generation', 'file_search'], |
| 82 | 'params' => [ |
| 83 | 'reasoning' => ['medium', 'high', 'xhigh'], |
| 84 | ] |
| 85 | ], |
| 86 | /* |
| 87 | GPT-5.4 Mini |
| 88 | Fast and cost-effective GPT-5.4 variant |
| 89 | https://developers.openai.com/api/docs/models/gpt-5.4-mini |
| 90 | */ |
| 91 | [ |
| 92 | 'model' => 'gpt-5.4-mini', |
| 93 | 'name' => 'GPT-5.4 Mini', |
| 94 | 'family' => 'gpt-5', |
| 95 | 'features' => ['completion'], |
| 96 | 'price' => [ |
| 97 | 'in' => 0.75, |
| 98 | 'out' => 4.50, |
| 99 | ], |
| 100 | 'type' => 'token', |
| 101 | 'unit' => 1 / 1000000, |
| 102 | 'maxCompletionTokens' => 128000, |
| 103 | 'maxContextualTokens' => 400000, |
| 104 | 'finetune' => false, |
| 105 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity'], |
| 106 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 107 | 'params' => [ |
| 108 | 'reasoning' => ['none', 'low', 'medium', 'high', 'xhigh'], |
| 109 | 'verbosity' => ['low', 'medium', 'high'] |
| 110 | ] |
| 111 | ], |
| 112 | /* |
| 113 | GPT-5.4 Nano |
| 114 | Ultra-fast and lightweight GPT-5.4 model |
| 115 | https://developers.openai.com/api/docs/models/gpt-5.4-nano |
| 116 | */ |
| 117 | [ |
| 118 | 'model' => 'gpt-5.4-nano', |
| 119 | 'name' => 'GPT-5.4 Nano', |
| 120 | 'family' => 'gpt-5', |
| 121 | 'features' => ['completion'], |
| 122 | 'price' => [ |
| 123 | 'in' => 0.20, |
| 124 | 'out' => 1.25, |
| 125 | ], |
| 126 | 'type' => 'token', |
| 127 | 'unit' => 1 / 1000000, |
| 128 | 'maxCompletionTokens' => 128000, |
| 129 | 'maxContextualTokens' => 400000, |
| 130 | 'finetune' => false, |
| 131 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity'], |
| 132 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 133 | 'params' => [ |
| 134 | 'reasoning' => ['none', 'low', 'medium', 'high', 'xhigh'], |
| 135 | 'verbosity' => ['low', 'medium', 'high'] |
| 136 | ] |
| 137 | ], |
| 138 | /* |
| 139 | GPT-5.3 Chat |
| 140 | GPT-5.3 model used in ChatGPT |
| 141 | https://developers.openai.com/api/docs/models/gpt-5.3-chat-latest |
| 142 | Shutdown: August 10, 2026. |
| 143 | */ |
| 144 | [ |
| 145 | 'model' => 'gpt-5.3-chat-latest', |
| 146 | 'name' => 'GPT-5.3 Chat', |
| 147 | 'family' => 'gpt-5', |
| 148 | 'features' => ['completion'], |
| 149 | 'price' => [ |
| 150 | 'in' => 1.75, |
| 151 | 'out' => 14.00, |
| 152 | ], |
| 153 | 'type' => 'token', |
| 154 | 'unit' => 1 / 1000000, |
| 155 | 'maxCompletionTokens' => 16384, |
| 156 | 'maxContextualTokens' => 128000, |
| 157 | 'finetune' => false, |
| 158 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'deprecated'], |
| 159 | 'tools' => ['image_generation', 'code_interpreter'] |
| 160 | ], |
| 161 | /* |
| 162 | GPT-5.2 |
| 163 | The best model for coding and agentic tasks across industries |
| 164 | https://platform.openai.com/docs/models/gpt-5.2 |
| 165 | */ |
| 166 | [ |
| 167 | 'model' => 'gpt-5.2', |
| 168 | 'name' => 'GPT-5.2', |
| 169 | 'family' => 'gpt-5', |
| 170 | 'features' => ['completion'], |
| 171 | 'price' => [ |
| 172 | 'in' => 1.75, |
| 173 | 'out' => 14.00, |
| 174 | ], |
| 175 | 'type' => 'token', |
| 176 | 'unit' => 1 / 1000000, |
| 177 | 'maxCompletionTokens' => 128000, |
| 178 | 'maxContextualTokens' => 400000, |
| 179 | 'finetune' => false, |
| 180 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity'], |
| 181 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 182 | 'params' => [ |
| 183 | 'reasoning' => ['none', 'low', 'medium', 'high', 'xhigh'], |
| 184 | 'verbosity' => ['low', 'medium', 'high'] |
| 185 | ] |
| 186 | ], |
| 187 | /* |
| 188 | GPT-5.2 Chat |
| 189 | GPT-5.2 model used in ChatGPT |
| 190 | https://platform.openai.com/docs/models/gpt-5.2 |
| 191 | Shutdown: August 10, 2026. |
| 192 | */ |
| 193 | [ |
| 194 | 'model' => 'gpt-5.2-chat-latest', |
| 195 | 'name' => 'GPT-5.2 Chat', |
| 196 | 'family' => 'gpt-5', |
| 197 | 'features' => ['completion'], |
| 198 | 'price' => [ |
| 199 | 'in' => 1.75, |
| 200 | 'out' => 14.00, |
| 201 | ], |
| 202 | 'type' => 'token', |
| 203 | 'unit' => 1 / 1000000, |
| 204 | 'maxCompletionTokens' => 128000, |
| 205 | 'maxContextualTokens' => 400000, |
| 206 | 'finetune' => false, |
| 207 | 'tags' => ['core', 'chat', 'vision', 'files', 'responses', 'mcp', 'deprecated'], |
| 208 | 'tools' => ['web_search', 'file_search', 'code_interpreter'] |
| 209 | ], |
| 210 | /* |
| 211 | GPT-5.2 Pro |
| 212 | Version of GPT-5.2 that produces smarter and more precise responses |
| 213 | https://platform.openai.com/docs/models/gpt-5.2-pro |
| 214 | */ |
| 215 | [ |
| 216 | 'model' => 'gpt-5.2-pro', |
| 217 | 'name' => 'GPT-5.2 Pro', |
| 218 | 'family' => 'gpt-5', |
| 219 | 'features' => ['completion'], |
| 220 | 'price' => [ |
| 221 | 'in' => 21.00, |
| 222 | 'out' => 168.00, |
| 223 | ], |
| 224 | 'type' => 'token', |
| 225 | 'unit' => 1 / 1000000, |
| 226 | 'maxCompletionTokens' => 128000, |
| 227 | 'maxContextualTokens' => 400000, |
| 228 | 'finetune' => false, |
| 229 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity'], |
| 230 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 231 | 'params' => [ |
| 232 | 'reasoning' => ['medium', 'high', 'xhigh'], |
| 233 | 'verbosity' => ['low', 'medium', 'high'] |
| 234 | ] |
| 235 | ], |
| 236 | /* |
| 237 | GPT-5.1 |
| 238 | Demo model with enhanced capabilities |
| 239 | https://platform.openai.com/docs/models/gpt-5.1 |
| 240 | */ |
| 241 | [ |
| 242 | 'model' => 'gpt-5.1', |
| 243 | 'name' => 'GPT-5.1', |
| 244 | 'family' => 'gpt-5', |
| 245 | 'features' => ['completion'], |
| 246 | 'price' => [ |
| 247 | 'in' => 1.25, |
| 248 | 'out' => 10.00, |
| 249 | ], |
| 250 | 'type' => 'token', |
| 251 | 'unit' => 1 / 1000000, |
| 252 | 'maxCompletionTokens' => 128000, |
| 253 | 'maxContextualTokens' => 400000, |
| 254 | 'finetune' => false, |
| 255 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity'], |
| 256 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 257 | 'params' => [ |
| 258 | 'reasoning' => ['none', 'minimal', 'low', 'medium', 'high'], |
| 259 | 'verbosity' => ['low', 'medium', 'high'] |
| 260 | ] |
| 261 | ], |
| 262 | /* |
| 263 | GPT-5 |
| 264 | The best model for coding and agentic tasks across domains |
| 265 | https://platform.openai.com/docs/models/gpt-5 |
| 266 | */ |
| 267 | [ |
| 268 | 'model' => 'gpt-5', |
| 269 | 'name' => 'GPT-5', |
| 270 | 'family' => 'gpt-5', |
| 271 | 'features' => ['completion'], |
| 272 | 'price' => [ |
| 273 | 'in' => 1.25, |
| 274 | 'out' => 10.00, |
| 275 | ], |
| 276 | 'type' => 'token', |
| 277 | 'unit' => 1 / 1000000, |
| 278 | 'maxCompletionTokens' => 128000, |
| 279 | 'maxContextualTokens' => 400000, |
| 280 | 'finetune' => false, |
| 281 | // Shutdown: December 10, 2026. |
| 282 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity', 'deprecated'], |
| 283 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 284 | 'params' => [ |
| 285 | 'reasoning' => ['none', 'minimal', 'low', 'medium', 'high'], |
| 286 | 'verbosity' => ['low', 'medium', 'high'] |
| 287 | ] |
| 288 | ], |
| 289 | /* |
| 290 | GPT-5 Mini |
| 291 | Efficient and cost-effective GPT-5 variant |
| 292 | https://platform.openai.com/docs/models/gpt-5-mini |
| 293 | */ |
| 294 | [ |
| 295 | 'model' => 'gpt-5-mini', |
| 296 | 'name' => 'GPT-5 Mini', |
| 297 | 'family' => 'gpt-5', |
| 298 | 'features' => ['completion'], |
| 299 | 'price' => [ |
| 300 | 'in' => 0.25, |
| 301 | 'out' => 2.00, |
| 302 | ], |
| 303 | 'type' => 'token', |
| 304 | 'unit' => 1 / 1000000, |
| 305 | 'maxCompletionTokens' => 128000, |
| 306 | 'maxContextualTokens' => 400000, |
| 307 | 'finetune' => false, |
| 308 | // Shutdown: December 10, 2026. |
| 309 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity', 'deprecated'], |
| 310 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 311 | 'params' => [ |
| 312 | 'reasoning' => ['none', 'minimal', 'low', 'medium', 'high'], |
| 313 | 'verbosity' => ['low', 'medium', 'high'] |
| 314 | ] |
| 315 | ], |
| 316 | /* |
| 317 | GPT-5 Nano |
| 318 | Ultra-fast and lightweight GPT-5 model |
| 319 | https://platform.openai.com/docs/models/gpt-5-nano |
| 320 | */ |
| 321 | [ |
| 322 | 'model' => 'gpt-5-nano', |
| 323 | 'name' => 'GPT-5 Nano', |
| 324 | 'family' => 'gpt-5', |
| 325 | 'features' => ['completion'], |
| 326 | 'price' => [ |
| 327 | 'in' => 0.05, |
| 328 | 'out' => 0.40, |
| 329 | ], |
| 330 | 'type' => 'token', |
| 331 | 'unit' => 1 / 1000000, |
| 332 | 'maxCompletionTokens' => 128000, |
| 333 | 'maxContextualTokens' => 400000, |
| 334 | 'finetune' => false, |
| 335 | // Shutdown: December 10, 2026. |
| 336 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity', 'deprecated'], |
| 337 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 338 | 'params' => [ |
| 339 | 'reasoning' => ['none', 'minimal', 'low', 'medium', 'high'], |
| 340 | 'verbosity' => ['low', 'medium', 'high'] |
| 341 | ] |
| 342 | ], |
| 343 | /* |
| 344 | GPT-5 Chat |
| 345 | GPT-5 model used in ChatGPT |
| 346 | https://platform.openai.com/docs/models/gpt-5 |
| 347 | */ |
| 348 | [ |
| 349 | 'model' => 'gpt-5-chat-latest', |
| 350 | 'name' => 'GPT-5 Chat', |
| 351 | 'family' => 'gpt-5', |
| 352 | 'features' => ['completion'], |
| 353 | 'price' => [ |
| 354 | 'in' => 1.25, |
| 355 | 'out' => 10.00, |
| 356 | ], |
| 357 | 'type' => 'token', |
| 358 | 'unit' => 1 / 1000000, |
| 359 | 'maxCompletionTokens' => 16384, |
| 360 | 'maxContextualTokens' => 128000, |
| 361 | 'finetune' => false, |
| 362 | // Shutdown: July 23, 2026. |
| 363 | 'tags' => ['core', 'chat', 'vision', 'files', 'responses', 'mcp', 'deprecated'], |
| 364 | 'tools' => ['web_search', 'file_search', 'code_interpreter'], |
| 365 | 'params' => [ |
| 366 | 'verbosity' => ['low', 'medium', 'high'] |
| 367 | ] |
| 368 | ], |
| 369 | /* |
| 370 | GPT-5 Pro |
| 371 | Version of GPT-5 that produces smarter and more precise responses |
| 372 | https://platform.openai.com/docs/models/gpt-5 |
| 373 | */ |
| 374 | [ |
| 375 | 'model' => 'gpt-5-pro', |
| 376 | 'name' => 'GPT-5 Pro', |
| 377 | 'family' => 'gpt-5', |
| 378 | 'features' => ['completion'], |
| 379 | 'price' => [ |
| 380 | 'in' => 15.00, |
| 381 | 'out' => 120.00, |
| 382 | ], |
| 383 | 'type' => 'token', |
| 384 | 'unit' => 1 / 1000000, |
| 385 | 'maxCompletionTokens' => 272000, |
| 386 | 'maxContextualTokens' => 400000, |
| 387 | 'finetune' => false, |
| 388 | // Shutdown: December 10, 2026. |
| 389 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'json', 'responses', 'mcp', 'reasoning', 'verbosity', 'deprecated'], |
| 390 | 'tools' => ['web_search', 'image_generation', 'file_search', 'code_interpreter'], |
| 391 | 'params' => [ |
| 392 | 'reasoning' => ['none', 'minimal', 'low', 'medium', 'high'], |
| 393 | 'verbosity' => ['low', 'medium', 'high'] |
| 394 | ] |
| 395 | ], |
| 396 | /* |
| 397 | GPT 4.1 |
| 398 | Flagship GPT model for complex tasks |
| 399 | https://platform.openai.com/docs/models/gpt-4.1 |
| 400 | */ |
| 401 | [ |
| 402 | 'model' => 'gpt-4.1', |
| 403 | 'name' => 'GPT-4.1', |
| 404 | 'family' => 'gpt-4', |
| 405 | 'features' => ['completion'], |
| 406 | 'price' => [ |
| 407 | 'in' => 2.00, |
| 408 | 'out' => 8.00, |
| 409 | ], |
| 410 | 'type' => 'token', |
| 411 | 'unit' => 1 / 1000000, |
| 412 | 'maxCompletionTokens' => 32768, |
| 413 | 'maxContextualTokens' => 1047576, |
| 414 | 'finetune' => false, |
| 415 | 'tags' => ['core', 'chat', 'vision', 'functions', 'json', 'finetune', 'responses', 'mcp', 'deprecated'], |
| 416 | 'tools' => ['web_search', 'image_generation', 'code_interpreter'] |
| 417 | ], |
| 418 | /* |
| 419 | GPT-4.1 mini |
| 420 | Balanced for intelligence, speed, and cost |
| 421 | https://platform.openai.com/docs/models/gpt-4.1-mini |
| 422 | */ |
| 423 | [ |
| 424 | 'model' => 'gpt-4.1-mini', |
| 425 | 'name' => 'GPT-4.1 Mini', |
| 426 | 'family' => 'gpt-4', |
| 427 | 'features' => ['completion'], |
| 428 | 'price' => [ |
| 429 | 'in' => 0.40, |
| 430 | 'out' => 1.60, |
| 431 | ], |
| 432 | 'type' => 'token', |
| 433 | 'unit' => 1 / 1000000, |
| 434 | 'maxCompletionTokens' => 32768, |
| 435 | 'maxContextualTokens' => 1047576, |
| 436 | 'finetune' => false, |
| 437 | 'tags' => ['core', 'chat', 'vision', 'functions', 'json', 'finetune', 'responses', 'mcp', 'deprecated'], |
| 438 | 'tools' => ['web_search', 'image_generation', 'code_interpreter'] |
| 439 | ], |
| 440 | /* |
| 441 | GPT-4.1 nano |
| 442 | Fastest, most cost-effective GPT-4.1 model |
| 443 | https://platform.openai.com/docs/models/gpt-4.1-nano |
| 444 | */ |
| 445 | [ |
| 446 | 'model' => 'gpt-4.1-nano', |
| 447 | 'name' => 'GPT-4.1 Nano', |
| 448 | 'family' => 'gpt-4', |
| 449 | 'features' => ['completion'], |
| 450 | 'price' => [ |
| 451 | 'in' => 0.10, |
| 452 | 'out' => 0.40, |
| 453 | ], |
| 454 | 'type' => 'token', |
| 455 | 'unit' => 1 / 1000000, |
| 456 | 'maxCompletionTokens' => 32768, |
| 457 | 'maxContextualTokens' => 1047576, |
| 458 | 'finetune' => false, |
| 459 | // Shutdown: October 23, 2026. |
| 460 | 'tags' => ['core', 'chat', 'vision', 'functions', 'json', 'finetune', 'responses', 'mcp', 'deprecated'], |
| 461 | 'tools' => ['image_generation'] |
| 462 | ], |
| 463 | /* |
| 464 | GPT-4o |
| 465 | Fast, intelligent, flexible GPT model |
| 466 | https://platform.openai.com/docs/models/gpt-4o |
| 467 | */ |
| 468 | [ |
| 469 | 'model' => 'gpt-4o', |
| 470 | 'name' => 'GPT-4o', |
| 471 | 'family' => 'gpt-4', |
| 472 | 'features' => ['completion'], |
| 473 | 'price' => [ |
| 474 | 'in' => 2.50, |
| 475 | 'out' => 10.00, |
| 476 | ], |
| 477 | 'type' => 'token', |
| 478 | 'unit' => 1 / 1000000, |
| 479 | 'maxCompletionTokens' => 16384, |
| 480 | 'maxContextualTokens' => 128000, |
| 481 | 'finetune' => false, |
| 482 | 'tags' => ['core', 'chat', 'vision', 'functions', 'json', 'finetune', 'mcp', 'responses', 'deprecated'], |
| 483 | 'tools' => ['web_search', 'image_generation', 'code_interpreter'] |
| 484 | ], |
| 485 | /* |
| 486 | GPT-4o mini |
| 487 | Fast, affordable small model for focused tasks |
| 488 | https://platform.openai.com/docs/models/gpt-4o-mini |
| 489 | */ |
| 490 | [ |
| 491 | 'model' => 'gpt-4o-mini', |
| 492 | 'name' => 'GPT-4o Mini', |
| 493 | 'family' => 'gpt-4', |
| 494 | 'features' => ['completion'], |
| 495 | 'price' => [ |
| 496 | 'in' => 0.15, |
| 497 | 'out' => 0.60, |
| 498 | ], |
| 499 | 'type' => 'token', |
| 500 | 'unit' => 1 / 1000000, |
| 501 | 'maxCompletionTokens' => 16384, |
| 502 | 'maxContextualTokens' => 128000, |
| 503 | 'finetune' => [ |
| 504 | 'in' => 0.15, |
| 505 | 'out' => 0.60, |
| 506 | 'train' => 3.00 |
| 507 | ], |
| 508 | 'tags' => ['core', 'chat', 'vision', 'functions', 'json', 'finetune', 'mcp', 'responses', 'deprecated'], |
| 509 | 'tools' => ['web_search', 'image_generation', 'code_interpreter'] |
| 510 | ], |
| 511 | /* |
| 512 | o3 |
| 513 | Advanced reasoning model |
| 514 | https://platform.openai.com/docs/models/o3 |
| 515 | */ |
| 516 | [ |
| 517 | 'model' => 'o3', |
| 518 | 'name' => 'o3', |
| 519 | 'family' => 'o3', |
| 520 | 'features' => ['completion'], |
| 521 | 'price' => [ |
| 522 | 'in' => 15.00, |
| 523 | 'out' => 60.00, |
| 524 | ], |
| 525 | 'type' => 'token', |
| 526 | 'unit' => 1 / 1000000, |
| 527 | 'maxCompletionTokens' => 100000, |
| 528 | 'maxContextualTokens' => 200000, |
| 529 | 'tags' => ['core', 'chat', 'o1-model', 'reasoning', 'responses', 'mcp'], |
| 530 | 'tools' => ['web_search', 'image_generation', 'code_interpreter'] |
| 531 | ], |
| 532 | /* |
| 533 | o3-mini |
| 534 | Fast, flexible, intelligent reasoning model |
| 535 | https://platform.openai.com/docs/models/o3-mini |
| 536 | */ |
| 537 | [ |
| 538 | 'model' => 'o3-mini', |
| 539 | 'name' => 'o3 Mini', |
| 540 | 'family' => 'o3', |
| 541 | 'features' => ['completion'], |
| 542 | 'price' => [ |
| 543 | 'in' => 1.10, |
| 544 | 'out' => 4.40, |
| 545 | ], |
| 546 | 'type' => 'token', |
| 547 | 'unit' => 1 / 1000000, |
| 548 | 'maxCompletionTokens' => 100000, |
| 549 | 'maxContextualTokens' => 200000, |
| 550 | // Shutdown: October 23, 2026. |
| 551 | 'tags' => ['core', 'chat', 'o1-model', 'reasoning', 'responses', 'mcp', 'deprecated'], |
| 552 | 'tools' => ['web_search', 'image_generation', 'code_interpreter'] |
| 553 | ], |
| 554 | /* |
| 555 | GPT Realtime 2 |
| 556 | Voice model with GPT-5-class reasoning, stronger instruction following, and multilingual support. |
| 557 | https://platform.openai.com/docs/models/gpt-realtime-2 |
| 558 | */ |
| 559 | [ |
| 560 | 'model' => 'gpt-realtime-2', |
| 561 | 'name' => 'GPT Realtime 2', |
| 562 | 'family' => 'realtime', |
| 563 | 'features' => ['core', 'realtime', 'functions'], |
| 564 | 'price' => [ |
| 565 | 'text' => [ |
| 566 | 'in' => 4.00, |
| 567 | 'cache' => 0.40, |
| 568 | 'out' => 16.00, |
| 569 | ], |
| 570 | 'audio' => [ |
| 571 | 'in' => 32.00, |
| 572 | 'cache' => 0.40, |
| 573 | 'out' => 64.00, |
| 574 | ], |
| 575 | 'image' => [ |
| 576 | 'in' => 5.00, |
| 577 | 'cache' => 0.50, |
| 578 | ] |
| 579 | ], |
| 580 | 'type' => 'token', |
| 581 | 'unit' => 1 / 1000000, |
| 582 | 'maxCompletionTokens' => 4096, |
| 583 | 'maxContextualTokens' => 128000, |
| 584 | 'finetune' => false, |
| 585 | 'tags' => ['core', 'realtime', 'functions', 'vision', 'mcp'] |
| 586 | ], |
| 587 | /* |
| 588 | GPT Realtime |
| 589 | Production-ready speech-to-speech model with MCP, image input, and SIP support |
| 590 | https://platform.openai.com/docs/models/gpt-realtime |
| 591 | */ |
| 592 | [ |
| 593 | 'model' => 'gpt-realtime', |
| 594 | 'name' => 'GPT Realtime', |
| 595 | 'family' => 'realtime', |
| 596 | 'features' => ['core', 'realtime', 'functions'], |
| 597 | 'price' => [ |
| 598 | 'text' => [ |
| 599 | 'in' => 4.00, |
| 600 | 'cache' => 0.40, |
| 601 | 'out' => 16.00, |
| 602 | ], |
| 603 | 'audio' => [ |
| 604 | 'in' => 32.00, |
| 605 | 'cache' => 0.40, |
| 606 | 'out' => 64.00, |
| 607 | ], |
| 608 | 'image' => [ |
| 609 | 'in' => 5.00, |
| 610 | 'cache' => 0.50, |
| 611 | ] |
| 612 | ], |
| 613 | 'type' => 'token', |
| 614 | 'unit' => 1 / 1000000, |
| 615 | 'maxCompletionTokens' => 4096, |
| 616 | 'maxContextualTokens' => 128000, |
| 617 | 'finetune' => false, |
| 618 | 'tags' => ['core', 'realtime', 'functions', 'vision', 'mcp'] |
| 619 | ], |
| 620 | /* |
| 621 | GPT Realtime Mini |
| 622 | Cost-efficient version of GPT Realtime |
| 623 | https://platform.openai.com/docs/models/gpt-realtime-mini |
| 624 | */ |
| 625 | [ |
| 626 | 'model' => 'gpt-realtime-mini', |
| 627 | 'name' => 'GPT Realtime Mini', |
| 628 | 'family' => 'realtime', |
| 629 | 'features' => ['core', 'realtime', 'functions'], |
| 630 | 'price' => [ |
| 631 | 'text' => [ |
| 632 | 'in' => 0.60, |
| 633 | 'cache' => 0.06, |
| 634 | 'out' => 2.40, |
| 635 | ], |
| 636 | 'audio' => [ |
| 637 | 'in' => 10.00, |
| 638 | 'cache' => 0.06, |
| 639 | 'out' => 20.00, |
| 640 | ] |
| 641 | ], |
| 642 | 'type' => 'token', |
| 643 | 'unit' => 1 / 1000000, |
| 644 | 'maxCompletionTokens' => 4096, |
| 645 | 'maxContextualTokens' => 32000, |
| 646 | 'finetune' => false, |
| 647 | 'tags' => ['core', 'realtime', 'functions', 'vision', 'deprecated'] |
| 648 | ], |
| 649 | // TODO: gpt-realtime-translate and gpt-realtime-whisper are intentionally |
| 650 | // not exposed yet. Both run on their own OpenAI endpoints |
| 651 | // (/v1/realtime/translations/client_secrets and the realtime transcription |
| 652 | // session) with a one-way streaming contract, no tools, no conversation, |
| 653 | // and a different event prefix. They do not fit the chatbot session shape |
| 654 | // in premium/realtime.php and would warrant their own "Live Translation" |
| 655 | // and "Live Transcription" modes if a clear WordPress use case shows up. |
| 656 | /* |
| 657 | GPT Image |
| 658 | OpenAI's image generation models (token-based pricing) |
| 659 | https://platform.openai.com/docs/models/gpt-image-1 |
| 660 | */ |
| 661 | [ |
| 662 | 'model' => 'gpt-image-2', |
| 663 | 'name' => 'GPT Image 2', |
| 664 | 'family' => 'gpt-image', |
| 665 | 'features' => ['text-to-image'], |
| 666 | 'resolutions' => [ |
| 667 | [ |
| 668 | 'name' => '1024x1024', |
| 669 | 'label' => '1024x1024' |
| 670 | ], |
| 671 | [ |
| 672 | 'name' => '1024x1536', |
| 673 | 'label' => '1024x1536' |
| 674 | ], |
| 675 | [ |
| 676 | 'name' => '1536x1024', |
| 677 | 'label' => '1536x1024' |
| 678 | ] |
| 679 | ], |
| 680 | 'qualities' => [ |
| 681 | [ 'name' => 'auto', 'label' => 'Auto' ], |
| 682 | [ 'name' => 'low', 'label' => 'Low' ], |
| 683 | [ 'name' => 'medium', 'label' => 'Medium' ], |
| 684 | [ 'name' => 'high', 'label' => 'High' ] |
| 685 | ], |
| 686 | 'type' => 'token', |
| 687 | 'mode' => 'image', |
| 688 | 'price' => [ |
| 689 | 'in' => 8.00, |
| 690 | 'out' => 30.00, |
| 691 | 'cached' => 2.00 |
| 692 | ], |
| 693 | 'unit' => 1 / 1000000, |
| 694 | 'finetune' => false, |
| 695 | 'tags' => ['core', 'image', 'image-edit', 'responses'] |
| 696 | ], |
| 697 | [ |
| 698 | 'model' => 'gpt-image-1.5', |
| 699 | 'name' => 'GPT Image 1.5', |
| 700 | 'family' => 'gpt-image', |
| 701 | 'features' => ['text-to-image'], |
| 702 | 'resolutions' => [ |
| 703 | [ |
| 704 | 'name' => '1024x1024', |
| 705 | 'label' => '1024x1024' |
| 706 | ], |
| 707 | [ |
| 708 | 'name' => '1024x1536', |
| 709 | 'label' => '1024x1536' |
| 710 | ], |
| 711 | [ |
| 712 | 'name' => '1536x1024', |
| 713 | 'label' => '1536x1024' |
| 714 | ] |
| 715 | ], |
| 716 | 'qualities' => [ |
| 717 | [ 'name' => 'auto', 'label' => 'Auto' ], |
| 718 | [ 'name' => 'low', 'label' => 'Low' ], |
| 719 | [ 'name' => 'medium', 'label' => 'Medium' ], |
| 720 | [ 'name' => 'high', 'label' => 'High' ] |
| 721 | ], |
| 722 | 'type' => 'token', |
| 723 | 'mode' => 'image', |
| 724 | 'price' => [ |
| 725 | 'in' => 8.00, |
| 726 | 'out' => 32.00, |
| 727 | 'cached' => 2.00 |
| 728 | ], |
| 729 | 'unit' => 1 / 1000000, |
| 730 | 'finetune' => false, |
| 731 | // Shutdown: December 1, 2026. |
| 732 | 'tags' => ['core', 'image', 'image-edit', 'responses', 'deprecated'] |
| 733 | ], |
| 734 | [ |
| 735 | 'model' => 'gpt-image-1', |
| 736 | 'name' => 'GPT Image 1', |
| 737 | 'family' => 'gpt-image', |
| 738 | 'features' => ['text-to-image'], |
| 739 | 'resolutions' => [ |
| 740 | [ |
| 741 | 'name' => '1024x1024', |
| 742 | 'label' => '1024x1024' |
| 743 | ], |
| 744 | [ |
| 745 | 'name' => '1024x1536', |
| 746 | 'label' => '1024x1536' |
| 747 | ], |
| 748 | [ |
| 749 | 'name' => '1536x1024', |
| 750 | 'label' => '1536x1024' |
| 751 | ] |
| 752 | ], |
| 753 | 'qualities' => [ |
| 754 | [ 'name' => 'auto', 'label' => 'Auto' ], |
| 755 | [ 'name' => 'low', 'label' => 'Low' ], |
| 756 | [ 'name' => 'medium', 'label' => 'Medium' ], |
| 757 | [ 'name' => 'high', 'label' => 'High' ] |
| 758 | ], |
| 759 | 'type' => 'token', |
| 760 | 'mode' => 'image', |
| 761 | 'price' => [ |
| 762 | 'in' => 10.00, |
| 763 | 'out' => 40.00, |
| 764 | 'cached' => 2.50 |
| 765 | ], |
| 766 | 'unit' => 1 / 1000000, |
| 767 | 'finetune' => false, |
| 768 | // Shutdown: October 23, 2026. |
| 769 | 'tags' => ['core', 'image', 'image-edit', 'responses', 'deprecated'] |
| 770 | ], |
| 771 | [ |
| 772 | 'model' => 'gpt-image-1-mini', |
| 773 | 'name' => 'GPT Image 1 Mini', |
| 774 | 'family' => 'gpt-image', |
| 775 | 'features' => ['text-to-image'], |
| 776 | 'resolutions' => [ |
| 777 | [ |
| 778 | 'name' => '1024x1024', |
| 779 | 'label' => '1024x1024' |
| 780 | ], |
| 781 | [ |
| 782 | 'name' => '1024x1536', |
| 783 | 'label' => '1024x1536' |
| 784 | ], |
| 785 | [ |
| 786 | 'name' => '1536x1024', |
| 787 | 'label' => '1536x1024' |
| 788 | ] |
| 789 | ], |
| 790 | 'qualities' => [ |
| 791 | [ 'name' => 'auto', 'label' => 'Auto' ], |
| 792 | [ 'name' => 'low', 'label' => 'Low' ], |
| 793 | [ 'name' => 'medium', 'label' => 'Medium' ], |
| 794 | [ 'name' => 'high', 'label' => 'High' ] |
| 795 | ], |
| 796 | 'type' => 'token', |
| 797 | 'mode' => 'image', |
| 798 | 'price' => [ |
| 799 | 'in' => 2.50, |
| 800 | 'out' => 8.00, |
| 801 | 'cached' => 0.25 |
| 802 | ], |
| 803 | 'unit' => 1 / 1000000, |
| 804 | 'finetune' => false, |
| 805 | // Shutdown: December 1, 2026. |
| 806 | 'tags' => ['core', 'image', 'image-edit', 'responses', 'deprecated'] |
| 807 | ], |
| 808 | /* |
| 809 | Sora 2 |
| 810 | Flagship video generation with synced audio |
| 811 | https://platform.openai.com/docs/models/sora-2 |
| 812 | */ |
| 813 | [ |
| 814 | 'model' => 'sora-2', |
| 815 | 'name' => 'Sora 2', |
| 816 | 'family' => 'sora', |
| 817 | 'features' => ['text-to-video'], |
| 818 | 'resolutions' => [ |
| 819 | [ |
| 820 | 'name' => '720x1280', |
| 821 | 'label' => 'Portrait (720x1280)', |
| 822 | 'price' => 0.10 |
| 823 | ], |
| 824 | [ |
| 825 | 'name' => '1280x720', |
| 826 | 'label' => 'Landscape (1280x720)', |
| 827 | 'price' => 0.10 |
| 828 | ] |
| 829 | ], |
| 830 | 'durations' => [ 4, 8, 12 ], |
| 831 | 'type' => 'video', |
| 832 | 'unit' => 'second', |
| 833 | 'finetune' => false, |
| 834 | // Shutdown: September 24, 2026. |
| 835 | 'tags' => ['core', 'video', 'deprecated'] |
| 836 | ], |
| 837 | [ |
| 838 | 'model' => 'sora-2-pro', |
| 839 | 'name' => 'Sora 2 Pro', |
| 840 | 'family' => 'sora', |
| 841 | 'features' => ['text-to-video'], |
| 842 | 'resolutions' => [ |
| 843 | [ |
| 844 | 'name' => '720x1280', |
| 845 | 'label' => 'Portrait (720x1280)', |
| 846 | 'price' => 0.30 |
| 847 | ], |
| 848 | [ |
| 849 | 'name' => '1280x720', |
| 850 | 'label' => 'Landscape (1280x720)', |
| 851 | 'price' => 0.30 |
| 852 | ], |
| 853 | [ |
| 854 | 'name' => '1024x1792', |
| 855 | 'label' => 'Portrait High (1024x1792)', |
| 856 | 'price' => 0.50 |
| 857 | ], |
| 858 | [ |
| 859 | 'name' => '1792x1024', |
| 860 | 'label' => 'Landscape High (1792x1024)', |
| 861 | 'price' => 0.50 |
| 862 | ] |
| 863 | ], |
| 864 | 'durations' => [ 4, 8, 12 ], |
| 865 | 'type' => 'video', |
| 866 | 'unit' => 'second', |
| 867 | 'finetune' => false, |
| 868 | // Shutdown: September 24, 2026. |
| 869 | 'tags' => ['core', 'video', 'deprecated'] |
| 870 | ], |
| 871 | // Embedding models: |
| 872 | // OpenAI v3 models support Matryoshka embeddings (MRL) allowing dimension truncation |
| 873 | // while preserving semantic meaning. The dimensions array lists native + recommended sizes. |
| 874 | // See: https://huggingface.co/blog/matryoshka |
| 875 | [ |
| 876 | 'model' => 'text-embedding-3-small', |
| 877 | 'name' => 'Embedding 3-Small', |
| 878 | 'family' => 'text-embedding', |
| 879 | 'features' => ['embedding'], |
| 880 | 'price' => 0.02, |
| 881 | 'type' => 'token', |
| 882 | 'unit' => 1 / 1000000, |
| 883 | 'finetune' => false, |
| 884 | 'dimensions' => 1536, // Native output dimension |
| 885 | 'tags' => ['core', 'embedding', 'matryoshka'], |
| 886 | ], |
| 887 | [ |
| 888 | 'model' => 'text-embedding-3-large', |
| 889 | 'name' => 'Embedding 3-Large', |
| 890 | 'family' => 'text-embedding', |
| 891 | 'features' => ['embedding'], |
| 892 | 'price' => 0.13, |
| 893 | 'type' => 'token', |
| 894 | 'unit' => 1 / 1000000, |
| 895 | 'finetune' => false, |
| 896 | 'dimensions' => 3072, // Native output dimension |
| 897 | 'tags' => ['core', 'embedding', 'matryoshka'], |
| 898 | ], |
| 899 | // Ada-002 is a legacy model with fixed dimensions (no truncation support) |
| 900 | [ |
| 901 | 'model' => 'text-embedding-ada-002', |
| 902 | 'name' => 'Embedding Ada-002', |
| 903 | 'family' => 'text-embedding', |
| 904 | 'features' => ['embedding'], |
| 905 | 'price' => 0.10, |
| 906 | 'type' => 'token', |
| 907 | 'unit' => 1 / 1000000, |
| 908 | 'finetune' => false, |
| 909 | 'dimensions' => 1536, // Fixed dimension (no matryoshka support) |
| 910 | 'tags' => ['core', 'embedding'], |
| 911 | ], |
| 912 | // Audio Models: |
| 913 | [ |
| 914 | 'model' => 'gpt-4o-transcribe', |
| 915 | 'name' => 'GPT-4o Transcribe', |
| 916 | 'family' => 'whisper', |
| 917 | 'features' => ['speech-to-text'], |
| 918 | 'price' => 0.006, |
| 919 | 'type' => 'second', |
| 920 | 'unit' => 1, |
| 921 | 'finetune' => false, |
| 922 | 'tags' => ['core', 'audio', 'deprecated'], |
| 923 | ], |
| 924 | [ |
| 925 | 'model' => 'gpt-4o-mini-transcribe', |
| 926 | 'name' => 'GPT-4o Mini Transcribe', |
| 927 | 'family' => 'whisper', |
| 928 | 'features' => ['speech-to-text'], |
| 929 | 'price' => 0.003, |
| 930 | 'type' => 'second', |
| 931 | 'unit' => 1, |
| 932 | 'finetune' => false, |
| 933 | 'tags' => ['core', 'audio', 'deprecated'], |
| 934 | ], |
| 935 | [ |
| 936 | 'model' => 'whisper-1', |
| 937 | 'name' => 'Whisper', |
| 938 | 'family' => 'whisper', |
| 939 | 'features' => ['speech-to-text'], |
| 940 | 'price' => 0.006, |
| 941 | 'type' => 'second', |
| 942 | 'unit' => 1, |
| 943 | 'finetune' => false, |
| 944 | 'tags' => ['core', 'audio'], |
| 945 | ], |
| 946 | ] ); |
| 947 | |
| 948 | define( 'MWAI_ANTHROPIC_MODELS', [ |
| 949 | [ |
| 950 | 'model' => 'claude-fable-5', |
| 951 | 'name' => 'Claude Fable 5', |
| 952 | 'family' => 'claude-5', |
| 953 | 'features' => ['completion'], |
| 954 | 'price' => [ |
| 955 | 'in' => 10.00, |
| 956 | 'out' => 50.00, |
| 957 | ], |
| 958 | 'type' => 'token', |
| 959 | 'unit' => 1 / 1000000, |
| 960 | 'maxCompletionTokens' => 128000, |
| 961 | 'maxContextualTokens' => 1000000, |
| 962 | 'finetune' => false, |
| 963 | // Adaptive thinking is always on (no disabled mode, no manual budget, no |
| 964 | // assistant prefill). Our engine never sends those, so no special handling. |
| 965 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'no-temperature', 'latest'], |
| 966 | 'tools' => ['code_interpreter', 'thinking'] |
| 967 | ], |
| 968 | [ |
| 969 | 'model' => 'claude-opus-4-8', |
| 970 | 'name' => 'Claude Opus 4.8', |
| 971 | 'family' => 'claude-4', |
| 972 | 'features' => ['completion'], |
| 973 | 'price' => [ |
| 974 | 'in' => 5.00, |
| 975 | 'out' => 25.00, |
| 976 | ], |
| 977 | 'type' => 'token', |
| 978 | 'unit' => 1 / 1000000, |
| 979 | 'maxCompletionTokens' => 128000, |
| 980 | 'maxContextualTokens' => 1000000, |
| 981 | 'finetune' => false, |
| 982 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'no-temperature', 'latest'], |
| 983 | 'tools' => ['code_interpreter', 'thinking'] |
| 984 | ], |
| 985 | [ |
| 986 | 'model' => 'claude-opus-4-7', |
| 987 | 'name' => 'Claude Opus 4.7', |
| 988 | 'family' => 'claude-4', |
| 989 | 'features' => ['completion'], |
| 990 | 'price' => [ |
| 991 | 'in' => 5.00, |
| 992 | 'out' => 25.00, |
| 993 | ], |
| 994 | 'type' => 'token', |
| 995 | 'unit' => 1 / 1000000, |
| 996 | 'maxCompletionTokens' => 128000, |
| 997 | 'maxContextualTokens' => 1000000, |
| 998 | 'finetune' => false, |
| 999 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'no-temperature'], |
| 1000 | 'tools' => ['code_interpreter', 'thinking'] |
| 1001 | ], |
| 1002 | [ |
| 1003 | 'model' => 'claude-opus-4-6', |
| 1004 | 'name' => 'Claude Opus 4.6', |
| 1005 | 'family' => 'claude-4', |
| 1006 | 'features' => ['completion'], |
| 1007 | 'price' => [ |
| 1008 | 'in' => 5.00, |
| 1009 | 'out' => 25.00, |
| 1010 | ], |
| 1011 | 'type' => 'token', |
| 1012 | 'unit' => 1 / 1000000, |
| 1013 | 'maxCompletionTokens' => 128000, |
| 1014 | 'maxContextualTokens' => 1000000, |
| 1015 | 'finetune' => false, |
| 1016 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1017 | 'tools' => ['code_interpreter', 'thinking'] |
| 1018 | ], |
| 1019 | [ |
| 1020 | 'model' => 'claude-opus-4-5', |
| 1021 | 'name' => 'Claude Opus 4.5', |
| 1022 | 'family' => 'claude-4', |
| 1023 | 'features' => ['completion'], |
| 1024 | 'price' => [ |
| 1025 | 'in' => 5.00, |
| 1026 | 'out' => 25.00, |
| 1027 | ], |
| 1028 | 'type' => 'token', |
| 1029 | 'unit' => 1 / 1000000, |
| 1030 | 'maxCompletionTokens' => 64000, |
| 1031 | 'maxContextualTokens' => 200000, |
| 1032 | 'finetune' => false, |
| 1033 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1034 | 'tools' => ['code_interpreter', 'thinking'] |
| 1035 | ], |
| 1036 | [ |
| 1037 | 'model' => 'claude-sonnet-5', |
| 1038 | 'name' => 'Claude Sonnet 5', |
| 1039 | 'family' => 'claude-5', |
| 1040 | 'features' => ['completion'], |
| 1041 | // Standard pricing ($3/$15); Anthropic runs a $2/$10 intro through 2026-08-31. |
| 1042 | 'price' => [ |
| 1043 | 'in' => 3.00, |
| 1044 | 'out' => 15.00, |
| 1045 | ], |
| 1046 | 'type' => 'token', |
| 1047 | 'unit' => 1 / 1000000, |
| 1048 | 'maxCompletionTokens' => 128000, |
| 1049 | 'maxContextualTokens' => 1000000, |
| 1050 | 'finetune' => false, |
| 1051 | // Adaptive thinking is always on (no disabled mode, no manual budget, no |
| 1052 | // assistant prefill). Non-default temperature/top_p/top_k are rejected; the |
| 1053 | // 'no-temperature' tag stops us sending temperature, and we never send top_p/top_k. |
| 1054 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'no-temperature', 'latest'], |
| 1055 | 'tools' => ['code_interpreter', 'thinking'] |
| 1056 | ], |
| 1057 | [ |
| 1058 | 'model' => 'claude-sonnet-4-6', |
| 1059 | 'name' => 'Claude Sonnet 4.6', |
| 1060 | 'family' => 'claude-4', |
| 1061 | 'features' => ['completion'], |
| 1062 | 'price' => [ |
| 1063 | 'in' => 3.00, |
| 1064 | 'out' => 15.00, |
| 1065 | ], |
| 1066 | 'type' => 'token', |
| 1067 | 'unit' => 1 / 1000000, |
| 1068 | 'maxCompletionTokens' => 64000, |
| 1069 | 'maxContextualTokens' => 1000000, |
| 1070 | 'finetune' => false, |
| 1071 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1072 | 'tools' => ['code_interpreter', 'thinking'] |
| 1073 | ], |
| 1074 | [ |
| 1075 | 'model' => 'claude-sonnet-4-5-20250929', |
| 1076 | 'name' => 'Claude Sonnet 4.5 (2025/09/29)', |
| 1077 | 'family' => 'claude-4', |
| 1078 | 'features' => ['completion'], |
| 1079 | 'price' => [ |
| 1080 | 'in' => 3.00, |
| 1081 | 'out' => 15.00, |
| 1082 | ], |
| 1083 | 'type' => 'token', |
| 1084 | 'unit' => 1 / 1000000, |
| 1085 | 'maxCompletionTokens' => 64000, |
| 1086 | 'maxContextualTokens' => 200000, |
| 1087 | 'finetune' => false, |
| 1088 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1089 | 'tools' => ['code_interpreter', 'thinking'] |
| 1090 | ], |
| 1091 | [ |
| 1092 | 'model' => 'claude-sonnet-4-5', |
| 1093 | 'name' => 'Claude Sonnet 4.5', |
| 1094 | 'family' => 'claude-4', |
| 1095 | 'features' => ['completion'], |
| 1096 | 'price' => [ |
| 1097 | 'in' => 3.00, |
| 1098 | 'out' => 15.00, |
| 1099 | ], |
| 1100 | 'type' => 'token', |
| 1101 | 'unit' => 1 / 1000000, |
| 1102 | 'maxCompletionTokens' => 64000, |
| 1103 | 'maxContextualTokens' => 200000, |
| 1104 | 'finetune' => false, |
| 1105 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1106 | 'tools' => ['code_interpreter', 'thinking'] |
| 1107 | ], |
| 1108 | [ |
| 1109 | 'model' => 'claude-opus-4-1-20250805', |
| 1110 | 'name' => 'Claude Opus 4.1 (2025/08/05)', |
| 1111 | 'family' => 'claude-4', |
| 1112 | 'features' => ['completion'], |
| 1113 | 'price' => [ |
| 1114 | 'in' => 15.00, |
| 1115 | 'out' => 75.00, |
| 1116 | ], |
| 1117 | 'type' => 'token', |
| 1118 | 'unit' => 1 / 1000000, |
| 1119 | 'maxCompletionTokens' => 32000, |
| 1120 | 'maxContextualTokens' => 200000, |
| 1121 | 'finetune' => false, |
| 1122 | // Deprecated by Anthropic: retires on the Claude API on August 5, 2026. |
| 1123 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'deprecated'], |
| 1124 | 'tools' => ['code_interpreter', 'thinking'] |
| 1125 | ], |
| 1126 | [ |
| 1127 | 'model' => 'claude-opus-4-1', |
| 1128 | 'name' => 'Claude Opus 4.1', |
| 1129 | 'family' => 'claude-4', |
| 1130 | 'features' => ['completion'], |
| 1131 | 'price' => [ |
| 1132 | 'in' => 15.00, |
| 1133 | 'out' => 75.00, |
| 1134 | ], |
| 1135 | 'type' => 'token', |
| 1136 | 'unit' => 1 / 1000000, |
| 1137 | 'maxCompletionTokens' => 32000, |
| 1138 | 'maxContextualTokens' => 200000, |
| 1139 | 'finetune' => false, |
| 1140 | // Deprecated by Anthropic: retires on the Claude API on August 5, 2026. |
| 1141 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'deprecated'], |
| 1142 | 'tools' => ['code_interpreter', 'thinking'] |
| 1143 | ], |
| 1144 | [ |
| 1145 | 'model' => 'claude-opus-4-20250514', |
| 1146 | 'name' => 'Claude Opus 4 (2025/05/14)', |
| 1147 | 'family' => 'claude-4', |
| 1148 | 'features' => ['completion'], |
| 1149 | 'price' => [ |
| 1150 | 'in' => 15.00, |
| 1151 | 'out' => 75.00, |
| 1152 | ], |
| 1153 | 'type' => 'token', |
| 1154 | 'unit' => 1 / 1000000, |
| 1155 | 'maxCompletionTokens' => 32000, |
| 1156 | 'maxContextualTokens' => 200000, |
| 1157 | 'finetune' => false, |
| 1158 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'deprecated'], |
| 1159 | 'tools' => ['code_interpreter', 'thinking'] |
| 1160 | ], |
| 1161 | [ |
| 1162 | 'model' => 'claude-opus-4-0', |
| 1163 | 'name' => 'Claude Opus 4', |
| 1164 | 'family' => 'claude-4', |
| 1165 | 'features' => ['completion'], |
| 1166 | 'price' => [ |
| 1167 | 'in' => 15.00, |
| 1168 | 'out' => 75.00, |
| 1169 | ], |
| 1170 | 'type' => 'token', |
| 1171 | 'unit' => 1 / 1000000, |
| 1172 | 'maxCompletionTokens' => 32000, |
| 1173 | 'maxContextualTokens' => 200000, |
| 1174 | 'finetune' => false, |
| 1175 | // Deprecated by Anthropic: retires on the Claude API on June 15, 2026. |
| 1176 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'deprecated'], |
| 1177 | 'tools' => ['code_interpreter', 'thinking'] |
| 1178 | ], |
| 1179 | [ |
| 1180 | 'model' => 'claude-sonnet-4-20250514', |
| 1181 | 'name' => 'Claude Sonnet 4 (2025/05/14)', |
| 1182 | 'family' => 'claude-4', |
| 1183 | 'features' => ['completion'], |
| 1184 | 'price' => [ |
| 1185 | 'in' => 3.00, |
| 1186 | 'out' => 15.00, |
| 1187 | ], |
| 1188 | 'type' => 'token', |
| 1189 | 'unit' => 1 / 1000000, |
| 1190 | 'maxCompletionTokens' => 64000, |
| 1191 | 'maxContextualTokens' => 200000, |
| 1192 | 'finetune' => false, |
| 1193 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'deprecated'], |
| 1194 | 'tools' => ['code_interpreter', 'thinking'] |
| 1195 | ], |
| 1196 | [ |
| 1197 | 'model' => 'claude-sonnet-4-0', |
| 1198 | 'name' => 'Claude Sonnet 4', |
| 1199 | 'family' => 'claude-4', |
| 1200 | 'features' => ['completion'], |
| 1201 | 'price' => [ |
| 1202 | 'in' => 3.00, |
| 1203 | 'out' => 15.00, |
| 1204 | ], |
| 1205 | 'type' => 'token', |
| 1206 | 'unit' => 1 / 1000000, |
| 1207 | 'maxCompletionTokens' => 64000, |
| 1208 | 'maxContextualTokens' => 200000, |
| 1209 | 'finetune' => false, |
| 1210 | // Deprecated by Anthropic: retires on the Claude API on June 15, 2026. |
| 1211 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'deprecated'], |
| 1212 | 'tools' => ['code_interpreter', 'thinking'] |
| 1213 | ], |
| 1214 | [ |
| 1215 | 'model' => 'claude-haiku-4-5-20251001', |
| 1216 | 'name' => 'Claude-4.5 Haiku (2025/10/01)', |
| 1217 | 'family' => 'claude-4', |
| 1218 | 'features' => ['completion'], |
| 1219 | 'price' => [ |
| 1220 | 'in' => 1.00, |
| 1221 | 'out' => 5.00, |
| 1222 | ], |
| 1223 | 'type' => 'token', |
| 1224 | 'unit' => 1 / 1000000, |
| 1225 | 'maxCompletionTokens' => 64000, |
| 1226 | 'maxContextualTokens' => 200000, |
| 1227 | 'finetune' => false, |
| 1228 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1229 | 'tools' => ['code_interpreter', 'thinking'] |
| 1230 | ], |
| 1231 | [ |
| 1232 | 'model' => 'claude-haiku-4-5', |
| 1233 | 'name' => 'Claude-4.5 Haiku', |
| 1234 | 'family' => 'claude-4', |
| 1235 | 'features' => ['completion'], |
| 1236 | 'price' => [ |
| 1237 | 'in' => 1.00, |
| 1238 | 'out' => 5.00, |
| 1239 | ], |
| 1240 | 'type' => 'token', |
| 1241 | 'unit' => 1 / 1000000, |
| 1242 | 'maxCompletionTokens' => 64000, |
| 1243 | 'maxContextualTokens' => 200000, |
| 1244 | 'finetune' => false, |
| 1245 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp', 'latest'], |
| 1246 | 'tools' => ['code_interpreter', 'thinking'] |
| 1247 | ], |
| 1248 | [ |
| 1249 | 'model' => 'claude-3-7-sonnet-latest', |
| 1250 | 'name' => 'Claude-3.7 Sonnet', |
| 1251 | 'family' => 'claude-3', |
| 1252 | 'features' => ['completion'], |
| 1253 | 'price' => [ |
| 1254 | 'in' => 3.00, |
| 1255 | 'out' => 15.00, |
| 1256 | ], |
| 1257 | 'type' => 'token', |
| 1258 | 'unit' => 1 / 1000000, |
| 1259 | 'maxCompletionTokens' => 64000, |
| 1260 | 'maxContextualTokens' => 200000, |
| 1261 | 'finetune' => false, |
| 1262 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'reasoning', 'mcp'], |
| 1263 | 'tools' => ['code_interpreter', 'thinking'] |
| 1264 | ], |
| 1265 | [ |
| 1266 | 'model' => 'claude-3-5-sonnet-latest', |
| 1267 | 'name' => 'Claude-3.5 Sonnet', |
| 1268 | 'family' => 'claude-3', |
| 1269 | 'features' => ['completion'], |
| 1270 | 'price' => [ |
| 1271 | 'in' => 3.00, |
| 1272 | 'out' => 15.00, |
| 1273 | ], |
| 1274 | 'type' => 'token', |
| 1275 | 'unit' => 1 / 1000000, |
| 1276 | 'maxCompletionTokens' => 4096, |
| 1277 | 'maxContextualTokens' => 200000, |
| 1278 | 'finetune' => false, |
| 1279 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'mcp'] |
| 1280 | ], |
| 1281 | [ |
| 1282 | 'model' => 'claude-3-5-sonnet-20241022', |
| 1283 | 'name' => 'Claude-3.5 Sonnet (2024/10/22)', |
| 1284 | 'family' => 'claude-3', |
| 1285 | 'features' => ['completion'], |
| 1286 | 'price' => [ |
| 1287 | 'in' => 3.00, |
| 1288 | 'out' => 15.00, |
| 1289 | ], |
| 1290 | 'type' => 'token', |
| 1291 | 'unit' => 1 / 1000000, |
| 1292 | 'maxCompletionTokens' => 4096, |
| 1293 | 'maxContextualTokens' => 200000, |
| 1294 | 'finetune' => false, |
| 1295 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'mcp'] |
| 1296 | ], |
| 1297 | [ |
| 1298 | 'model' => 'claude-3-5-sonnet-20240620', |
| 1299 | 'name' => 'Claude-3.5 Sonnet (2024/06/20)', |
| 1300 | 'family' => 'claude-3', |
| 1301 | 'features' => ['completion'], |
| 1302 | 'price' => [ |
| 1303 | 'in' => 3.00, |
| 1304 | 'out' => 15.00, |
| 1305 | ], |
| 1306 | 'type' => 'token', |
| 1307 | 'unit' => 1 / 1000000, |
| 1308 | 'maxCompletionTokens' => 4096, |
| 1309 | 'maxContextualTokens' => 200000, |
| 1310 | 'finetune' => false, |
| 1311 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'mcp'] |
| 1312 | ], |
| 1313 | [ |
| 1314 | 'model' => 'claude-3-sonnet-20240229', |
| 1315 | 'name' => 'Claude-3 Sonnet (2024/02/29)', |
| 1316 | 'family' => 'claude-3', |
| 1317 | 'features' => ['completion'], |
| 1318 | 'price' => [ |
| 1319 | 'in' => 3.00, |
| 1320 | 'out' => 15.00, |
| 1321 | ], |
| 1322 | 'type' => 'token', |
| 1323 | 'unit' => 1 / 1000000, |
| 1324 | 'maxCompletionTokens' => 4096, |
| 1325 | 'maxContextualTokens' => 200000, |
| 1326 | 'finetune' => false, |
| 1327 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'deprecated'] |
| 1328 | ], |
| 1329 | [ |
| 1330 | // Deprecated: Anthropic retired Claude 3 Opus on January 5, 2026. |
| 1331 | 'model' => 'claude-3-opus-latest', |
| 1332 | 'name' => 'Claude-3 Opus (Latest)', |
| 1333 | 'family' => 'claude-3', |
| 1334 | 'features' => ['completion'], |
| 1335 | 'price' => [ |
| 1336 | 'in' => 15.00, |
| 1337 | 'out' => 75.00, |
| 1338 | ], |
| 1339 | 'type' => 'token', |
| 1340 | 'unit' => 1 / 1000000, |
| 1341 | 'maxCompletionTokens' => 4096, |
| 1342 | 'maxContextualTokens' => 200000, |
| 1343 | 'finetune' => false, |
| 1344 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'deprecated'] |
| 1345 | ], |
| 1346 | [ |
| 1347 | // Deprecated: Anthropic retired Claude 3 Opus on January 5, 2026. |
| 1348 | 'model' => 'claude-3-opus-20240229', |
| 1349 | 'name' => 'Claude-3 Opus (2024/02/29)', |
| 1350 | 'family' => 'claude-3', |
| 1351 | 'features' => ['completion'], |
| 1352 | 'price' => [ |
| 1353 | 'in' => 15.00, |
| 1354 | 'out' => 75.00, |
| 1355 | ], |
| 1356 | 'type' => 'token', |
| 1357 | 'unit' => 1 / 1000000, |
| 1358 | 'maxCompletionTokens' => 4096, |
| 1359 | 'maxContextualTokens' => 200000, |
| 1360 | 'finetune' => false, |
| 1361 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions', 'deprecated'] |
| 1362 | ], |
| 1363 | [ |
| 1364 | 'model' => 'claude-3-5-haiku-20241022', |
| 1365 | 'name' => 'Claude-3.5 Haiku (2024/10/22)', |
| 1366 | 'family' => 'claude-3', |
| 1367 | 'features' => ['completion'], |
| 1368 | 'price' => [ |
| 1369 | 'in' => 0.80, |
| 1370 | 'out' => 4.00, |
| 1371 | ], |
| 1372 | 'type' => 'token', |
| 1373 | 'unit' => 1 / 1000000, |
| 1374 | 'maxCompletionTokens' => 8192, |
| 1375 | 'maxContextualTokens' => 200000, |
| 1376 | 'finetune' => false, |
| 1377 | 'tags' => ['core', 'chat', 'vision', 'files'], |
| 1378 | 'tools' => ['code_interpreter'] |
| 1379 | ], |
| 1380 | [ |
| 1381 | 'model' => 'claude-3-5-haiku-latest', |
| 1382 | 'name' => 'Claude-3.5 Haiku', |
| 1383 | 'family' => 'claude-3', |
| 1384 | 'features' => ['completion'], |
| 1385 | 'price' => [ |
| 1386 | 'in' => 0.80, |
| 1387 | 'out' => 4.00, |
| 1388 | ], |
| 1389 | 'type' => 'token', |
| 1390 | 'unit' => 1 / 1000000, |
| 1391 | 'maxCompletionTokens' => 8192, |
| 1392 | 'maxContextualTokens' => 200000, |
| 1393 | 'finetune' => false, |
| 1394 | 'tags' => ['core', 'chat', 'vision', 'files', 'latest'], |
| 1395 | 'tools' => ['code_interpreter'] |
| 1396 | ], |
| 1397 | [ |
| 1398 | 'model' => 'claude-3-haiku-20240307', |
| 1399 | 'name' => 'Claude-3 Haiku (2024/03/07)', |
| 1400 | 'family' => 'claude-3', |
| 1401 | 'features' => ['completion'], |
| 1402 | 'price' => [ |
| 1403 | 'in' => 0.25, |
| 1404 | 'out' => 1.25, |
| 1405 | ], |
| 1406 | 'type' => 'token', |
| 1407 | 'unit' => 1 / 1000000, |
| 1408 | 'maxCompletionTokens' => 4096, |
| 1409 | 'maxContextualTokens' => 200000, |
| 1410 | 'finetune' => false, |
| 1411 | 'tags' => ['core', 'chat', 'vision', 'files', 'functions'] |
| 1412 | ] |
| 1413 | ] ); |
| 1414 | |
| 1415 | define( 'MWAI_PERPLEXITY_MODELS', [ |
| 1416 | [ |
| 1417 | 'model' => 'sonar-pro', |
| 1418 | 'name' => 'Sonar Pro', |
| 1419 | 'family' => 'sonar', |
| 1420 | 'features' => ['completion'], |
| 1421 | 'price' => [ |
| 1422 | 'in' => 3.00, |
| 1423 | 'out' => 15.00, |
| 1424 | 'search' => 5.00, |
| 1425 | ], |
| 1426 | 'type' => 'token', |
| 1427 | 'unit' => 1 / 1000000, |
| 1428 | 'searchUnit' => 1 / 1000, |
| 1429 | 'maxCompletionTokens' => 8192, |
| 1430 | 'maxContextualTokens' => 200000, |
| 1431 | 'finetune' => false, |
| 1432 | 'tags' => ['core', 'chat'], |
| 1433 | ], |
| 1434 | [ |
| 1435 | 'model' => 'sonar', |
| 1436 | 'name' => 'Sonar', |
| 1437 | 'family' => 'sonar', |
| 1438 | 'features' => ['completion'], |
| 1439 | 'price' => [ |
| 1440 | 'in' => 1.00, |
| 1441 | 'out' => 1.00, |
| 1442 | 'search' => 5.00, |
| 1443 | ], |
| 1444 | 'type' => 'token', |
| 1445 | 'unit' => 1 / 1000000, |
| 1446 | 'searchUnit' => 1 / 1000, |
| 1447 | 'maxCompletionTokens' => 4096, |
| 1448 | 'maxContextualTokens' => 127000, |
| 1449 | 'finetune' => false, |
| 1450 | 'tags' => ['core', 'chat'], |
| 1451 | ], |
| 1452 | ] ); |
| 1453 | |
| 1454 | // Mistral AI Models |
| 1455 | // Models are fetched dynamically from the Mistral API |
| 1456 | define( 'MWAI_MISTRAL_MODELS', [] ); |
| 1457 | |
| 1458 | // xAI (Grok) Models |
| 1459 | // Models are fetched dynamically from the xAI API. The fallback list below mirrors the |
| 1460 | // chat-capable models that xAI publishes on https://docs.x.ai/docs/models, used only when |
| 1461 | // the dynamic fetch fails (e.g. invalid key during preflight). |
| 1462 | define( 'MWAI_XAI_MODELS', [ |
| 1463 | [ |
| 1464 | 'model' => 'grok-4', |
| 1465 | 'name' => 'Grok 4', |
| 1466 | 'family' => 'grok', |
| 1467 | 'features' => [ 'completion', 'functions' ], |
| 1468 | 'price' => [ 'in' => 3.00, 'out' => 15.00 ], |
| 1469 | 'type' => 'token', |
| 1470 | 'unit' => 1 / 1000000, |
| 1471 | 'maxCompletionTokens' => 16384, |
| 1472 | 'maxContextualTokens' => 256000, |
| 1473 | 'tags' => [ 'core', 'chat', 'functions', 'vision', 'reasoning' ], |
| 1474 | ], |
| 1475 | [ |
| 1476 | 'model' => 'grok-4-fast', |
| 1477 | 'name' => 'Grok 4 Fast', |
| 1478 | 'family' => 'grok', |
| 1479 | 'features' => [ 'completion', 'functions' ], |
| 1480 | 'price' => [ 'in' => 0.20, 'out' => 0.50 ], |
| 1481 | 'type' => 'token', |
| 1482 | 'unit' => 1 / 1000000, |
| 1483 | 'maxCompletionTokens' => 16384, |
| 1484 | 'maxContextualTokens' => 256000, |
| 1485 | 'tags' => [ 'core', 'chat', 'functions', 'vision', 'reasoning' ], |
| 1486 | ], |
| 1487 | [ |
| 1488 | 'model' => 'grok-code-fast-1', |
| 1489 | 'name' => 'Grok Code Fast', |
| 1490 | 'family' => 'grok', |
| 1491 | 'features' => [ 'completion', 'functions' ], |
| 1492 | 'price' => [ 'in' => 0.20, 'out' => 1.50 ], |
| 1493 | 'type' => 'token', |
| 1494 | 'unit' => 1 / 1000000, |
| 1495 | 'maxCompletionTokens' => 16384, |
| 1496 | 'maxContextualTokens' => 256000, |
| 1497 | 'tags' => [ 'core', 'chat', 'functions' ], |
| 1498 | ], |
| 1499 | [ |
| 1500 | 'model' => 'grok-3-mini', |
| 1501 | 'name' => 'Grok 3 Mini', |
| 1502 | 'family' => 'grok', |
| 1503 | 'features' => [ 'completion', 'functions' ], |
| 1504 | 'price' => [ 'in' => 0.30, 'out' => 0.50 ], |
| 1505 | 'type' => 'token', |
| 1506 | 'unit' => 1 / 1000000, |
| 1507 | 'maxCompletionTokens' => 16384, |
| 1508 | 'maxContextualTokens' => 131072, |
| 1509 | 'tags' => [ 'core', 'chat', 'functions', 'reasoning' ], |
| 1510 | ], |
| 1511 | ] ); |
| 1512 |