Skip to content

Commit 389524d

Browse files
committed
test: update OpenRouter test snapshots for tiered pricing
1 parent 7cfe770 commit 389524d

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

src/api/providers/fetchers/__tests__/openrouter.spec.ts

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,19 @@ describe("OpenRouter API", () => {
9393
inputPrice: 1.25,
9494
outputPrice: 10,
9595
cacheWritesPrice: 1.625,
96-
cacheReadsPrice: 0.31,
96+
cacheReadsPrice: 0.125,
9797
description: undefined,
9898
supportsReasoningEffort: undefined,
9999
supportedParameters: undefined,
100+
tiers: [
101+
{
102+
contextWindow: 1_000_000,
103+
inputPrice: 2.5,
104+
outputPrice: 15,
105+
cacheReadsPrice: 0.25,
106+
cacheWritesPrice: 2.875,
107+
},
108+
],
100109
},
101110
"google-ai-studio": {
102111
maxTokens: 65536,
@@ -107,10 +116,19 @@ describe("OpenRouter API", () => {
107116
inputPrice: 1.25,
108117
outputPrice: 10,
109118
cacheWritesPrice: 1.625,
110-
cacheReadsPrice: 0.31,
119+
cacheReadsPrice: 0.125,
111120
description: undefined,
112121
supportsReasoningEffort: undefined,
113122
supportedParameters: undefined,
123+
tiers: [
124+
{
125+
contextWindow: 1_000_000,
126+
inputPrice: 2.5,
127+
outputPrice: 15,
128+
cacheReadsPrice: 0.25,
129+
cacheWritesPrice: 2.875,
130+
},
131+
],
114132
},
115133
})
116134

0 commit comments

Comments
 (0)