Cost mode:

Category: Infrastructure & Utility · Rail: absolute · Typical I/O: 2222→742 tokens

Models

Frontier on this task: GPT-5.6 Terra at 9.19 / 10. Quality bar at 90%: 8.27.

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 clears the bar but whose CI low does not.

ModelQuality scoreCI lowCost / 1k runsvs best value
DeepSeek V4 Flash8.55 / 108.38$0.36best value
Tencent Hy38.33 / 108.12$1.042.9x more expensive
MiniMax M38.73 / 108.28$1.805x more expensive
Qwen 3.5 Flash8.48 / 108.38$1.915.3x more expensive
GPT-5.6 Luna9.02 / 108.82$2.356.5x more expensive
GPT-5.4 Mini8.36 / 108.21$2.607.2x more expensive
DeepSeek V4 Pro8.65 / 108.55$2.747.6x more expensive
NVIDIA Nemotron-3 Ultra 550B8.53 / 108.25$4.0011x more expensive
Qwen 3.7 Plus8.39 / 108.33$4.8013x more expensive
GPT-5.6 Terra9.19 / 108.97$5.0014x more expensive
Qwen 3.6 Flash8.46 / 108.39$5.8916x more expensive
Qwen 3.6 Plus8.61 / 108.51$6.5118x more expensive
Grok 4.58.50 / 108.43$6.9819x more expensive
Claude Sonnet 58.62 / 108.56$7.7121x more expensive
Meta Muse Spark 1.18.89 / 108.63$10.7430x more expensive
Gemini 3.5 Flash8.85 / 108.78$10.7930x more expensive
Kimi K2.68.50 / 108.39$11.9533x more expensive
GPT-5.6 Sol9.08 / 108.84$12.2934x more expensive
Claude Sonnet 4.68.31 / 108.21$18.3351x more expensive
GPT-5.58.45 / 108.28$32.6490x more expensive
GPT-5.4 Nano7.31 / 107.08$1.574.4x more expensive
Gemini 3.1 Flash Lite7.58 / 107.42$1.243.4x more expensive
Gemini 3.1 Pro Preview7.83 / 107.69$8.2123x more expensive
Claude Haiku 4.57.76 / 107.60$5.1414x more expensive

Cost breakdown

ModelQualityConfidenceCost / 1k runsOverpayMode
DeepSeek V4 Flash DeepSeek8.55 / 10 CI [8.38, 8.71]RANKED$0.36best valuebatch
Tencent Hy3 OpenRouter8.33 / 10 CI [8.12, 8.54]HIGH$1.042.9xbatch
MiniMax M3 MiniMax8.73 / 10 CI [8.28, 9.17]MEDIUM$1.805xbatch
Qwen 3.5 Flash Alibaba Cloud (DashScope)8.48 / 10 CI [8.38, 8.59]RANKED$1.915.3xbatch
GPT-5.6 Luna OpenAI9.02 / 10 CI [8.82, 9.22]RANKED$2.356.5xbatch
GPT-5.4 Mini OpenAI8.36 / 10 CI [8.21, 8.50]RANKED$2.607.2xbatch
DeepSeek V4 Pro DeepSeek8.65 / 10 CI [8.55, 8.76]RANKED$2.747.6xbatch
NVIDIA Nemotron-3 Ultra 550B OpenRouter8.53 / 10 CI [8.25, 8.80]HIGH$4.0011xbatch
Qwen 3.7 Plus Alibaba Cloud (DashScope)8.39 / 10 CI [8.33, 8.46]RANKED$4.8013xbatch
GPT-5.6 Terra best OpenAI9.19 / 10 CI [8.97, 9.41]HIGH$5.0014xbatch
Qwen 3.6 Flash Alibaba Cloud (DashScope)8.46 / 10 CI [8.39, 8.53]RANKED$5.8916xbatch
Qwen 3.6 Plus Alibaba Cloud (DashScope)8.61 / 10 CI [8.51, 8.72]RANKED$6.5118xbatch
Grok 4.5 xAI8.50 / 10 CI [8.43, 8.57]RANKED$6.9819xbatch
Claude Sonnet 5 Anthropic8.62 / 10 CI [8.56, 8.67]RANKED$7.7121xbatch
Meta Muse Spark 1.1 Meta8.89 / 10 CI [8.63, 9.14]HIGH$10.7430xbatch
Gemini 3.5 Flash Gemini8.85 / 10 CI [8.78, 8.92]RANKED$10.7930xbatch
Kimi K2.6 Moonshot AI8.50 / 10 CI [8.39, 8.61]RANKED$11.9533xbatch
GPT-5.6 Sol OpenAI9.08 / 10 CI [8.84, 9.31]HIGH$12.2934xbatch
Claude Sonnet 4.6 Anthropic8.31 / 10 CI [8.21, 8.40]RANKED$18.3351xbatch
GPT-5.5 OpenAI8.45 / 10 CI [8.28, 8.61]RANKED$32.6490xbatch

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: 2222 input tokens → 742 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.

Prompt templates

This is a pooled capability — 4 prompt families share it. The pair shown first is the most frequently used in production.

IMAGE_PROMPT_GENERATION_SYSTEM + IMAGE_PROMPT_GENERATION_USER (3940 calls in window)

System prompt

You are an expert at generating image prompts for AI image generation systems (DALL-E, Gemini Imagen, etc.).

Your task is to transform report summaries and analysis content into effective image prompts that will generate compelling social sharing images.

**Guidelines for effective image prompts:**

1. **Visual Style**: Specify a clear visual style (professional, modern, corporate, infographic, abstract, photorealistic, etc.)

2. **Subject Focus**: Center the image around the main subject (company logo, stock chart, industry visualization, concept illustration)

3. **Color Palette**: Suggest appropriate colors that match the subject's brand or the report's tone

4. **Composition**: Describe the layout and arrangement of elements (centered, asymmetric, layered, minimalist)

5. **Text Elements**: If text is needed, specify what text should appear and its placement (avoid complex sentences, use keywords/titles only)

6. **Context Elements**: Include relevant contextual elements (charts, graphs, icons, symbols) that support the narrative

7. **Mood & Tone**: Convey the appropriate mood (optimistic, analytical, cautionary, innovative, etc.)

8. **Technical Details**: Specify important technical aspects (high resolution, professional quality, corporate aesthetic, social media optimized)

**What to avoid:**
- Overly complex descriptions
- Multiple conflicting styles
- Too much text (image generators struggle with text)
- Ambiguous or vague requirements
- Generic stock photo descriptions

**Output Format:**
Your response must be a JSON object with a single field `image_prompt` containing the optimized prompt string (200-300 words maximum).

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

User prompt

Generate an image prompt for a social sharing image based on this report:

**Subject**: {subject_name}
**Subject Code**: {subject_code}

**Report Content Summary**:
{report_content}
{reference_context}
**Requirements**:
- Create a professional, eye-catching social sharing image
- The image should be suitable for platforms like Twitter/X, LinkedIn, and Substack
- Focus on visual impact that captures the essence of the report
- Include minimal text if needed (company name, key insight, or title)
- Use a style that matches the subject (corporate for companies, conceptual for analysis, data-driven for financial reports)
- If reference images are provided, maintain visual consistency with the established style while adapting to this specific report's content

**Your Task**:
Generate an optimized image generation prompt that will create an effective social sharing image for this report.

**Output Format**:
The required JSON output schema is provided in the system prompt.
TOPIC_IMAGE_PROMPT_GENERATION_SYSTEM + TOPIC_IMAGE_PROMPT_GENERATION_USER (117 calls in window)

System prompt

You are an expert at generating image prompts for AI image generation systems (DALL-E, Gemini Imagen, etc.).

Your task is to create an image prompt that will generate a compelling visual representation of an analysis topic for use on a newsletter/publication website.

**Guidelines for effective topic image prompts:**

1. **Visual Style**: Use a modern, professional style suitable for a newsletter topic card
   - Clean, minimalist design with strong visual impact
   - Abstract or conceptual representations work better than literal depictions

2. **Color & Mood**: Match the tone of the topic
   - Use colors that evoke the topic's essence (e.g., green for sustainability, blue for technology)
   - Create a mood that draws readers to explore the topic

3. **Composition**: Design for a card/grid layout
   - Simple, centered compositions that work at various sizes
   - Avoid text in the image (the topic name will be displayed separately)
   - Consider 16:9 or similar landscape aspect ratio

4. **Abstraction**: Prefer conceptual over literal
   - Use symbols, shapes, and abstract elements
   - Avoid photorealistic faces or specific company logos
   - Create images that represent ideas rather than specific events

5. **Consistency**: Suitable for a series
   - Style should be cohesive enough to look good alongside other topic images
   - Professional quality suitable for a business publication

**What to avoid:**
- Text or words in the image
- Overly complex or busy compositions
- Stock photo aesthetics
- Specific company logos or branded elements
- Photorealistic human faces

**Output Format:**
Your response must be a JSON object with fields:
- `image_prompt`: The optimized prompt string (150-250 words)
- `reasoning`: Brief explanation of why this visual concept fits the topic

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

User prompt

Generate an image prompt for a topic card image based on this topic:

**Topic Name**: {topic_name}

**Topic Description**:
{topic_description}

**Context**: {context}

**Requirements**:
- Create a professional, visually striking image suitable for a newsletter topic card
- The image should represent the essence of this topic
- No text should appear in the image
- Design should work at various sizes (thumbnail to full-width)
- Style should be modern and professional

**Your Task**:
Generate an optimized image generation prompt that will create an effective topic card image.

**Output Format**:
The required JSON output schema is provided in the system prompt.
JSON_REPAIR_SYSTEM + JSON_REPAIR_USER (54 calls in window)

System prompt

You are a JSON repair tool. The user gives you malformed or partial model output and a JSON Schema. Return ONLY a single valid JSON object that satisfies the schema, salvaging as much real content from the input as possible. Do not invent data for fields the input doesn't support — use the schema's allowed empty/null values. Output the JSON object only: no prose, no markdown, no code fences.

User prompt

JSON Schema:
{schema_json}

Malformed output to repair:
{raw_text}

Return only the corrected JSON object.
JUDGE_QUALITY_SYSTEM + JUDGE_QUALITY_USER (5 calls in window)

System prompt

You are a strict evaluator of LLM outputs. Score how well the output fulfills the task on a 0.0–10.0 scale, using the task-specific rubric as the primary criterion.

The "Rubric" in the user message is authoritative: when it constrains or overrides any generic guidance, the rubric wins.

Scoring scale (0.0–10.0):
- 9.0–10.0: Exceptional — comprehensive, accurate, fully meets the task.
- 7.0–8.9: Good — meets most requirements; minor gaps.
- 5.0–6.9: Satisfactory — adequate but with notable limitations or errors.
- 3.0–4.9: Poor — significant gaps, errors, or partial failure.
- 0.0–2.9: Unacceptable — major failure, unusable output.

Use the provided reference examples (if any) to keep your scoring consistent: compare the current output's quality to those already-scored benchmarks and place it on the same scale. Reference examples may come from different models — judge the output on its own merits, using them only to calibrate the scale.

Output JSON matching the schema:
- score: float from 0.0 to 10.0.
- failure_mode: a short tag for the dominant deficiency (e.g. 'hallucination', 'schema_violation', 'truncated', 'off_topic'), or null when none.
- rationale: one to three sentences justifying the score.

User prompt

Rubric: {rubric}
Task: {task_slug}
Domain: {domain}

Input context:
{input_snippet}

Output to grade:
{output_snippet}

Reference examples (already-scored outputs for the same task — use them to keep scoring consistent):
{reference_examples}

Score the output from 0.0 to 10.0 against the rubric, comparing against the reference examples for consistency. Return JSON with score, failure_mode (or null), and rationale.