OpenRouter model

OpenAI: GPT-4o-mini

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Provider
OpenRouter
Availability
Available
Model ID
openai/gpt-4o-mini
Snapshot
2026-10-07
Evaluation Verdict

OpenAI GPT-4o-mini is an ultra-fast, ultra-low-cost utility model ($0.15/M input) ideal for high-volume classification, lint parsing, and lightweight documentation indexing in Swarm.

OpenAI: GPT-4o-mini Benchmarks & Agentic Accuracy

Verified primary research & developer preference metrics

Primary Sources Verified
SWE-bench Verified
20.2%
StandardOpenAI System Card ↗
LiveCodeBench
21.4%
StandardLiveCodeBench ↗
LMSYS Coding Elo
1240Elo
Coding ArenaLMSYS Arena ↗
AIME 2024 / 2025
15.2%
StandardOpenAI System Card ↗
Pricing ($ / 1M tokens)
$0.15/ $0.6
$0.075 cached readStandard API Pricing

What This Means in Real Software Development

  • Ultra-economical $0.15/M input and $0.60/M output, slashing token expenses on routine agent tasks.
  • Operates with sub-second response times for live terminal feedback.
  • Scores 20.2% on SWE-bench Verified and 1240 in Coding Arena, outperforming older GPT-3.5 models.
  • Optimal for high-frequency lint fixes, error message translation, and commit message generation.

Swarm Multi-Agent Topology

Tier 3: Lightweight Utility EngineRole: Finder Subagent

Best Paired With: Claude 3.7 Sonnet as Lead Planner

Cost-effective workhorse for multi-agent background tasks like repo file scanning, commit message formatting, and test output summarization.

Git Worktree Isolation Advantage:

Executes read-only repo queries with virtually zero impact on token budgets.

What Developers & Practitioners Are Saying

Real-world field observations, production strengths, and developer consensus

Field Consensus

"OpenAI's standard utility model. Inexpensive and ubiquitous, but largely surpassed in coding accuracy by Gemini 3.8 Flash and Claude 3.5 Haiku."

Verified Real-World Strengths

  • Low cost ($0.15/M input, $0.60/M output)
  • Fast execution speed
  • Solid structured JSON generation

Production Caveats & Gaps

  • Low SWE-bench Verified score (25.2%)
  • Struggles with non-trivial multi-file refactoring tasks
Benchmark Reality Check

What the benchmark tests: Measures basic coding problems and elementary multi-choice logic.

Production caveat: Do not assign to complex Coder roles; limit to routing and commit message authoring.

Primary Sources & Methodology Citations

OpenAI: GPT-4o-mini model overview

OpenAI: GPT-4o-mini is listed in the public Swarm catalog through OpenRouter. This page summarizes the verified catalog fields used by Swarm without claiming real-time access for every provider account.

Provider
OpenRouter
Family
OpenRouter
Context window
128K tokens
Thinking support
Not supported
Availability status
Available
Catalog ID
openrouter/openai/gpt-4o-mini
  • File input
  • Image input
  • Text input
  • Text output
  • Tools
  • Structured output
  • JSON

Run OpenAI: GPT-4o-mini in Swarm

Verified CLI workflow & multi-agent architecture

Quickstart Guide →
bash — swarm run
$swarm ctl model set --provider openrouter --model openrouter/openai/gpt-4o-mini

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign OpenAI: GPT-4o-mini to specialized system roles in ~/.swarm/config.json:

  • Primary / Planner: Orchestrates full task DAGs and multi-stage pipelines.
  • Coder Subagent: Generates code and unit tests inside private Git worktrees.
  • Finder Subagent: Performs read-only code search, symbol discovery, and mapping.
← All OpenRouter models

Public catalog snapshot. Catalog availability is not a real-time provider status or an access guarantee.