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.

Base modelAll models on this baseAll models of the providerto the provider

Input, $/1M $0.0686

Output, $/1M $0.0686

Context 8 000

Accepts text

Last checked 04.11.2026 12:00:14 UTC

Source provider's page

Price alerts

Sign in to follow the price

API

OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.

API base URL
https://aihubmix.com/api/v1
Endpoint
https://aihubmix.com/api/v1/embeddings
Model id
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());
Request (JSON)
{
  "model": "embedding-2",
  "input": [
    "first text",
    "second text"
  ]
}
Response (JSON)
{
  "object": "list",
  "model": "embedding-2",
  "data": [
    {
      "object": "embedding",
      "index": 0,
      "embedding": [
        0.0123,
        -0.0456,
        "..."
      ]
    }
  ],
  "usage": {
    "prompt_tokens": 6,
    "total_tokens": 6
  }
}

The address is taken from the provider's model list; check it against the provider's documentation.

Provider's API documentation

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

Technical details

ID: offer:aihubmix|embedding-2