@ccusage/codex 17.1.7 → 17.2.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.
Files changed (2) hide show
  1. package/dist/index.js +39 -1
  2. 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 = "17.1.7";
898
+ var version = "17.2.0";
899
899
  var description = "Usage analysis tool for OpenAI Codex sessions";
900
900
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
901
901
  let messages = [];
@@ -7126,6 +7126,44 @@ const PREFETCHED_CODEX_PRICING = {
7126
7126
  "max_input_tokens": 128e3,
7127
7127
  "max_output_tokens": 16384
7128
7128
  },
7129
+ "gpt-5.2": {
7130
+ "input_cost_per_token": 175e-8,
7131
+ "output_cost_per_token": 14e-6,
7132
+ "cache_read_input_token_cost": 175e-9,
7133
+ "max_tokens": 128e3,
7134
+ "max_input_tokens": 4e5,
7135
+ "max_output_tokens": 128e3
7136
+ },
7137
+ "gpt-5.2-2025-12-11": {
7138
+ "input_cost_per_token": 175e-8,
7139
+ "output_cost_per_token": 14e-6,
7140
+ "cache_read_input_token_cost": 175e-9,
7141
+ "max_tokens": 128e3,
7142
+ "max_input_tokens": 4e5,
7143
+ "max_output_tokens": 128e3
7144
+ },
7145
+ "gpt-5.2-chat-latest": {
7146
+ "input_cost_per_token": 175e-8,
7147
+ "output_cost_per_token": 14e-6,
7148
+ "cache_read_input_token_cost": 175e-9,
7149
+ "max_tokens": 16384,
7150
+ "max_input_tokens": 128e3,
7151
+ "max_output_tokens": 16384
7152
+ },
7153
+ "gpt-5.2-pro": {
7154
+ "input_cost_per_token": 21e-6,
7155
+ "output_cost_per_token": 168e-6,
7156
+ "max_tokens": 128e3,
7157
+ "max_input_tokens": 4e5,
7158
+ "max_output_tokens": 128e3
7159
+ },
7160
+ "gpt-5.2-pro-2025-12-11": {
7161
+ "input_cost_per_token": 21e-6,
7162
+ "output_cost_per_token": 168e-6,
7163
+ "max_tokens": 128e3,
7164
+ "max_input_tokens": 4e5,
7165
+ "max_output_tokens": 128e3
7166
+ },
7129
7167
  "gpt-5-pro": {
7130
7168
  "input_cost_per_token": 15e-6,
7131
7169
  "output_cost_per_token": 12e-5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccusage/codex",
3
- "version": "17.1.7",
3
+ "version": "17.2.0",
4
4
  "description": "Usage analysis tool for OpenAI Codex sessions",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {