text2vec-base-chinese - API in Egypt, billed in EGP

Live
shibing624

A sentence similarity model that can be used for various NLP tasks such as text classification, sentiment analysis, named entity recognition, question answering, and more. It utilizes the CoSENT architecture, which consists of a transformer encoder and a pooling module, to encode input texts into vectors that capture their semantic meaning. The model was trained on the nli_zh dataset and achieved high performance on various benchmark datasets.

Modality

Embedding

Context window

512 tokens

Region

US

Weights

Open weights

Published

Jul 14, 2026

Pricing

Input

0.33

EGP per 1M tokens

Output

Free

EGP per 1M tokens

Monthly cost example

16.25 EGP

Illustrative estimate: 50M input + 15M output tokens per month at this model's catalog rates.

Use it via the API

text2vec-base-chinese works with any OpenAI-compatible SDK — point the base URL at https://backend.sovereigneg.com/v1 and use your SovereignEG API key.

Run inference

OpenAI-compatible — POST /v1/embeddings — drop-in for any OpenAI SDK.

from openai import OpenAI

client = OpenAI(
    base_url="https://backend.sovereigneg.com/v1",
    api_key="YOUR_API_KEY",
)

response = client.embeddings.create(
    model="text2vec-base-chinese",
    input="The food was delicious and the waiter...",
    encoding_format="float",
)

vector = response.data[0].embedding
print(f"dim={len(vector)}, first 8 dims: {vector[:8]}")

Frequently asked questions

How much does text2vec-base-chinese cost?

0.33 EGP per 1M input tokens; Output tokens are free. Billing is metered per token in Egyptian pounds (EGP), with no minimum commitment.

What is the context window of text2vec-base-chinese?

text2vec-base-chinese supports a context window of 512 tokens (512).

Where is text2vec-base-chinese hosted?

text2vec-base-chinese is served from US (US-hosted inference).

Is text2vec-base-chinese an open-weights model?

Yes — text2vec-base-chinese is an open-weights model. You call it through the SovereignEG API like any other catalog model, with per-token EGP billing.

How do I use text2vec-base-chinese via the API?

text2vec-base-chinese is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://backend.sovereigneg.com/v1 and call /v1/embeddings with model "text2vec-base-chinese" and your API key.