Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
All server tools

Subagent

openrouter:subagent

DocsTry this tool

Lets a large model break work into focused sub-tasks and hand them to a smaller, cheaper worker model. Each subagent is any OpenRouter model, optionally equipped with its own tools, and its usage folds into the parent request.

DocsTry this tool
How it worksProviders and pricingUsing this toolRelated tools

How it works

For focused work that does not need your main model’s full capability, like summarizing, extraction, or boilerplate.

  1. 1

    Your model hands off a self-contained task with a name and a full description.

  2. 2

    The worker model completes it from that description alone, using any tools you gave it.

  3. 3

    Your model gets the outcome back and carries on. Worker usage is reported on the request.

Providers and pricing

  • Favicon for https://openrouter.ai

    OpenRouter

    Model token usage

    Billed as normal token usage on each worker model, reported on the parent request.

Standard model token costs apply to every request.

Using this tool

OpenRouter runs the tool during the request and returns the result to the model, so no client-side tool loop is needed.

Supported APIs: Chat Completions and Responses.

shell
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-5.2",
  "tools": [
    {
      "type": "openrouter:subagent",
      "parameters": {
        "model": "~anthropic/claude-haiku-latest"
      }
    }
  ],
  "messages": [
    {
      "role": "user",
      "content": "Research three competing databases and delegate one comparison to a subagent each."
    }
  ]
}'

Setup, parameters, and examples in the docs.

Read the integration guide

Related tools

Orchestration

  • Advisor

    Consult a stronger model mid-generation

    Orchestration
  • Fusion

    Beta

    Call multiple models and then use another model to synthesize a final answer

    Orchestration