text-embedding-3-small API
Turn text into vectors for semantic search, RAG retrieval, clustering, and deduplication on APISea.
text-embedding-3-smallBảng giá API text-embedding-3-small
Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.
| Loại token | APISea | Chính thức | Tiết kiệm |
|---|---|---|---|
| Đầu vào mỗi 1M token | $0.0176 | $0.02 | −12% |
| Đầu ra mỗi 1M token | $0.0176 | $0.02 | −12% |
text-embedding-3-small là gì?
OpenAI's text-embedding-3-small turns text into vectors for applications that need to work with meaning rather than exact keyword matches. Use it for semantic search, retrieval in a RAG workflow, clustering related content, or finding potential duplicates. The OpenAI-compatible embeddings endpoint accepts a string or an array of strings and returns vectors. The documented maximum input is 8,191 tokens, so plan how to split longer source material before submitting it.
On APISea, call the model with one API key through https://api.apisea.ai/v1. Pricing is pay-as-you-go, with billing only for successful requests. APISea lists both input and output at $0.0176 per 1M tokens, compared with the provider list price of $0.02 per 1M tokens. The default configuration is about 12% below the provider list price.
Điểm nổi bật của text-embedding-3-small
Text To Vectors
Submit text and receive vectors for semantic search, RAG retrieval, clustering, or deduplication.
Flexible Text Inputs
The embeddings endpoint accepts either a single string or an array of strings.
OpenAI-Compatible Endpoint
Call text-embedding-3-small through POST /v1/embeddings using your APISea API key.
Below List Pricing
APISea input and output pricing are each $0.0176 per 1M tokens. The default configuration is about 12% below the provider list price.
Cách gọi API text-embedding-3-small trong 4 bước
- 01
Tạo API key
Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.
- 02
Đặt base URL
Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.
- 03
Gửi request
Gọi POST /v1/embeddings với "model": "text-embedding-3-small" và các tham số bên dưới.
- 04
Xử lý phản hồi
Đọc phản hồi (hoặc truyền token theo luồng bằng stream: true). Mức sử dụng và chi phí sẽ hiển thị trong bảng điều khiển.
Ví dụ request
Tài liệu: Tài liệu →curl https://api.apisea.ai/v1/embeddings \
-H "Authorization: Bearer $APISEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-small",
"input": ["APISea routes every model through one key.", "Embeddings power semantic search."]
}'Bạn có thể xây dựng gì với text-embedding-3-small
Semantic Document Search
Embed documents and search queries to build retrieval based on meaning rather than exact wording.
RAG Knowledge Retrieval
Create vectors for knowledge-base passages and use them to retrieve relevant material for a separate generation step.
Content Clustering
Use text vectors to group related support tickets, articles, or other text records.
Duplicate Detection
Compare vectors to identify potentially duplicate text records for review or consolidation.
Mẹo để có kết quả tốt hơn
- 01
Split Long Documents
Keep inputs within the documented 8,191-token maximum. Split longer documents into passages before embedding them.
- 02
Use Array Inputs
When submitting multiple text entries, use the supported array-of-strings input format. Check the documentation for any additional batch constraints.
- 03
Choose The Embeddings Endpoint
Send requests to https://api.apisea.ai/v1/embeddings with
text-embedding-3-smallas the model, rather than treating it as a chat-generation request. - 04
Track Submitted Tokens
Estimate token usage before embedding a large collection. APISea lists input and output at $0.0176 per 1M tokens and bills only successful requests.
Giới hạn và những điều cần biết
The documented maximum input is 8,191 tokens.
This endpoint returns vectors, not generated chat responses.
Check the documentation for batch limits and optional parameters not specified here.
Câu hỏi thường gặp về API text-embedding-3-small
How much does text-embedding-3-small cost on APISea?
APISea input and output pricing are each $0.0176 per 1M tokens, compared with the provider list price of $0.02 per 1M tokens. The default configuration is about 12% below list price, with pay-as-you-go billing only for successful requests.
How do I call text-embedding-3-small through APISea?
Use your APISea API key to send a POST request to https://api.apisea.ai/v1/embeddings. Select text-embedding-3-small as the model and provide a string or an array of strings as input.
What inputs and parameters does the model support?
The documented input formats are a string or an array of strings, and the endpoint returns vectors. Consult the documentation for optional parameters and supported controls beyond these input formats.
What is the maximum input length?
The documented maximum input is 8,191 tokens. Split longer source documents into smaller passages before submitting them.
Can I use text-embedding-3-small commercially?
Commercial use is subject to the provider's terms. Review the applicable OpenAI terms and APISea terms before deploying your application.
Is text-embedding-3-small a chat model or an embedding model?
It is an embedding model in the OpenAI Embeddings family. Its documented endpoint returns vectors for semantic search, RAG retrieval, clustering, and deduplication rather than conversational text.
Model liên quan
text-embedding-3-large
text-embedding-ada-002
gpt-4.1
gpt-4.1-2025-04-14
gpt-4.1-mini
gpt-4.1-mini-2025-04-14
GPT-4o
gpt-4ogpt-4o-2024-11-20
Bắt đầu xây dựng với text-embedding-3-small
Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.