Swapping Models

Change an assistant's model at runtime for ad-hoc tasks.

Mechanisms for model selection#

When assigning a model to a task in Toolbelt, you have three primary mechanisms:

  1. Wrench design-time — the model is baked into a Wrench when it is authored. Best for recurring, deterministic tasks such as routing, chunking, and data extraction.
  2. Assistant routing — a specific model is configured on a specialist assistant, and you delegate the task to it. Best when a specialist already exists for the job.
  3. Runtime model-swap — temporarily changing a sub-assistant's model for a specific task. Best for ad-hoc work where no specialist exists and you need a particular model's capabilities.

Available models#

Toolbelt resolves models at runtime from the product's central model config. When you call toolbelt(update_assistant) or toolbelt(create_assistant), pass one of the values below, paired with the matching provider.

Note:

Toolbelt-hosted models (qwen3-30b, crescent-small, crescent-medium, crescent-large) use provider toolbelt and incur zero org billing credits. See Model Selection for the full catalog and task-based guidance. Older model IDs remain supported at runtime through automatic migration to their current counterparts.

Toolbelt (Hosted & Free Tier)#

Provider: toolbelt

Model ID Display name
qwen3-30b Qwen 3 30B
crescent-large Crescent Large
crescent-medium Crescent Medium
crescent-small Crescent Small

OpenAI#

Provider: openai

Model ID Display name
gpt-6-astra GPT-6 Astra
gpt-6.1-sol GPT-6.1 Sol
gpt-6.1-terra GPT-6.1 Terra
gpt-6-luna GPT-6 Luna

Default for OpenAI: gpt-6.1-sol

Gemini#

Provider: gemini

Model ID Display name
gemini-4-carbon Gemini 4 Carbon
gemini-4-argon Gemini 4 Argon
gemini-4-neon Gemini 4 Neon
gemini-4-hydrogen Gemini 4 Hydrogen
gemini-3.8-flash Gemini 3.8 Flash
gemini-3.1-pro-preview Gemini 3.1 Pro
gemini-3.5-flash-lite Gemini 3.5 Flash Lite

Default for Gemini: gemini-4-hydrogen

Anthropic#

Provider: anthropic or anthropic-vertex

Model ID Display name
claude-fable-5-2 Claude Fable 5.2
claude-opus-5-5 Claude Opus 5.5
claude-sonnet-5-5 Claude Sonnet 5.5
claude-haiku-5-5 Claude Haiku 5.5

Default for Anthropic: claude-opus-5-5

xAI (Grok)#

Provider: xai

Model ID Display name
grok-4.7 Grok 4.7
grok-4.6 Grok 4.6

Default for xAI: grok-4.7

Inception Labs (Retired)#

Provider: inception (migrated to toolbelt)

Inception Labs Mercury models (mercury-2) are retired. Any request using provider inception or model mercury-2 is automatically mapped to Toolbelt Crescent Medium (crescent-medium under provider toolbelt).

Custom models#

Provider: custom

For any OpenAI-compatible endpoint (Ollama, LM Studio, etc.), set provider to "custom" and pass any model string as the model value. See Custom AI Providers.


The runtime model-swap protocol#

If you need to change an assistant's model dynamically (Mechanism 3), follow the two-phase protocol. The most important rule:

Warning:

Model selection resolves at execution time, not delegation-creation time. You cannot fire-and-restore — that is, change the model, assign the task, and immediately change it back. You must wait for the callback before restoring the original model.

Phase 1: before the callback#

  1. Read the assistant's current model and provider using toolbelt(get_assistant).
  2. Write a restore record (e.g. to pending-model-restores.json) with status pending.
  3. Swap — call toolbelt(update_assistant). Always pass both provider and model together.
  4. Delegate — assign the task using manage_delegations(create). Store the correlation ID.
  5. Stop — wait for the delegation response. Do not proceed until the task completes.

Phase 2: after the callback#

  1. Process the delegation response and use the output.
  2. Restore — call toolbelt(update_assistant) with the original provider and model saved in Phase 1. Do this even if the delegated task failed.
  3. Update the restore record to status restored.

Example: swap to Claude Opus 5.5 for a high-stakes task#

# Phase 1 — read, save, swap, delegate
GET  toolbelt(get_assistant, { assistantId: "asst_abc123" })
# → { provider: "gemini", model: "gemini-4-hydrogen" }

# Save: { assistantId, originalProvider: "gemini", originalModel: "gemini-4-hydrogen", status: "pending" }

POST toolbelt(update_assistant, {
  assistantId: "asst_abc123",
  provider: "anthropic",
  model: "claude-opus-5-5"
})

POST manage_delegations(create, { targetAssistantId: "asst_abc123", content: "..." })
# → { correlationId: "dlg_xyz" }

# STOP — wait for callback

# Phase 2 — process, restore, update
POST toolbelt(update_assistant, {
  assistantId: "asst_abc123",
  provider: "gemini",
  model: "gemini-4-hydrogen"
})
# Update restore record: { status: "restored" }

Example: swap to GPT-6.1 Sol for a multi-step agentic workflow#

# Phase 1
GET  toolbelt(get_assistant, { assistantId: "asst_def456" })
# → { provider: "anthropic", model: "claude-sonnet-5-5" }

POST toolbelt(update_assistant, {
  assistantId: "asst_def456",
  provider: "openai",
  model: "gpt-6.1-sol"
})

POST manage_delegations(create, { targetAssistantId: "asst_def456", content: "..." })
# → { correlationId: "dlg_uvw" }

# STOP — wait for callback

# Phase 2
POST toolbelt(update_assistant, {
  assistantId: "asst_def456",
  provider: "anthropic",
  model: "claude-sonnet-5-5"
})

Reasoning effort#

Supported GPT, Gemini, Claude, and xAI models accept reasoningEffort when you swap to a thinking-capable model.

Value Effect
none No thinking tokens
minimal Fastest, lightest reasoning
low Light reasoning pass
medium Balanced — organization default
high Deep, thorough reasoning
xhigh Extra high reasoning pass
max Maximum reasoning depth

For Gemini models, reasoningEffort maps to thinkingLevel. For OpenAI and xAI models, it maps to reasoning_effort in the Chat Completions / Responses request.


Anti-patterns to avoid#

  • ❌ Swapping mid-conversation — don't change models during an active user chat. Swaps are for discrete, background tasks.
  • ❌ Fire-and-restore — reverting the model before the assigned task finishes will cause it to run on the wrong model or fail.
  • ❌ Forgetting to restore — always restore the original model. Leaving a high-cost model active on a general assistant disrupts other workflows.
  • ❌ Overriding system assistants — avoid swapping core system assistants (like the Task Assessor) unless conditions are tightly controlled.
  • ❌ Mismatched provider/model pairs — always pass provider and model together. Setting model: "claude-opus-5-5" without provider: "anthropic" will fail or fall back to an unexpected model.