Skip to content

Commit 58ac3ec

Browse files
openrouter: added gpt 4.1 model family (#14101)
1 parent 58b713d commit 58ac3ec

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed

model_prices_and_context_window.json

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11991,6 +11991,108 @@
1199111991
"mode": "chat",
1199211992
"supports_tool_choice": true
1199311993
},
11994+
"openrouter/openai/gpt-4.1": {
11995+
"max_tokens": 32768,
11996+
"max_input_tokens": 1047576,
11997+
"max_output_tokens": 32768,
11998+
"input_cost_per_token": 2e-06,
11999+
"output_cost_per_token": 8e-06,
12000+
"cache_read_input_token_cost": 5e-07,
12001+
"litellm_provider": "openrouter",
12002+
"mode": "chat",
12003+
"supports_function_calling": true,
12004+
"supports_parallel_function_calling": true,
12005+
"supports_response_schema": true,
12006+
"supports_vision": true,
12007+
"supports_prompt_caching": true,
12008+
"supports_system_messages": true,
12009+
"supports_tool_choice": true
12010+
},
12011+
"openrouter/openai/gpt-4.1-2025-04-14": {
12012+
"max_tokens": 32768,
12013+
"max_input_tokens": 1047576,
12014+
"max_output_tokens": 32768,
12015+
"input_cost_per_token": 2e-06,
12016+
"output_cost_per_token": 8e-06,
12017+
"cache_read_input_token_cost": 5e-07,
12018+
"litellm_provider": "openrouter",
12019+
"mode": "chat",
12020+
"supports_function_calling": true,
12021+
"supports_parallel_function_calling": true,
12022+
"supports_response_schema": true,
12023+
"supports_vision": true,
12024+
"supports_prompt_caching": true,
12025+
"supports_system_messages": true,
12026+
"supports_tool_choice": true
12027+
},
12028+
"openrouter/openai/gpt-4.1-mini": {
12029+
"max_tokens": 32768,
12030+
"max_input_tokens": 1047576,
12031+
"max_output_tokens": 32768,
12032+
"input_cost_per_token": 4e-07,
12033+
"output_cost_per_token": 1.6e-06,
12034+
"cache_read_input_token_cost": 1e-07,
12035+
"litellm_provider": "openrouter",
12036+
"mode": "chat",
12037+
"supports_function_calling": true,
12038+
"supports_parallel_function_calling": true,
12039+
"supports_response_schema": true,
12040+
"supports_vision": true,
12041+
"supports_prompt_caching": true,
12042+
"supports_system_messages": true,
12043+
"supports_tool_choice": true
12044+
},
12045+
"openrouter/openai/gpt-4.1-mini-2025-04-14": {
12046+
"max_tokens": 32768,
12047+
"max_input_tokens": 1047576,
12048+
"max_output_tokens": 32768,
12049+
"input_cost_per_token": 4e-07,
12050+
"output_cost_per_token": 1.6e-06,
12051+
"cache_read_input_token_cost": 1e-07,
12052+
"litellm_provider": "openrouter",
12053+
"mode": "chat",
12054+
"supports_function_calling": true,
12055+
"supports_parallel_function_calling": true,
12056+
"supports_response_schema": true,
12057+
"supports_vision": true,
12058+
"supports_prompt_caching": true,
12059+
"supports_system_messages": true,
12060+
"supports_tool_choice": true
12061+
},
12062+
"openrouter/openai/gpt-4.1-nano": {
12063+
"max_tokens": 32768,
12064+
"max_input_tokens": 1047576,
12065+
"max_output_tokens": 32768,
12066+
"input_cost_per_token": 1e-07,
12067+
"output_cost_per_token": 4e-07,
12068+
"cache_read_input_token_cost": 2.5e-08,
12069+
"litellm_provider": "openrouter",
12070+
"mode": "chat",
12071+
"supports_function_calling": true,
12072+
"supports_parallel_function_calling": true,
12073+
"supports_response_schema": true,
12074+
"supports_vision": true,
12075+
"supports_prompt_caching": true,
12076+
"supports_system_messages": true,
12077+
"supports_tool_choice": true
12078+
},
12079+
"openrouter/openai/gpt-4.1-nano-2025-04-14": {
12080+
"max_tokens": 32768,
12081+
"max_input_tokens": 1047576,
12082+
"max_output_tokens": 32768,
12083+
"input_cost_per_token": 1e-07,
12084+
"output_cost_per_token": 4e-07,
12085+
"cache_read_input_token_cost": 2.5e-08,
12086+
"litellm_provider": "openrouter",
12087+
"mode": "chat",
12088+
"supports_function_calling": true,
12089+
"supports_parallel_function_calling": true,
12090+
"supports_response_schema": true,
12091+
"supports_vision": true,
12092+
"supports_prompt_caching": true,
12093+
"supports_system_messages": true,
12094+
"supports_tool_choice": true
12095+
},
1199412096
"openrouter/openai/gpt-5-mini": {
1199512097
"max_tokens": 128000,
1199612098
"max_input_tokens": 400000,

0 commit comments

Comments
 (0)