skip to content

Voyage Code 4

model idvoyage-code-4

01·price

Price per 1M tokens

What Conifer charges, in US dollars, as the gateway's public catalog lists it.

billedusdper
Input$0.121M tokens

02·the model

From the catalog

Model id
voyage-code-4
Provider
voyage
Context window
32,000 tokens
Embedding dimensions
1,024
Capabilities
embeddings

03·a request

Call it

POST /v1/embeddings, with your key in $CONIFER_API_KEY. To point an existing client at the gateway, see Replace your provider key.

terminal
curl https://api.conifer.build/v1/embeddings \
  -H "Authorization: Bearer $CONIFER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "voyage-code-4",
    "input": "three names for a build cache"
  }'

04·more

Elsewhere on Conifer

  • All modelsEvery model Conifer serves, with its prices.
  • GatewayOne API key and endpoint, with the model and cost stated on every response.
  • RouterA model picked for each request from a pool you approve.