OpenRouter model

VoyageAI by MongoDB: voyage-code-4

voyage-code-4 is a code embedding model from Voyage AI, a MongoDB company. It is designed for coding agents and code retrieval, with Matryoshka embeddings at 2048, 1024, 512, and 256...

Provider
OpenRouter
Availability
Available
Model ID
voyageai/voyage-code-4
Snapshot
2026-10-07

VoyageAI by MongoDB: voyage-code-4 model overview

VoyageAI by MongoDB: voyage-code-4 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
32K tokens
Thinking support
Not supported
Availability status
Available
Catalog ID
openrouter/voyageai/voyage-code-4
  • Text input
  • Embedding output
  • Embeddings

Run VoyageAI by MongoDB: voyage-code-4 in Swarm

Verified CLI workflow & multi-agent architecture

Quickstart Guide →
bash — swarm run
$swarm ctl model set --provider openrouter --model openrouter/voyageai/voyage-code-4

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign VoyageAI by MongoDB: voyage-code-4 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.