In short.
Anthropic's Embeddings guide is a tutorial for developers adding search by meaning to AI applications, but its main API walkthrough depends on a separate Voyage AI service. It explains how to create document and query vectors, rank documents by similarity and choose among embedding model families. The Python and HTTP examples provide a concrete starting point, while the FAQ covers normalization, quantization and shorter vectors. The six-document search example does not establish production retrieval quality. Numeric prices, service terms and comparative benchmarks are absent, and runtime behavior has not been assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete Embeddings documentation page at [https://platform.claude.com/docs/en/build-with-claude/embeddings.md], including model tables, access routes, examples, FAQ and pricing reference. All linked pages, repositories, model downloads and cookbook contents are excluded. No code was executed or services called. Runtime behavior, comparative quality, production performance, numeric costs and service terms remain unverified or unknown.
The overview
identity
This resource is the Embeddings page in Anthropic's Claude developer documentation [https://platform.claude.com/docs/en/build-with-claude/embeddings.md]. It introduces embeddings: numerical representations of text that allow software to compare meaning.
The implementation guidance centers on Voyage AI by MongoDB. Anthropic explicitly states that it does not offer its own embedding model. The resource is documentation, with examples for using an external provider.
assessment
The guide is useful for learning the mechanics of semantic retrieval. It connects account setup, embedding requests and similarity ranking in one small example, then explains parameters that matter when adapting the approach.
It provides less evidence for choosing the best model for a particular workload. Quality, latency and cost labels are recommendations in the documentation; the page supplies no comparative benchmark results or measured production performance. Its examples have not been executed here.
users
Beginners comfortable with basic Python and API credentials can follow the small document-search example. Experienced developers can use the model tables and FAQ to understand context limits, vector dimensions, input types and storage formats.
The material is relevant to retrieval-augmented generation, where relevant documents are supplied to a language model before it answers. Recommendations and anomaly detection are mentioned as applications, but the worked example demonstrates document retrieval. A complete Claude answer-generation integration is not shown.
capabilities
The page lists voyage-4-large, voyage-4, voyage-4-lite and voyage-code-4 for text retrieval. Each has a listed 32,000-token context length and supports 256, 512, 1024 and 2048 dimensions, with 1024 as the default. Code retrieval is the stated specialty of voyage-code-4.
Other families cover different inputs and retrieval stages. voyage-multimodal-3.5 handles interleaved text, images and video through multimodal_embed(). voyage-context-4 produces document-aware chunk vectors through contextualized_embed(). Rerankers, including rerank-3 and rerank-3-lite, reorder documents for a query through rerank(). These capabilities are described, but the worked examples use ordinary text embeddings.
Using it
requirements
The main hosted walkthrough requires a MongoDB Atlas account, a project and a model API key created under AI Model APIs. The Python client must be voyageai version 0.3.7 or later when using an Atlas model API key. NumPy is used for similarity ranking and vector normalization.
HTTP requests provide another integration route. The page also identifies an official TypeScript client, whose environment option must point to [https://ai.mongodb.com/v1] for Atlas model API keys. Geography-scoped keys require their geography's endpoint; the exact regional addresses are not supplied.
mechanism
Documents and search queries are converted into vectors whose relative positions support similarity ranking. For retrieval, the guide instructs using input_type="document" for stored text and input_type="query" for searches. These settings add different task prompts before embedding.
The guide states that Voyage embeddings are normalized to length one. Consequently, its example uses dot products for similarity; cosine similarity gives equivalent scores, while Euclidean distance gives the same ranking. For supported Matryoshka models, shorter vectors can be requested with output_dimension or obtained by keeping leading dimensions and normalizing again.
Supported models also offer output_dtype choices for 32-bit floats, 8-bit integers and packed single-bit values. The page describes raw vector-storage reductions of 4 times and 32 times for the lower-precision formats. Model-specific support and any retrieval-quality tradeoffs require further assessment.
setup
The documented sequence is to create an Atlas model API key, place it in VOYAGE_API_KEY, install or upgrade voyageai and instantiate voyageai.Client(). The client reads that environment variable automatically.
The initial Python request calls embed() with two sample texts, model="voyage-4" and input_type="document". The HTTP equivalent posts to [https://ai.mongodb.com/v1/embeddings] with bearer authentication. The illustrated response includes embedding vectors and token usage. Keys issued by the separate Voyage AI platform have a linked migration reference whose contents are outside this page.
example
The quickstart embeds six short documents covering unrelated subjects, including a dated Apple conference-call announcement. It then embeds the question asking when that call is scheduled, computes document-query dot products with NumPy and selects the highest-scoring document.
The page's illustrated output is the conference-call document. This shows the intended retrieval procedure; the date is sample content, not current scheduling information. The example uses an in-memory search over six documents and does not demonstrate a vector database, a large index or generated answers. Its output remains unverified by execution.
Assessment & evidence
limitations
Context limits depend on the model and calling mode. For contextualized chunk embeddings, the listed 120,000-token limit applies with enable_auto_chunking=true; otherwise, total tokens across all inputs cannot exceed 32,000. Multimodal and contextualized models require their dedicated methods.
The page does not provide a complete implementation for document ingestion, index updates, large-scale retrieval, retries or operational monitoring. It also supplies no measured accuracy, latency, throughput or rate-limit evidence. Production suitability and performance on a particular domain remain unknown.
reasoning
The request examples, query/document distinction and explicit similarity calculation support using this guide to learn implementation mechanics. Its model tables also expose choices that affect context capacity and vector storage.
A practical inference is that these details help narrow candidates but cannot determine the best model for a real corpus. The tiny example and qualitative model descriptions provide no basis for predicting domain-specific accuracy or production latency. Those decisions need representative queries and measured results.
alternatives
Within Voyage, the guide positions voyage-4-large for quality, voyage-4 for balance and voyage-4-lite for latency and cost. It also lists code, finance and legal specializations. The finance and legal models appear in the previous-generation table, and their lifecycle status is not established on this page.
For running a model yourself, the page lists voyage-4-nano, with 2048 dimensions by default and no availability through the Atlas Embedding and Reranking API. Hardware requirements are not provided. AWS Marketplace is another listed deployment route, with instructions linked elsewhere.
The guide encourages evaluating other embedding vendors but provides no named cross-vendor comparison. It therefore does not establish which competing service would be a better fit.
evidence
The evidence is the complete captured Embeddings page at [https://platform.claude.com/docs/en/build-with-claude/embeddings.md]. It includes model tables, setup instructions, Python and HTTP examples, the six-document retrieval illustration and the FAQ. The source snapshot has SHA-256 56ab822495d0c3268685c58b635b24bd70f10067ed48ee7195a52e990cf985f8.
This is a single documentation source. Linked MongoDB references, provider blogs, repositories, model files and the RAG cookbook are outside the available evidence. Their contents cannot supply additional benchmark, licensing or implementation findings here. The displayed outputs are documentation examples, not independently observed results.
Access & freshness
costs
Numeric costs are unknown from this page. It links to model pricing [https://www.mongodb.com/docs/voyageai/management/billing/#model-pricing] without supplying rates, free allowances or a worked cost estimate. Descriptions such as lower cost for lite models do not establish actual savings.
The HTTP example illustrates token-usage reporting, which could inform a workload estimate once rates are known. A complete application budget would also need to account for vector storage, search infrastructure and any answer-generation service. The page does not price these components or the AWS Marketplace route.
rights
The page identifies voyage-4-nano as an open-weight model under the Apache 2.0 license. That statement concerns the named model; it does not establish licensing for the documentation, client libraries or every Voyage offering. The model files and full license text are not included.
Documentation redistribution rights, client-library licenses, hosted-service terms and policies governing submitted data are not established by the supplied page. Their respective linked materials would need separate examination.
freshness
The source snapshot was captured at 2026-11-15T01:24:55.116Z. It labels Voyage 4 text models as the latest generation and distinguishes several earlier models as previous generation. Previous generation alone does not establish deprecation.
No explicit page revision date is supplied. The page directs readers to a separate lifecycle reference [https://www.mongodb.com/docs/voyageai/models/lifecycle/]. Availability, support status, SDK changes and prices beyond the captured text remain unconfirmed.
actions
To learn the approach, follow the six-document example while preserving the separate document and query input types. To choose a model, use representative searches from your own corpus and measure retrieval relevance, latency, token usage and vector storage.
Choose vector dimensions and quantization using those measurements. For multimodal or contextualized retrieval, consult the dedicated method reference because the ordinary embed() walkthrough does not cover those calls. Before estimating a deployment, obtain current model pricing and lifecycle details and identify how documents will be split, indexed and updated.
