OpenAI model

GPT 4.1 Mini

GPT 4.1 Mini in the public OpenAI catalog.

Provider
OpenAI
Availability
Available
Model ID
gpt-4.1-mini
Snapshot
2026-10-07
Evaluation Verdict

OpenAI GPT-4.1-mini delivers 32.0% on SWE-bench Verified at $0.20/M input, providing an efficient engine for rapid subagent grep, test execution, and code verification.

GPT 4.1 Mini Benchmarks & Agentic Accuracy

Verified primary research & developer preference metrics

Primary Sources Verified
SWE-bench Verified
32%
StandardOpenAI Technical Preview ↗
LiveCodeBench
31.5%
StandardLiveCodeBench ↗
LMSYS Coding Elo
1275Elo
Coding ArenaLMSYS Arena ↗
AIME 2024 / 2025
28.5%
StandardOpenAI Technical Preview ↗
Pricing ($ / 1M tokens)
$0.2/ $0.8
$0.06 cached readStandard API Pricing

What This Means in Real Software Development

  • High speed enables instant responses across multi-turn agent conversations.
  • Substantial 32.0% SWE-bench score at near-zero token cost ($0.20/M input).
  • Strong support for structured tool calls, function calling, and AST inspection.
  • Ideal for high-concurrency subagent swarms running inside separate worktrees.

Swarm Multi-Agent Topology

Tier 3: High-Velocity Subagent EngineRole: Finder Subagent

Best Paired With: Claude 3.7 Sonnet as Lead Planner

High throughput and low pricing enable deploying 10+ parallel subagents for symbol search and test runs.

Git Worktree Isolation Advantage:

Executes read-only repo scans across multiple worktrees concurrently.

What Developers & Practitioners Are Saying

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

Field Consensus

"Refined compact model offering improved instruction adherence for developer toolchains."

Verified Real-World Strengths

  • 32.0% on SWE-bench Verified
  • Fast response times for CLI autocomplete and triage
  • Crisp code explanations without fluff

Production Caveats & Gaps

  • Limited capacity for deep multi-step algorithmic reasoning
Benchmark Reality Check

What the benchmark tests: Tests lightweight code editing and syntax error correction.

Production caveat: Use for high-frequency linting and quick syntax patches.

Primary Sources & Methodology Citations

GPT 4.1 Mini model overview

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

Provider
OpenAI
Family
Gpt 4.1
Context window
1.05M tokens
Thinking support
Not supported
Availability status
Available
Catalog ID
openai/gpt-4.1-mini
  • File input
  • Image input
  • Text input
  • Text output
  • Tools
  • Structured output
  • JSON
  • Batch

Run GPT 4.1 Mini in Swarm

Verified CLI workflow & multi-agent architecture

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

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign GPT 4.1 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 OpenAI models

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