The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
feat: add groq/openai/gpt-oss-safeguard-20b model pricing (#21951)
Nicolò Pignatellib8dddab3111f
diff --git a/docs/my-website/docs/providers/groq.md b/docs/my-website/docs/providers/groq.mdindex 55c222635d2..f40df1e7a8f 100644--- a/docs/my-website/docs/providers/groq.md+++ b/docs/my-website/docs/providers/groq.md@@ -159,6 +159,7 @@ We support ALL Groq models, just set `groq/` as a prefix when sending completion| moonshotai/kimi-k2-instruct-0905 | `completion(model="groq/moonshotai/kimi-k2-instruct-0905", messages)` || openai/gpt-oss-120b | `completion(model="groq/openai/gpt-oss-120b", messages)` || openai/gpt-oss-20b | `completion(model="groq/openai/gpt-oss-20b", messages)` |+| openai/gpt-oss-safeguard-20b | `completion(model="groq/openai/gpt-oss-safeguard-20b", messages)` |## Groq - Tool / Function Calling Examplediff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 4f4e99f0993..3909ce4c8b0 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -21238,6 +21238,21 @@"supports_tool_choice": true,"supports_web_search": true},+ "groq/openai/gpt-oss-safeguard-20b": {+ "cache_read_input_token_cost": 3.7e-08,+ "input_cost_per_token": 7.5e-08,+ "litellm_provider": "groq",+ "max_input_tokens": 131072,+ "max_output_tokens": 65536,+ "max_tokens": 65536,+ "mode": "chat",+ "output_cost_per_token": 3e-07,+ "supports_function_calling": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },"groq/playai-tts": {"input_cost_per_character": 5e-05,"litellm_provider": "groq",diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 4f4e99f0993..3909ce4c8b0 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -21238,6 +21238,21 @@"supports_tool_choice": true,"supports_web_search": true},+ "groq/openai/gpt-oss-safeguard-20b": {+ "cache_read_input_token_cost": 3.7e-08,+ "input_cost_per_token": 7.5e-08,+ "litellm_provider": "groq",+ "max_input_tokens": 131072,+ "max_output_tokens": 65536,+ "max_tokens": 65536,+ "mode": "chat",+ "output_cost_per_token": 3e-07,+ "supports_function_calling": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },"groq/playai-tts": {"input_cost_per_character": 5e-05,"litellm_provider": "groq",