Skip to content

Commit 85f8c6e

Browse files
committed
feat(usai-catalog): refresh models and withhold undeployed gateway entries
USAi released new models. Regenerates the harness-neutral catalog and both downstream kit artifacts from the live gateway and models.dev feeds. Added: claude-sonnet-5.5 and gpt-6-astra. Retired upstream: gemini-2.5-pro. Two embedding models the gateway now lists, cohere_english_v3 and text-embedding-005, were already excluded by the non-chat filter. Three advertised GPT-6 chat models are withheld. The gateway lists gpt-6-luna, gpt-6-sol-latest-guardrails-defaultv2 and gpt-6.1-sol-latest-guardrails-defaultv2 in /v1/models, but a /chat/completions call to each returns HTTP 404, "The API deployment for this resource does not exist". Every one was confirmed with a real completion request and re-probed to rule out a transient, against a control group of sibling models on the same route, including gpt-5.6-luna and gpt-5.6-sol, that answered 200. Shipping them would place a model in the picker that fails the moment a user selects it, so they are suppressed through the existing non-chat exclusion map in both the catalog builder and the kit generator, each carrying the measured reason. Remove the entries once the deployments land. The shipped snapshot subset kept gemini-2.5-pro, which no longer exists upstream. It moves to gemini-2.5-flash, the surviving model on that line, so the subset's one-per-vendor coverage stays intact. The prime-agent kit's committed models.json is regenerated from the same catalog; its byte-exact lockstep test caught it as stale. Verified: 21 chat models; usai-provider tests 76/76; providers/usai tests 100/100 including both byte-exact emitter guards; build-catalog --check clean; validate-kits --strict 10 kits plus 2 templates; INDEX current; the shipped JSONC parses through the real startup merge path with both working new models present, all withheld and retired ids absent, and both default selections still resolving. Co-authored-by: OpenCode [claude-opus-4] <[email protected]>
1 parent c3a6dac commit 85f8c6e

6 files changed

Lines changed: 357 additions & 284 deletions

File tree

‎integrations/isolation/acq-kits/prime-agent/files/home/prime-agent-config/models.json‎

