@chenlongapps/opencode-token-usage 0.4.12 → 0.4.13
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/prices.generated.d.ts +12 -23
- package/dist/prices.generated.js +2 -3
- package/dist/pricing.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
2
|
-
readonly verified: "2026-10-
|
|
2
|
+
readonly verified: "2026-10-20";
|
|
3
3
|
readonly source: "https://models.dev/api.json";
|
|
4
4
|
readonly entries: readonly [{
|
|
5
5
|
readonly providerID: "ai21";
|
|
@@ -1361,6 +1361,17 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
|
1361
1361
|
};
|
|
1362
1362
|
}];
|
|
1363
1363
|
readonly released: "2026-06-01";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly providerID: "minimax";
|
|
1366
|
+
readonly id: "minimax-m3.1-flash";
|
|
1367
|
+
readonly prices: readonly [{
|
|
1368
|
+
readonly input: 0.15;
|
|
1369
|
+
readonly output: 0.6;
|
|
1370
|
+
readonly cache: {
|
|
1371
|
+
readonly read: 0.015;
|
|
1372
|
+
};
|
|
1373
|
+
}];
|
|
1374
|
+
readonly released: "2026-10-19";
|
|
1364
1375
|
}, {
|
|
1365
1376
|
readonly providerID: "mistral";
|
|
1366
1377
|
readonly id: "codestral-2508";
|
|
@@ -2148,17 +2159,6 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
|
2148
2159
|
};
|
|
2149
2160
|
}];
|
|
2150
2161
|
readonly released: "2025-12-11";
|
|
2151
|
-
}, {
|
|
2152
|
-
readonly providerID: "openai";
|
|
2153
|
-
readonly id: "gpt-5.2-chat-latest";
|
|
2154
|
-
readonly prices: readonly [{
|
|
2155
|
-
readonly input: 1.75;
|
|
2156
|
-
readonly output: 14;
|
|
2157
|
-
readonly cache: {
|
|
2158
|
-
readonly read: 0.175;
|
|
2159
|
-
};
|
|
2160
|
-
}];
|
|
2161
|
-
readonly released: "2025-12-11";
|
|
2162
2162
|
}, {
|
|
2163
2163
|
readonly providerID: "openai";
|
|
2164
2164
|
readonly id: "gpt-5.2-fast";
|
|
@@ -2179,17 +2179,6 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
|
2179
2179
|
readonly output: 168;
|
|
2180
2180
|
}];
|
|
2181
2181
|
readonly released: "2025-12-11";
|
|
2182
|
-
}, {
|
|
2183
|
-
readonly providerID: "openai";
|
|
2184
|
-
readonly id: "gpt-5.3-chat-latest";
|
|
2185
|
-
readonly prices: readonly [{
|
|
2186
|
-
readonly input: 1.75;
|
|
2187
|
-
readonly output: 14;
|
|
2188
|
-
readonly cache: {
|
|
2189
|
-
readonly read: 0.175;
|
|
2190
|
-
};
|
|
2191
|
-
}];
|
|
2192
|
-
readonly released: "2026-03-03";
|
|
2193
2182
|
}, {
|
|
2194
2183
|
readonly providerID: "openai";
|
|
2195
2184
|
readonly id: "gpt-5.3-codex";
|
package/dist/prices.generated.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const GENERATED_PRICE_SNAPSHOT = {
|
|
2
|
-
verified: "2026-10-
|
|
2
|
+
verified: "2026-10-20",
|
|
3
3
|
source: "https://models.dev/api.json",
|
|
4
4
|
entries: [
|
|
5
5
|
{ "providerID": "ai21", "id": "jamba-large", "prices": [{ "input": 2, "output": 8 }], "released": "2025-07-01" },
|
|
@@ -126,6 +126,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
|
|
|
126
126
|
{ "providerID": "minimax", "id": "minimax-m2.7", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.06, "write": 0.375 } }], "released": "2026-03-18" },
|
|
127
127
|
{ "providerID": "minimax", "id": "minimax-m2.7-highspeed", "prices": [{ "input": 0.6, "output": 2.4, "cache": { "read": 0.06, "write": 0.375 } }], "released": "2026-03-18" },
|
|
128
128
|
{ "providerID": "minimax", "id": "minimax-m3", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.06 } }, { "input": 0.6, "output": 2.4, "cache": { "read": 0.12 }, "tier": { "type": "context", "size": 512000 } }], "released": "2026-06-01" },
|
|
129
|
+
{ "providerID": "minimax", "id": "minimax-m3.1-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.015 } }], "released": "2026-10-19" },
|
|
129
130
|
{ "providerID": "mistral", "id": "codestral-2508", "prices": [{ "input": 0.3, "output": 0.9, "cache": { "read": 0.03 } }], "released": "2025-07-30" },
|
|
130
131
|
{ "providerID": "mistral", "id": "codestral-latest", "prices": [{ "input": 0.3, "output": 0.9, "cache": { "read": 0.03 } }], "released": "2024-05-29" },
|
|
131
132
|
{ "providerID": "mistral", "id": "devstral-2512", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-12-09" },
|
|
@@ -209,10 +210,8 @@ export const GENERATED_PRICE_SNAPSHOT = {
|
|
|
209
210
|
{ "providerID": "openai", "id": "gpt-5.1", "prices": [{ "input": 1.25, "output": 10, "cache": { "read": 0.125 } }], "released": "2025-11-13" },
|
|
210
211
|
{ "providerID": "openai", "id": "gpt-5.1-fast", "providers": ["openai"], "prices": [{ "input": 2.5, "output": 20, "cache": { "read": 0.25 } }], "released": "2025-11-13" },
|
|
211
212
|
{ "providerID": "openai", "id": "gpt-5.2", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2025-12-11" },
|
|
212
|
-
{ "providerID": "openai", "id": "gpt-5.2-chat-latest", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2025-12-11" },
|
|
213
213
|
{ "providerID": "openai", "id": "gpt-5.2-fast", "providers": ["openai"], "prices": [{ "input": 3.5, "output": 28, "cache": { "read": 0.35 } }], "released": "2025-12-11" },
|
|
214
214
|
{ "providerID": "openai", "id": "gpt-5.2-pro", "prices": [{ "input": 21, "output": 168 }], "released": "2025-12-11" },
|
|
215
|
-
{ "providerID": "openai", "id": "gpt-5.3-chat-latest", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2026-03-03" },
|
|
216
215
|
{ "providerID": "openai", "id": "gpt-5.3-codex", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2026-02-05" },
|
|
217
216
|
{ "providerID": "openai", "id": "gpt-5.3-codex-fast", "providers": ["openai"], "prices": [{ "input": 3.5, "output": 28, "cache": { "read": 0.35 } }], "released": "2026-02-05" },
|
|
218
217
|
{ "providerID": "openai", "id": "gpt-5.3-codex-spark", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2026-02-05" },
|
package/dist/pricing.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface OfficialPriceEntry {
|
|
|
14
14
|
/** Checked-in data: updating prices is explicit, not a network request at
|
|
15
15
|
* startup, during a refresh, or during an npm build. */
|
|
16
16
|
export declare const OFFICIAL_PRICE_SNAPSHOT: {
|
|
17
|
-
verified: "2026-10-
|
|
17
|
+
verified: "2026-10-20";
|
|
18
18
|
source: "https://models.dev/api.json";
|
|
19
19
|
entries: OfficialPriceEntry[];
|
|
20
20
|
};
|