opendunes

voyage-code-4

by VoyageaiReleased 13 August 2026

Voyage-code-4 turns computer code into a fingerprint of its meaning, so a search finds the code that does what you describe, not just code with the same words. Voyage built it for coding assistants and code search, and it reads about 30 pages at a time. Pick it to search through a code base. For ordinary writing, voyage-4 is the general-purpose model.

TakesText
GivesEmbeddings

What it costs

You pay for what each request uses. No subscription, no minimum.

≈ 0,040 DA per page3 000 DA buys about 75 000 pages

One page, the ordinary use

1 000 tokens sent× 39,94 DA per 1M0,040 DA
Total≈ 0,040 DA

Every rate

Meter↑ you send↓ comes back
Text tokens39,94 DA

per 1M tokens

Embed one search query from an agent≈ 0,0016 DA
Index one 500-line file≈ 0,24 DA
Index a project README and docs folder≈ 0,80 DA
Embed 1 000 function signatures≈ 1,20 DA
Index a 200-file repository≈ 15,98 DA
When you pay
After the answer, from your balance. Nothing is held.
Why it varies
The length of the text.
After each one
The exact charge shows on the request.
DepositDeposits from 50 DA, with Edahabia or CIB.

Where your request runs

One company runs this model. OpenDunes sends every request to it. DA per 1M tokens: ↑ what you send.

VoyageAI by MongoDB…
↑ text
39,94 DA
Latency
…
Provider↑ textLatencyUptime
VoyageAI by MongoDB39,94 DA……

You pay the price of the provider that served your request. Prices read 15:19 · speed over the last 30 minutes · uptime over 3 days.

Call it in code

Swap the base URL and the key. Your OpenAI code runs unchanged.

POST /v1/embeddings
Base URL
https://opendunes.com/v1
Model ID
voyageai/voyage-code-4
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://opendunes.com/v1",
    api_key=os.environ["OPENDUNES_API_KEY"],
)

resp = client.embeddings.create(
    model="voyageai/voyage-code-4",
    input="Delivery to Oran takes two days.",
)

print(resp.data[0].embedding[:5])

Runs this request once on your balance.

Questions about voyage-code-4

  • How much does voyage-code-4 cost in dinars?

    About 0,040 DA per page. ↑ 39,94 DA per 1M tokens.

  • Is voyage-code-4 free? Can I try it?

    No. You pay per use from your balance, with no subscription. Run it once from Call it in code, at the same price.

  • What is voyage-code-4 best for?

    Voyage-code-4 turns computer code into a fingerprint of its meaning, so a search finds the code that does what you describe, not just code with the same words. Voyage built it for coding assistants and code search, and it reads about 30 pages at a time. Pick it to search through a code base. For ordinary writing, voyage-4 is the general-purpose model.

  • How do I pay for voyage-code-4 without an international card?

    Deposit dinars with your Edahabia or CIB card. Every model, voyage-code-4 included, is paid from that balance. No foreign card, no conversion.

  • Does voyage-code-4 work in Arabic, French or Darja?

    Voyageai names no languages for voyage-code-4. Arabic, French and Darja: not stated.

  • How much text in one input?

    Up to 32 000 tokens. Split anything longer.

  • How many dimensions?

    Not stated.

  • Who makes voyage-code-4, and when was it released?

    Voyageai. Released 13 August 2026.

Other Voyageai models, priced in dinars

See all Voyageai models
rerank-3-liteVoyageai · Sep 30, 2026

This model takes in written text only and gives back the same candidates reordered, most relevant first. Its work is the second pass of a search, where the first results are sorted again so the best matches sit on top, and it reads about 32 pages of text at once. It is tuned for quick turnaround on busy pages and is a little more accurate than the earlier lite version. It cannot write new text or read pictures, so a job that needs a written answer calls for a different kind of model.

32 pages per search
≈0,0067 DAper search
View model
rerank-3Voyageai · Sep 30, 2026

Reorders search candidates by relevance as the quality-tuned reranker that upgrades rerank-2.5, gaining most on long documents and code, scoring each query and document pair up to 32K tokens and following instructions on what counts as relevant

32 pages per search
≈0,017 DAper search
View model
rerank-2.5-liteVoyageai · Jul 27, 2026

Rerank 2.5 Lite takes a question and a list of candidate documents and puts them in order of how well they answer it, which sharpens the results of a search. You can add written instructions to steer it, and a question and one document together can run to about 30 pages. It is tuned for speed.

32 pages per search
≈0,0067 DAper search
View model
rerank-2.5Voyageai · Jul 27, 2026

Rerank 2.5 takes a question and a list of candidate documents and puts them in order of how well they answer it, which sharpens the results of a search. You can add written instructions to steer it, such as which kind of document to favour. A question and one document together can run to about 30 pages.

32 pages per search
≈0,017 DAper search
View model