@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.js CHANGED
@@ -1987,106 +1987,34 @@ var MODELS_BY_PROVIDER = {
1987
1987
  }
1988
1988
  ],
1989
1989
  groq: [
1990
- {
1991
- name: "allam-2-7b",
1992
- displayName: "ALLaM-2-7b",
1993
- maxInputTokens: 4096,
1994
- supportedFileTypes: [],
1995
- reasoning: false,
1996
- supportsTemperature: true,
1997
- supportsToolCall: false,
1998
- releaseDate: "2024-09",
1999
- modalities: {
2000
- input: ["text"],
2001
- output: ["text"]
2002
- },
2003
- pricing: {
2004
- inputPerM: 0,
2005
- outputPerM: 0,
2006
- currency: "USD",
2007
- unit: "per_million_tokens"
2008
- }
2009
- },
2010
1990
  {
2011
1991
  name: "canopylabs/orpheus-arabic-saudi",
2012
- displayName: "Orpheus Arabic Saudi",
1992
+ displayName: "Canopy Labs Orpheus Arabic Saudi",
2013
1993
  maxInputTokens: 4e3,
2014
1994
  supportedFileTypes: [],
2015
1995
  reasoning: false,
2016
- supportsTemperature: true,
1996
+ supportsTemperature: false,
2017
1997
  supportsToolCall: false,
2018
1998
  releaseDate: "2025-12-16",
1999
+ status: "beta",
2019
2000
  modalities: {
2020
2001
  input: ["text"],
2021
2002
  output: ["audio"]
2022
- },
2023
- pricing: {
2024
- inputPerM: 40,
2025
- outputPerM: 0,
2026
- currency: "USD",
2027
- unit: "per_million_tokens"
2028
2003
  }
2029
2004
  },
2030
2005
  {
2031
2006
  name: "canopylabs/orpheus-v1-english",
2032
- displayName: "Orpheus V1 English",
2007
+ displayName: "Canopy Labs Orpheus V1 English",
2033
2008
  maxInputTokens: 4e3,
2034
2009
  supportedFileTypes: [],
2035
2010
  reasoning: false,
2036
- supportsTemperature: true,
2011
+ supportsTemperature: false,
2037
2012
  supportsToolCall: false,
2038
2013
  releaseDate: "2025-12-19",
2014
+ status: "beta",
2039
2015
  modalities: {
2040
2016
  input: ["text"],
2041
2017
  output: ["audio"]
2042
- },
2043
- pricing: {
2044
- inputPerM: 0,
2045
- outputPerM: 0,
2046
- currency: "USD",
2047
- unit: "per_million_tokens"
2048
- }
2049
- },
2050
- {
2051
- name: "deepseek-r1-distill-llama-70b",
2052
- displayName: "DeepSeek R1 Distill Llama 70B",
2053
- maxInputTokens: 131072,
2054
- supportedFileTypes: [],
2055
- reasoning: true,
2056
- supportsTemperature: true,
2057
- supportsToolCall: true,
2058
- releaseDate: "2025-01-20",
2059
- status: "deprecated",
2060
- modalities: {
2061
- input: ["text"],
2062
- output: ["text"]
2063
- },
2064
- pricing: {
2065
- inputPerM: 0.75,
2066
- outputPerM: 0.99,
2067
- currency: "USD",
2068
- unit: "per_million_tokens"
2069
- }
2070
- },
2071
- {
2072
- name: "gemma2-9b-it",
2073
- displayName: "Gemma 2 9B",
2074
- maxInputTokens: 8192,
2075
- supportedFileTypes: [],
2076
- reasoning: false,
2077
- supportsTemperature: true,
2078
- supportsToolCall: true,
2079
- releaseDate: "2024-06-27",
2080
- status: "deprecated",
2081
- modalities: {
2082
- input: ["text"],
2083
- output: ["text"]
2084
- },
2085
- pricing: {
2086
- inputPerM: 0.2,
2087
- outputPerM: 0.2,
2088
- currency: "USD",
2089
- unit: "per_million_tokens"
2090
2018
  }
2091
2019
  },
2092
2020
  {
@@ -2094,19 +2022,13 @@ var MODELS_BY_PROVIDER = {
2094
2022
  displayName: "Compound",
2095
2023
  maxInputTokens: 131072,
2096
2024
  supportedFileTypes: [],
2097
- reasoning: true,
2025
+ reasoning: false,
2098
2026
  supportsTemperature: true,
2099
- supportsToolCall: true,
2027
+ supportsToolCall: false,
2100
2028
  releaseDate: "2025-09-04",
2101
2029
  modalities: {
2102
2030
  input: ["text"],
2103
2031
  output: ["text"]
2104
- },
2105
- pricing: {
2106
- inputPerM: 0,
2107
- outputPerM: 0,
2108
- currency: "USD",
2109
- unit: "per_million_tokens"
2110
2032
  }
2111
2033
  },
2112
2034
  {
@@ -2114,24 +2036,18 @@ var MODELS_BY_PROVIDER = {
2114
2036
  displayName: "Compound Mini",
2115
2037
  maxInputTokens: 131072,
2116
2038
  supportedFileTypes: [],
2117
- reasoning: true,
2039
+ reasoning: false,
2118
2040
  supportsTemperature: true,
2119
- supportsToolCall: true,
2041
+ supportsToolCall: false,
2120
2042
  releaseDate: "2025-09-04",
2121
2043
  modalities: {
2122
2044
  input: ["text"],
2123
2045
  output: ["text"]
2124
- },
2125
- pricing: {
2126
- inputPerM: 0,
2127
- outputPerM: 0,
2128
- currency: "USD",
2129
- unit: "per_million_tokens"
2130
2046
  }
2131
2047
  },
2132
2048
  {
2133
2049
  name: "llama-3.1-8b-instant",
2134
- displayName: "Llama 3.1 8B Instant",
2050
+ displayName: "Llama 3.1 8B",
2135
2051
  maxInputTokens: 131072,
2136
2052
  supportedFileTypes: [],
2137
2053
  reasoning: false,
@@ -2151,7 +2067,7 @@ var MODELS_BY_PROVIDER = {
2151
2067
  },
2152
2068
  {
2153
2069
  name: "llama-3.3-70b-versatile",
2154
- displayName: "Llama 3.3 70B Versatile",
2070
+ displayName: "Llama 3.3 70B",
2155
2071
  maxInputTokens: 131072,
2156
2072
  supportedFileTypes: [],
2157
2073
  reasoning: false,
@@ -2170,99 +2086,16 @@ var MODELS_BY_PROVIDER = {
2170
2086
  },
2171
2087
  default: true
2172
2088
  },
2173
- {
2174
- name: "llama-guard-3-8b",
2175
- displayName: "Llama Guard 3 8B",
2176
- maxInputTokens: 8192,
2177
- supportedFileTypes: [],
2178
- reasoning: false,
2179
- supportsTemperature: true,
2180
- supportsToolCall: false,
2181
- releaseDate: "2024-07-23",
2182
- status: "deprecated",
2183
- modalities: {
2184
- input: ["text"],
2185
- output: ["text"]
2186
- },
2187
- pricing: {
2188
- inputPerM: 0.2,
2189
- outputPerM: 0.2,
2190
- currency: "USD",
2191
- unit: "per_million_tokens"
2192
- }
2193
- },
2194
- {
2195
- name: "llama3-70b-8192",
2196
- displayName: "Llama 3 70B",
2197
- maxInputTokens: 8192,
2198
- supportedFileTypes: [],
2199
- reasoning: false,
2200
- supportsTemperature: true,
2201
- supportsToolCall: true,
2202
- releaseDate: "2024-04-18",
2203
- status: "deprecated",
2204
- modalities: {
2205
- input: ["text"],
2206
- output: ["text"]
2207
- },
2208
- pricing: {
2209
- inputPerM: 0.59,
2210
- outputPerM: 0.79,
2211
- currency: "USD",
2212
- unit: "per_million_tokens"
2213
- }
2214
- },
2215
- {
2216
- name: "llama3-8b-8192",
2217
- displayName: "Llama 3 8B",
2218
- maxInputTokens: 8192,
2219
- supportedFileTypes: [],
2220
- reasoning: false,
2221
- supportsTemperature: true,
2222
- supportsToolCall: true,
2223
- releaseDate: "2024-04-18",
2224
- status: "deprecated",
2225
- modalities: {
2226
- input: ["text"],
2227
- output: ["text"]
2228
- },
2229
- pricing: {
2230
- inputPerM: 0.05,
2231
- outputPerM: 0.08,
2232
- currency: "USD",
2233
- unit: "per_million_tokens"
2234
- }
2235
- },
2236
- {
2237
- name: "meta-llama/llama-4-maverick-17b-128e-instruct",
2238
- displayName: "Llama 4 Maverick 17B",
2239
- maxInputTokens: 131072,
2240
- supportedFileTypes: ["image"],
2241
- reasoning: false,
2242
- supportsTemperature: true,
2243
- supportsToolCall: true,
2244
- releaseDate: "2025-04-05",
2245
- status: "deprecated",
2246
- modalities: {
2247
- input: ["text", "image"],
2248
- output: ["text"]
2249
- },
2250
- pricing: {
2251
- inputPerM: 0.2,
2252
- outputPerM: 0.6,
2253
- currency: "USD",
2254
- unit: "per_million_tokens"
2255
- }
2256
- },
2257
2089
  {
2258
2090
  name: "meta-llama/llama-4-scout-17b-16e-instruct",
2259
- displayName: "Llama 4 Scout 17B",
2091
+ displayName: "Llama 4 Scout 17B 16E",
2260
2092
  maxInputTokens: 131072,
2261
2093
  supportedFileTypes: ["image"],
2262
2094
  reasoning: false,
2263
2095
  supportsTemperature: true,
2264
2096
  supportsToolCall: true,
2265
2097
  releaseDate: "2025-04-05",
2098
+ status: "beta",
2266
2099
  modalities: {
2267
2100
  input: ["text", "image"],
2268
2101
  output: ["text"]
@@ -2274,36 +2107,16 @@ var MODELS_BY_PROVIDER = {
2274
2107
  unit: "per_million_tokens"
2275
2108
  }
2276
2109
  },
2277
- {
2278
- name: "meta-llama/llama-guard-4-12b",
2279
- displayName: "Llama Guard 4 12B",
2280
- maxInputTokens: 131072,
2281
- supportedFileTypes: ["image"],
2282
- reasoning: false,
2283
- supportsTemperature: true,
2284
- supportsToolCall: false,
2285
- releaseDate: "2025-04-05",
2286
- status: "deprecated",
2287
- modalities: {
2288
- input: ["text", "image"],
2289
- output: ["text"]
2290
- },
2291
- pricing: {
2292
- inputPerM: 0.2,
2293
- outputPerM: 0.2,
2294
- currency: "USD",
2295
- unit: "per_million_tokens"
2296
- }
2297
- },
2298
2110
  {
2299
2111
  name: "meta-llama/llama-prompt-guard-2-22m",
2300
2112
  displayName: "Llama Prompt Guard 2 22M",
2301
2113
  maxInputTokens: 512,
2302
2114
  supportedFileTypes: [],
2303
2115
  reasoning: false,
2304
- supportsTemperature: true,
2116
+ supportsTemperature: false,
2305
2117
  supportsToolCall: false,
2306
- releaseDate: "2024-10-01",
2118
+ releaseDate: "2025-05-29",
2119
+ status: "beta",
2307
2120
  modalities: {
2308
2121
  input: ["text"],
2309
2122
  output: ["text"]
@@ -2317,13 +2130,14 @@ var MODELS_BY_PROVIDER = {
2317
2130
  },
2318
2131
  {
2319
2132
  name: "meta-llama/llama-prompt-guard-2-86m",
2320
- displayName: "Llama Prompt Guard 2 86M",
2133
+ displayName: "Prompt Guard 2 86M",
2321
2134
  maxInputTokens: 512,
2322
2135
  supportedFileTypes: [],
2323
2136
  reasoning: false,
2324
- supportsTemperature: true,
2137
+ supportsTemperature: false,
2325
2138
  supportsToolCall: false,
2326
- releaseDate: "2024-10-01",
2139
+ releaseDate: "2025-05-29",
2140
+ status: "beta",
2327
2141
  modalities: {
2328
2142
  input: ["text"],
2329
2143
  output: ["text"]
@@ -2335,69 +2149,6 @@ var MODELS_BY_PROVIDER = {
2335
2149
  unit: "per_million_tokens"
2336
2150
  }
2337
2151
  },
2338
- {
2339
- name: "mistral-saba-24b",
2340
- displayName: "Mistral Saba 24B",
2341
- maxInputTokens: 32768,
2342
- supportedFileTypes: [],
2343
- reasoning: false,
2344
- supportsTemperature: true,
2345
- supportsToolCall: true,
2346
- releaseDate: "2025-02-06",
2347
- status: "deprecated",
2348
- modalities: {
2349
- input: ["text"],
2350
- output: ["text"]
2351
- },
2352
- pricing: {
2353
- inputPerM: 0.79,
2354
- outputPerM: 0.79,
2355
- currency: "USD",
2356
- unit: "per_million_tokens"
2357
- }
2358
- },
2359
- {
2360
- name: "moonshotai/kimi-k2-instruct",
2361
- displayName: "Kimi K2 Instruct",
2362
- maxInputTokens: 131072,
2363
- supportedFileTypes: [],
2364
- reasoning: false,
2365
- supportsTemperature: true,
2366
- supportsToolCall: true,
2367
- releaseDate: "2025-07-14",
2368
- status: "deprecated",
2369
- modalities: {
2370
- input: ["text"],
2371
- output: ["text"]
2372
- },
2373
- pricing: {
2374
- inputPerM: 1,
2375
- outputPerM: 3,
2376
- currency: "USD",
2377
- unit: "per_million_tokens"
2378
- }
2379
- },
2380
- {
2381
- name: "moonshotai/kimi-k2-instruct-0905",
2382
- displayName: "Kimi K2 Instruct 0905",
2383
- maxInputTokens: 262144,
2384
- supportedFileTypes: [],
2385
- reasoning: false,
2386
- supportsTemperature: true,
2387
- supportsToolCall: true,
2388
- releaseDate: "2025-09-05",
2389
- modalities: {
2390
- input: ["text"],
2391
- output: ["text"]
2392
- },
2393
- pricing: {
2394
- inputPerM: 1,
2395
- outputPerM: 3,
2396
- cacheReadPerM: 0.5,
2397
- currency: "USD",
2398
- unit: "per_million_tokens"
2399
- }
2400
- },
2401
2152
  {
2402
2153
  name: "openai/gpt-oss-120b",
2403
2154
  displayName: "GPT OSS 120B",
@@ -2448,7 +2199,8 @@ var MODELS_BY_PROVIDER = {
2448
2199
  reasoning: true,
2449
2200
  supportsTemperature: true,
2450
2201
  supportsToolCall: true,
2451
- releaseDate: "2025-03-05",
2202
+ releaseDate: "2025-10-29",
2203
+ status: "beta",
2452
2204
  modalities: {
2453
2205
  input: ["text"],
2454
2206
  output: ["text"]
@@ -2461,36 +2213,16 @@ var MODELS_BY_PROVIDER = {
2461
2213
  unit: "per_million_tokens"
2462
2214
  }
2463
2215
  },
2464
- {
2465
- name: "qwen-qwq-32b",
2466
- displayName: "Qwen QwQ 32B",
2467
- maxInputTokens: 131072,
2468
- supportedFileTypes: [],
2469
- reasoning: true,
2470
- supportsTemperature: true,
2471
- supportsToolCall: true,
2472
- releaseDate: "2024-11-27",
2473
- status: "deprecated",
2474
- modalities: {
2475
- input: ["text"],
2476
- output: ["text"]
2477
- },
2478
- pricing: {
2479
- inputPerM: 0.29,
2480
- outputPerM: 0.39,
2481
- currency: "USD",
2482
- unit: "per_million_tokens"
2483
- }
2484
- },
2485
2216
  {
2486
2217
  name: "qwen/qwen3-32b",
2487
- displayName: "Qwen3 32B",
2218
+ displayName: "Qwen3-32B",
2488
2219
  maxInputTokens: 131072,
2489
2220
  supportedFileTypes: [],
2490
2221
  reasoning: true,
2491
2222
  supportsTemperature: true,
2492
2223
  supportsToolCall: true,
2493
- releaseDate: "2024-12-23",
2224
+ releaseDate: "2025-06-11",
2225
+ status: "beta",
2494
2226
  modalities: {
2495
2227
  input: ["text"],
2496
2228
  output: ["text"]
@@ -2504,8 +2236,8 @@ var MODELS_BY_PROVIDER = {
2504
2236
  },
2505
2237
  {
2506
2238
  name: "whisper-large-v3",
2507
- displayName: "Whisper Large V3",
2508
- maxInputTokens: 448,
2239
+ displayName: "Whisper",
2240
+ maxInputTokens: 0,
2509
2241
  supportedFileTypes: ["audio"],
2510
2242
  reasoning: false,
2511
2243
  supportsTemperature: true,
@@ -2514,18 +2246,12 @@ var MODELS_BY_PROVIDER = {
2514
2246
  modalities: {
2515
2247
  input: ["audio"],
2516
2248
  output: ["text"]
2517
- },
2518
- pricing: {
2519
- inputPerM: 0,
2520
- outputPerM: 0,
2521
- currency: "USD",
2522
- unit: "per_million_tokens"
2523
2249
  }
2524
2250
  },
2525
2251
  {
2526
2252
  name: "whisper-large-v3-turbo",
2527
- displayName: "Whisper Large v3 Turbo",
2528
- maxInputTokens: 448,
2253
+ displayName: "Whisper Large V3 Turbo",
2254
+ maxInputTokens: 0,
2529
2255
  supportedFileTypes: ["audio"],
2530
2256
  reasoning: false,
2531
2257
  supportsTemperature: true,
@@ -2534,12 +2260,6 @@ var MODELS_BY_PROVIDER = {
2534
2260
  modalities: {
2535
2261
  input: ["audio"],
2536
2262
  output: ["text"]
2537
- },
2538
- pricing: {
2539
- inputPerM: 0,
2540
- outputPerM: 0,
2541
- currency: "USD",
2542
- unit: "per_million_tokens"
2543
2263
  }
2544
2264
  }
2545
2265
  ],
@@ -3327,6 +3047,28 @@ var MODELS_BY_PROVIDER = {
3327
3047
  }
3328
3048
  ],
3329
3049
  openrouter: [
3050
+ {
3051
+ name: "~anthropic/claude-fable-latest",
3052
+ displayName: "Claude Fable Latest",
3053
+ maxInputTokens: 1e6,
3054
+ supportedFileTypes: ["pdf", "image"],
3055
+ reasoning: true,
3056
+ supportsTemperature: false,
3057
+ supportsToolCall: true,
3058
+ releaseDate: "2026-06-09",
3059
+ modalities: {
3060
+ input: ["text", "image", "pdf"],
3061
+ output: ["text"]
3062
+ },
3063
+ pricing: {
3064
+ inputPerM: 10,
3065
+ outputPerM: 50,
3066
+ cacheReadPerM: 1,
3067
+ cacheWritePerM: 12.5,
3068
+ currency: "USD",
3069
+ unit: "per_million_tokens"
3070
+ }
3071
+ },
3330
3072
  {
3331
3073
  name: "~anthropic/claude-haiku-latest",
3332
3074
  displayName: "Anthropic Claude Haiku Latest",
@@ -3788,6 +3530,28 @@ var MODELS_BY_PROVIDER = {
3788
3530
  unit: "per_million_tokens"
3789
3531
  }
3790
3532
  },
3533
+ {
3534
+ name: "anthropic/claude-fable-5",
3535
+ displayName: "Claude Fable 5",
3536
+ maxInputTokens: 1e6,
3537
+ supportedFileTypes: ["pdf", "image"],
3538
+ reasoning: true,
3539
+ supportsTemperature: false,
3540
+ supportsToolCall: true,
3541
+ releaseDate: "2026-06-09",
3542
+ modalities: {
3543
+ input: ["text", "image", "pdf"],
3544
+ output: ["text"]
3545
+ },
3546
+ pricing: {
3547
+ inputPerM: 10,
3548
+ outputPerM: 50,
3549
+ cacheReadPerM: 1,
3550
+ cacheWritePerM: 12.5,
3551
+ currency: "USD",
3552
+ unit: "per_million_tokens"
3553
+ }
3554
+ },
3791
3555
  {
3792
3556
  name: "anthropic/claude-haiku-4.5",
3793
3557
  displayName: "Claude Haiku 4.5 (latest)",
@@ -4108,28 +3872,8 @@ var MODELS_BY_PROVIDER = {
4108
3872
  output: ["text"]
4109
3873
  },
4110
3874
  pricing: {
4111
- inputPerM: 0.5,
4112
- outputPerM: 0.8,
4113
- currency: "USD",
4114
- unit: "per_million_tokens"
4115
- }
4116
- },
4117
- {
4118
- name: "arcee-ai/maestro-reasoning",
4119
- displayName: "Maestro Reasoning",
4120
- maxInputTokens: 131072,
4121
- supportedFileTypes: [],
4122
- reasoning: false,
4123
- supportsTemperature: true,
4124
- supportsToolCall: false,
4125
- releaseDate: "2025-05-05",
4126
- modalities: {
4127
- input: ["text"],
4128
- output: ["text"]
4129
- },
4130
- pricing: {
4131
- inputPerM: 0.9,
4132
- outputPerM: 3.3,
3875
+ inputPerM: 0.5,
3876
+ outputPerM: 0.8,
4133
3877
  currency: "USD",
4134
3878
  unit: "per_million_tokens"
4135
3879
  }
@@ -6049,7 +5793,8 @@ var MODELS_BY_PROVIDER = {
6049
5793
  supportsInterleaved: true,
6050
5794
  pricing: {
6051
5795
  inputPerM: 0.15,
6052
- outputPerM: 1.15,
5796
+ outputPerM: 0.9,
5797
+ cacheReadPerM: 0.05,
6053
5798
  currency: "USD",
6054
5799
  unit: "per_million_tokens"
6055
5800
  }
@@ -6057,7 +5802,7 @@ var MODELS_BY_PROVIDER = {
6057
5802
  {
6058
5803
  name: "minimax/minimax-m2.7",
6059
5804
  displayName: "MiniMax-M2.7",
6060
- maxInputTokens: 196608,
5805
+ maxInputTokens: 204800,
6061
5806
  supportedFileTypes: [],
6062
5807
  reasoning: true,
6063
5808
  supportsTemperature: true,
@@ -6068,8 +5813,9 @@ var MODELS_BY_PROVIDER = {
6068
5813
  output: ["text"]
6069
5814
  },
6070
5815
  pricing: {
6071
- inputPerM: 0.279,
6072
- outputPerM: 1.2,
5816
+ inputPerM: 0.27,
5817
+ outputPerM: 1.08,
5818
+ cacheReadPerM: 0.054,
6073
5819
  currency: "USD",
6074
5820
  unit: "per_million_tokens"
6075
5821
  }
@@ -10166,26 +9912,6 @@ var MODELS_BY_PROVIDER = {
10166
9912
  unit: "per_million_tokens"
10167
9913
  }
10168
9914
  },
10169
- {
10170
- name: "z-ai/glm-4-32b",
10171
- displayName: "GLM 4 32B ",
10172
- maxInputTokens: 128e3,
10173
- supportedFileTypes: [],
10174
- reasoning: false,
10175
- supportsTemperature: true,
10176
- supportsToolCall: true,
10177
- releaseDate: "2025-07-24",
10178
- modalities: {
10179
- input: ["text"],
10180
- output: ["text"]
10181
- },
10182
- pricing: {
10183
- inputPerM: 0.1,
10184
- outputPerM: 0.1,
10185
- currency: "USD",
10186
- unit: "per_million_tokens"
10187
- }
10188
- },
10189
9915
  {
10190
9916
  name: "z-ai/glm-4.5",
10191
9917
  displayName: "GLM-4.5",
@@ -10228,26 +9954,6 @@ var MODELS_BY_PROVIDER = {
10228
9954
  unit: "per_million_tokens"
10229
9955
  }
10230
9956
  },
10231
- {
10232
- name: "z-ai/glm-4.5-air:free",
10233
- displayName: "GLM 4.5 Air (free)",
10234
- maxInputTokens: 131072,
10235
- supportedFileTypes: [],
10236
- reasoning: true,
10237
- supportsTemperature: true,
10238
- supportsToolCall: true,
10239
- releaseDate: "2025-07-28",
10240
- modalities: {
10241
- input: ["text"],
10242
- output: ["text"]
10243
- },
10244
- pricing: {
10245
- inputPerM: 0,
10246
- outputPerM: 0,
10247
- currency: "USD",
10248
- unit: "per_million_tokens"
10249
- }
10250
- },
10251
9957
  {
10252
9958
  name: "z-ai/glm-4.5v",
10253
9959
  displayName: "GLM-4.5V",
@@ -10306,7 +10012,7 @@ var MODELS_BY_PROVIDER = {
10306
10012
  pricing: {
10307
10013
  inputPerM: 0.3,
10308
10014
  outputPerM: 0.9,
10309
- cacheReadPerM: 0.05,
10015
+ cacheReadPerM: 0.055,
10310
10016
  currency: "USD",
10311
10017
  unit: "per_million_tokens"
10312
10018
  }
@@ -10389,7 +10095,7 @@ var MODELS_BY_PROVIDER = {
10389
10095
  {
10390
10096
  name: "z-ai/glm-5-turbo",
10391
10097
  displayName: "GLM-5-Turbo",
10392
- maxInputTokens: 202752,
10098
+ maxInputTokens: 262144,
10393
10099
  supportedFileTypes: [],
10394
10100
  reasoning: true,
10395
10101
  supportsTemperature: true,
@@ -10435,31 +10141,6 @@ var MODELS_BY_PROVIDER = {
10435
10141
  currency: "USD",
10436
10142
  unit: "per_million_tokens"
10437
10143
  }
10438
- },
10439
- {
10440
- name: "z-ai/glm-5v-turbo",
10441
- displayName: "GLM-5V-Turbo",
10442
- maxInputTokens: 202752,
10443
- supportedFileTypes: ["image", "video"],
10444
- reasoning: true,
10445
- supportsTemperature: true,
10446
- supportsToolCall: true,
10447
- releaseDate: "2026-04-01",
10448
- modalities: {
10449
- input: ["image", "text", "video"],
10450
- output: ["text"]
10451
- },
10452
- interleaved: {
10453
- field: "reasoning_content"
10454
- },
10455
- supportsInterleaved: true,
10456
- pricing: {
10457
- inputPerM: 1.2,
10458
- outputPerM: 4,
10459
- cacheReadPerM: 0.24,
10460
- currency: "USD",
10461
- unit: "per_million_tokens"
10462
- }
10463
10144
  }
10464
10145
  ],
10465
10146
  litellm: [],
@@ -11749,6 +11430,28 @@ var MODELS_BY_PROVIDER = {
11749
11430
  unit: "per_million_tokens"
11750
11431
  }
11751
11432
  },
11433
+ {
11434
+ name: "eu.anthropic.claude-fable-5",
11435
+ displayName: "Claude Fable 5 (EU)",
11436
+ maxInputTokens: 1e6,
11437
+ supportedFileTypes: ["image"],
11438
+ reasoning: true,
11439
+ supportsTemperature: false,
11440
+ supportsToolCall: true,
11441
+ releaseDate: "2026-06-09",
11442
+ modalities: {
11443
+ input: ["text", "image"],
11444
+ output: ["text"]
11445
+ },
11446
+ pricing: {
11447
+ inputPerM: 11,
11448
+ outputPerM: 55,
11449
+ cacheReadPerM: 1.1,
11450
+ cacheWritePerM: 13.75,
11451
+ currency: "USD",
11452
+ unit: "per_million_tokens"
11453
+ }
11454
+ },
11752
11455
  {
11753
11456
  name: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
11754
11457
  displayName: "Claude Haiku 4.5 (EU)",
@@ -11903,6 +11606,28 @@ var MODELS_BY_PROVIDER = {
11903
11606
  unit: "per_million_tokens"
11904
11607
  }
11905
11608
  },
11609
+ {
11610
+ name: "global.anthropic.claude-fable-5",
11611
+ displayName: "Claude Fable 5 (Global)",
11612
+ maxInputTokens: 1e6,
11613
+ supportedFileTypes: ["image"],
11614
+ reasoning: true,
11615
+ supportsTemperature: false,
11616
+ supportsToolCall: true,
11617
+ releaseDate: "2026-06-09",
11618
+ modalities: {
11619
+ input: ["text", "image"],
11620
+ output: ["text"]
11621
+ },
11622
+ pricing: {
11623
+ inputPerM: 10,
11624
+ outputPerM: 50,
11625
+ cacheReadPerM: 1,
11626
+ cacheWritePerM: 12.5,
11627
+ currency: "USD",
11628
+ unit: "per_million_tokens"
11629
+ }
11630
+ },
11906
11631
  {
11907
11632
  name: "global.anthropic.claude-haiku-4-5-20251001-v1:0",
11908
11633
  displayName: "Claude Haiku 4.5 (Global)",
@@ -12987,6 +12712,28 @@ var MODELS_BY_PROVIDER = {
12987
12712
  unit: "per_million_tokens"
12988
12713
  }
12989
12714
  },
12715
+ {
12716
+ name: "us.anthropic.claude-fable-5",
12717
+ displayName: "Claude Fable 5 (US)",
12718
+ maxInputTokens: 1e6,
12719
+ supportedFileTypes: ["image"],
12720
+ reasoning: true,
12721
+ supportsTemperature: false,
12722
+ supportsToolCall: true,
12723
+ releaseDate: "2026-06-09",
12724
+ modalities: {
12725
+ input: ["text", "image"],
12726
+ output: ["text"]
12727
+ },
12728
+ pricing: {
12729
+ inputPerM: 10,
12730
+ outputPerM: 50,
12731
+ cacheReadPerM: 1,
12732
+ cacheWritePerM: 12.5,
12733
+ currency: "USD",
12734
+ unit: "per_million_tokens"
12735
+ }
12736
+ },
12990
12737
  {
12991
12738
  name: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
12992
12739
  displayName: "Claude Haiku 4.5 (US)",
@@ -13335,6 +13082,28 @@ var MODELS_BY_PROVIDER = {
13335
13082
  local: [],
13336
13083
  ollama: [],
13337
13084
  "dexto-nova": [
13085
+ {
13086
+ name: "~anthropic/claude-fable-latest",
13087
+ displayName: "Claude Fable Latest",
13088
+ maxInputTokens: 1e6,
13089
+ supportedFileTypes: ["pdf", "image"],
13090
+ reasoning: true,
13091
+ supportsTemperature: false,
13092
+ supportsToolCall: true,
13093
+ releaseDate: "2026-06-09",
13094
+ modalities: {
13095
+ input: ["text", "image", "pdf"],
13096
+ output: ["text"]
13097
+ },
13098
+ pricing: {
13099
+ inputPerM: 10,
13100
+ outputPerM: 50,
13101
+ cacheReadPerM: 1,
13102
+ cacheWritePerM: 12.5,
13103
+ currency: "USD",
13104
+ unit: "per_million_tokens"
13105
+ }
13106
+ },
13338
13107
  {
13339
13108
  name: "~anthropic/claude-haiku-latest",
13340
13109
  displayName: "Anthropic Claude Haiku Latest",
@@ -13796,6 +13565,28 @@ var MODELS_BY_PROVIDER = {
13796
13565
  unit: "per_million_tokens"
13797
13566
  }
13798
13567
  },
13568
+ {
13569
+ name: "anthropic/claude-fable-5",
13570
+ displayName: "Claude Fable 5",
13571
+ maxInputTokens: 1e6,
13572
+ supportedFileTypes: ["pdf", "image"],
13573
+ reasoning: true,
13574
+ supportsTemperature: false,
13575
+ supportsToolCall: true,
13576
+ releaseDate: "2026-06-09",
13577
+ modalities: {
13578
+ input: ["text", "image", "pdf"],
13579
+ output: ["text"]
13580
+ },
13581
+ pricing: {
13582
+ inputPerM: 10,
13583
+ outputPerM: 50,
13584
+ cacheReadPerM: 1,
13585
+ cacheWritePerM: 12.5,
13586
+ currency: "USD",
13587
+ unit: "per_million_tokens"
13588
+ }
13589
+ },
13799
13590
  {
13800
13591
  name: "anthropic/claude-haiku-4.5",
13801
13592
  displayName: "Claude Haiku 4.5 (latest)",
@@ -14122,26 +13913,6 @@ var MODELS_BY_PROVIDER = {
14122
13913
  unit: "per_million_tokens"
14123
13914
  }
14124
13915
  },
14125
- {
14126
- name: "arcee-ai/maestro-reasoning",
14127
- displayName: "Maestro Reasoning",
14128
- maxInputTokens: 131072,
14129
- supportedFileTypes: [],
14130
- reasoning: false,
14131
- supportsTemperature: true,
14132
- supportsToolCall: false,
14133
- releaseDate: "2025-05-05",
14134
- modalities: {
14135
- input: ["text"],
14136
- output: ["text"]
14137
- },
14138
- pricing: {
14139
- inputPerM: 0.9,
14140
- outputPerM: 3.3,
14141
- currency: "USD",
14142
- unit: "per_million_tokens"
14143
- }
14144
- },
14145
13916
  {
14146
13917
  name: "arcee-ai/trinity-large-thinking",
14147
13918
  displayName: "Trinity Large Thinking",
@@ -16057,7 +15828,8 @@ var MODELS_BY_PROVIDER = {
16057
15828
  supportsInterleaved: true,
16058
15829
  pricing: {
16059
15830
  inputPerM: 0.15,
16060
- outputPerM: 1.15,
15831
+ outputPerM: 0.9,
15832
+ cacheReadPerM: 0.05,
16061
15833
  currency: "USD",
16062
15834
  unit: "per_million_tokens"
16063
15835
  }
@@ -16065,7 +15837,7 @@ var MODELS_BY_PROVIDER = {
16065
15837
  {
16066
15838
  name: "minimax/minimax-m2.7",
16067
15839
  displayName: "MiniMax-M2.7",
16068
- maxInputTokens: 196608,
15840
+ maxInputTokens: 204800,
16069
15841
  supportedFileTypes: [],
16070
15842
  reasoning: true,
16071
15843
  supportsTemperature: true,
@@ -16076,8 +15848,9 @@ var MODELS_BY_PROVIDER = {
16076
15848
  output: ["text"]
16077
15849
  },
16078
15850
  pricing: {
16079
- inputPerM: 0.279,
16080
- outputPerM: 1.2,
15851
+ inputPerM: 0.27,
15852
+ outputPerM: 1.08,
15853
+ cacheReadPerM: 0.054,
16081
15854
  currency: "USD",
16082
15855
  unit: "per_million_tokens"
16083
15856
  }
@@ -20174,26 +19947,6 @@ var MODELS_BY_PROVIDER = {
20174
19947
  unit: "per_million_tokens"
20175
19948
  }
20176
19949
  },
20177
- {
20178
- name: "z-ai/glm-4-32b",
20179
- displayName: "GLM 4 32B ",
20180
- maxInputTokens: 128e3,
20181
- supportedFileTypes: [],
20182
- reasoning: false,
20183
- supportsTemperature: true,
20184
- supportsToolCall: true,
20185
- releaseDate: "2025-07-24",
20186
- modalities: {
20187
- input: ["text"],
20188
- output: ["text"]
20189
- },
20190
- pricing: {
20191
- inputPerM: 0.1,
20192
- outputPerM: 0.1,
20193
- currency: "USD",
20194
- unit: "per_million_tokens"
20195
- }
20196
- },
20197
19950
  {
20198
19951
  name: "z-ai/glm-4.5",
20199
19952
  displayName: "GLM-4.5",
@@ -20236,26 +19989,6 @@ var MODELS_BY_PROVIDER = {
20236
19989
  unit: "per_million_tokens"
20237
19990
  }
20238
19991
  },
20239
- {
20240
- name: "z-ai/glm-4.5-air:free",
20241
- displayName: "GLM 4.5 Air (free)",
20242
- maxInputTokens: 131072,
20243
- supportedFileTypes: [],
20244
- reasoning: true,
20245
- supportsTemperature: true,
20246
- supportsToolCall: true,
20247
- releaseDate: "2025-07-28",
20248
- modalities: {
20249
- input: ["text"],
20250
- output: ["text"]
20251
- },
20252
- pricing: {
20253
- inputPerM: 0,
20254
- outputPerM: 0,
20255
- currency: "USD",
20256
- unit: "per_million_tokens"
20257
- }
20258
- },
20259
19992
  {
20260
19993
  name: "z-ai/glm-4.5v",
20261
19994
  displayName: "GLM-4.5V",
@@ -20314,7 +20047,7 @@ var MODELS_BY_PROVIDER = {
20314
20047
  pricing: {
20315
20048
  inputPerM: 0.3,
20316
20049
  outputPerM: 0.9,
20317
- cacheReadPerM: 0.05,
20050
+ cacheReadPerM: 0.055,
20318
20051
  currency: "USD",
20319
20052
  unit: "per_million_tokens"
20320
20053
  }
@@ -20397,7 +20130,7 @@ var MODELS_BY_PROVIDER = {
20397
20130
  {
20398
20131
  name: "z-ai/glm-5-turbo",
20399
20132
  displayName: "GLM-5-Turbo",
20400
- maxInputTokens: 202752,
20133
+ maxInputTokens: 262144,
20401
20134
  supportedFileTypes: [],
20402
20135
  reasoning: true,
20403
20136
  supportsTemperature: true,
@@ -20443,31 +20176,6 @@ var MODELS_BY_PROVIDER = {
20443
20176
  currency: "USD",
20444
20177
  unit: "per_million_tokens"
20445
20178
  }
20446
- },
20447
- {
20448
- name: "z-ai/glm-5v-turbo",
20449
- displayName: "GLM-5V-Turbo",
20450
- maxInputTokens: 202752,
20451
- supportedFileTypes: ["image", "video"],
20452
- reasoning: true,
20453
- supportsTemperature: true,
20454
- supportsToolCall: true,
20455
- releaseDate: "2026-04-01",
20456
- modalities: {
20457
- input: ["image", "text", "video"],
20458
- output: ["text"]
20459
- },
20460
- interleaved: {
20461
- field: "reasoning_content"
20462
- },
20463
- supportsInterleaved: true,
20464
- pricing: {
20465
- inputPerM: 1.2,
20466
- outputPerM: 4,
20467
- cacheReadPerM: 0.24,
20468
- currency: "USD",
20469
- unit: "per_million_tokens"
20470
- }
20471
20179
  }
20472
20180
  ]
20473
20181
  };
@@ -21363,10 +21071,14 @@ function isClaudeVersionAtLeast(version, min) {
21363
21071
  return version.major > min.major || version.major === min.major && version.minor >= min.minor;
21364
21072
  }
21365
21073
  function isAnthropicAdaptiveThinkingModel(model) {
21074
+ if (isAnthropicAlwaysAdaptiveThinkingModel(model)) return true;
21366
21075
  const version = parseClaudeVersion(model);
21367
21076
  if (!version) return false;
21368
21077
  return isClaudeVersionAtLeast(version, { major: 4, minor: 6 });
21369
21078
  }
21079
+ function isAnthropicAlwaysAdaptiveThinkingModel(model) {
21080
+ return /claude-(fable|mythos)-5\b/i.test(model);
21081
+ }
21370
21082
  function isAnthropicOpusAdaptiveThinkingModel(model) {
21371
21083
  const version = parseClaudeVersion(model);
21372
21084
  if (!version || version.variant !== "opus") return false;
@@ -21378,6 +21090,7 @@ function isAnthropicOpusXhighThinkingModel(model) {
21378
21090
  return isClaudeVersionAtLeast(version, { major: 4, minor: 7 });
21379
21091
  }
21380
21092
  function supportsAnthropicInterleavedThinking(model) {
21093
+ if (isAnthropicAlwaysAdaptiveThinkingModel(model)) return true;
21381
21094
  const version = parseClaudeVersion(model);
21382
21095
  if (!version) return false;
21383
21096
  return version.major >= 4;
@@ -21494,14 +21207,15 @@ function buildBudgetProfile(config) {
21494
21207
  // src/reasoning/profiles/anthropic.ts
21495
21208
  function buildAnthropicAdaptiveProfile(config) {
21496
21209
  const variants = [];
21497
- if (config.includeDisabled) {
21210
+ const alwaysAdaptive = isAnthropicAlwaysAdaptiveThinkingModel(config.model);
21211
+ if (config.includeDisabled && !alwaysAdaptive) {
21498
21212
  variants.push(option("disabled"));
21499
21213
  }
21500
21214
  variants.push(option("low"), option("medium"), option("high"));
21501
- if (isAnthropicOpusXhighThinkingModel(config.model)) {
21215
+ if (alwaysAdaptive || isAnthropicOpusXhighThinkingModel(config.model)) {
21502
21216
  variants.push(option("xhigh"));
21503
21217
  }
21504
- if (isAnthropicOpusAdaptiveThinkingModel(config.model)) {
21218
+ if (alwaysAdaptive || isAnthropicOpusAdaptiveThinkingModel(config.model)) {
21505
21219
  variants.push(option("max"));
21506
21220
  }
21507
21221
  return withDefault(
@@ -21511,7 +21225,7 @@ function buildAnthropicAdaptiveProfile(config) {
21511
21225
  variants,
21512
21226
  supportsBudgetTokens: config.supportsBudgetTokens
21513
21227
  },
21514
- "medium"
21228
+ alwaysAdaptive ? "high" : "medium"
21515
21229
  );
21516
21230
  }
21517
21231
  function buildAnthropicReasoningProfile(config) {
@@ -21876,6 +21590,7 @@ export {
21876
21590
  getSupportedProviders,
21877
21591
  hasAllRegistryModelsSupport,
21878
21592
  isAnthropicAdaptiveThinkingModel,
21593
+ isAnthropicAlwaysAdaptiveThinkingModel,
21879
21594
  isAnthropicOpusAdaptiveThinkingModel,
21880
21595
  isAnthropicOpusXhighThinkingModel,
21881
21596
  isClaudeVersionAtLeast,