Skip to content

Commit 27092ab

Browse files
committed
style: compact model pricing notes
1 parent 515c233 commit 27092ab

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/model-catalog.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
1818
family: "deepseek",
1919
aliases: ["deepseek-v4-pro", "commandcode/deepseek-v4-pro"],
2020
enabledByDefault: true,
21-
notes: "CommandCode: $0.435/M in · $0.87/M out · cache hit $0.003625/M",
21+
notes: "$0.435/M in · $0.87/M out · cache hit $0.003625/M",
2222
},
2323
{
2424
id: "deepseek/deepseek-v4-flash",
@@ -27,7 +27,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
2727
family: "deepseek",
2828
aliases: ["deepseek-v4-flash", "commandcode/deepseek-v4-flash"],
2929
enabledByDefault: true,
30-
notes: "CommandCode: $0.14/M in · $0.28/M out · cache hit $0.01/M",
30+
notes: "$0.14/M in · $0.28/M out · cache hit $0.01/M",
3131
},
3232
{
3333
id: "MiniMaxAI/MiniMax-M2.7",
@@ -36,7 +36,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
3636
family: "minimax",
3737
aliases: ["minimax-m2.7", "MiniMax-M2.7"],
3838
enabledByDefault: true,
39-
notes: "CommandCode: $0.30/M in · $1.20/M out · cache hit $0.06/M",
39+
notes: "$0.30/M in · $1.20/M out · cache hit $0.06/M",
4040
},
4141
{
4242
id: "Qwen/Qwen3.6-Plus",
@@ -45,7 +45,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
4545
family: "qwen",
4646
aliases: ["qwen3.6-plus", "Qwen3.6-Plus"],
4747
enabledByDefault: true,
48-
notes: "CommandCode: $0.50/M in · $3/M out · cache hit $0.10/M",
48+
notes: "$0.50/M in · $3/M out · cache hit $0.10/M",
4949
},
5050
{
5151
id: "zai-org/GLM-5.1",
@@ -54,7 +54,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
5454
family: "glm",
5555
aliases: ["glm-5.1", "GLM-5.1"],
5656
enabledByDefault: true,
57-
notes: "CommandCode: $1.40/M in · $4.40/M out · cache hit $0.26/M",
57+
notes: "$1.40/M in · $4.40/M out · cache hit $0.26/M",
5858
},
5959
{
6060
id: "moonshotai/Kimi-K2.6",
@@ -63,7 +63,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
6363
family: "kimi",
6464
aliases: ["kimi-k2.6", "Kimi-K2.6"],
6565
enabledByDefault: true,
66-
notes: "CommandCode: $0.95/M in · $4/M out · cache hit $0.16/M",
66+
notes: "$0.95/M in · $4/M out · cache hit $0.16/M",
6767
},
6868
{
6969
id: "openai/gpt-5.5",
@@ -72,7 +72,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
7272
family: "gpt",
7373
aliases: ["gpt-5.5", "GPT-5.5"],
7474
enabledByDefault: false,
75-
notes: "CommandCode: $5/M in · $30/M out",
75+
notes: "$5/M in · $30/M out",
7676
},
7777
{
7878
id: "anthropic/claude-opus-4.7",
@@ -81,7 +81,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
8181
family: "claude",
8282
aliases: ["claude-opus-4.7", "opus-4.7"],
8383
enabledByDefault: false,
84-
notes: "CommandCode: $5/M in · $25/M out · cache hit $0.5/M",
84+
notes: "$5/M in · $25/M out · cache hit $0.5/M",
8585
},
8686
{
8787
id: "anthropic/claude-sonnet-4.6",
@@ -90,7 +90,7 @@ export const COMMANDCODE_MODEL_DEFINITIONS: CommandCodeModelDefinition[] = [
9090
family: "claude",
9191
aliases: ["claude-sonnet-4.6", "sonnet-4.6"],
9292
enabledByDefault: false,
93-
notes: "CommandCode: $3/M in · $15/M out · cache hit $0.3/M",
93+
notes: "$3/M in · $15/M out · cache hit $0.3/M",
9494
},
9595
];
9696

tests/config.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ describe("configuration and model aliases", () => {
1111
it("shows CommandCode pricing instead of descriptive model notes", () => {
1212
const config = loadBridgeConfig({ env: {} });
1313
expect(config.modelCatalog?.find((model) => model.id === "openai/gpt-5.5")?.notes).toBe(
14-
"CommandCode: $5/M in · $30/M out",
14+
"$5/M in · $30/M out",
1515
);
1616
expect(
1717
config.modelCatalog?.find((model) => model.id === "deepseek/deepseek-v4-pro")?.notes,
18-
).toBe("CommandCode: $0.435/M in · $0.87/M out · cache hit $0.003625/M");
18+
).toBe("$0.435/M in · $0.87/M out · cache hit $0.003625/M");
1919
});
2020

2121
it("keeps balance alerts off by default while failing closed on empty length responses", () => {

0 commit comments

Comments
 (0)