Source: https://ailoot.ai/models/en/baichuan-text-embedding/
Canonical: https://ailoot.ai/models/en/baichuan-text-embedding/
Language: en

# Baichuan-Text-Embedding

[Markdown](https://ailoot.ai/models/en/baichuan-text-embedding/index.md) · [JSON](https://ailoot.ai/models/en/baichuan-text-embedding/facts.json)

## [Baichuan-Text-Embedding](https://ailoot.ai/models/en/baichuan-text-embedding/)

Baichuan-Text-Embedding returns numerical vectors for supplied text through Ailoot’s embeddings API. Send one passage or a list and retain the response indices when building a searchable collection.

- [**Ailoot Ultra · Embeddings** `POST /v1/embeddings` `Baichuan-Text-Embedding`](https://ailoot.ai/models/en/baichuan-text-embedding/#method-0)

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Select Baichuan-Text-Embedding in a /v1/embeddings request. The required input accepts a nonempty string or a nonempty array of strings, allowing a single passage and a prepared collection to use the same endpoint. The JSON result includes data\[\].embedding and data\[\].index, plus the selected model and usage.

For a knowledge collection, divide source documents into passages that preserve the definitions and context needed by a later reader. Maintain document IDs in your application and match each vector to its submitted position. A search workflow can encode the user’s query with the same model and retain the source passage beside any retrieved result.

Save the complete synchronous response before committing the vectors to storage. Check the input-to-index mapping, preserve all returned vectors and keep usage with the operation. Using the exact model identity for saved embeddings makes it clear which collection and query representation belong together.

**Ailoot Ultra · Embeddings** `POST /v1/embeddings` `Baichuan-Text-Embedding`

[`Baichuan-Text-Embedding`](https://ailoot.ai/models/en/#m=Baichuan-Text-Embedding&route=Ultra&caller=Baichuan-Text-Embedding&fmt=embeddings)

Other /`Baichuan-Text-Embedding`

### Overview

Baichuan-Text-Embedding returns numerical vectors for supplied text through Ailoot’s embeddings API. Send one passage or a list and retain the response indices when building a searchable collection.

Accepted inputs

Text

Results

embedding

### Available in Ailoot · inputs & methods

**Ailoot Ultra · Embeddings** `POST /v1/embeddings`

Input types

`text`

Output types

`embedding`

| Field | Type | Requirement | Values & limits | Default |
| --- | --- | --- | --- | --- |
| Field`model` | Type`string` | RequirementRequired | Values & limits Baichuan-Text-Embedding Conditions: Use this exact Ailoot routing selector. | Default— |
| Field`input` | Type`string or array<string>` | RequirementRequired | Values & limits Conditions: | Default— |

Method parameters and lifecycle

| Parameter | Contract |
| --- | --- |
| Parameter`content_type` | Contractapplication/json |
| Parameter`required` | Contractmodel, input |
| Parameter`optional` | Contract |
| Parameter`material_types` | Contracttext |
| Parameter`conditions` | ContractUse this exact Ailoot routing selector. |

Lifecycle: `synchronous_json`

### Pricing

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode

Not specified When fast mode is selected

Flex mode

Not specified When flex mode is selected

Maximum reasoning effort

Not specified When maximum reasoning effort uses the default adjustment

#### Ailoot rates

#### Prices by configuration

| Configuration | Rate schedule | Charge |
| --- | --- | --- |
| ConfigurationBase token rates | Rate scheduleBase rate | Charge Input · Input tokens **$0.00016** / 1K tokens Output · Output tokens **$0** / 1K tokens Input · Cache read **—** / 1K tokens Input · Cache write **—** / 1K tokens Input · Cache write, 1 hour **—** / 1K tokens |

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. [How reservation and settlement work →](https://ailoot.ai/docs/en/billing/reserve/)

### Example requests

#### Ailoot Ultra · Embeddings

curl · create once and retain the complete result

```bash
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "Baichuan-Text-Embedding", "input": "The quick brown fox jumps over the lazy dog"}')

Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/embeddings \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
```

### Receive and save results

### Aliases

#### Model aliases

**Ailoot Ultra** [`Baichuan-Text-Embedding`](https://ailoot.ai/models/en/#m=Baichuan-Text-Embedding&route=Ultra&caller=Baichuan-Text-Embedding&fmt=embeddings)

#### Method path aliases

Use the method paths shown above.

#### Related caller IDs

[`Baichuan-Text-Embedding`](https://ailoot.ai/models/en/#m=Baichuan-Text-Embedding&route=Ultra&caller=Baichuan-Text-Embedding&fmt=embeddings)

FAQ · Baichuan-Text-Embedding

What inputs and results are available?

`POST /v1/embeddings` · `Baichuan-Text-Embedding`: `text` → `embedding`

Which fields does the request use?

`POST /v1/embeddings` · `Baichuan-Text-Embedding`: `model`, `input`

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

## The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

## Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription

Choose a discounted plan for your regular requests.

Promo code: up to 50% off

Enter your code at checkout. The price updates to reflect the current promotion.

Spending in your history

The model, tokens and amount are recorded for each request.

[Choose a subscription](https://ailoot.ai/docs/en/billing/subscriptions/) · [View model prices](https://ailoot.ai/models/en/)

## Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application

Add text, image, video and audio generation to paid features in your service.

Reseller licence

Send a description of your project and how you provide access. Request written terms for use and resale.

Documents on the website

The service offer, licence agreement and data processing policy are available before you connect.

[Request a reseller licence](mailto:support@ailoot.ai) · [Service offer and licence agreement](https://ailoot.ai/legal/offer?lang=en)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
