AI Rate Card

Embedding 2 · aihubmix

A text vector model that converts input text information into vector representations so that, in conjunction with a vector database, it provides an external knowledge base for the large model, thereby improving the accuracy of the model’s reasoning.

Modelo baseTodos os modelos desta baseTodos os modelos do provedorao provedor

Entrada, $/1M $0.0686

Saída, $/1M $0.0686

Contexto 8 000

Aceita texto

Última verificação 04.11.2026 12:00:14 UTC

Fonte página do provedor

Alertas de preço

Entre para seguir o preço

API

API compatível com OpenAI: os SDKs oficiais da OpenAI funcionam com esta URL base. Substitua YOUR_API_KEY pela sua chave do provedor.

URL base da API
https://aihubmix.com/api/v1
Endpoint
https://aihubmix.com/api/v1/embeddings
ID do modelo
embedding-2
curl
curl https://aihubmix.com/api/v1/embeddings \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "embedding-2", "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-2",
      "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-2",
    "input": [
      "first text",
      "second text"
    ]
  }),
});
console.log(await r.json());
Requisição (JSON)
{
  "model": "embedding-2",
  "input": [
    "first text",
    "second text"
  ]
}
Resposta (JSON)
{
  "object": "list",
  "model": "embedding-2",
  "data": [
    {
      "object": "embedding",
      "index": 0,
      "embedding": [
        0.0123,
        -0.0456,
        "..."
      ]
    }
  ],
  "usage": {
    "prompt_tokens": 6,
    "total_tokens": 6
  }
}

O endereço vem da lista de modelos do provedor; confira na documentação dele.

Documentação da API do provedor

Source: AI Rate Card, https://airatecard.com/pt/c/offer%3Aaihubmix%7Cembedding-2, prices checked 2026-11-04; seller's page: https://aihubmix.com

Dados técnicos

ID: offer:aihubmix|embedding-2