Jina Code Embeddings 1.5b
About Jina Code Embeddings 1.5b
jina-code-embeddings-1.5b is a 1.54 billion parameter model representing a significant advancement in code retrieval capabilities. Built on Qwen2.5-Coder-1.5B backbone with last-token pooling, it moves beyond traditional training on limited aligned data to leverage vast unaligned code and documentation corpora. The model implements comprehensive task-specific instructions across five categories: NL2Code, TechQA, Code2Code, Code2NL, and Code2Completion, each with distinct prefixes for queries and documents. Supports Matryoshka representation learning for flexible embedding truncation. Despite larger size, maintains practical deployment characteristics while achieving benchmark performance competitive with substantially larger alternatives.
Jina Code Embeddings 1.5b is a Jina model available on Eden AI through its OpenAI-compatible API, from $0.05 / 1M tokens. Call it with the same API key as every other Eden AI model by sending its model ID to the /v3/embeddings endpoint, or through any OpenAI SDK, with processing in the United States.
Tasks and prices
Jina Code Embeddings 1.5b is available on Eden AI for 1 tasks. It is served through Eden AI's OpenAI-compatible API: send its model ID to the /v3/embeddings endpoint with your Eden AI API key.
Parameters
What you send and what you get back when you call Jina Code Embeddings 1.5b through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- model (required): text. The model ID, as provider/model.
- input (required): text. The text to embed, or a list of texts.
Response
- data
Estimate your monthly cost
Enter your monthly volume for Embeddings to compare Jina Code Embeddings 1.5b with its cheapest alternatives.
Call Jina Code Embeddings 1.5b with Eden AI
Send the model ID to the OpenAI-compatible /v3/embeddings endpoint. Any OpenAI SDK works too: set its base URL to https://api.edenai.run/v3.
import requests
response = requests.post(
"https://api.edenai.run/v3/embeddings",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "jina/jina-code-embeddings-1.5b",
"input": "The quick brown fox jumps over the lazy dog",
},
)
print(response.json())
curl https://api.edenai.run/v3/embeddings \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "jina/jina-code-embeddings-1.5b", "input": "The quick brown fox jumps over the lazy dog"}'
const response = await fetch("https://api.edenai.run/v3/embeddings", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "jina/jina-code-embeddings-1.5b",
input: "The quick brown fox jumps over the lazy dog",
}),
});
console.log(await response.json());
Questions about Jina Code Embeddings 1.5b
On Eden AI, Jina Code Embeddings 1.5b costs $0.05 / 1M tokens for Embeddings. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Jina Code Embeddings 1.5b is available for: Embeddings. Input: Text. Output: data.
Eden AI offers Embeddings from 14 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Embeddings
Other Embeddings models you can call with the same key, cheapest first.
More from Jina
Other Jina models on Eden AI, for every task.
.avif)









