Embedding V1 · aihubmix
Embedding-V1 is a text representation model based on Baidu's Wenxin large model technology, capable of converting text into numerical vector forms for applications such as text retrieval, information recommendation, and knowledge mining. Embedding-V1 provides an Embeddings interface that generates corresponding vector representations based on the input content. By calling this interface, you can input text into the model and obtain the corresponding vector representations for subsequent text processing and analysis.
Вход, $/1M $0.068
Выход, $/1M —
Уведомления о ценах
API
API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.
| Адрес API | |
|---|---|
| Эндпоинт | |
| Модель (id в API) | |
curl
curl https://aihubmix.com/api/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "embedding-v1", "input": ["first text", "second text"]}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/embeddings",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "embedding-v1",
"input": [
"first text",
"second text"
]
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/embeddings", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "embedding-v1",
"input": [
"first text",
"second text"
]
}),
});
console.log(await r.json());Запрос (JSON)
{
"model": "embedding-v1",
"input": [
"first text",
"second text"
]
}Ответ (JSON)
{
"object": "list",
"model": "embedding-v1",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0.0123,
-0.0456,
"..."
]
}
],
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}Адрес взят из списка моделей провайдера - сверьте с его документацией.
Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Aaihubmix%7Cembedding-v1, prices checked 2026-11-04; seller's page: https://aihubmix.com
Технические данные
ID: offer:aihubmix|embedding-v1