Skip to content

Voyage Code 4

voyage-code-4 is a code embedding model from Voyage AI, a MongoDB company.

Per 1M tokens
$0.126
Context
32Ktokens
Terminal
curl https://deference.si/v1/embeddings \
  -H "Authorization: Bearer $DEFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "voyageai/voyage-code-4",
    "input": "The quick brown fox"
  }'
Needs an API keyGet one