@dexto/llm 1.8.7 → 1.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -56,6 +56,7 @@ __export(index_exports, {
56
56
  getSupportedProviders: () => getSupportedProviders,
57
57
  hasAllRegistryModelsSupport: () => hasAllRegistryModelsSupport,
58
58
  isAnthropicAdaptiveThinkingModel: () => isAnthropicAdaptiveThinkingModel,
59
+ isAnthropicAlwaysAdaptiveThinkingModel: () => isAnthropicAlwaysAdaptiveThinkingModel,
59
60
  isAnthropicOpusAdaptiveThinkingModel: () => isAnthropicOpusAdaptiveThinkingModel,
60
61
  isAnthropicOpusXhighThinkingModel: () => isAnthropicOpusXhighThinkingModel,
61
62
  isClaudeVersionAtLeast: () => isClaudeVersionAtLeast,
@@ -2071,106 +2072,34 @@ var MODELS_BY_PROVIDER = {
2071
2072
  }
2072
2073
  ],
2073
2074
  groq: [
2074
- {
2075
- name: "allam-2-7b",
2076
- displayName: "ALLaM-2-7b",
2077
- maxInputTokens: 4096,
2078
- supportedFileTypes: [],
2079
- reasoning: false,
2080
- supportsTemperature: true,
2081
- supportsToolCall: false,
2082
- releaseDate: "2024-09",
2083
- modalities: {
2084
- input: ["text"],
2085
- output: ["text"]
2086
- },
2087
- pricing: {
2088
- inputPerM: 0,
2089
- outputPerM: 0,
2090
- currency: "USD",
2091
- unit: "per_million_tokens"
2092
- }
2093
- },
2094
2075
  {
2095
2076
  name: "canopylabs/orpheus-arabic-saudi",
2096
- displayName: "Orpheus Arabic Saudi",
2077
+ displayName: "Canopy Labs Orpheus Arabic Saudi",
2097
2078
  maxInputTokens: 4e3,
2098
2079
  supportedFileTypes: [],
2099
2080
  reasoning: false,
2100
- supportsTemperature: true,
2081
+ supportsTemperature: false,
2101
2082
  supportsToolCall: false,
2102
2083
  releaseDate: "2025-12-16",
2084
+ status: "beta",
2103
2085
  modalities: {
2104
2086
  input: ["text"],
2105
2087
  output: ["audio"]
2106
- },
2107
- pricing: {
2108
- inputPerM: 40,
2109
- outputPerM: 0,
2110
- currency: "USD",
2111
- unit: "per_million_tokens"
2112
2088
  }
2113
2089
  },
2114
2090
  {
2115
2091
  name: "canopylabs/orpheus-v1-english",
2116
- displayName: "Orpheus V1 English",
2092
+ displayName: "Canopy Labs Orpheus V1 English",
2117
2093
  maxInputTokens: 4e3,
2118
2094
  supportedFileTypes: [],
2119
2095
  reasoning: false,
2120
- supportsTemperature: true,
2096
+ supportsTemperature: false,
2121
2097
  supportsToolCall: false,
2122
2098
  releaseDate: "2025-12-19",
2099
+ status: "beta",
2123
2100
  modalities: {
2124
2101
  input: ["text"],
2125
2102
  output: ["audio"]
2126
- },
2127
- pricing: {
2128
- inputPerM: 0,
2129
- outputPerM: 0,
2130
- currency: "USD",
2131
- unit: "per_million_tokens"
2132
- }
2133
- },
2134
- {
2135
- name: "deepseek-r1-distill-llama-70b",
2136
- displayName: "DeepSeek R1 Distill Llama 70B",
2137
- maxInputTokens: 131072,
2138
- supportedFileTypes: [],
2139
- reasoning: true,
2140
- supportsTemperature: true,
2141
- supportsToolCall: true,
2142
- releaseDate: "2025-01-20",
2143
- status: "deprecated",
2144
- modalities: {
2145
- input: ["text"],
2146
- output: ["text"]
2147
- },
2148
- pricing: {
2149
- inputPerM: 0.75,
2150
- outputPerM: 0.99,
2151
- currency: "USD",
2152
- unit: "per_million_tokens"
2153
- }
2154
- },
2155
- {
2156
- name: "gemma2-9b-it",
2157
- displayName: "Gemma 2 9B",
2158
- maxInputTokens: 8192,
2159
- supportedFileTypes: [],
2160
- reasoning: false,
2161
- supportsTemperature: true,
2162
- supportsToolCall: true,
2163
- releaseDate: "2024-06-27",
2164
- status: "deprecated",
2165
- modalities: {
2166
- input: ["text"],
2167
- output: ["text"]
2168
- },
2169
- pricing: {
2170
- inputPerM: 0.2,
2171
- outputPerM: 0.2,
2172
- currency: "USD",
2173
- unit: "per_million_tokens"
2174
2103
  }
2175
2104
  },
2176
2105
  {
@@ -2178,19 +2107,13 @@ var MODELS_BY_PROVIDER = {
2178
2107
  displayName: "Compound",
2179
2108
  maxInputTokens: 131072,
2180
2109
  supportedFileTypes: [],
2181
- reasoning: true,
2110
+ reasoning: false,
2182
2111
  supportsTemperature: true,
2183
- supportsToolCall: true,
2112
+ supportsToolCall: false,
2184
2113
  releaseDate: "2025-09-04",
2185
2114
  modalities: {
2186
2115
  input: ["text"],
2187
2116
  output: ["text"]
2188
- },
2189
- pricing: {
2190
- inputPerM: 0,
2191
- outputPerM: 0,
2192
- currency: "USD",
2193
- unit: "per_million_tokens"
2194
2117
  }
2195
2118
  },
2196
2119
  {
@@ -2198,24 +2121,18 @@ var MODELS_BY_PROVIDER = {
2198
2121
  displayName: "Compound Mini",
2199
2122
  maxInputTokens: 131072,
2200
2123
  supportedFileTypes: [],
2201
- reasoning: true,
2124
+ reasoning: false,
2202
2125
  supportsTemperature: true,
2203
- supportsToolCall: true,
2126
+ supportsToolCall: false,
2204
2127
  releaseDate: "2025-09-04",
2205
2128
  modalities: {
2206
2129
  input: ["text"],
2207
2130
  output: ["text"]
2208
- },
2209
- pricing: {
2210
- inputPerM: 0,
2211
- outputPerM: 0,
2212
- currency: "USD",
2213
- unit: "per_million_tokens"
2214
2131
  }
2215
2132
  },
2216
2133
  {
2217
2134
  name: "llama-3.1-8b-instant",
2218
- displayName: "Llama 3.1 8B Instant",
2135
+ displayName: "Llama 3.1 8B",
2219
2136
  maxInputTokens: 131072,
2220
2137
  supportedFileTypes: [],
2221
2138
  reasoning: false,
@@ -2235,7 +2152,7 @@ var MODELS_BY_PROVIDER = {
2235
2152
  },
2236
2153
  {
2237
2154
  name: "llama-3.3-70b-versatile",
2238
- displayName: "Llama 3.3 70B Versatile",
2155
+ displayName: "Llama 3.3 70B",
2239
2156
  maxInputTokens: 131072,
2240
2157
  supportedFileTypes: [],
2241
2158
  reasoning: false,
@@ -2254,99 +2171,16 @@ var MODELS_BY_PROVIDER = {
2254
2171
  },
2255
2172
  default: true
2256
2173
  },
2257
- {
2258
- name: "llama-guard-3-8b",
2259
- displayName: "Llama Guard 3 8B",
2260
- maxInputTokens: 8192,
2261
- supportedFileTypes: [],
2262
- reasoning: false,
2263
- supportsTemperature: true,
2264
- supportsToolCall: false,
2265
- releaseDate: "2024-07-23",
2266
- status: "deprecated",
2267
- modalities: {
2268
- input: ["text"],
2269
- output: ["text"]
2270
- },
2271
- pricing: {
2272
- inputPerM: 0.2,
2273
- outputPerM: 0.2,
2274
- currency: "USD",
2275
- unit: "per_million_tokens"
2276
- }
2277
- },
2278
- {
2279
- name: "llama3-70b-8192",
2280
- displayName: "Llama 3 70B",
2281
- maxInputTokens: 8192,
2282
- supportedFileTypes: [],
2283
- reasoning: false,
2284
- supportsTemperature: true,
2285
- supportsToolCall: true,
2286
- releaseDate: "2024-04-18",
2287
- status: "deprecated",
2288
- modalities: {
2289
- input: ["text"],
2290
- output: ["text"]
2291
- },
2292
- pricing: {
2293
- inputPerM: 0.59,
2294
- outputPerM: 0.79,
2295
- currency: "USD",
2296
- unit: "per_million_tokens"
2297
- }
2298
- },
2299
- {
2300
- name: "llama3-8b-8192",
2301
- displayName: "Llama 3 8B",
2302
- maxInputTokens: 8192,
2303
- supportedFileTypes: [],
2304
- reasoning: false,
2305
- supportsTemperature: true,
2306
- supportsToolCall: true,
2307
- releaseDate: "2024-04-18",
2308
- status: "deprecated",
2309
- modalities: {
2310
- input: ["text"],
2311
- output: ["text"]
2312
- },
2313
- pricing: {
2314
- inputPerM: 0.05,
2315
- outputPerM: 0.08,
2316
- currency: "USD",
2317
- unit: "per_million_tokens"
2318
- }
2319
- },
2320
- {
2321
- name: "meta-llama/llama-4-maverick-17b-128e-instruct",
2322
- displayName: "Llama 4 Maverick 17B",
2323
- maxInputTokens: 131072,
2324
- supportedFileTypes: ["image"],
2325
- reasoning: false,
2326
- supportsTemperature: true,
2327
- supportsToolCall: true,
2328
- releaseDate: "2025-04-05",
2329
- status: "deprecated",
2330
- modalities: {
2331
- input: ["text", "image"],
2332
- output: ["text"]
2333
- },
2334
- pricing: {
2335
- inputPerM: 0.2,
2336
- outputPerM: 0.6,
2337
- currency: "USD",
2338
- unit: "per_million_tokens"
2339
- }
2340
- },
2341
2174
  {
2342
2175
  name: "meta-llama/llama-4-scout-17b-16e-instruct",
2343
- displayName: "Llama 4 Scout 17B",
2176
+ displayName: "Llama 4 Scout 17B 16E",
2344
2177
  maxInputTokens: 131072,
2345
2178
  supportedFileTypes: ["image"],
2346
2179
  reasoning: false,
2347
2180
  supportsTemperature: true,
2348
2181
  supportsToolCall: true,
2349
2182
  releaseDate: "2025-04-05",
2183
+ status: "beta",
2350
2184
  modalities: {
2351
2185
  input: ["text", "image"],
2352
2186
  output: ["text"]
@@ -2358,36 +2192,16 @@ var MODELS_BY_PROVIDER = {
2358
2192
  unit: "per_million_tokens"
2359
2193
  }
2360
2194
  },
2361
- {
2362
- name: "meta-llama/llama-guard-4-12b",
2363
- displayName: "Llama Guard 4 12B",
2364
- maxInputTokens: 131072,
2365
- supportedFileTypes: ["image"],
2366
- reasoning: false,
2367
- supportsTemperature: true,
2368
- supportsToolCall: false,
2369
- releaseDate: "2025-04-05",
2370
- status: "deprecated",
2371
- modalities: {
2372
- input: ["text", "image"],
2373
- output: ["text"]
2374
- },
2375
- pricing: {
2376
- inputPerM: 0.2,
2377
- outputPerM: 0.2,
2378
- currency: "USD",
2379
- unit: "per_million_tokens"
2380
- }
2381
- },
2382
2195
  {
2383
2196
  name: "meta-llama/llama-prompt-guard-2-22m",
2384
2197
  displayName: "Llama Prompt Guard 2 22M",
2385
2198
  maxInputTokens: 512,
2386
2199
  supportedFileTypes: [],
2387
2200
  reasoning: false,
2388
- supportsTemperature: true,
2201
+ supportsTemperature: false,
2389
2202
  supportsToolCall: false,
2390
- releaseDate: "2024-10-01",
2203
+ releaseDate: "2025-05-29",
2204
+ status: "beta",
2391
2205
  modalities: {
2392
2206
  input: ["text"],
2393
2207
  output: ["text"]
@@ -2401,13 +2215,14 @@ var MODELS_BY_PROVIDER = {
2401
2215
  },
2402
2216
  {
2403
2217
  name: "meta-llama/llama-prompt-guard-2-86m",
2404
- displayName: "Llama Prompt Guard 2 86M",
2218
+ displayName: "Prompt Guard 2 86M",
2405
2219
  maxInputTokens: 512,
2406
2220
  supportedFileTypes: [],
2407
2221
  reasoning: false,
2408
- supportsTemperature: true,
2222
+ supportsTemperature: false,
2409
2223
  supportsToolCall: false,
2410
- releaseDate: "2024-10-01",
2224
+ releaseDate: "2025-05-29",
2225
+ status: "beta",
2411
2226
  modalities: {
2412
2227
  input: ["text"],
2413
2228
  output: ["text"]
@@ -2419,69 +2234,6 @@ var MODELS_BY_PROVIDER = {
2419
2234
  unit: "per_million_tokens"
2420
2235
  }
2421
2236
  },
2422
- {
2423
- name: "mistral-saba-24b",
2424
- displayName: "Mistral Saba 24B",
2425
- maxInputTokens: 32768,
2426
- supportedFileTypes: [],
2427
- reasoning: false,
2428
- supportsTemperature: true,
2429
- supportsToolCall: true,
2430
- releaseDate: "2025-02-06",
2431
- status: "deprecated",
2432
- modalities: {
2433
- input: ["text"],
2434
- output: ["text"]
2435
- },
2436
- pricing: {
2437
- inputPerM: 0.79,
2438
- outputPerM: 0.79,
2439
- currency: "USD",
2440
- unit: "per_million_tokens"
2441
- }
2442
- },
2443
- {
2444
- name: "moonshotai/kimi-k2-instruct",
2445
- displayName: "Kimi K2 Instruct",
2446
- maxInputTokens: 131072,
2447
- supportedFileTypes: [],
2448
- reasoning: false,
2449
- supportsTemperature: true,
2450
- supportsToolCall: true,
2451
- releaseDate: "2025-07-14",
2452
- status: "deprecated",
2453
- modalities: {
2454
- input: ["text"],
2455
- output: ["text"]
2456
- },
2457
- pricing: {
2458
- inputPerM: 1,
2459
- outputPerM: 3,
2460
- currency: "USD",
2461
- unit: "per_million_tokens"
2462
- }
2463
- },
2464
- {
2465
- name: "moonshotai/kimi-k2-instruct-0905",
2466
- displayName: "Kimi K2 Instruct 0905",
2467
- maxInputTokens: 262144,
2468
- supportedFileTypes: [],
2469
- reasoning: false,
2470
- supportsTemperature: true,
2471
- supportsToolCall: true,
2472
- releaseDate: "2025-09-05",
2473
- modalities: {
2474
- input: ["text"],
2475
- output: ["text"]
2476
- },
2477
- pricing: {
2478
- inputPerM: 1,
2479
- outputPerM: 3,
2480
- cacheReadPerM: 0.5,
2481
- currency: "USD",
2482
- unit: "per_million_tokens"
2483
- }
2484
- },
2485
2237
  {
2486
2238
  name: "openai/gpt-oss-120b",
2487
2239
  displayName: "GPT OSS 120B",
@@ -2532,7 +2284,8 @@ var MODELS_BY_PROVIDER = {
2532
2284
  reasoning: true,
2533
2285
  supportsTemperature: true,
2534
2286
  supportsToolCall: true,
2535
- releaseDate: "2025-03-05",
2287
+ releaseDate: "2025-10-29",
2288
+ status: "beta",
2536
2289
  modalities: {
2537
2290
  input: ["text"],
2538
2291
  output: ["text"]
@@ -2545,36 +2298,16 @@ var MODELS_BY_PROVIDER = {
2545
2298
  unit: "per_million_tokens"
2546
2299
  }
2547
2300
  },
2548
- {
2549
- name: "qwen-qwq-32b",
2550
- displayName: "Qwen QwQ 32B",
2551
- maxInputTokens: 131072,
2552
- supportedFileTypes: [],
2553
- reasoning: true,
2554
- supportsTemperature: true,
2555
- supportsToolCall: true,
2556
- releaseDate: "2024-11-27",
2557
- status: "deprecated",
2558
- modalities: {
2559
- input: ["text"],
2560
- output: ["text"]
2561
- },
2562
- pricing: {
2563
- inputPerM: 0.29,
2564
- outputPerM: 0.39,
2565
- currency: "USD",
2566
- unit: "per_million_tokens"
2567
- }
2568
- },
2569
2301
  {
2570
2302
  name: "qwen/qwen3-32b",
2571
- displayName: "Qwen3 32B",
2303
+ displayName: "Qwen3-32B",
2572
2304
  maxInputTokens: 131072,
2573
2305
  supportedFileTypes: [],
2574
2306
  reasoning: true,
2575
2307
  supportsTemperature: true,
2576
2308
  supportsToolCall: true,
2577
- releaseDate: "2024-12-23",
2309
+ releaseDate: "2025-06-11",
2310
+ status: "beta",
2578
2311
  modalities: {
2579
2312
  input: ["text"],
2580
2313
  output: ["text"]
@@ -2588,8 +2321,8 @@ var MODELS_BY_PROVIDER = {
2588
2321
  },
2589
2322
  {
2590
2323
  name: "whisper-large-v3",
2591
- displayName: "Whisper Large V3",
2592
- maxInputTokens: 448,
2324
+ displayName: "Whisper",
2325
+ maxInputTokens: 0,
2593
2326
  supportedFileTypes: ["audio"],
2594
2327
  reasoning: false,
2595
2328
  supportsTemperature: true,
@@ -2598,18 +2331,12 @@ var MODELS_BY_PROVIDER = {
2598
2331
  modalities: {
2599
2332
  input: ["audio"],
2600
2333
  output: ["text"]
2601
- },
2602
- pricing: {
2603
- inputPerM: 0,
2604
- outputPerM: 0,
2605
- currency: "USD",
2606
- unit: "per_million_tokens"
2607
2334
  }
2608
2335
  },
2609
2336
  {
2610
2337
  name: "whisper-large-v3-turbo",
2611
- displayName: "Whisper Large v3 Turbo",
2612
- maxInputTokens: 448,
2338
+ displayName: "Whisper Large V3 Turbo",
2339
+ maxInputTokens: 0,
2613
2340
  supportedFileTypes: ["audio"],
2614
2341
  reasoning: false,
2615
2342
  supportsTemperature: true,
@@ -2618,12 +2345,6 @@ var MODELS_BY_PROVIDER = {
2618
2345
  modalities: {
2619
2346
  input: ["audio"],
2620
2347
  output: ["text"]
2621
- },
2622
- pricing: {
2623
- inputPerM: 0,
2624
- outputPerM: 0,
2625
- currency: "USD",
2626
- unit: "per_million_tokens"
2627
2348
  }
2628
2349
  }
2629
2350
  ],
@@ -3411,6 +3132,28 @@ var MODELS_BY_PROVIDER = {
3411
3132
  }
3412
3133
  ],
3413
3134
  openrouter: [
3135
+ {
3136
+ name: "~anthropic/claude-fable-latest",
3137
+ displayName: "Claude Fable Latest",
3138
+ maxInputTokens: 1e6,
3139
+ supportedFileTypes: ["pdf", "image"],
3140
+ reasoning: true,
3141
+ supportsTemperature: false,
3142
+ supportsToolCall: true,
3143
+ releaseDate: "2026-06-09",
3144
+ modalities: {
3145
+ input: ["text", "image", "pdf"],
3146
+ output: ["text"]
3147
+ },
3148
+ pricing: {
3149
+ inputPerM: 10,
3150
+ outputPerM: 50,
3151
+ cacheReadPerM: 1,
3152
+ cacheWritePerM: 12.5,
3153
+ currency: "USD",
3154
+ unit: "per_million_tokens"
3155
+ }
3156
+ },
3414
3157
  {
3415
3158
  name: "~anthropic/claude-haiku-latest",
3416
3159
  displayName: "Anthropic Claude Haiku Latest",
@@ -3872,6 +3615,28 @@ var MODELS_BY_PROVIDER = {
3872
3615
  unit: "per_million_tokens"
3873
3616
  }
3874
3617
  },
3618
+ {
3619
+ name: "anthropic/claude-fable-5",
3620
+ displayName: "Claude Fable 5",
3621
+ maxInputTokens: 1e6,
3622
+ supportedFileTypes: ["pdf", "image"],
3623
+ reasoning: true,
3624
+ supportsTemperature: false,
3625
+ supportsToolCall: true,
3626
+ releaseDate: "2026-06-09",
3627
+ modalities: {
3628
+ input: ["text", "image", "pdf"],
3629
+ output: ["text"]
3630
+ },
3631
+ pricing: {
3632
+ inputPerM: 10,
3633
+ outputPerM: 50,
3634
+ cacheReadPerM: 1,
3635
+ cacheWritePerM: 12.5,
3636
+ currency: "USD",
3637
+ unit: "per_million_tokens"
3638
+ }
3639
+ },
3875
3640
  {
3876
3641
  name: "anthropic/claude-haiku-4.5",
3877
3642
  displayName: "Claude Haiku 4.5 (latest)",
@@ -4192,28 +3957,8 @@ var MODELS_BY_PROVIDER = {
4192
3957
  output: ["text"]
4193
3958
  },
4194
3959
  pricing: {
4195
- inputPerM: 0.5,
4196
- outputPerM: 0.8,
4197
- currency: "USD",
4198
- unit: "per_million_tokens"
4199
- }
4200
- },
4201
- {
4202
- name: "arcee-ai/maestro-reasoning",
4203
- displayName: "Maestro Reasoning",
4204
- maxInputTokens: 131072,
4205
- supportedFileTypes: [],
4206
- reasoning: false,
4207
- supportsTemperature: true,
4208
- supportsToolCall: false,
4209
- releaseDate: "2025-05-05",
4210
- modalities: {
4211
- input: ["text"],
4212
- output: ["text"]
4213
- },
4214
- pricing: {
4215
- inputPerM: 0.9,
4216
- outputPerM: 3.3,
3960
+ inputPerM: 0.5,
3961
+ outputPerM: 0.8,
4217
3962
  currency: "USD",
4218
3963
  unit: "per_million_tokens"
4219
3964
  }
@@ -6133,7 +5878,8 @@ var MODELS_BY_PROVIDER = {
6133
5878
  supportsInterleaved: true,
6134
5879
  pricing: {
6135
5880
  inputPerM: 0.15,
6136
- outputPerM: 1.15,
5881
+ outputPerM: 0.9,
5882
+ cacheReadPerM: 0.05,
6137
5883
  currency: "USD",
6138
5884
  unit: "per_million_tokens"
6139
5885
  }
@@ -6141,7 +5887,7 @@ var MODELS_BY_PROVIDER = {
6141
5887
  {
6142
5888
  name: "minimax/minimax-m2.7",
6143
5889
  displayName: "MiniMax-M2.7",
6144
- maxInputTokens: 196608,
5890
+ maxInputTokens: 204800,
6145
5891
  supportedFileTypes: [],
6146
5892
  reasoning: true,
6147
5893
  supportsTemperature: true,
@@ -6152,8 +5898,9 @@ var MODELS_BY_PROVIDER = {
6152
5898
  output: ["text"]
6153
5899
  },
6154
5900
  pricing: {
6155
- inputPerM: 0.279,
6156
- outputPerM: 1.2,
5901
+ inputPerM: 0.27,
5902
+ outputPerM: 1.08,
5903
+ cacheReadPerM: 0.054,
6157
5904
  currency: "USD",
6158
5905
  unit: "per_million_tokens"
6159
5906
  }
@@ -10250,26 +9997,6 @@ var MODELS_BY_PROVIDER = {
10250
9997
  unit: "per_million_tokens"
10251
9998
  }
10252
9999
  },
10253
- {
10254
- name: "z-ai/glm-4-32b",
10255
- displayName: "GLM 4 32B ",
10256
- maxInputTokens: 128e3,
10257
- supportedFileTypes: [],
10258
- reasoning: false,
10259
- supportsTemperature: true,
10260
- supportsToolCall: true,
10261
- releaseDate: "2025-07-24",
10262
- modalities: {
10263
- input: ["text"],
10264
- output: ["text"]
10265
- },
10266
- pricing: {
10267
- inputPerM: 0.1,
10268
- outputPerM: 0.1,
10269
- currency: "USD",
10270
- unit: "per_million_tokens"
10271
- }
10272
- },
10273
10000
  {
10274
10001
  name: "z-ai/glm-4.5",
10275
10002
  displayName: "GLM-4.5",
@@ -10312,26 +10039,6 @@ var MODELS_BY_PROVIDER = {
10312
10039
  unit: "per_million_tokens"
10313
10040
  }
10314
10041
  },
10315
- {
10316
- name: "z-ai/glm-4.5-air:free",
10317
- displayName: "GLM 4.5 Air (free)",
10318
- maxInputTokens: 131072,
10319
- supportedFileTypes: [],
10320
- reasoning: true,
10321
- supportsTemperature: true,
10322
- supportsToolCall: true,
10323
- releaseDate: "2025-07-28",
10324
- modalities: {
10325
- input: ["text"],
10326
- output: ["text"]
10327
- },
10328
- pricing: {
10329
- inputPerM: 0,
10330
- outputPerM: 0,
10331
- currency: "USD",
10332
- unit: "per_million_tokens"
10333
- }
10334
- },
10335
10042
  {
10336
10043
  name: "z-ai/glm-4.5v",
10337
10044
  displayName: "GLM-4.5V",
@@ -10390,7 +10097,7 @@ var MODELS_BY_PROVIDER = {
10390
10097
  pricing: {
10391
10098
  inputPerM: 0.3,
10392
10099
  outputPerM: 0.9,
10393
- cacheReadPerM: 0.05,
10100
+ cacheReadPerM: 0.055,
10394
10101
  currency: "USD",
10395
10102
  unit: "per_million_tokens"
10396
10103
  }
@@ -10473,7 +10180,7 @@ var MODELS_BY_PROVIDER = {
10473
10180
  {
10474
10181
  name: "z-ai/glm-5-turbo",
10475
10182
  displayName: "GLM-5-Turbo",
10476
- maxInputTokens: 202752,
10183
+ maxInputTokens: 262144,
10477
10184
  supportedFileTypes: [],
10478
10185
  reasoning: true,
10479
10186
  supportsTemperature: true,
@@ -10519,31 +10226,6 @@ var MODELS_BY_PROVIDER = {
10519
10226
  currency: "USD",
10520
10227
  unit: "per_million_tokens"
10521
10228
  }
10522
- },
10523
- {
10524
- name: "z-ai/glm-5v-turbo",
10525
- displayName: "GLM-5V-Turbo",
10526
- maxInputTokens: 202752,
10527
- supportedFileTypes: ["image", "video"],
10528
- reasoning: true,
10529
- supportsTemperature: true,
10530
- supportsToolCall: true,
10531
- releaseDate: "2026-04-01",
10532
- modalities: {
10533
- input: ["image", "text", "video"],
10534
- output: ["text"]
10535
- },
10536
- interleaved: {
10537
- field: "reasoning_content"
10538
- },
10539
- supportsInterleaved: true,
10540
- pricing: {
10541
- inputPerM: 1.2,
10542
- outputPerM: 4,
10543
- cacheReadPerM: 0.24,
10544
- currency: "USD",
10545
- unit: "per_million_tokens"
10546
- }
10547
10229
  }
10548
10230
  ],
10549
10231
  litellm: [],
@@ -11833,6 +11515,28 @@ var MODELS_BY_PROVIDER = {
11833
11515
  unit: "per_million_tokens"
11834
11516
  }
11835
11517
  },
11518
+ {
11519
+ name: "eu.anthropic.claude-fable-5",
11520
+ displayName: "Claude Fable 5 (EU)",
11521
+ maxInputTokens: 1e6,
11522
+ supportedFileTypes: ["image"],
11523
+ reasoning: true,
11524
+ supportsTemperature: false,
11525
+ supportsToolCall: true,
11526
+ releaseDate: "2026-06-09",
11527
+ modalities: {
11528
+ input: ["text", "image"],
11529
+ output: ["text"]
11530
+ },
11531
+ pricing: {
11532
+ inputPerM: 11,
11533
+ outputPerM: 55,
11534
+ cacheReadPerM: 1.1,
11535
+ cacheWritePerM: 13.75,
11536
+ currency: "USD",
11537
+ unit: "per_million_tokens"
11538
+ }
11539
+ },
11836
11540
  {
11837
11541
  name: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
11838
11542
  displayName: "Claude Haiku 4.5 (EU)",
@@ -11987,6 +11691,28 @@ var MODELS_BY_PROVIDER = {
11987
11691
  unit: "per_million_tokens"
11988
11692
  }
11989
11693
  },
11694
+ {
11695
+ name: "global.anthropic.claude-fable-5",
11696
+ displayName: "Claude Fable 5 (Global)",
11697
+ maxInputTokens: 1e6,
11698
+ supportedFileTypes: ["image"],
11699
+ reasoning: true,
11700
+ supportsTemperature: false,
11701
+ supportsToolCall: true,
11702
+ releaseDate: "2026-06-09",
11703
+ modalities: {
11704
+ input: ["text", "image"],
11705
+ output: ["text"]
11706
+ },
11707
+ pricing: {
11708
+ inputPerM: 10,
11709
+ outputPerM: 50,
11710
+ cacheReadPerM: 1,
11711
+ cacheWritePerM: 12.5,
11712
+ currency: "USD",
11713
+ unit: "per_million_tokens"
11714
+ }
11715
+ },
11990
11716
  {
11991
11717
  name: "global.anthropic.claude-haiku-4-5-20251001-v1:0",
11992
11718
  displayName: "Claude Haiku 4.5 (Global)",
@@ -13071,6 +12797,28 @@ var MODELS_BY_PROVIDER = {
13071
12797
  unit: "per_million_tokens"
13072
12798
  }
13073
12799
  },
12800
+ {
12801
+ name: "us.anthropic.claude-fable-5",
12802
+ displayName: "Claude Fable 5 (US)",
12803
+ maxInputTokens: 1e6,
12804
+ supportedFileTypes: ["image"],
12805
+ reasoning: true,
12806
+ supportsTemperature: false,
12807
+ supportsToolCall: true,
12808
+ releaseDate: "2026-06-09",
12809
+ modalities: {
12810
+ input: ["text", "image"],
12811
+ output: ["text"]
12812
+ },
12813
+ pricing: {
12814
+ inputPerM: 10,
12815
+ outputPerM: 50,
12816
+ cacheReadPerM: 1,
12817
+ cacheWritePerM: 12.5,
12818
+ currency: "USD",
12819
+ unit: "per_million_tokens"
12820
+ }
12821
+ },
13074
12822
  {
13075
12823
  name: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
13076
12824
  displayName: "Claude Haiku 4.5 (US)",
@@ -13419,6 +13167,28 @@ var MODELS_BY_PROVIDER = {
13419
13167
  local: [],
13420
13168
  ollama: [],
13421
13169
  "dexto-nova": [
13170
+ {
13171
+ name: "~anthropic/claude-fable-latest",
13172
+ displayName: "Claude Fable Latest",
13173
+ maxInputTokens: 1e6,
13174
+ supportedFileTypes: ["pdf", "image"],
13175
+ reasoning: true,
13176
+ supportsTemperature: false,
13177
+ supportsToolCall: true,
13178
+ releaseDate: "2026-06-09",
13179
+ modalities: {
13180
+ input: ["text", "image", "pdf"],
13181
+ output: ["text"]
13182
+ },
13183
+ pricing: {
13184
+ inputPerM: 10,
13185
+ outputPerM: 50,
13186
+ cacheReadPerM: 1,
13187
+ cacheWritePerM: 12.5,
13188
+ currency: "USD",
13189
+ unit: "per_million_tokens"
13190
+ }
13191
+ },
13422
13192
  {
13423
13193
  name: "~anthropic/claude-haiku-latest",
13424
13194
  displayName: "Anthropic Claude Haiku Latest",
@@ -13880,6 +13650,28 @@ var MODELS_BY_PROVIDER = {
13880
13650
  unit: "per_million_tokens"
13881
13651
  }
13882
13652
  },
13653
+ {
13654
+ name: "anthropic/claude-fable-5",
13655
+ displayName: "Claude Fable 5",
13656
+ maxInputTokens: 1e6,
13657
+ supportedFileTypes: ["pdf", "image"],
13658
+ reasoning: true,
13659
+ supportsTemperature: false,
13660
+ supportsToolCall: true,
13661
+ releaseDate: "2026-06-09",
13662
+ modalities: {
13663
+ input: ["text", "image", "pdf"],
13664
+ output: ["text"]
13665
+ },
13666
+ pricing: {
13667
+ inputPerM: 10,
13668
+ outputPerM: 50,
13669
+ cacheReadPerM: 1,
13670
+ cacheWritePerM: 12.5,
13671
+ currency: "USD",
13672
+ unit: "per_million_tokens"
13673
+ }
13674
+ },
13883
13675
  {
13884
13676
  name: "anthropic/claude-haiku-4.5",
13885
13677
  displayName: "Claude Haiku 4.5 (latest)",
@@ -14206,26 +13998,6 @@ var MODELS_BY_PROVIDER = {
14206
13998
  unit: "per_million_tokens"
14207
13999
  }
14208
14000
  },
14209
- {
14210
- name: "arcee-ai/maestro-reasoning",
14211
- displayName: "Maestro Reasoning",
14212
- maxInputTokens: 131072,
14213
- supportedFileTypes: [],
14214
- reasoning: false,
14215
- supportsTemperature: true,
14216
- supportsToolCall: false,
14217
- releaseDate: "2025-05-05",
14218
- modalities: {
14219
- input: ["text"],
14220
- output: ["text"]
14221
- },
14222
- pricing: {
14223
- inputPerM: 0.9,
14224
- outputPerM: 3.3,
14225
- currency: "USD",
14226
- unit: "per_million_tokens"
14227
- }
14228
- },
14229
14001
  {
14230
14002
  name: "arcee-ai/trinity-large-thinking",
14231
14003
  displayName: "Trinity Large Thinking",
@@ -16141,7 +15913,8 @@ var MODELS_BY_PROVIDER = {
16141
15913
  supportsInterleaved: true,
16142
15914
  pricing: {
16143
15915
  inputPerM: 0.15,
16144
- outputPerM: 1.15,
15916
+ outputPerM: 0.9,
15917
+ cacheReadPerM: 0.05,
16145
15918
  currency: "USD",
16146
15919
  unit: "per_million_tokens"
16147
15920
  }
@@ -16149,7 +15922,7 @@ var MODELS_BY_PROVIDER = {
16149
15922
  {
16150
15923
  name: "minimax/minimax-m2.7",
16151
15924
  displayName: "MiniMax-M2.7",
16152
- maxInputTokens: 196608,
15925
+ maxInputTokens: 204800,
16153
15926
  supportedFileTypes: [],
16154
15927
  reasoning: true,
16155
15928
  supportsTemperature: true,
@@ -16160,8 +15933,9 @@ var MODELS_BY_PROVIDER = {
16160
15933
  output: ["text"]
16161
15934
  },
16162
15935
  pricing: {
16163
- inputPerM: 0.279,
16164
- outputPerM: 1.2,
15936
+ inputPerM: 0.27,
15937
+ outputPerM: 1.08,
15938
+ cacheReadPerM: 0.054,
16165
15939
  currency: "USD",
16166
15940
  unit: "per_million_tokens"
16167
15941
  }
@@ -20258,26 +20032,6 @@ var MODELS_BY_PROVIDER = {
20258
20032
  unit: "per_million_tokens"
20259
20033
  }
20260
20034
  },
20261
- {
20262
- name: "z-ai/glm-4-32b",
20263
- displayName: "GLM 4 32B ",
20264
- maxInputTokens: 128e3,
20265
- supportedFileTypes: [],
20266
- reasoning: false,
20267
- supportsTemperature: true,
20268
- supportsToolCall: true,
20269
- releaseDate: "2025-07-24",
20270
- modalities: {
20271
- input: ["text"],
20272
- output: ["text"]
20273
- },
20274
- pricing: {
20275
- inputPerM: 0.1,
20276
- outputPerM: 0.1,
20277
- currency: "USD",
20278
- unit: "per_million_tokens"
20279
- }
20280
- },
20281
20035
  {
20282
20036
  name: "z-ai/glm-4.5",
20283
20037
  displayName: "GLM-4.5",
@@ -20320,26 +20074,6 @@ var MODELS_BY_PROVIDER = {
20320
20074
  unit: "per_million_tokens"
20321
20075
  }
20322
20076
  },
20323
- {
20324
- name: "z-ai/glm-4.5-air:free",
20325
- displayName: "GLM 4.5 Air (free)",
20326
- maxInputTokens: 131072,
20327
- supportedFileTypes: [],
20328
- reasoning: true,
20329
- supportsTemperature: true,
20330
- supportsToolCall: true,
20331
- releaseDate: "2025-07-28",
20332
- modalities: {
20333
- input: ["text"],
20334
- output: ["text"]
20335
- },
20336
- pricing: {
20337
- inputPerM: 0,
20338
- outputPerM: 0,
20339
- currency: "USD",
20340
- unit: "per_million_tokens"
20341
- }
20342
- },
20343
20077
  {
20344
20078
  name: "z-ai/glm-4.5v",
20345
20079
  displayName: "GLM-4.5V",
@@ -20398,7 +20132,7 @@ var MODELS_BY_PROVIDER = {
20398
20132
  pricing: {
20399
20133
  inputPerM: 0.3,
20400
20134
  outputPerM: 0.9,
20401
- cacheReadPerM: 0.05,
20135
+ cacheReadPerM: 0.055,
20402
20136
  currency: "USD",
20403
20137
  unit: "per_million_tokens"
20404
20138
  }
@@ -20481,7 +20215,7 @@ var MODELS_BY_PROVIDER = {
20481
20215
  {
20482
20216
  name: "z-ai/glm-5-turbo",
20483
20217
  displayName: "GLM-5-Turbo",
20484
- maxInputTokens: 202752,
20218
+ maxInputTokens: 262144,
20485
20219
  supportedFileTypes: [],
20486
20220
  reasoning: true,
20487
20221
  supportsTemperature: true,
@@ -20527,31 +20261,6 @@ var MODELS_BY_PROVIDER = {
20527
20261
  currency: "USD",
20528
20262
  unit: "per_million_tokens"
20529
20263
  }
20530
- },
20531
- {
20532
- name: "z-ai/glm-5v-turbo",
20533
- displayName: "GLM-5V-Turbo",
20534
- maxInputTokens: 202752,
20535
- supportedFileTypes: ["image", "video"],
20536
- reasoning: true,
20537
- supportsTemperature: true,
20538
- supportsToolCall: true,
20539
- releaseDate: "2026-04-01",
20540
- modalities: {
20541
- input: ["image", "text", "video"],
20542
- output: ["text"]
20543
- },
20544
- interleaved: {
20545
- field: "reasoning_content"
20546
- },
20547
- supportsInterleaved: true,
20548
- pricing: {
20549
- inputPerM: 1.2,
20550
- outputPerM: 4,
20551
- cacheReadPerM: 0.24,
20552
- currency: "USD",
20553
- unit: "per_million_tokens"
20554
- }
20555
20264
  }
20556
20265
  ]
20557
20266
  };
@@ -21447,10 +21156,14 @@ function isClaudeVersionAtLeast(version, min) {
21447
21156
  return version.major > min.major || version.major === min.major && version.minor >= min.minor;
21448
21157
  }
21449
21158
  function isAnthropicAdaptiveThinkingModel(model) {
21159
+ if (isAnthropicAlwaysAdaptiveThinkingModel(model)) return true;
21450
21160
  const version = parseClaudeVersion(model);
21451
21161
  if (!version) return false;
21452
21162
  return isClaudeVersionAtLeast(version, { major: 4, minor: 6 });
21453
21163
  }
21164
+ function isAnthropicAlwaysAdaptiveThinkingModel(model) {
21165
+ return /claude-(fable|mythos)-5\b/i.test(model);
21166
+ }
21454
21167
  function isAnthropicOpusAdaptiveThinkingModel(model) {
21455
21168
  const version = parseClaudeVersion(model);
21456
21169
  if (!version || version.variant !== "opus") return false;
@@ -21462,6 +21175,7 @@ function isAnthropicOpusXhighThinkingModel(model) {
21462
21175
  return isClaudeVersionAtLeast(version, { major: 4, minor: 7 });
21463
21176
  }
21464
21177
  function supportsAnthropicInterleavedThinking(model) {
21178
+ if (isAnthropicAlwaysAdaptiveThinkingModel(model)) return true;
21465
21179
  const version = parseClaudeVersion(model);
21466
21180
  if (!version) return false;
21467
21181
  return version.major >= 4;
@@ -21578,14 +21292,15 @@ function buildBudgetProfile(config) {
21578
21292
  // src/reasoning/profiles/anthropic.ts
21579
21293
  function buildAnthropicAdaptiveProfile(config) {
21580
21294
  const variants = [];
21581
- if (config.includeDisabled) {
21295
+ const alwaysAdaptive = isAnthropicAlwaysAdaptiveThinkingModel(config.model);
21296
+ if (config.includeDisabled && !alwaysAdaptive) {
21582
21297
  variants.push(option("disabled"));
21583
21298
  }
21584
21299
  variants.push(option("low"), option("medium"), option("high"));
21585
- if (isAnthropicOpusXhighThinkingModel(config.model)) {
21300
+ if (alwaysAdaptive || isAnthropicOpusXhighThinkingModel(config.model)) {
21586
21301
  variants.push(option("xhigh"));
21587
21302
  }
21588
- if (isAnthropicOpusAdaptiveThinkingModel(config.model)) {
21303
+ if (alwaysAdaptive || isAnthropicOpusAdaptiveThinkingModel(config.model)) {
21589
21304
  variants.push(option("max"));
21590
21305
  }
21591
21306
  return withDefault(
@@ -21595,7 +21310,7 @@ function buildAnthropicAdaptiveProfile(config) {
21595
21310
  variants,
21596
21311
  supportsBudgetTokens: config.supportsBudgetTokens
21597
21312
  },
21598
- "medium"
21313
+ alwaysAdaptive ? "high" : "medium"
21599
21314
  );
21600
21315
  }
21601
21316
  function buildAnthropicReasoningProfile(config) {
@@ -21961,6 +21676,7 @@ function supportsReasoningVariant(profile, variant) {
21961
21676
  getSupportedProviders,
21962
21677
  hasAllRegistryModelsSupport,
21963
21678
  isAnthropicAdaptiveThinkingModel,
21679
+ isAnthropicAlwaysAdaptiveThinkingModel,
21964
21680
  isAnthropicOpusAdaptiveThinkingModel,
21965
21681
  isAnthropicOpusXhighThinkingModel,
21966
21682
  isClaudeVersionAtLeast,