File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/puterai/OpenAiCompletionService
services/MeteringService/costMaps Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export const OPEN_AI_MODELS = [
1919 input : 125 ,
2020 output : 1000 ,
2121 } ,
22- max_tokens : 400000 ,
22+ max_tokens : 128000 ,
2323 } ,
2424 {
2525 id : 'gpt-5.1-codex-mini' ,
@@ -29,7 +29,7 @@ export const OPEN_AI_MODELS = [
2929 input : 25 ,
3030 output : 200 ,
3131 } ,
32- max_tokens : 400000 ,
32+ max_tokens : 128000 ,
3333 } ,
3434 {
3535 id : 'gpt-5.1-chat-latest' ,
@@ -39,7 +39,7 @@ export const OPEN_AI_MODELS = [
3939 input : 125 ,
4040 output : 1000 ,
4141 } ,
42- max_tokens : 400000 ,
42+ max_tokens : 16384 ,
4343 } ,
4444 {
4545 id : 'gpt-5-2025-08-07' ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const OPENAI_COST_MAP = {
2424 'openai:gpt-5.1:cached_tokens' : 13 ,
2525 'openai:gpt-5.1:completion_tokens' : 1000 ,
2626 'openai:gpt-5.1-codex:prompt_tokens' : 125 ,
27- 'openai:gpt-5.1-codex:cached_tokens' : 12.5 ,
27+ 'openai:gpt-5.1-codex:cached_tokens' : 13 ,
2828 'openai:gpt-5.1-codex:completion_tokens' : 1000 ,
2929 'openai:gpt-5.1-codex-mini:prompt_tokens' : 25 ,
3030 'openai:gpt-5.1-codex-mini:cached_tokens' : 3 ,
You can’t perform that action at this time.
0 commit comments