Anthropic does not offer native embedding models. Use OpenAI, Google, or Amazon Bedrock for embeddings.
OpenAI
Dimension Override
OpenAI’stext-embedding-3-small and text-embedding-3-large, and Google’s text-embedding-004 support the dimensions parameter to reduce the output size:
Amazon Bedrock
Amazon Bedrock models require AWS credentials (
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION) to be set in your environment.Voyage AI
Voyage AI requires a
VOYAGE_API_KEY environment variable. Voyage is an embedding-only provider and cannot be used with runLocal().
