OpenAI announced on June 4, 2026 that it added moderation scores to API generation requests for both the Responses API and Chat Completions API. In practical terms, developers can now pass a moderation object in the same generation request and receive moderation results for both the model input and generated output in one response.
This is not a flashy model launch, but it is meaningful AI news for teams building and testing LLM features. For QA engineers, the update matters because safety validation no longer has to feel like a loosely attached extra step. More of the evidence needed for content-policy checks can now come back in-band with the generation itself.
What OpenAI officially changed on June 4
- New in generation requests: OpenAI’s changelog says moderation scores were added to the Responses API and Chat Completions API.
- Single-request workflow: OpenAI says developers can pass a
moderationobject in the generation request. - Coverage for both sides of the exchange: The same response can include moderation results for the user input and the model output.
The official moderation guide is the key follow-up source here. It documents moderation as part of a safety workflow and explains how teams can inspect category-level results and scores instead of relying only on a simple pass-or-fail view.
Why this matters for QA engineers
QA teams testing AI products usually need to validate more than functional correctness. They also need evidence for how the system handles risky prompts, borderline requests, and unsafe outputs. Before this kind of update, some teams handled moderation in a separate step or separate service call, which made end-to-end tracing harder.
- Cleaner test evidence: Prompt, answer, and moderation results can now be reviewed together in one API interaction.
- Better regression checks: Teams can compare moderation score shifts across builds when prompts or model versions change.
- Fewer test gaps: It becomes easier to see whether unsafe user input was caught, whether a risky answer was flagged, or whether both happened in the same transaction.
- More realistic automation: QA can validate production-style guardrail behavior instead of testing moderation as an isolated utility.
OpenAI did not position this as a QA-specific feature. The QA value is an engineering inference from the official API behavior: returning moderation details in the same response should make safety test design, observability, and defect triage more straightforward.
A practical test case to add this week
If your team owns an AI assistant, support bot, or test-data generation workflow, add one focused regression test that checks both content generation and moderation metadata together.
{
"model": "gpt-5.5",
"input": "<your red-team or policy test prompt>",
"moderation": {
"model": "omni-moderation-latest"
}
}
From there, assert on the response structure your application depends on: whether moderation ran, which categories were returned, whether scores crossed your internal thresholds, and whether the final product behavior matched policy expectations. The exact assertion design will vary by app, but the testing pattern is now simpler.
What teams should watch before rolling this into automation
- Do not treat scores as policy by themselves: Teams still need explicit pass-fail thresholds and human-reviewed expectations.
- Test borderline prompts: The most useful QA coverage comes from near-threshold cases, not only obvious unsafe requests.
- Track schema assumptions: If your automation parses moderation fields, pin those expectations in contract-style tests.
- Validate app behavior, not just API output: A flagged answer only matters if your product correctly blocks, rewrites, logs, or escalates it.
Bottom line
The OpenAI moderation scores update is a practical June 4, 2026 AI news item for QA teams because it tightens the connection between generation and safety evidence. It will not replace good policy design or red-team coverage, but it can reduce plumbing around AI safety tests and make automated validation easier to trust.
Sources
- OpenAI Release Notes – June 4, 2026 entry: Added moderation scores to API generation requests
- OpenAI API Changelog – June 4, 2026: moderation scores for Responses API and Chat Completions API
- OpenAI Moderation Guide – official guide for moderation workflows and score interpretation
