Turn this customer email into JSON with intent, urgency and order_id.
customer-email.txtgpt-oss-safeguard-20b
by OpenAIReleased 29 October 2025
gpt-oss-safeguard-20b is built for moderation, not general chat. You send your own written policy first and the content to check second; it thinks through the content against that policy and returns a verdict in whatever format you ask for, from a 0 or 1 to a short explanation. Changing the policy needs no retraining.
What it costs
You pay for what each request uses. No subscription, no minimum.
One message, the ordinary use
Every rate
| Meter | ↑ you send | ↓ comes back |
|---|---|---|
| Text tokens | 24,96 DA | 99,85 DA |
| Cached tokens read | 12,48 DA |
per 1M tokens
- When you pay
- After the answer, from your balance. Nothing is held.
- Why it varies
- A longer question or a longer answer costs more.
- After each one
- The exact charge shows on the request.
Where your request runs
One company runs this model. OpenDunes sends every request to it. DA per 1M tokens: ↑ what you send · ↓ what comes back.
You pay the price of the provider that served your request. Prices read 15:21 · speed over the last 30 minutes · uptime over 3 days.
See it in action
Real requests, real replies. Try any of them yourself — one click, pre-filled.
Two lines to welcome a shop in Oran.
Welcome to our new shop in Oran — fresh bread every morning, and coffee the way the city likes it. Come in, the first cup is on us.
Try in Chat LabTry your own request — same model, pre-selected.
Open Chat LabCall it in code
Swap the base URL and the key. Your OpenAI code runs unchanged.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://opendunes.com/v1",
api_key=os.environ["OPENDUNES_API_KEY"],
)
resp = client.chat.completions.create(
model="openai/gpt-oss-safeguard-20b",
messages=[{"role": "user", "content": "Two lines to welcome a shop in Oran."}],
)
print(resp.choices[0].message.content)Runs this request once on your balance.
Parameters you can send
Standard OpenAI fields, grouped by what they control. Anything not listed is accepted and ignored.
Shaping the reply
How long, how varied, where to stop.
max_tokenstemperaturetop_pstopseedReasoning
Let it think before answering — and see the thinking.
reasoninginclude_reasoningStructured output
Get JSON you can parse instead of prose.
response_formatstructured_outputsTools
Let the model call your functions.
toolstool_choiceQuestions about gpt-oss-safeguard-20b
How much does gpt-oss-safeguard-20b cost in dinars?
About 0,075 DA per message. ↑ 24,96 DA · ↓ 99,85 DA per 1M tokens.
Is gpt-oss-safeguard-20b free? Can I try it?
No. You pay per use from your balance, with no subscription. Try it in Chat at the same price.
What is gpt-oss-safeguard-20b best for?
gpt-oss-safeguard-20b is built for moderation, not general chat. You send your own written policy first and the content to check second; it thinks through the content against that policy and returns a verdict in whatever format you ask for, from a 0 or 1 to a short explanation. Changing the policy needs no retraining.
gpt-oss-safeguard-20b or gpt-oss-120b?
gpt-oss-120b costs 0,058 DA less for the same message.
How do I pay for gpt-oss-safeguard-20b without an international card?
Deposit dinars with your Edahabia or CIB card. Every model, gpt-oss-safeguard-20b included, is paid from that balance. No foreign card, no conversion.
Does gpt-oss-safeguard-20b work in Arabic, French or Darja?
OpenAI names no languages for gpt-oss-safeguard-20b. Arabic, French and Darja: not stated.
Can it read PDFs, images or a whole book?
It reads text. Up to 131K tokens in one request, about 130 pages. It writes up to 49 000 words at once.
Is gpt-oss-safeguard-20b open source?
Yes, its weights are public. Open weights on Hugging Face
Who makes gpt-oss-safeguard-20b, and when was it released?
OpenAI. Released 29 October 2025.
Other OpenAI models, priced in dinars
See all OpenAI modelsText Embedding 3 Small turns text of up to about 8 pages into a fingerprint of its meaning, so search finds passages that mean the same thing even when the words differ. It replaces the older ada-002 and is the sensible default for search over your documents, grouping similar messages or labelling them.
GPT Image 2.5 Sunburst takes a written description, with optional reference pictures, and gives back an image, new or edited, as PNG, JPEG or WebP, with transparent backgrounds on PNG and WebP. It is the precision tier of the 2.5 series, for detailed creative work where an edit has to land exactly as asked, and it adds top quality settings named xhigh and max.
GPT-6 Luna Decisions does not write text. You send content as text, a table of data or a picture, plus up to 200 named questions of three kinds: yes or no, pick among options, or grade against an ordered scale. It returns a probability for every answer, with the likeliest option or expected score, so your own system can set its thresholds for routing, moderation or marking.
Text Embedding 3 Large turns text of up to about 8 pages into a fingerprint of its meaning, so search finds passages that mean the same thing even when the words differ. It is the most accurate of OpenAI's models of this kind, in English and other languages. Choose it when the quality of matches matters most, for search, grouping or labelling documents.