Skip to content

Voyage Code 4

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

Pricing

Input
$0.126per 1M tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

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"
  }'
curl, set up for Voyage Code 4

Find us on