PulseAugur
EN
LIVE 20:52:08

Anthropic, OpenAI prompt engineering styles differ on delimiters

Prompt engineering guidance from Anthropic and OpenAI differs, with Anthropic recommending XML tags and OpenAI favoring Markdown headings. This distinction arises because language models do not parse prompts like code; instead, the effectiveness of delimiters is learned from training data. The choice of delimiter impacts token cost, as XML tags can consume more tokens than Markdown headings, making the latter more economical for frequent prompts. AI

IMPACT Highlights how prompt structure influences model behavior and token costs, impacting efficiency for AI operators.

RANK_REASON The item discusses prompt engineering best practices and differences between two major AI labs, offering analysis rather than a new release or event.

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Anthropic, OpenAI prompt engineering styles differ on delimiters

How we ranked this

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Commentary
The item discusses prompt engineering best practices and differences between two major AI labs, offering analysis rather than a new release or event.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
42 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Multigrid ·

    Rewriting XML-Delimited Prompts for a Model That Does Not Favour XML

    <p>Anthropic’s prompt engineering documentation recommends structuring prompts with XML tags; OpenAI’s guidance leans on clear section delimiters such as markdown headings and triple quotes. Both are describing a learned preference, not a parser. Converting between them is straig…