@chenlongapps/opencode-token-usage 0.5.3 → 0.5.4

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.
@@ -1,5 +1,5 @@
1
1
  export const GENERATED_PRICE_SNAPSHOT = {
2
- verified: "2026-11-24",
2
+ verified: "2026-11-25",
3
3
  source: "https://models.dev/catalog.json",
4
4
  entries: [
5
5
  { "lab": "ai21", "id": "jamba-large", "prices": [{ "input": 2, "output": 8 }] },
@@ -181,7 +181,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
181
181
  { "lab": "cohere", "id": "c4ai-aya-expanse-32b", "prices": [{ "input": 0.5, "output": 1.5 }] },
182
182
  { "lab": "cohere", "id": "command-a", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 2.5, "output": 10 }] },
183
183
  { "lab": "cohere", "id": "command-a-03-2025", "prices": [{ "input": 2.5, "output": 10 }] },
184
- { "lab": "cohere", "id": "command-a-plus-05-2026", "prices": [{ "input": 2.5, "output": 10 }] },
184
+ { "lab": "cohere", "id": "command-a-plus-05-2026", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.3, "output": 1.5, "cache": { "read": 0.15 } }] },
185
185
  { "lab": "cohere", "id": "command-a-reasoning-08-2025", "prices": [{ "input": 2.5, "output": 10 }] },
186
186
  { "lab": "cohere", "id": "command-a-translate-08-2025", "prices": [{ "input": 2.5, "output": 10 }] },
187
187
  { "lab": "cohere", "id": "command-a-vision-07-2025", "prices": [{ "input": 2.5, "output": 10 }] },
@@ -212,10 +212,10 @@ export const GENERATED_PRICE_SNAPSHOT = {
212
212
  { "lab": "deepseek", "id": "deepseek-v4-flash", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.09, "output": 0.18, "cache": { "read": 0.018 } }] },
213
213
  { "lab": "deepseek", "id": "deepseek-v4-flash-0423", "sourceProvider": "concentrate", "reference": true, "prices": [{ "input": 0.09, "output": 0.18, "cache": { "read": 0.018 } }] },
214
214
  { "lab": "deepseek", "id": "deepseek-v4-flash-0423:thinking", "sourceProvider": "nano-gpt", "reference": true, "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.028 } }], "scoped": true },
215
- { "lab": "deepseek", "id": "deepseek-v4-flash-0731", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.0456, "output": 0.3, "cache": { "read": 0.035 } }] },
215
+ { "lab": "deepseek", "id": "deepseek-v4-flash-0731", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.047, "output": 0.3, "cache": { "read": 0.035 } }] },
216
216
  { "lab": "deepseek", "id": "deepseek-v4-flash-0731:fast", "sourceProvider": "merge-gateway", "reference": true, "prices": [{ "input": 0.28, "output": 0.56, "cache": { "read": 0.07 } }], "scoped": true },
217
217
  { "lab": "deepseek", "id": "deepseek-v4-flash-0731:free", "sourceProvider": "opencode", "reference": true, "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "scoped": true },
218
- { "lab": "deepseek", "id": "deepseek-v4-flash-0731:thinking", "sourceProvider": "nano-gpt", "reference": true, "prices": [{ "input": 0.04532, "output": 0.13596, "cache": { "read": 0.001442 } }], "scoped": true },
218
+ { "lab": "deepseek", "id": "deepseek-v4-flash-0731:thinking", "sourceProvider": "nano-gpt", "reference": true, "prices": [{ "input": 0.05, "output": 0.16, "cache": { "read": 0.013 } }], "scoped": true },
219
219
  { "lab": "deepseek", "id": "deepseek-v4-flash-vision-exp", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.44, "output": 1.32, "cache": { "read": 0.028 } }] },
220
220
  { "lab": "deepseek", "id": "deepseek-v4-flash:fast", "sourceProvider": "commandcode", "reference": true, "prices": [{ "input": 0.28, "output": 0.56, "cache": { "read": 0.07 } }], "scoped": true },
221
221
  { "lab": "deepseek", "id": "deepseek-v4-flash:free", "sourceProvider": "orcarouter", "reference": true, "prices": [{ "input": 0, "output": 0 }], "scoped": true },
@@ -604,6 +604,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
604
604
  { "lab": "poolside", "id": "laguna-s-2.1", "sourceProvider": "vultr", "reference": true, "prices": [{ "input": 0.09, "output": 0.18 }] },
605
605
  { "lab": "poolside", "id": "laguna-s-2.1:free", "sourceProvider": "commandcode", "reference": true, "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "scoped": true },
606
606
  { "lab": "poolside", "id": "laguna-xs-2.1", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0, "write": 0 } }] },
