Skip to main content

OpenAI: gpt-oss-safeguard-20b Coding Benchmark

gpt-oss-safeguard-20b is a safety reasoning model from OpenAI built upon gpt-oss-20b. This open-weight, 21B-parameter Mixture-of-Experts (MoE) model offers lower latency for safety tasks like content classification, LLM filtering, and trust...

Context131,072tokens
Max Output65,536tokens
Inputmodality
Price$0.07/1M input

Try OpenAI: gpt-oss-safeguard-20b in Kilo Code

Experience this model with the most popular open source coding agent. Free to start, pay only for AI usage. Use in popular IDEs like VS Code, JetBrains, command line, or cloud agents.

5M+

Downloads

500+

models supported

Free

to Start

Access 500+ models including OpenAI: gpt-oss-safeguard-20b and many more in Kilo Code

Coding Performance

Coding benchmarks and performance metrics for development tasks

Security

Enkrypt AI red-team scores for OpenAI: gpt-oss-safeguard-20b. Each value is the share of successful attacks on a 0–100 scale — lower is safer.

Overall risk
25.7

Lower is safer

Safety

28.6/ 100

Composite safety risk from Enkrypt red-team evaluations. Lower is safer.

NIST

26.0/ 100

Average attack success across NIST-mapped tests: bias, harm, toxicity, CBRN, and insecure code.

OWASP

29.0/ 100

Weighted average of the same tests using OWASP Top 10 for LLMs 2025 risk rankings.

Attack categories

Percentage of successful attacks in each Enkrypt red-team category.

Jailbreak17.1/ 100

Share of jailbreak tests that bypassed the model's safety constraints.

Bias74.4/ 100

Share of tests that elicited biased responses.

Harmful content25.6/ 100

Share of tests that produced dangerous, violent, or hateful content.

Toxicity3.1/ 100

Share of tests that produced toxic or abusive content.

CBRN18.0/ 100

Share of tests that elicited chemical, biological, radiological, or nuclear assistance.

Insecure code7.6/ 100

Share of tests that produced vulnerable or malicious code.

Score
Value
Overall risk
25.7 / 100
Safety
28.6 / 100
NIST
26.0 / 100
OWASP
29.0 / 100
Jailbreak
17.1 / 100
Bias
74.4 / 100
Harmful content
25.6 / 100
Toxicity
3.1 / 100
CBRN
18.0 / 100
Insecure code
7.6 / 100

Security scores from the Enkrypt AI Safety Leaderboard · Last checked Sep 17, 2026

Real-World Usage

Real-world usage statistics from the Kilo Code community

Weekly Token Usage

No ranking data available for this model yet.

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$0.07
per 1M tokens
Output Tokens
$0.30
per 1M tokens

Example Cost

Analyzing a 10,000 line codebase (≈40k input tokens, 10k output tokens) costs approximately $0.0060

Coding Capabilities

Features and parameters relevant to coding tasks

Coding Features

Function Calling
Can call external functions/APIs
Tool Choice
Control over function selection
Structured Outputs
JSON schema validation
Reasoning Tokens
Extended thinking for complex problems

Pricing details from OpenRouter

Technical Details

Architecture and implementation specifications

Specifications
Model ID
openai/gpt-oss-safeguard-20b
Created
October 29, 2025
Tokenizer
GPT
Input Modalities
Text
Context Window
131,072 tokens
Max Completion Tokens
65,536 tokens
Input Price
$0.07 per 1M tokens
Output Price
$0.30 per 1M tokens
Cache Read Price
$0.04 per 1M tokens
Content Moderation
Disabled

Ready to try OpenAI: gpt-oss-safeguard-20b?

Install Kilo Code and start using OpenAI: gpt-oss-safeguard-20b for your coding projects today. Choose from 500+ AI models with complete freedom.

  1. Install Kilo Code

    Get the extension from VS Code Marketplace, JetBrains Plugin Repository, or the CLI.

  2. Open the model selector

    Click the model name in the Kilo Code chat panel to open the selector.

  3. Choose your model

    Search or browse to find and select your preferred model.

  4. Start coding

    Use Code, Ask, Debug, or Plan mode — the model is ready immediately.