opencode-copilot-cost-override 0.1.1 → 0.1.2
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/package.json +1 -1
- package/src/models.ts +108 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-copilot-cost-override",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Custom GitHub Copilot provider model configuration with personalized cost values for the highest subscription tier",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
package/src/models.ts
CHANGED
|
@@ -26,8 +26,20 @@ export const models: Record<string, Model> = {
|
|
|
26
26
|
reasoning: true,
|
|
27
27
|
attachment: true,
|
|
28
28
|
toolcall: true,
|
|
29
|
-
input: {
|
|
30
|
-
|
|
29
|
+
input: {
|
|
30
|
+
text: true,
|
|
31
|
+
audio: false,
|
|
32
|
+
image: true,
|
|
33
|
+
video: false,
|
|
34
|
+
pdf: false,
|
|
35
|
+
},
|
|
36
|
+
output: {
|
|
37
|
+
text: true,
|
|
38
|
+
audio: false,
|
|
39
|
+
image: false,
|
|
40
|
+
video: false,
|
|
41
|
+
pdf: false,
|
|
42
|
+
},
|
|
31
43
|
interleaved: false,
|
|
32
44
|
},
|
|
33
45
|
options: {},
|
|
@@ -49,8 +61,20 @@ export const models: Record<string, Model> = {
|
|
|
49
61
|
reasoning: true,
|
|
50
62
|
attachment: true,
|
|
51
63
|
toolcall: true,
|
|
52
|
-
input: {
|
|
53
|
-
|
|
64
|
+
input: {
|
|
65
|
+
text: true,
|
|
66
|
+
audio: false,
|
|
67
|
+
image: true,
|
|
68
|
+
video: false,
|
|
69
|
+
pdf: false,
|
|
70
|
+
},
|
|
71
|
+
output: {
|
|
72
|
+
text: true,
|
|
73
|
+
audio: false,
|
|
74
|
+
image: false,
|
|
75
|
+
video: false,
|
|
76
|
+
pdf: false,
|
|
77
|
+
},
|
|
54
78
|
interleaved: false,
|
|
55
79
|
},
|
|
56
80
|
options: {},
|
|
@@ -66,14 +90,26 @@ export const models: Record<string, Model> = {
|
|
|
66
90
|
family: undefined as any,
|
|
67
91
|
release_date: "2025-10-15",
|
|
68
92
|
cost: { input: 1, output: 5, cache: { read: 0.1, write: 1.25 } },
|
|
69
|
-
limit: { context: 200000, input:
|
|
93
|
+
limit: { context: 200000, input: 200000, output: 64000 },
|
|
70
94
|
capabilities: {
|
|
71
95
|
temperature: true,
|
|
72
96
|
reasoning: false,
|
|
73
97
|
attachment: true,
|
|
74
98
|
toolcall: true,
|
|
75
|
-
input: {
|
|
76
|
-
|
|
99
|
+
input: {
|
|
100
|
+
text: true,
|
|
101
|
+
audio: false,
|
|
102
|
+
image: true,
|
|
103
|
+
video: false,
|
|
104
|
+
pdf: false,
|
|
105
|
+
},
|
|
106
|
+
output: {
|
|
107
|
+
text: true,
|
|
108
|
+
audio: false,
|
|
109
|
+
image: false,
|
|
110
|
+
video: false,
|
|
111
|
+
pdf: false,
|
|
112
|
+
},
|
|
77
113
|
interleaved: false,
|
|
78
114
|
},
|
|
79
115
|
options: {},
|
|
@@ -89,14 +125,20 @@ export const models: Record<string, Model> = {
|
|
|
89
125
|
family: "gpt",
|
|
90
126
|
release_date: "2026-03-05",
|
|
91
127
|
cost: { input: 2.5, output: 15, cache: { read: 0.25, write: 0 } },
|
|
92
|
-
limit: { context: 1050000, input:
|
|
128
|
+
limit: { context: 1050000, input: 1050000, output: 128000 },
|
|
93
129
|
capabilities: {
|
|
94
130
|
temperature: true,
|
|
95
131
|
reasoning: true,
|
|
96
132
|
attachment: true,
|
|
97
133
|
toolcall: true,
|
|
98
134
|
input: { text: true, audio: false, image: true, video: false, pdf: true },
|
|
99
|
-
output: {
|
|
135
|
+
output: {
|
|
136
|
+
text: true,
|
|
137
|
+
audio: false,
|
|
138
|
+
image: false,
|
|
139
|
+
video: false,
|
|
140
|
+
pdf: false,
|
|
141
|
+
},
|
|
100
142
|
interleaved: false,
|
|
101
143
|
},
|
|
102
144
|
options: {},
|
|
@@ -118,8 +160,20 @@ export const models: Record<string, Model> = {
|
|
|
118
160
|
reasoning: true,
|
|
119
161
|
attachment: true,
|
|
120
162
|
toolcall: true,
|
|
121
|
-
input: {
|
|
122
|
-
|
|
163
|
+
input: {
|
|
164
|
+
text: true,
|
|
165
|
+
audio: false,
|
|
166
|
+
image: true,
|
|
167
|
+
video: false,
|
|
168
|
+
pdf: false,
|
|
169
|
+
},
|
|
170
|
+
output: {
|
|
171
|
+
text: true,
|
|
172
|
+
audio: false,
|
|
173
|
+
image: false,
|
|
174
|
+
video: false,
|
|
175
|
+
pdf: false,
|
|
176
|
+
},
|
|
123
177
|
interleaved: false,
|
|
124
178
|
},
|
|
125
179
|
options: {},
|
|
@@ -141,8 +195,20 @@ export const models: Record<string, Model> = {
|
|
|
141
195
|
reasoning: true,
|
|
142
196
|
attachment: true,
|
|
143
197
|
toolcall: true,
|
|
144
|
-
input: {
|
|
145
|
-
|
|
198
|
+
input: {
|
|
199
|
+
text: true,
|
|
200
|
+
audio: false,
|
|
201
|
+
image: true,
|
|
202
|
+
video: false,
|
|
203
|
+
pdf: false,
|
|
204
|
+
},
|
|
205
|
+
output: {
|
|
206
|
+
text: true,
|
|
207
|
+
audio: false,
|
|
208
|
+
image: false,
|
|
209
|
+
video: false,
|
|
210
|
+
pdf: false,
|
|
211
|
+
},
|
|
146
212
|
interleaved: false,
|
|
147
213
|
},
|
|
148
214
|
options: {},
|
|
@@ -164,8 +230,20 @@ export const models: Record<string, Model> = {
|
|
|
164
230
|
reasoning: false,
|
|
165
231
|
attachment: true,
|
|
166
232
|
toolcall: true,
|
|
167
|
-
input: {
|
|
168
|
-
|
|
233
|
+
input: {
|
|
234
|
+
text: true,
|
|
235
|
+
audio: false,
|
|
236
|
+
image: true,
|
|
237
|
+
video: false,
|
|
238
|
+
pdf: false,
|
|
239
|
+
},
|
|
240
|
+
output: {
|
|
241
|
+
text: true,
|
|
242
|
+
audio: false,
|
|
243
|
+
image: false,
|
|
244
|
+
video: false,
|
|
245
|
+
pdf: false,
|
|
246
|
+
},
|
|
169
247
|
interleaved: false,
|
|
170
248
|
},
|
|
171
249
|
options: {},
|
|
@@ -187,12 +265,24 @@ export const models: Record<string, Model> = {
|
|
|
187
265
|
reasoning: true,
|
|
188
266
|
attachment: true,
|
|
189
267
|
toolcall: true,
|
|
190
|
-
input: {
|
|
191
|
-
|
|
268
|
+
input: {
|
|
269
|
+
text: true,
|
|
270
|
+
audio: false,
|
|
271
|
+
image: true,
|
|
272
|
+
video: false,
|
|
273
|
+
pdf: false,
|
|
274
|
+
},
|
|
275
|
+
output: {
|
|
276
|
+
text: true,
|
|
277
|
+
audio: false,
|
|
278
|
+
image: false,
|
|
279
|
+
video: false,
|
|
280
|
+
pdf: false,
|
|
281
|
+
},
|
|
192
282
|
interleaved: false,
|
|
193
283
|
},
|
|
194
284
|
options: {},
|
|
195
285
|
headers: {},
|
|
196
286
|
variants: {},
|
|
197
287
|
},
|
|
198
|
-
}
|
|
288
|
+
};
|