@ccusage/codex 17.0.3 → 17.1.0
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 +28 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -897,7 +897,7 @@ async function executeCommand(cmd, ctx, name$1) {
|
|
|
897
897
|
await resolved.run(ctx);
|
|
898
898
|
}
|
|
899
899
|
var name = "@ccusage/codex";
|
|
900
|
-
var version = "17.0
|
|
900
|
+
var version = "17.1.0";
|
|
901
901
|
var description = "Usage analysis tool for OpenAI Codex sessions";
|
|
902
902
|
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
903
903
|
let messages = [];
|
|
@@ -7044,7 +7044,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7044
7044
|
"output_cost_per_token": 1e-5,
|
|
7045
7045
|
"cache_read_input_token_cost": 125e-9,
|
|
7046
7046
|
"max_tokens": 128e3,
|
|
7047
|
-
"max_input_tokens":
|
|
7047
|
+
"max_input_tokens": 272e3,
|
|
7048
7048
|
"max_output_tokens": 128e3
|
|
7049
7049
|
},
|
|
7050
7050
|
"gpt-5-2025-08-07": {
|
|
@@ -7052,7 +7052,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7052
7052
|
"output_cost_per_token": 1e-5,
|
|
7053
7053
|
"cache_read_input_token_cost": 125e-9,
|
|
7054
7054
|
"max_tokens": 128e3,
|
|
7055
|
-
"max_input_tokens":
|
|
7055
|
+
"max_input_tokens": 272e3,
|
|
7056
7056
|
"max_output_tokens": 128e3
|
|
7057
7057
|
},
|
|
7058
7058
|
"gpt-5-chat": {
|
|
@@ -7060,7 +7060,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7060
7060
|
"output_cost_per_token": 1e-5,
|
|
7061
7061
|
"cache_read_input_token_cost": 125e-9,
|
|
7062
7062
|
"max_tokens": 128e3,
|
|
7063
|
-
"max_input_tokens":
|
|
7063
|
+
"max_input_tokens": 272e3,
|
|
7064
7064
|
"max_output_tokens": 128e3
|
|
7065
7065
|
},
|
|
7066
7066
|
"gpt-5-chat-latest": {
|
|
@@ -7068,7 +7068,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7068
7068
|
"output_cost_per_token": 1e-5,
|
|
7069
7069
|
"cache_read_input_token_cost": 125e-9,
|
|
7070
7070
|
"max_tokens": 128e3,
|
|
7071
|
-
"max_input_tokens":
|
|
7071
|
+
"max_input_tokens": 272e3,
|
|
7072
7072
|
"max_output_tokens": 128e3
|
|
7073
7073
|
},
|
|
7074
7074
|
"gpt-5-codex": {
|
|
@@ -7084,7 +7084,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7084
7084
|
"output_cost_per_token": 2e-6,
|
|
7085
7085
|
"cache_read_input_token_cost": 25e-9,
|
|
7086
7086
|
"max_tokens": 128e3,
|
|
7087
|
-
"max_input_tokens":
|
|
7087
|
+
"max_input_tokens": 272e3,
|
|
7088
7088
|
"max_output_tokens": 128e3
|
|
7089
7089
|
},
|
|
7090
7090
|
"gpt-5-mini-2025-08-07": {
|
|
@@ -7092,7 +7092,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7092
7092
|
"output_cost_per_token": 2e-6,
|
|
7093
7093
|
"cache_read_input_token_cost": 25e-9,
|
|
7094
7094
|
"max_tokens": 128e3,
|
|
7095
|
-
"max_input_tokens":
|
|
7095
|
+
"max_input_tokens": 272e3,
|
|
7096
7096
|
"max_output_tokens": 128e3
|
|
7097
7097
|
},
|
|
7098
7098
|
"gpt-5-nano": {
|
|
@@ -7100,7 +7100,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7100
7100
|
"output_cost_per_token": 4e-7,
|
|
7101
7101
|
"cache_read_input_token_cost": 5e-9,
|
|
7102
7102
|
"max_tokens": 128e3,
|
|
7103
|
-
"max_input_tokens":
|
|
7103
|
+
"max_input_tokens": 272e3,
|
|
7104
7104
|
"max_output_tokens": 128e3
|
|
7105
7105
|
},
|
|
7106
7106
|
"gpt-5-nano-2025-08-07": {
|
|
@@ -7108,7 +7108,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7108
7108
|
"output_cost_per_token": 4e-7,
|
|
7109
7109
|
"cache_read_input_token_cost": 5e-9,
|
|
7110
7110
|
"max_tokens": 128e3,
|
|
7111
|
-
"max_input_tokens":
|
|
7111
|
+
"max_input_tokens": 272e3,
|
|
7112
7112
|
"max_output_tokens": 128e3
|
|
7113
7113
|
},
|
|
7114
7114
|
"openrouter/openai/gpt-5-chat": {
|
|
@@ -7116,7 +7116,23 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7116
7116
|
"output_cost_per_token": 1e-5,
|
|
7117
7117
|
"cache_read_input_token_cost": 125e-9,
|
|
7118
7118
|
"max_tokens": 128e3,
|
|
7119
|
-
"max_input_tokens":
|
|
7119
|
+
"max_input_tokens": 272e3,
|
|
7120
|
+
"max_output_tokens": 128e3
|
|
7121
|
+
},
|
|
7122
|
+
"openrouter/openai/gpt-5-codex": {
|
|
7123
|
+
"input_cost_per_token": 125e-8,
|
|
7124
|
+
"output_cost_per_token": 1e-5,
|
|
7125
|
+
"cache_read_input_token_cost": 125e-9,
|
|
7126
|
+
"max_tokens": 128e3,
|
|
7127
|
+
"max_input_tokens": 272e3,
|
|
7128
|
+
"max_output_tokens": 128e3
|
|
7129
|
+
},
|
|
7130
|
+
"openrouter/openai/gpt-5": {
|
|
7131
|
+
"input_cost_per_token": 125e-8,
|
|
7132
|
+
"output_cost_per_token": 1e-5,
|
|
7133
|
+
"cache_read_input_token_cost": 125e-9,
|
|
7134
|
+
"max_tokens": 128e3,
|
|
7135
|
+
"max_input_tokens": 272e3,
|
|
7120
7136
|
"max_output_tokens": 128e3
|
|
7121
7137
|
},
|
|
7122
7138
|
"openrouter/openai/gpt-5-mini": {
|
|
@@ -7124,7 +7140,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7124
7140
|
"output_cost_per_token": 2e-6,
|
|
7125
7141
|
"cache_read_input_token_cost": 25e-9,
|
|
7126
7142
|
"max_tokens": 128e3,
|
|
7127
|
-
"max_input_tokens":
|
|
7143
|
+
"max_input_tokens": 272e3,
|
|
7128
7144
|
"max_output_tokens": 128e3
|
|
7129
7145
|
},
|
|
7130
7146
|
"openrouter/openai/gpt-5-nano": {
|
|
@@ -7132,7 +7148,7 @@ const PREFETCHED_CODEX_PRICING = {
|
|
|
7132
7148
|
"output_cost_per_token": 4e-7,
|
|
7133
7149
|
"cache_read_input_token_cost": 5e-9,
|
|
7134
7150
|
"max_tokens": 128e3,
|
|
7135
|
-
"max_input_tokens":
|
|
7151
|
+
"max_input_tokens": 272e3,
|
|
7136
7152
|
"max_output_tokens": 128e3
|
|
7137
7153
|
}
|
|
7138
7154
|
};
|