Vibeleaderboard
← All Intel
Intel / post

Voyage Code 4 brings Matryoshka code embeddings to OpenRouter

Source
x.com
Date
OpenRouter@OpenRouter

Code retrieval for coding agents has a new option on OpenRouter. Voyage Code 4 from @VoyageAI by MongoDB supports Matryoshka embeddings at 256, 512, 1024, and 2048 dimensions, plus multiple quantization options. Try it: https://t.co/Ac5EoU8XtU

Context

OpenRouter's August 13, 2026 post adds Voyage Code 4, a code model from Voyage AI, to its catalog as an option for coding agents that need to retrieve code. An embedding model converts a query or a source into a vector of numbers, and works by finding the files whose vectors sit closest to the query's. OpenRouter highlights two controls over those vectors: Matryoshka embeddings at 256, 512, 1024 and 2048 dimensions, and multiple options.

Both controls concern how much space an index takes. Matryoshka training lets one model produce vectors at several lengths, so a team can choose to store shorter ones, and quantization stores each number with fewer bits. Voyage's own release article, explained in our Intel on the voyage-code-4 launch, lists the quantization formats as 32-bit floating point, signed and unsigned 8-bit integer and binary, says these options minimize quality loss, and describes the model as built to find code from symptom descriptions such as bug reports. Neither source quantifies the quality cost at each setting. The OpenRouter model page linked from the post returned no usable text, so the model's price and limits on OpenRouter are not covered here.

Terms in this piece · Glossary
  • embedding — A list of numbers representing a piece of text's meaning, so that similar meanings end up numerically close and can be searched.
  • File — A named unit of stored data that keeps its contents while no program is using it.
  • Retrieval — Selecting evidence relevant to the current request.
  • quantization — Shrinking a model by storing its numbers less precisely — like rounding — so it runs faster and fits on smaller hardware, at a small quality cost.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from OpenRouter
Recommended reads