Text Embedding V4 (Aliyun)

主力 embedding (1536 dim)

Model ID: text-embedding-v4 · Type: embedding · Provider: Alibaba

Endpoints: /v1/embeddings

Pricing

Input (per 1M tokens)$0.063 USD
from openai import OpenAI

client = OpenAI(api_key="sk-...", base_url="https://api.router.ai/v1")
resp = client.embeddings.create(model="text-embedding-v4", input="hello world")
print(len(resp.data[0].embedding))

FAQ

How much does Text Embedding V4 (Aliyun) cost on 188pay.ai?

Text Embedding V4 (Aliyun) (`text-embedding-v4`) is billed per usage at $0.07 / 1M tokens in · None / 1M tokens out, in USD. Current pricing is always listed at https://188pay.ai/models/text-embedding-v4.

How do I call Text Embedding V4 (Aliyun) through 188pay.ai?

Send a request to https://api.router.ai/v1/v1/embeddings with the header `Authorization: Bearer <your API key>` and `"model": "text-embedding-v4"`. The API is OpenAI-compatible, so any OpenAI SDK works by changing base_url to https://api.router.ai/v1 — no other code change.

What is Text Embedding V4 (Aliyun)'s context window?

Text Embedding V4 (Aliyun) accepts up to 8,192 input tokens. Requests exceeding the input limit are rejected before reaching the model.

Who makes Text Embedding V4 (Aliyun)?

Text Embedding V4 (Aliyun) is a embedding model from Alibaba, available through the 188pay.ai gateway with the same API key as every other model.

Call it through the 188pay.ai OpenAI-compatible endpoint (API base: https://api.router.ai/v1). AI agents can discover and call every model on this gateway through MCP (https://mcp.router.ai/mcp) with no manual integration.

API reference · All models