@ccusage/codex 18.0.8 → 18.0.9
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 +65 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -895,7 +895,7 @@ async function executeCommand(cmd, ctx, name$1) {
|
|
|
895
895
|
await resolved.run(ctx);
|
|
896
896
|
}
|
|
897
897
|
var name = "@ccusage/codex";
|
|
898
|
-
var version = "18.0.
|
|
898
|
+
var version = "18.0.9";
|
|
899
899
|
var description = "Usage analysis tool for OpenAI Codex sessions";
|
|
900
900
|
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
901
901
|
let messages = [];
|
|
@@ -7167,6 +7167,14 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7167
7167
|
"max_input_tokens": 272e3,
|
|
7168
7168
|
"max_output_tokens": 128e3
|
|
7169
7169
|
},
|
|
7170
|
+
"azure/gpt-5.3-codex": {
|
|
7171
|
+
"input_cost_per_token": 175e-8,
|
|
7172
|
+
"output_cost_per_token": 14e-6,
|
|
7173
|
+
"cache_read_input_token_cost": 175e-9,
|
|
7174
|
+
"max_tokens": 128e3,
|
|
7175
|
+
"max_input_tokens": 272e3,
|
|
7176
|
+
"max_output_tokens": 128e3
|
|
7177
|
+
},
|
|
7170
7178
|
"azure/gpt-5.2-pro": {
|
|
7171
7179
|
"input_cost_per_token": 21e-6,
|
|
7172
7180
|
"output_cost_per_token": 168e-6,
|
|
@@ -7237,6 +7245,14 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7237
7245
|
"max_input_tokens": 128e3,
|
|
7238
7246
|
"max_output_tokens": 16384
|
|
7239
7247
|
},
|
|
7248
|
+
"gpt-5.3-chat-latest": {
|
|
7249
|
+
"input_cost_per_token": 175e-8,
|
|
7250
|
+
"output_cost_per_token": 14e-6,
|
|
7251
|
+
"cache_read_input_token_cost": 175e-9,
|
|
7252
|
+
"max_tokens": 16384,
|
|
7253
|
+
"max_input_tokens": 128e3,
|
|
7254
|
+
"max_output_tokens": 16384
|
|
7255
|
+
},
|
|
7240
7256
|
"gpt-5.2-pro": {
|
|
7241
7257
|
"input_cost_per_token": 21e-6,
|
|
7242
7258
|
"output_cost_per_token": 168e-6,
|
|
@@ -7251,6 +7267,38 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7251
7267
|
"max_input_tokens": 272e3,
|
|
7252
7268
|
"max_output_tokens": 128e3
|
|
7253
7269
|
},
|
|
7270
|
+
"gpt-5.4": {
|
|
7271
|
+
"input_cost_per_token": 25e-7,
|
|
7272
|
+
"output_cost_per_token": 15e-6,
|
|
7273
|
+
"cache_read_input_token_cost": 25e-8,
|
|
7274
|
+
"max_tokens": 128e3,
|
|
7275
|
+
"max_input_tokens": 105e4,
|
|
7276
|
+
"max_output_tokens": 128e3
|
|
7277
|
+
},
|
|
7278
|
+
"gpt-5.4-2026-03-05": {
|
|
7279
|
+
"input_cost_per_token": 25e-7,
|
|
7280
|
+
"output_cost_per_token": 15e-6,
|
|
7281
|
+
"cache_read_input_token_cost": 25e-8,
|
|
7282
|
+
"max_tokens": 128e3,
|
|
7283
|
+
"max_input_tokens": 105e4,
|
|
7284
|
+
"max_output_tokens": 128e3
|
|
7285
|
+
},
|
|
7286
|
+
"gpt-5.4-pro": {
|
|
7287
|
+
"input_cost_per_token": 3e-5,
|
|
7288
|
+
"output_cost_per_token": 18e-5,
|
|
7289
|
+
"cache_read_input_token_cost": 3e-6,
|
|
7290
|
+
"max_tokens": 128e3,
|
|
7291
|
+
"max_input_tokens": 105e4,
|
|
7292
|
+
"max_output_tokens": 128e3
|
|
7293
|
+
},
|
|
7294
|
+
"gpt-5.4-pro-2026-03-05": {
|
|
7295
|
+
"input_cost_per_token": 3e-5,
|
|
7296
|
+
"output_cost_per_token": 18e-5,
|
|
7297
|
+
"cache_read_input_token_cost": 3e-6,
|
|
7298
|
+
"max_tokens": 128e3,
|
|
7299
|
+
"max_input_tokens": 105e4,
|
|
7300
|
+
"max_output_tokens": 128e3
|
|
7301
|
+
},
|
|
7254
7302
|
"gpt-5-pro": {
|
|
7255
7303
|
"input_cost_per_token": 15e-6,
|
|
7256
7304
|
"output_cost_per_token": 12e-5,
|
|
@@ -7329,6 +7377,14 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7329
7377
|
"max_input_tokens": 272e3,
|
|
7330
7378
|
"max_output_tokens": 128e3
|
|
7331
7379
|
},
|
|
7380
|
+
"gpt-5.3-codex": {
|
|
7381
|
+
"input_cost_per_token": 175e-8,
|
|
7382
|
+
"output_cost_per_token": 14e-6,
|
|
7383
|
+
"cache_read_input_token_cost": 175e-9,
|
|
7384
|
+
"max_tokens": 128e3,
|
|
7385
|
+
"max_input_tokens": 272e3,
|
|
7386
|
+
"max_output_tokens": 128e3
|
|
7387
|
+
},
|
|
7332
7388
|
"gpt-5-mini": {
|
|
7333
7389
|
"input_cost_per_token": 25e-8,
|
|
7334
7390
|
"output_cost_per_token": 2e-6,
|
|
@@ -7409,6 +7465,14 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7409
7465
|
"max_input_tokens": 272e3,
|
|
7410
7466
|
"max_output_tokens": 128e3
|
|
7411
7467
|
},
|
|
7468
|
+
"openrouter/openai/gpt-5.1-codex-max": {
|
|
7469
|
+
"input_cost_per_token": 125e-8,
|
|
7470
|
+
"output_cost_per_token": 1e-5,
|
|
7471
|
+
"cache_read_input_token_cost": 125e-9,
|
|
7472
|
+
"max_tokens": 128e3,
|
|
7473
|
+
"max_input_tokens": 4e5,
|
|
7474
|
+
"max_output_tokens": 128e3
|
|
7475
|
+
},
|
|
7412
7476
|
"openrouter/openai/gpt-5.2": {
|
|
7413
7477
|
"input_cost_per_token": 175e-8,
|
|
7414
7478
|
"output_cost_per_token": 14e-6,
|