Home / Companies / Hugging Face / Blog / Post Details
Content Deep Dive

ChatML vs Harmony: Understanding the new Format from OpenAI 🔍

Blog post from Hugging Face

Post Details
Company
Date Published
Author
Jisoo Kim
Word Count
1,914
Company Posts That Month
6
Language
-
Hacker News Points
-
Post removed?
No
Summary

OpenAI has introduced a new format called Harmony, designed for their gpt-oss models, which differs significantly from the existing ChatML format used in models like Qwen3. While ChatML employs an XML-inspired structure with clear conversational tags and has been widely utilized for its simplicity and clarity, Harmony offers a multi-channel architecture that categorizes messages into analysis, commentary, and final outputs, allowing for a more nuanced handling of reasoning and tool calls. Harmony employs a TypeScript-style syntax for tool definitions, which is more concise and familiar to developers compared to ChatML's JSON schemas. This new format not only facilitates clearer execution tracing through explicit message routing using a "to=" syntax but also introduces separate safety standards per channel, potentially enhancing the observability and safety of complex model behaviors. As the ecosystem evolves, understanding both formats is essential for building better inference infrastructure and leveraging the full capabilities of reasoning models.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 2 4,566 738 226 -7%
Observability 1 2,199 431 143 -7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.