File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
src/backend/src/modules/puterai Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,42 @@ class OpenAICompletionService extends BaseService {
151151 output : 440 ,
152152 }
153153 } ,
154+ {
155+ id : 'gpt-4.1' ,
156+ cost : {
157+ currency : 'usd-cents' ,
158+ tokens : 1_000_000 ,
159+ input : 200 ,
160+ output : 800 ,
161+ }
162+ } ,
163+ {
164+ id : 'gpt-4.1-mini' ,
165+ cost : {
166+ currency : 'usd-cents' ,
167+ tokens : 1_000_000 ,
168+ input : 40 ,
169+ output : 160 ,
170+ }
171+ } ,
172+ {
173+ id : 'gpt-4.1-nano' ,
174+ cost : {
175+ currency : 'usd-cents' ,
176+ tokens : 1_000_000 ,
177+ input : 10 ,
178+ output : 40 ,
179+ }
180+ } ,
181+ {
182+ id : 'gpt-4.5-preview' ,
183+ cost : {
184+ currency : 'usd-cents' ,
185+ tokens : 1_000_000 ,
186+ input : 7500 ,
187+ output : 15000 ,
188+ }
189+ }
154190 ] ;
155191 }
156192
You can’t perform that action at this time.
0 commit comments