@akasecurity/ai-tc-codex 0.9.17 → 0.9.18

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.
@@ -19682,7 +19682,10 @@ function date4(params) {
19682
19682
  var LongContextTier = external_exports.object({
19683
19683
  thresholdInputTokens: external_exports.number().int().positive(),
19684
19684
  input: external_exports.number().nonnegative().nullable(),
19685
- output: external_exports.number().nonnegative().nullable()
19685
+ output: external_exports.number().nonnegative().nullable(),
19686
+ cacheRead: external_exports.number().nonnegative().nullable().optional(),
19687
+ cacheWrite5m: external_exports.number().nonnegative().nullable().optional(),
19688
+ cacheWrite1h: external_exports.number().nonnegative().nullable().optional()
19686
19689
  });
19687
19690
  var ModelPrice = external_exports.object({
19688
19691
  /** USD per 1M uncached input tokens, at or below any long-context threshold. */
@@ -19691,7 +19694,8 @@ var ModelPrice = external_exports.object({
19691
19694
  output: external_exports.number().nonnegative(),
19692
19695
  /**
19693
19696
  * Rate band above a size threshold, or `null` when the model is flat-rated.
19694
- * Anthropic is flat across its 1M window; OpenAI, Google and xAI are not.
19697
+ * OpenAI, Google, xAI and some Anthropic models (Haiku 5.5) band; most
19698
+ * Claude models are flat across their window.
19695
19699
  */
19696
19700
  longContext: LongContextTier.nullable(),
19697
19701
  /** USD per 1M tokens written to a 5-minute ephemeral cache, or null if unpriced. */
@@ -19704,18 +19708,35 @@ var ModelPrice = external_exports.object({
19704
19708
  webSearch: external_exports.number().nonnegative().nullable()
19705
19709
  });
19706
19710
  var WEB_SEARCH_PER_REQUEST = 0.01;
19707
- function anthropicPrice(input2, output2, cacheRead) {
19711
+ function anthropicPrice(input2, output2, cacheRead, longContext = null) {
19708
19712
  return Object.freeze({
19709
19713
  input: input2,
19710
19714
  output: output2,
19711
- longContext: null,
19712
- // flat across the full window on every current Claude
19715
+ longContext: longContext === null ? null : Object.freeze(longContext),
19713
19716
  cacheWrite5m: input2 * 1.25,
19714
19717
  cacheWrite1h: input2 * 2,
19715
19718
  cacheRead,
19716
19719
  webSearch: WEB_SEARCH_PER_REQUEST
19717
19720
  });
19718
19721
  }
19722
+ function anthropicBand(thresholdInputTokens, input2, output2, cacheRead) {
19723
+ return {
19724
+ thresholdInputTokens,
19725
+ input: input2,
19726
+ output: output2,
19727
+ cacheRead,
19728
+ cacheWrite5m: input2 * 1.25,
19729
+ cacheWrite1h: input2 * 2
19730
+ };
19731
+ }
19732
+ function scaledBand(thresholdInputTokens, base, scale) {
19733
+ return {
19734
+ thresholdInputTokens,
19735
+ input: base.input * scale.input,
19736
+ output: base.output * scale.output,
19737
+ ...base.cacheRead === void 0 ? {} : { cacheRead: base.cacheRead * scale.cacheRead }
19738
+ };
19739
+ }
19719
19740
  function tokenPrice(input2, output2, options = {}) {
19720
19741
  return Object.freeze({
19721
19742
  input: input2,
@@ -19962,10 +19983,20 @@ anthropic.model("claude-fable-5-1", {
19962
19983
  });
19963
19984
  anthropic.model("claude-fable-5", {
19964
19985
  name: "Claude Fable 5",
19986
+ ctx: 1e6,
19987
+ maxOut: 128e3,
19965
19988
  capability: "reasoning",
19966
19989
  price: anthropicPrice(10, 50, 1),
19967
19990
  on: [...CLAUDE_RESELLERS]
19968
19991
  });
19992
+ anthropic.model("claude-opus-5-5", {
19993
+ name: "Claude Opus 5.5",
19994
+ ctx: 1e6,
19995
+ maxOut: 128e3,
19996
+ capability: "reasoning",
19997
+ price: anthropicPrice(4, 20, 0.2),
19998
+ on: [...CLAUDE_RESELLERS]
19999
+ });
19969
20000
  anthropic.model("claude-opus-5", {
19970
20001
  name: "Claude Opus 5",
19971
20002
  ctx: 1e6,
@@ -19976,24 +20007,32 @@ anthropic.model("claude-opus-5", {
19976
20007
  });
19977
20008
  anthropic.model("claude-opus-4-8", {
19978
20009
  name: "Claude Opus 4.8",
20010
+ ctx: 1e6,
20011
+ maxOut: 128e3,
19979
20012
  capability: "reasoning",
19980
20013
  price: anthropicPrice(5, 25, 0.5),
19981
20014
  on: [...CLAUDE_RESELLERS]
19982
20015
  });
19983
20016
  anthropic.model("claude-opus-4-7", {
19984
20017
  name: "Claude Opus 4.7",
20018
+ ctx: 1e6,
20019
+ maxOut: 128e3,
19985
20020
  capability: "reasoning",
19986
20021
  price: anthropicPrice(5, 25, 0.5),
19987
20022
  on: [...CLAUDE_RESELLERS]
19988
20023
  });
19989
20024
  anthropic.model("claude-opus-4-6", {
19990
20025
  name: "Claude Opus 4.6",
20026
+ ctx: 1e6,
20027
+ maxOut: 128e3,
19991
20028
  capability: "reasoning",
19992
20029
  price: anthropicPrice(5, 25, 0.5),
19993
20030
  on: [...CLAUDE_RESELLERS]
19994
20031
  });
19995
20032
  anthropic.model("claude-opus-4-5", {
19996
20033
  name: "Claude Opus 4.5",
20034
+ ctx: 2e5,
20035
+ maxOut: 64e3,
19997
20036
  capability: "reasoning",
19998
20037
  price: anthropicPrice(5, 25, 0.5),
19999
20038
  on: [...CLAUDE_RESELLERS]
@@ -20004,6 +20043,14 @@ anthropic.model("claude-opus-4-1", {
20004
20043
  price: anthropicPrice(15, 75, 1.5),
20005
20044
  on: [...CLAUDE_RESELLERS]
20006
20045
  });
20046
+ anthropic.model("claude-sonnet-5-5", {
20047
+ name: "Claude Sonnet 5.5",
20048
+ ctx: 1e6,
20049
+ maxOut: 128e3,
20050
+ capability: "reasoning",
20051
+ price: anthropicPrice(2, 10, 0.1),
20052
+ on: [...CLAUDE_RESELLERS]
20053
+ });
20007
20054
  anthropic.model("claude-sonnet-5", {
20008
20055
  name: "Claude Sonnet 5",
20009
20056
  ctx: 1e6,
@@ -20014,16 +20061,30 @@ anthropic.model("claude-sonnet-5", {
20014
20061
  });
20015
20062
  anthropic.model("claude-sonnet-4-6", {
20016
20063
  name: "Claude Sonnet 4.6",
20064
+ ctx: 1e6,
20065
+ maxOut: 128e3,
20017
20066
  capability: "reasoning",
20018
20067
  price: anthropicPrice(3, 15, 0.3),
20019
20068
  on: [...CLAUDE_RESELLERS]
20020
20069
  });
20021
20070
  anthropic.model("claude-sonnet-4-5", {
20022
20071
  name: "Claude Sonnet 4.5",
20072
+ ctx: 2e5,
20073
+ maxOut: 64e3,
20023
20074
  capability: "reasoning",
20024
20075
  price: anthropicPrice(3, 15, 0.3),
20025
20076
  on: [...CLAUDE_RESELLERS]
20026
20077
  });
20078
+ anthropic.model("claude-haiku-5-5", {
20079
+ name: "Claude Haiku 5.5",
20080
+ ctx: 1e6,
20081
+ maxOut: 128e3,
20082
+ capability: null,
20083
+ // A prompt over 100,000 tokens, cache reads and writes included, bills the
20084
+ // whole request at the higher band.
20085
+ price: anthropicPrice(0.1, 0.5, 0.01, anthropicBand(1e5, 0.5, 2.5, 0.05)),
20086
+ on: [...CLAUDE_RESELLERS]
20087
+ });
20027
20088
  anthropic.model("claude-haiku-4-5", {
20028
20089
  name: "Claude Haiku 4.5",
20029
20090
  ctx: 2e5,
@@ -20046,7 +20107,13 @@ var OPENAI_TRAINING = {
20046
20107
  consumerControl: "opt-out",
20047
20108
  source: "https://developers.openai.com/api/docs/guides/your-data"
20048
20109
  };
20049
- var LONG_CONTEXT_272K = { thresholdInputTokens: 272e3, input: null, output: null };
20110
+ function gptPrice(input2, output2, cacheRead) {
20111
+ const base = { input: input2, output: output2, ...cacheRead === void 0 ? {} : { cacheRead } };
20112
+ return tokenPrice(input2, output2, {
20113
+ ...base,
20114
+ longContext: scaledBand(272e3, base, { input: 2, output: 1.5, cacheRead: 2 })
20115
+ });
20116
+ }
20050
20117
  var openai = vendor("openai", {
20051
20118
  family: { id: "gpt", name: "GPT" },
20052
20119
  region: "us",
@@ -20054,12 +20121,45 @@ var openai = vendor("openai", {
20054
20121
  training: OPENAI_TRAINING
20055
20122
  });
20056
20123
  var OPENAI_RESELLERS = ["azure", "foundry"];
20124
+ openai.model("gpt-6-astra", {
20125
+ name: "GPT-6 Astra",
20126
+ ctx: 105e4,
20127
+ maxOut: 128e3,
20128
+ capability: "reasoning",
20129
+ price: gptPrice(10, 50, 1),
20130
+ on: [...OPENAI_RESELLERS]
20131
+ });
20132
+ openai.model("gpt-6.1-sol", {
20133
+ name: "GPT-6.1 Sol",
20134
+ ctx: 105e4,
20135
+ maxOut: 128e3,
20136
+ capability: "reasoning",
20137
+ price: gptPrice(2, 10, 0.1),
20138
+ on: [...OPENAI_RESELLERS]
20139
+ });
20140
+ openai.model("gpt-6-sol", {
20141
+ name: "GPT-6 Sol",
20142
+ ctx: 105e4,
20143
+ maxOut: 128e3,
20144
+ capability: "reasoning",
20145
+ price: gptPrice(2, 10, 0.2),
20146
+ on: [...OPENAI_RESELLERS]
20147
+ });
20148
+ openai.model("gpt-6-luna", {
20149
+ name: "GPT-6 Luna",
20150
+ ctx: 105e4,
20151
+ maxOut: 128e3,
20152
+ capability: null,
20153
+ price: gptPrice(0.1, 0.5, 0.01),
20154
+ on: [...OPENAI_RESELLERS]
20155
+ });
20057
20156
  openai.model("gpt-5.6-sol", {
20058
20157
  name: "GPT-5.6 Sol",
20158
+ // Promotional rate, published as available at least through 2026-11-21.
20059
20159
  ctx: 105e4,
20060
20160
  maxOut: 128e3,
20061
20161
  capability: "reasoning",
20062
- price: tokenPrice(4, 20, { cacheRead: 0.4, longContext: LONG_CONTEXT_272K }),
20162
+ price: gptPrice(4, 20, 0.4),
20063
20163
  on: [...OPENAI_RESELLERS]
20064
20164
  });
20065
20165
  openai.model("gpt-5.6-terra", {
@@ -20067,7 +20167,7 @@ openai.model("gpt-5.6-terra", {
20067
20167
  ctx: 105e4,
20068
20168
  maxOut: 128e3,
20069
20169
  capability: "reasoning",
20070
- price: tokenPrice(2, 12, { cacheRead: 0.2, longContext: LONG_CONTEXT_272K }),
20170
+ price: gptPrice(2, 12, 0.2),
20071
20171
  on: [...OPENAI_RESELLERS]
20072
20172
  });
20073
20173
  openai.model("gpt-5.6-luna", {
@@ -20075,7 +20175,7 @@ openai.model("gpt-5.6-luna", {
20075
20175
  ctx: 105e4,
20076
20176
  maxOut: 128e3,
20077
20177
  capability: null,
20078
- price: tokenPrice(0.2, 1.2, { cacheRead: 0.02, longContext: LONG_CONTEXT_272K }),
20178
+ price: gptPrice(0.2, 1.2, 0.02),
20079
20179
  on: [...OPENAI_RESELLERS]
20080
20180
  });
20081
20181
  openai.model("gpt-5.5", {
@@ -20083,7 +20183,15 @@ openai.model("gpt-5.5", {
20083
20183
  ctx: 105e4,
20084
20184
  maxOut: 128e3,
20085
20185
  capability: "reasoning",
20086
- price: tokenPrice(5, 30, { cacheRead: 0.5, longContext: LONG_CONTEXT_272K }),
20186
+ price: gptPrice(5, 30, 0.5),
20187
+ on: [...OPENAI_RESELLERS]
20188
+ });
20189
+ openai.model("gpt-5.5-pro", {
20190
+ name: "GPT-5.5 Pro",
20191
+ ctx: 105e4,
20192
+ maxOut: 128e3,
20193
+ capability: "reasoning",
20194
+ price: gptPrice(30, 180),
20087
20195
  on: [...OPENAI_RESELLERS]
20088
20196
  });
20089
20197
  openai.model("gpt-5.4", {
@@ -20091,7 +20199,7 @@ openai.model("gpt-5.4", {
20091
20199
  ctx: 105e4,
20092
20200
  maxOut: 128e3,
20093
20201
  capability: "reasoning",
20094
- price: tokenPrice(2.5, 15, { cacheRead: 0.25, longContext: LONG_CONTEXT_272K }),
20202
+ price: gptPrice(2.5, 15, 0.25),
20095
20203
  on: [...OPENAI_RESELLERS]
20096
20204
  });
20097
20205
  openai.model("gpt-5.4-mini", {
@@ -20137,6 +20245,7 @@ openai.model("gpt-5", {
20137
20245
  openai.model("gpt-5-mini", {
20138
20246
  name: "GPT-5 mini",
20139
20247
  ctx: 4e5,
20248
+ maxOut: 128e3,
20140
20249
  capability: null,
20141
20250
  price: tokenPrice(0.25, 2, { cacheRead: 0.025 }),
20142
20251
  on: [...OPENAI_RESELLERS]
@@ -20151,11 +20260,15 @@ openai.model("gpt-5-nano", {
20151
20260
  });
20152
20261
  openai.model("gpt-4.1", {
20153
20262
  name: "GPT-4.1",
20263
+ ctx: 1047576,
20264
+ maxOut: 32768,
20154
20265
  price: tokenPrice(2, 8, { cacheRead: 0.5 }),
20155
20266
  on: [...OPENAI_RESELLERS]
20156
20267
  });
20157
20268
  openai.model("gpt-4o", {
20158
20269
  name: "GPT-4o",
20270
+ ctx: 128e3,
20271
+ maxOut: 16384,
20159
20272
  price: tokenPrice(2.5, 10, { cacheRead: 1.25 }),
20160
20273
  on: [...OPENAI_RESELLERS]
20161
20274
  });
@@ -20179,6 +20292,8 @@ openai.model("gpt-4-turbo", {
20179
20292
  });
20180
20293
  openai.model("o3", {
20181
20294
  name: "o3",
20295
+ ctx: 2e5,
20296
+ maxOut: 1e5,
20182
20297
  capability: "reasoning",
20183
20298
  price: tokenPrice(2, 8, { cacheRead: 0.5 }),
20184
20299
  on: [...OPENAI_RESELLERS]
@@ -20231,57 +20346,100 @@ var google = vendor("google", {
20231
20346
  retention: "configurable",
20232
20347
  training: GOOGLE_TRAINING
20233
20348
  });
20349
+ google.model("gemini-3.8-flash", {
20350
+ name: "Gemini 3.8 Flash",
20351
+ ctx: 1048576,
20352
+ maxOut: 65536,
20353
+ capability: null,
20354
+ price: tokenPrice(0.75, 3.75, { cacheRead: 0.075 }),
20355
+ on: ["vertex"]
20356
+ });
20234
20357
  google.model("gemini-3.7-flash", {
20235
20358
  name: "Gemini 3.7 Flash",
20236
20359
  capability: null,
20237
- // Promotional rate; the published post-promotion rate is 1.50 / 7.50.
20238
20360
  price: tokenPrice(0.75, 3.75),
20239
20361
  on: ["vertex"]
20240
20362
  });
20241
20363
  google.model("gemini-3.6-flash", {
20242
20364
  name: "Gemini 3.6 Flash",
20365
+ ctx: 1048576,
20366
+ maxOut: 65536,
20243
20367
  capability: null,
20244
- price: tokenPrice(0.75, 3.75),
20368
+ price: tokenPrice(0.75, 3.75, { cacheRead: 0.075 }),
20245
20369
  on: ["vertex"]
20246
20370
  });
20247
20371
  google.model("gemini-3.5-flash", {
20248
20372
  name: "Gemini 3.5 Flash",
20249
20373
  capability: null,
20250
- price: tokenPrice(1.5, 9),
20251
20374
  on: ["vertex"]
20252
20375
  });
20253
20376
  google.model("gemini-3.5-flash-lite", {
20254
20377
  name: "Gemini 3.5 Flash Lite",
20378
+ ctx: 1048576,
20379
+ maxOut: 65536,
20380
+ capability: null,
20381
+ price: tokenPrice(0.3, 2.5, { cacheRead: 0.03 }),
20382
+ on: ["vertex"]
20383
+ });
20384
+ google.model("gemini-3.1-flash-lite", {
20385
+ name: "Gemini 3.1 Flash Lite",
20386
+ ctx: 1048576,
20387
+ maxOut: 65536,
20388
+ capability: null,
20389
+ price: tokenPrice(0.25, 1.5, { cacheRead: 0.025 }),
20390
+ on: ["vertex"]
20391
+ });
20392
+ google.model("gemini-3-flash-preview", {
20393
+ name: "Gemini 3 Flash Preview",
20394
+ ctx: 1048576,
20395
+ maxOut: 65536,
20255
20396
  capability: null,
20256
- price: tokenPrice(0.3, 2.5),
20397
+ price: tokenPrice(0.5, 3, { cacheRead: 0.05 }),
20257
20398
  on: ["vertex"]
20258
20399
  });
20259
20400
  google.model("gemini-3.1-pro-preview", {
20260
20401
  name: "Gemini 3.1 Pro Preview",
20402
+ ctx: 1048576,
20403
+ maxOut: 65536,
20261
20404
  capability: "reasoning",
20262
20405
  price: tokenPrice(2, 12, {
20263
- longContext: { thresholdInputTokens: 2e5, input: 4, output: 18 }
20406
+ cacheRead: 0.2,
20407
+ longContext: { thresholdInputTokens: 2e5, input: 4, output: 18, cacheRead: 0.4 }
20264
20408
  }),
20409
+ aliases: ["gemini-3.1-pro-preview-customtools"],
20265
20410
  on: ["vertex"]
20266
20411
  });
20267
20412
  google.model("gemini-2.5-pro", {
20268
20413
  name: "Gemini 2.5 Pro",
20414
+ ctx: 1048576,
20415
+ maxOut: 65536,
20269
20416
  capability: "reasoning",
20270
20417
  price: tokenPrice(1.25, 10, {
20271
- longContext: { thresholdInputTokens: 2e5, input: 2.5, output: 15 }
20418
+ cacheRead: 0.125,
20419
+ longContext: { thresholdInputTokens: 2e5, input: 2.5, output: 15, cacheRead: 0.25 }
20272
20420
  }),
20273
20421
  on: ["vertex"]
20274
20422
  });
20275
20423
  google.model("gemini-2.5-flash", {
20276
20424
  name: "Gemini 2.5 Flash",
20425
+ ctx: 1048576,
20426
+ maxOut: 65536,
20277
20427
  capability: null,
20278
- price: tokenPrice(0.3, 2.5),
20428
+ price: tokenPrice(0.3, 2.5, { cacheRead: 0.03 }),
20279
20429
  on: ["vertex"]
20280
20430
  });
20281
20431
  google.model("gemini-2.5-flash-lite", {
20282
20432
  name: "Gemini 2.5 Flash Lite",
20433
+ ctx: 1048576,
20434
+ maxOut: 65536,
20283
20435
  capability: null,
20284
- price: tokenPrice(0.1, 0.4),
20436
+ price: tokenPrice(0.1, 0.4, { cacheRead: 0.01 }),
20437
+ on: ["vertex"]
20438
+ });
20439
+ google.model("gemini-embedding-2", {
20440
+ name: "Gemini Embedding 2",
20441
+ capability: "embedding",
20442
+ price: tokenPrice(0.2, 0),
20285
20443
  on: ["vertex"]
20286
20444
  });
20287
20445
  google.model("gemini-1-5-pro", { name: "Gemini 1.5 Pro", on: ["vertex"] });
@@ -20297,43 +20455,62 @@ var xai = vendor("xai", {
20297
20455
  source: "https://docs.x.ai/developers/faq/security"
20298
20456
  }
20299
20457
  });
20458
+ function grokPrice(input2, output2, cacheRead) {
20459
+ const base = { input: input2, output: output2, cacheRead };
20460
+ return tokenPrice(input2, output2, {
20461
+ cacheRead,
20462
+ longContext: scaledBand(2e5, base, { input: 2, output: 2, cacheRead: 2 })
20463
+ });
20464
+ }
20465
+ xai.model("grok-4.7", {
20466
+ name: "Grok 4.7",
20467
+ ctx: 5e5,
20468
+ capability: "reasoning",
20469
+ price: grokPrice(2, 6, 0.5)
20470
+ });
20300
20471
  xai.model("grok-4.6", {
20301
20472
  name: "Grok 4.6",
20302
20473
  ctx: 5e5,
20303
20474
  capability: "reasoning",
20304
- price: tokenPrice(2, 6, {
20305
- cacheRead: 0.5,
20306
- longContext: { thresholdInputTokens: 2e5, input: 4, output: 12 }
20307
- }),
20475
+ price: grokPrice(2, 6, 0.5),
20308
20476
  on: ["bedrock"]
20309
20477
  });
20310
20478
  xai.model("grok-4.5", {
20311
20479
  name: "Grok 4.5",
20312
20480
  ctx: 5e5,
20313
20481
  capability: "reasoning",
20314
- price: tokenPrice(2, 6, {
20315
- cacheRead: 0.3,
20316
- longContext: { thresholdInputTokens: 2e5, input: 4, output: 12 }
20317
- })
20482
+ price: grokPrice(2, 6, 0.3)
20318
20483
  });
20319
20484
  xai.model("grok-4.3", {
20320
20485
  name: "Grok 4.3",
20321
20486
  ctx: 1e6,
20322
20487
  capability: "reasoning",
20323
- price: tokenPrice(1.25, 2.5, {
20324
- cacheRead: 0.2,
20325
- longContext: { thresholdInputTokens: 2e5, input: 2.5, output: 5 }
20326
- }),
20488
+ price: grokPrice(1.25, 2.5, 0.2),
20327
20489
  on: ["bedrock"]
20328
20490
  });
20491
+ xai.model("grok-4.20-0309-reasoning", {
20492
+ name: "Grok 4.20 Reasoning",
20493
+ capability: "reasoning",
20494
+ ctx: 1e6,
20495
+ price: grokPrice(1.25, 2.5, 0.2)
20496
+ });
20497
+ xai.model("grok-4.20-0309-non-reasoning", {
20498
+ name: "Grok 4.20",
20499
+ capability: null,
20500
+ ctx: 1e6,
20501
+ price: grokPrice(1.25, 2.5, 0.2)
20502
+ });
20503
+ xai.model("grok-4.20-multi-agent-0309", {
20504
+ name: "Grok 4.20 Multi-Agent",
20505
+ capability: "reasoning",
20506
+ ctx: 1e6,
20507
+ price: grokPrice(1.25, 2.5, 0.2)
20508
+ });
20329
20509
  xai.model("grok-build-0.1", {
20330
20510
  name: "Grok Build 0.1",
20331
20511
  ctx: 256e3,
20332
20512
  capability: "code",
20333
- price: tokenPrice(1, 2, {
20334
- cacheRead: 0.2,
20335
- longContext: { thresholdInputTokens: 2e5, input: 2, output: 4 }
20336
- })
20513
+ price: grokPrice(1, 2, 0.2)
20337
20514
  });
20338
20515
  var deepseek = vendor("deepseek", {
20339
20516
  family: { id: "deepseek", name: "DeepSeek" },
@@ -20346,16 +20523,25 @@ var deepseek = vendor("deepseek", {
20346
20523
  source: "https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html"
20347
20524
  }
20348
20525
  });
20526
+ deepseek.model("deepseek-flash", {
20527
+ name: "DeepSeek V4.1 Flash",
20528
+ ctx: 1e6,
20529
+ maxOut: 384e3,
20530
+ capability: null,
20531
+ price: tokenPrice(0.3, 1.2, { cacheRead: 6e-3 })
20532
+ });
20349
20533
  deepseek.model("deepseek-v4-flash", {
20350
20534
  name: "DeepSeek V4 Flash",
20351
20535
  ctx: 1e6,
20536
+ maxOut: 384e3,
20352
20537
  capability: null,
20353
- price: tokenPrice(0.44, 1.32, { cacheRead: 0.014 }),
20538
+ price: tokenPrice(0.3, 1.2, { cacheRead: 6e-3 }),
20354
20539
  on: ["bedrock", "together", "fireworks", "openrouter", "ollama", "local"]
20355
20540
  });
20356
20541
  deepseek.model("deepseek-v4-pro", {
20357
20542
  name: "DeepSeek V4 Pro",
20358
20543
  ctx: 1e6,
20544
+ maxOut: 384e3,
20359
20545
  capability: "reasoning",
20360
20546
  price: tokenPrice(1.32, 3.96, { cacheRead: 0.044 }),
20361
20547
  on: ["bedrock", "together", "fireworks", "openrouter"]
@@ -20402,7 +20588,14 @@ cohere.model("command-r-plus-08-2024", {
20402
20588
  ctx: 128e3,
20403
20589
  maxOut: 4e3,
20404
20590
  price: tokenPrice(2.5, 10),
20405
- // The undated form is what deployments report; the live id carries the date.
20591
+ on: ["bedrock"]
20592
+ });
20593
+ cohere.model("command-r-plus-04-2024", {
20594
+ name: "Command R+ (04-2024)",
20595
+ seen: "discovered",
20596
+ ctx: 128e3,
20597
+ maxOut: 4e3,
20598
+ price: tokenPrice(3, 15),
20406
20599
  aliases: ["command-r-plus"],
20407
20600
  on: ["bedrock"]
20408
20601
  });
@@ -20470,6 +20663,65 @@ var mistral = vendor("mistral", {
20470
20663
  retention: "unknown",
20471
20664
  defaultHosting: "local"
20472
20665
  });
20666
+ var MISTRAL_API = { defaultHosting: "api" };
20667
+ mistral.model("mistral-large-4", {
20668
+ ...MISTRAL_API,
20669
+ name: "Mistral Large 4",
20670
+ ctx: 1e6,
20671
+ capability: null,
20672
+ // Public preview at a sale rate; the published original is 1.36 / 4.18 / 0.14.
20673
+ price: tokenPrice(0.68, 2.09, { cacheRead: 0.07 })
20674
+ });
20675
+ mistral.model("mistral-large-2512", {
20676
+ ...MISTRAL_API,
20677
+ name: "Mistral Large 3",
20678
+ ctx: 256e3,
20679
+ capability: null,
20680
+ price: tokenPrice(0.5, 1.5, { cacheRead: 0.05 })
20681
+ });
20682
+ mistral.model("mistral-medium-3-5", {
20683
+ ...MISTRAL_API,
20684
+ name: "Mistral Medium 3.5",
20685
+ ctx: 256e3,
20686
+ capability: null,
20687
+ price: tokenPrice(1.5, 7.5, { cacheRead: 0.15 })
20688
+ });
20689
+ mistral.model("mistral-small-2603", {
20690
+ ...MISTRAL_API,
20691
+ name: "Mistral Small 4",
20692
+ ctx: 256e3,
20693
+ capability: null,
20694
+ price: tokenPrice(0.15, 0.6, { cacheRead: 0.015 })
20695
+ });
20696
+ mistral.model("ministral-14b-2512", {
20697
+ ...MISTRAL_API,
20698
+ name: "Ministral 3 14B",
20699
+ ctx: 256e3,
20700
+ capability: null,
20701
+ price: tokenPrice(0.2, 0.2, { cacheRead: 0.02 })
20702
+ });
20703
+ mistral.model("ministral-8b-2512", {
20704
+ ...MISTRAL_API,
20705
+ name: "Ministral 3 8B",
20706
+ ctx: 256e3,
20707
+ capability: null,
20708
+ price: tokenPrice(0.15, 0.15, { cacheRead: 0.015 })
20709
+ });
20710
+ mistral.model("ministral-3b-2512", {
20711
+ ...MISTRAL_API,
20712
+ name: "Ministral 3 3B",
20713
+ ctx: 256e3,
20714
+ capability: null,
20715
+ price: tokenPrice(0.1, 0.1, { cacheRead: 0.01 })
20716
+ });
20717
+ mistral.model("codestral-2508", {
20718
+ ...MISTRAL_API,
20719
+ name: "Codestral",
20720
+ ctx: 128e3,
20721
+ capability: "code",
20722
+ openWeights: false,
20723
+ price: tokenPrice(0.3, 0.9, { cacheRead: 0.03 })
20724
+ });
20473
20725
  mistral.model("mixtral-8x7b", {
20474
20726
  name: "Mixtral 8x7B",
20475
20727
  seen: "discovered",
@@ -25098,6 +25350,10 @@ var GROWTH_CORPORA = [
25098
25350
  build: (length) => joinTo(length, "[", "]", (i) => `"${SQL_WORDS[i % SQL_WORDS.length] ?? ""} ${String(i)}"`)
25099
25351
  },
25100
25352
  { name: "single-quoted keyword run ('where)", build: (length) => repeatTo("'where", length) },
25353
+ {
25354
+ name: 'double-quoted keyword literal run ("where" )',
25355
+ build: (length) => repeatTo('"where" ', length)
25356
+ },
25101
25357
  { name: "double-quote run", build: (length) => repeatTo('"', length) },
25102
25358
  { name: "space run", build: (length) => repeatTo(" ", length) },
25103
25359
  { name: "newline run", build: (length) => repeatTo("\n", length) },