All models
Model card
voyage-code-3
lx1-voyage-code-3EmbeddingsLive in the catalogAn embedding tuned specifically for source code: it understands the structure and semantics of code far better than general text embeddings, which makes it the right choice for code search, repo retrieval, and dev-tool RAG.
Max input32K tokens
Input · per Mtok$0.18
Dimensions1,024
Served byLayer X1 engine
Where it earns its keep[01/03]
- 01Specialized for code retrieval
- 02Strong on repo and snippet search
- 0332K input for large files
Capabilities
EmbeddingsYes
Turns text into a fixed-length vector for semantic search, RAG, clustering, and dedupe. Call it on /v1/embeddings with a string or array of inputs — no chat, tools, or reasoning.
Behind the endpoint[02/03]
One endpoint. Served by our engine.
voyage-code-3 is served through the Layer X1 engine — zero-downtime serving is the design target, not a status-page apology. You request it by name; everything else is our problem.
Call it by name
curl https://api.layerx1.in/v1/embeddings \
-H "authorization: Bearer lx1_your_key" \
-H "content-type: application/json" \
-d '{
"model": "lx1-voyage-code-3",
"input": "text to embed"
}'OpenAI-style clients work too — POST the same model name to /v1/embeddings with a Bearer key. See the docs for both dialects.
Put your agent on real infrastructureYour agent doesn't change.
Your agent doesn't change.
Everything underneath does.
$export ANTHROPIC_BASE_URL=https://api.layerx1.in
Start free · no card · Starter from $5/mo