[Feat] - New model - Add Bedrock gpt oss models - "openai.gpt-oss-20b-1:0", "openai.gpt-oss-120b-1:0" (#13342)

* add openai.gpt-oss-20b-1:0

* update BEDROCK_CONVERSE_MODELS

* openai.gpt-oss-20b-1:0 fixes

* fix PDF input
This commit is contained in:
Ishaan Jaff 2025-08-06 09:24:04 -07:00 • committed by GitHub
parent eeed03a78f
commit 28a894cb06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 58 additions and 0 deletions

View file

@ -430,6 +430,8 @@ project = None
config_path = None
vertex_ai_safety_settings: Optional[dict] = None
BEDROCK_CONVERSE_MODELS = [
"openai.gpt-oss-20b-1:0",
"openai.gpt-oss-120b-1:0",
"anthropic.claude-opus-4-1-20250805-v1:0",
"anthropic.claude-opus-4-20250514-v1:0",
"anthropic.claude-sonnet-4-20250514-v1:0",

View file

@ -11951,6 +11951,34 @@
"supports_pdf_input": true,
"supports_tool_choice": true
},
"openai.gpt-oss-20b-1:0": {
"max_tokens": 128000,
"max_input_tokens": 200000,
"max_output_tokens": 32000,
"input_cost_per_token": 7e-08,
"output_cost_per_token": 3e-07,
"litellm_provider": "bedrock_converse",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_reasoning": true
},
"openai.gpt-oss-120b-1:0": {
"max_tokens": 128000,
"max_input_tokens": 200000,
"max_output_tokens": 32000,
"input_cost_per_token": 1.5e-07,
"output_cost_per_token": 6e-07,
"litellm_provider": "bedrock_converse",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_reasoning": true
},
"anthropic.claude-opus-4-1-20250805-v1:0": {
"max_tokens": 32000,
"max_input_tokens": 200000,

View file

@ -11951,6 +11951,34 @@
"supports_pdf_input": true,
"supports_tool_choice": true
},
"openai.gpt-oss-20b-1:0": {
"max_tokens": 128000,
"max_input_tokens": 200000,
"max_output_tokens": 32000,
"input_cost_per_token": 7e-08,
"output_cost_per_token": 3e-07,
"litellm_provider": "bedrock_converse",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_reasoning": true
},
"openai.gpt-oss-120b-1:0": {
"max_tokens": 128000,
"max_input_tokens": 200000,
"max_output_tokens": 32000,
"input_cost_per_token": 1.5e-07,
"output_cost_per_token": 6e-07,
"litellm_provider": "bedrock_converse",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_reasoning": true
},
"anthropic.claude-opus-4-1-20250805-v1:0": {
"max_tokens": 32000,
"max_input_tokens": 200000,