Skip to content

Commit 107c45d

Browse files
committed
Add gpt-5-codex to OpenRouter cost map
1 parent 1b95940 commit 107c45d

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

litellm/model_prices_and_context_window_backup.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16857,6 +16857,25 @@
1685716857
"supports_reasoning": true,
1685816858
"supports_tool_choice": true
1685916859
},
16860+
"openrouter/openai/gpt-5-codex": {
16861+
"cache_read_input_token_cost": 1.25e-07,
16862+
"input_cost_per_token": 1.25e-06,
16863+
"litellm_provider": "openrouter",
16864+
"max_input_tokens": 400000,
16865+
"max_output_tokens": 128000,
16866+
"max_tokens": 128000,
16867+
"mode": "chat",
16868+
"output_cost_per_token": 1e-05,
16869+
"supported_modalities": [
16870+
"text",
16871+
"image"
16872+
],
16873+
"supported_output_modalities": [
16874+
"text"
16875+
],
16876+
"supports_reasoning": true,
16877+
"supports_tool_choice": true
16878+
},
1686016879
"openrouter/openai/gpt-5": {
1686116880
"cache_read_input_token_cost": 1.25e-07,
1686216881
"input_cost_per_token": 1.25e-06,

model_prices_and_context_window.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16857,6 +16857,25 @@
1685716857
"supports_reasoning": true,
1685816858
"supports_tool_choice": true
1685916859
},
16860+
"openrouter/openai/gpt-5-codex": {
16861+
"cache_read_input_token_cost": 1.25e-07,
16862+
"input_cost_per_token": 1.25e-06,
16863+
"litellm_provider": "openrouter",
16864+
"max_input_tokens": 400000,
16865+
"max_output_tokens": 128000,
16866+
"max_tokens": 128000,
16867+
"mode": "chat",
16868+
"output_cost_per_token": 1e-05,
16869+
"supported_modalities": [
16870+
"text",
16871+
"image"
16872+
],
16873+
"supported_output_modalities": [
16874+
"text"
16875+
],
16876+
"supports_reasoning": true,
16877+
"supports_tool_choice": true
16878+
},
1686016879
"openrouter/openai/gpt-5": {
1686116880
"cache_read_input_token_cost": 1.25e-07,
1686216881
"input_cost_per_token": 1.25e-06,

0 commit comments

Comments
 (0)