607
+ { "lab": "prism-ml", "id": "ternary-bonsai-27b", "sourceProvider": "togetherai", "reference": true, "prices": [{ "input": 0, "output": 0 }] },
607
608
  { "lab": "recursive", "id": "flint:free", "sourceProvider": "opencode", "reference": true, "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "scoped": true },
608
609
  { "lab": "reflection", "id": "beam-1.0-501b-a23b", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.25, "output": 1, "cache": { "read": 0.05 } }] },
609
610
  { "lab": "reflection", "id": "beam-1.0-501b-a23b:free", "sourceProvider": "vercel", "reference": true, "prices": [{ "input": 0, "output": 0 }], "scoped": true },
@@ -611,6 +612,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
611
612
  { "lab": "rekaai", "id": "reka-flash-3", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.1, "output": 0.2 }] },
612
613
  { "lab": "relace", "id": "relace-apply-3", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.85, "output": 1.25 }] },
613
614
  { "lab": "relace", "id": "relace-search", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 1, "output": 3 }] },
615
+ { "lab": "ricursiveai", "id": "ripple-65b-preview", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.1, "output": 0.3, "cache": { "read": 0.025 } }] },
614
616
  { "lab": "sakana", "id": "fugu-max", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.25 } }], "source": "https://console.sakana.ai/pricing" },
615
617
  { "lab": "sakana", "id": "fugu-ultra", "prices": [{ "input": 5, "output": 30, "cache": { "read": 0.5 } }, { "input": 10, "output": 45, "cache": { "read": 1 }, "tier": { "type": "context", "size": 272000 } }] },
616
618
  { "lab": "sakana", "id": "fugu-ultra-v2", "prices": [{ "input": 5, "output": 30, "cache": { "read": 0.5 } }, { "tier": { "type": "context", "size": 271999 }, "input": 10, "output": 45, "cache": { "read": 1 } }], "source": "https://console.sakana.ai/pricing" },