Lines changed: 96 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -7,51 +7,39 @@
77
"authHeader": true,
88
"models": [
99
{
10-
"id": "claude_4_5_haiku",
11-
"name": "Claude 4.5 Haiku",
12-
"contextWindow": 200000,
13-
"maxTokens": 64000,
10+
"id": "claude-sonnet-5.5",
11+
"name": "Claude Sonnet 5.5",
12+
"contextWindow": 1000000,
13+
"maxTokens": 128000,
1414
"cost": {
15-
"input": 1,
16-
"output": 5,
15+
"input": 2,
16+
"output": 10,
1717
"cacheRead": 0.1,
18-
"cacheWrite": 1.25
19-
}
20-
},
21-
{
22-
"id": "claude_4_5_sonnet",
23-
"name": "Claude 4.5 Sonnet",
24-
"contextWindow": 200000,
25-
"maxTokens": 64000,
26-
"cost": {
27-
"input": 3,
28-
"output": 15,
29-
"cacheRead": 0.3,
30-
"cacheWrite": 3.75
18+
"cacheWrite": 2.5
3119
}
3220
},
3321
{
34-
"id": "claude_4_6_sonnet",
35-
"name": "Claude 4.6 Sonnet",
22+
"id": "claude-opus-5",
23+
"name": "Claude Opus 5",
3624
"contextWindow": 1000000,
3725
"maxTokens": 128000,
3826
"cost": {
39-
"input": 3.3,
40-
"output": 16.5,
41-
"cacheRead": 0.33,
42-
"cacheWrite": 4.125
27+
"input": 5,
28+
"output": 25,
29+
"cacheRead": 0.5,
30+
"cacheWrite": 6.25
4331
}
4432
},
4533
{
46-
"id": "claude_4_7_opus",
47-
"name": "Claude 4.7 Opus",
34+
"id": "claude-sonnet-5",
35+
"name": "Claude Sonnet 5",
4836
"contextWindow": 1000000,
4937
"maxTokens": 128000,
5038
"cost": {
51-
"input": 5,
52-
"output": 25,
53-
"cacheRead": 0.5,
54-
"cacheWrite": 6.25
39+
"input": 2,
40+
"output": 10,
41+
"cacheRead": 0.2,
42+
"cacheWrite": 2.5
5543
}
5644
},
5745
{
@@ -67,8 +55,8 @@
6755
}
6856
},
6957
{
70-
"id": "claude-opus-5",
71-
"name": "Claude Opus 5",
58+
"id": "claude_4_7_opus",
59+
"name": "Claude 4.7 Opus",
7260
"contextWindow": 1000000,
7361
"maxTokens": 128000,
7462
"cost": {
@@ -79,48 +67,51 @@
7967
}
8068
},
8169
{
82-
"id": "claude-sonnet-5",
83-
"name": "Claude Sonnet 5",
70+
"id": "claude_4_6_sonnet",
71+
"name": "Claude 4.6 Sonnet",
8472
"contextWindow": 1000000,
8573
"maxTokens": 128000,
8674
"cost": {
87-
"input": 2,
88-
"output": 10,
89-
"cacheRead": 0.2,
90-
"cacheWrite": 2.5
75+
"input": 3.3,
76+
"output": 16.5,
77+
"cacheRead": 0.33,
78+
"cacheWrite": 4.125
9179
}
9280
},
9381
{
94-
"id": "gpt_5_2_default_v2",
95-
"name": "GPT 5.2 Default V2",
96-
"contextWindow": 400000,
97-
"maxTokens": 128000,
82+
"id": "claude_4_5_haiku",
83+
"name": "Claude 4.5 Haiku",
84+
"contextWindow": 200000,
85+
"maxTokens": 64000,
9886
"cost": {
99-
"input": 1.75,
100-
"output": 14,
101-
"cacheRead": 0.125
87+
"input": 1,
88+
"output": 5,
89+
"cacheRead": 0.1,
90+
"cacheWrite": 1.25
10291
}
10392
},
10493
{
105-
"id": "gpt_5_4_default_v2",
106-
"name": "GPT 5.4 Default V2",
107-
"contextWindow": 1050000,
108-
"maxTokens": 128000,
94+
"id": "claude_4_5_sonnet",
95+
"name": "Claude 4.5 Sonnet",
96+
"contextWindow": 200000,
97+
"maxTokens": 64000,
10998
"cost": {
110-
"input": 2.5,
99+
"input": 3,
111100
"output": 15,
112-
"cacheRead": 0.25
101+
"cacheRead": 0.3,
102+
"cacheWrite": 3.75
113103
}
114104
},
115105
{
116-
"id": "gpt_5_5_default_v2",
117-
"name": "GPT 5.5 Default V2",
106+
"id": "gpt-6-astra",
107+
"name": "GPT 6 Astra",
118108
"contextWindow": 1050000,
119109
"maxTokens": 128000,
120110
"cost": {
121-
"input": 5,
122-
"output": 30,
123-
"cacheRead": 0.5
111+
"input": 10,
112+
"output": 50,
113+
"cacheRead": 1,
114+
"cacheWrite": 12.5
124115
}
125116
},
126117
{
@@ -143,8 +134,8 @@
143134
"cost": {
144135
"input": 4,
145136
"output": 20,
146-
"cacheRead": 0.5,
147-
"cacheWrite": 6.25
137+
"cacheRead": 0.4,
138+
"cacheWrite": 5
148139
}
149140
},
150141
{
@@ -160,36 +151,47 @@
160151
}
161152
},
162153
{
163-
"id": "gemini-2.5-flash",
164-
"name": "Gemini 2.5 Flash",
165-
"contextWindow": 1048576,
166-
"maxTokens": 65536,
154+
"id": "gpt_5_5_default_v2",
155+
"name": "GPT 5.5 Default V2",
156+
"contextWindow": 1050000,
157+
"maxTokens": 128000,
167158
"cost": {
168-
"input": 0.3,
169-
"output": 2.5,
170-
"cacheRead": 0.03
159+
"input": 5,
160+
"output": 30,
161+
"cacheRead": 0.5
171162
}
172163
},
173164
{
174-
"id": "gemini-2.5-flash-lite",
175-
"name": "Gemini 2.5 Flash Lite",
176-
"contextWindow": 1048576,
177-
"maxTokens": 65536,
165+
"id": "gpt_5_4_default_v2",
166+
"name": "GPT 5.4 Default V2",
167+
"contextWindow": 1050000,
168+
"maxTokens": 128000,
178169
"cost": {
179-
"input": 0.1,
180-
"output": 0.4,
181-
"cacheRead": 0.01
170+
"input": 2.5,
171+
"output": 15,
172+
"cacheRead": 0.25
173+
}
174+
},
175+
{
176+
"id": "gpt_5_2_default_v2",
177+
"name": "GPT 5.2 Default V2",
178+
"contextWindow": 400000,
179+
"maxTokens": 128000,
180+
"cost": {
181+
"input": 1.75,
182+
"output": 14,
183+
"cacheRead": 0.175
182184
}
183185
},
184186
{
185-
"id": "gemini-2.5-pro",
186-
"name": "Gemini 2.5 Pro",
187+
"id": "gemini-3.8-flash",
188+
"name": "Gemini 3.8 Flash",
187189
"contextWindow": 1048576,
188190
"maxTokens": 65536,
189191
"cost": {
190-
"input": 1.25,
191-
"output": 10,
192-
"cacheRead": 0.125
192+
"input": 0.75,
193+
"output": 3.75,
194+
"cacheRead": 0.075
193195
}
194196
},
195197
{
@@ -215,14 +217,25 @@
215217
}
216218
},
217219
{
218-
"id": "gemini-3.8-flash",
219-
"name": "Gemini 3.8 Flash",
220+
"id": "gemini-2.5-flash",
221+
"name": "Gemini 2.5 Flash",
220222
"contextWindow": 1048576,
221223
"maxTokens": 65536,
222224
"cost": {
223-
"input": 0.75,
224-
"output": 3.75,
225-
"cacheRead": 0.075
225+
"input": 0.3,
226+
"output": 2.5,
227+
"cacheRead": 0.03
228+
}
229+
},
230+
{
231+
"id": "gemini-2.5-flash-lite",
232+
"name": "Gemini 2.5 Flash Lite",
233+
"contextWindow": 1048576,
234+
"maxTokens": 65536,
235+
"cost": {
236+
"input": 0.1,
237+
"output": 0.4,
238+
"cacheRead": 0.01
226239
}
227240
},
228241
{

‎integrations/isolation/acq-kits/usai-provider/files/home/usai-config/model-catalog-snapshot.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
}
2525
},
2626
{
27-
"id": "gemini-2.5-pro",
27+
"id": "gemini-2.5-flash",
2828
"contextWindow": 1048576,
2929
"maxOutputTokens": 65536,
3030
"cost": {
31-
"input": 1.25,
32-
"output": 10,
33-
"cacheRead": 0.125
31+
"input": 0.3,
32+
"output": 2.5,
33+
"cacheRead": 0.03
3434
}
3535
},
3636
{

0 commit comments

Comments
 (0)