Cost mode:

Category: Infrastructure & Utility · Typical I/O: 5026→13876 tokens

Runs on model group: All models. Inputs may reach any model in the group, not only the ranked models below.

Run this task on Fronset — request an invitation

Models

Frontier on this task: MiniMax M3 at 9.06 / 10. Quality bar at 90%: 8.16.

point-estimate floor (CI low) · upper CI (less certain) · Bars sorted by blended cost; best-value model first. Greyed rows are MEDIUM+ models whose point estimate does not clear the bar.

ModelQuality scoreCI lowCost / 1k runsvs best value
MiniMax M39.06 / 108.64$18.55best value
Qwen 3.7 Plus5.87 / 105.67$14.6321% cheaper
Thinking Machines Inkling7.27 / 106.79$104.885.7x more expensive

Cost breakdown

ModelQualityConfidenceCost / 1k runsOverpayMode
MiniMax M3 ★ best OpenRouter9.06 / 10 CI [8.64, 9.48]MEDIUM$18.55best valuebatch

Overpay shows how much more you pay than the best-value model that clears the quality bar (marked ★) — the best-value good-enough option. "16x" means you overpay 16× — 16× that reference for no quality benefit above the bar. Typical call shape for this task: 5026 input tokens → 13876 output tokens, EMA-tracked from production traffic. Cost is the observed, all-in $ per 1,000 task runs: each model's own measured usage on this task — output verbosity, thinking/reasoning tokens, cache reads and writes, and the spend on its billed failures — priced at current list rates and adjusted by the billing overhead we actually reconcile against provider invoices. Models that answer tersely cost what they actually cost; models that think at length pay for it. Not comparable to providers' advertised $/1M list rates — this is what running the task costs, not a per-token price.

Output schema

Every answer on this task is checked against this JSON Schema, whichever model wrote it. An answer that doesn't fit counts as a model failure, and the call is retried on another model.

{
  "properties": {
    "report_markdown": {
      "description": "The full synthesized report formatted in Markdown.",
      "title": "Report Markdown",
      "type": "string"
    }
  },
  "required": [
    "report_markdown"
  ],
  "title": "SynthesizedOutputMarkdownOnly",
  "type": "object"
}

Prompt templates

The published template for this task.

default · MARKDOWN_NEWLINE_REPAIR_SYSTEM_PROMPT + MARKDOWN_NEWLINE_REPAIR_USER_PROMPT (2876 calls in window)

System prompt

You receive a markdown document whose line breaks were stripped, so headings, separators, and paragraphs run together on one line.

Your job is to re-insert blank lines so the markdown renders correctly. You must NOT modify any non-whitespace character.

Required reformatting:
- Put each heading marker (`##`, `###`, `####`) on its own line, with a blank line before AND after.
- Put each `---` separator on its own line, with a blank line before AND after.
- For headings whose text was concatenated with following body text (e.g., `### The Strategic Context The present conflict in the Persian Gulf has entered...`): keep ONLY the actual heading title on the heading line, and start a new paragraph for the body. Heading titles are typically 2-12 words, do not contain sentence-ending punctuation, and end at the boundary where running prose begins.
- Insert paragraph breaks (blank lines) between distinct paragraphs in body prose. A paragraph break belongs where a topic shifts or where the original author would have started a new paragraph. Sentences that elaborate the same point stay together.
- Preserve existing italic/bold markers like `*Author:*`, `**bold**`, `*emphasis*`. If the metadata line at the top concatenates `*Author:* X *Subject:* Y *Topic:* Z`, put each on its own line.
- Preserve list markers (`- `, `* `, `1. `). If a list runs inline, put each list item on its own line.

Hard constraints:
- Do NOT add, remove, or change any letter, digit, punctuation, citation marker (`[^21]`, `[^21][^43]`), URL, or other non-whitespace character.
- Do NOT rephrase, summarize, expand, or "fix" any wording.
- Do NOT insert headings, lists, or markers that were not already there.
- Do NOT remove headings, separators, or markers that were there.
- Output the entire input verbatim except for whitespace insertions.

If you cannot satisfy the no-content-change rule for any reason, return the input unchanged rather than producing a modified version.

## Required Output Format
Your response MUST be a single, valid JSON object conforming to this schema:
```json
{schema_json_string}
```

User prompt

Reflow this markdown by inserting blank lines and paragraph breaks. Do not change any non-whitespace character.

Markdown text:

{markdown_text}

Return the reflowed markdown matching this schema:

The required JSON output schema is provided in the system prompt.