@@ -692,7 +694,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
692
694
  { "lab": "xiaomi", "id": "mimo-v2-omni:free", "sourceProvider": "opencode", "reference": true, "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "scoped": true },
693
695
  { "lab": "xiaomi", "id": "mimo-v2-pro", "sourceProvider": "abacus", "reference": true, "prices": [{ "input": 1, "output": 3, "cache": { "read": 0.2 } }] },
694
696
  { "lab": "xiaomi", "id": "mimo-v2-pro:free", "sourceProvider": "opencode", "reference": true, "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "scoped": true },
695
- { "lab": "xiaomi", "id": "mimo-v2.5", "sourceProvider": "openrouter", "reference": true, "prices": [{ "input": 0.4, "output": 2, "cache": { "read": 0.08 } }] },
697
+ { "lab": "xiaomi", "id": "mimo-v2.5", "sourceProvider": "aihubmix", "reference": true, "prices": [{ "input": 0.08, "output": 0.16, "cache": { "read": 0.0016 } }] },
696
698
  { "lab": "xiaomi", "id": "mimo-v2.5-pro", "sourceProvider": "aihubmix", "reference": true, "prices": [{ "input": 0.2, "output": 0.4, "cache": { "read": 0.0016 } }] },
697
699
  { "lab": "xiaomi", "id": "mimo-v2.5-pro:free", "sourceProvider": "aihubmix", "reference": true, "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "scoped": true },
698
700
  { "lab": "xiaomi", "id": "mimo-v2.5-pro:thinking", "sourceProvider": "nano-gpt", "reference": true, "prices": [{ "input": 0.48, "output": 1.8, "cache": { "read": 0.096, "write": 0 } }], "scoped": true },
@@ -1271,7 +1273,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
1271
1273
  "tencent/hy4-flash:free": ["kenari/hy4-flash:free", "opencode-go/hy4-flash-free", "opencode/hy4-flash-free"],
1272
1274
  "tencent/hy4-preview": ["edenai/deepinfra/tencent/hy4-preview", "llmgateway-providers/deepinfra/hy4-preview", "llmgateway-providers/novita/hy4-preview"],
1273
1275
  "thinkingmachines/inkling": ["edenai/deepinfra/thinkingmachines/inkling", "edenai/fireworks_ai/accounts/fireworks/models/inkling", "edenai/together_ai/thinkingmachines/inkling", "modal/thinkingmachines/inkling-nvfp4", "requesty/inkling-256k", "thinkingmachines/thinkingmachines/inkling:peft:262144", "thinkingmachines/thinkingmachines/inkling:peft:262144:sampling-nvfp4"],
1274
- "thinkingmachines/inkling-2-mini": ["edenai/deepinfra/thinkingmachines/inkling-2-mini", "kenari/inkling-2-mini-uncensored", "thinkingmachines/thinkingmachines/inkling-2-mini:peft:262144"],
1276
+ "thinkingmachines/inkling-2-mini": ["edenai/deepinfra/thinkingmachines/inkling-2-mini", "kenari/inkling-2-mini-uncensored", "llmgateway-providers/deepinfra/inkling-2-mini", "thinkingmachines/thinkingmachines/inkling-2-mini:peft:262144"],
1275
1277
  "thinkingmachines/inkling-2-small": ["edenai/cloudflare/@cf/thinkingmachines/inkling-2-small", "edenai/deepinfra/thinkingmachines/inkling-2-small", "edenai/nebius/thinkingmachines/inkling-2-small", "edenai/together_ai/thinkingmachines/inkling-2-small", "nano-gpt/tee/inkling-2-small", "thinkingmachines/thinkingmachines/inkling-2-small:peft:262144"],
1276
1278
  "thinkingmachines/inkling-2-small:fast": ["prime/thinkingmachines/inkling-2-small-fast"],
1277
1279
  "thinkingmachines/inkling-2-small:free": ["opencode/inkling-2-small-free"],
@@ -1418,6 +1420,6 @@ export const GENERATED_PRICE_SNAPSHOT = {
1418
1420
  "zhipuai/glm-5.3": ["aihubmix/coding-glm-5.3-free", "tokenrouter/z-ai/glm-5.3-free"],
1419
1421
  "zhipuai/glm-5.3-flash": ["aihubmix/coding-glm-5.3-flash-free", "opencode/glm-5.3-flash-free", "orcarouter/z-ai/glm-5.3-flash-free"],
1420
1422
  },
1421
- labs: ["abacusai", "ai21", "aion-labs", "aisingapore", "aleph-alpha", "alibaba", "allenai", "amazon", "anthracite-org", "anthropic", "apodex", "arcee-ai", "baai", "baichuan", "baidu", "black-forest-labs", "bytedance-seed", "canopylabs", "cognitivecomputations", "cohere", "deepreinforce", "deepseek", "elorian-labs", "essentialai", "fireworks", "google", "gryphe", "huawei", "ibm", "inception", "inclusionai", "inference-net", "lightonai", "liquid", "mancer", "meituan", "meragpt", "meta", "microsoft", "mindlab", "minimax", "mistral", "mixedbread", "moonshotai", "morph", "motif-technologies", "nex-agi", "nousresearch", "nvidia", "openai", "openbmb", "opendatalab", "paddlepaddle", "paperinstruments", "particle-ai", "perceptron", "perplexity", "poolside", "quiverai", "recursive", "reflection", "rekaai", "relace", "sakana", "sao10k", "sarvam", "sdaia", "stepfun", "swiss-ai", "tencent", "thedrummer", "thinkingmachines", "trendyol", "unbiased", "undi95", "upstage", "vispark", "vivgrid", "writer", "xai", "xiaomi", "zhipuai"],
1423
+ labs: ["abacusai", "ai21", "aion-labs", "aisingapore", "aleph-alpha", "alibaba", "allenai", "amazon", "anthracite-org", "anthropic", "apodex", "arcee-ai", "baai", "baichuan", "baidu", "black-forest-labs", "bytedance-seed", "canopylabs", "cognitivecomputations", "cohere", "deepreinforce", "deepseek", "elorian-labs", "essentialai", "fireworks", "google", "gryphe", "huawei", "ibm", "inception", "inclusionai", "inference-net", "lightonai", "liquid", "mancer", "meituan", "meragpt", "meta", "microsoft", "mindlab", "minimax", "mistral", "mixedbread", "moonshotai", "morph", "motif-technologies", "nex-agi", "nousresearch", "nvidia", "openai", "openbmb", "opendatalab", "paddlepaddle", "paperinstruments", "particle-ai", "perceptron", "perplexity", "poolside", "prism-ml", "quiverai", "recursive", "reflection", "rekaai", "relace", "ricursiveai", "sakana", "sao10k", "sarvam", "sdaia", "stepfun", "swiss-ai", "tencent", "thedrummer", "thinkingmachines", "trendyol", "unbiased", "undi95", "upstage", "vispark", "vivgrid", "writer", "xai", "xiaomi", "zhipuai"],
1422
1424
  ambiguous: [],
1423
1425
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenlongapps/opencode-token-usage",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "OpenCode 2 plugin for session-tree token usage, context window monitoring, estimated costs, and performance metrics (TPS, TTFT, run time).",
5
5
  "keywords": [
6
6
  "opencode",