Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
OpenAI · OpenAI Embeddings

text-embedding-ada-002 API

Turn text into vectors for semantic search, RAG retrieval, clustering, and deduplication on APISea.

التضميناتالمحادثة والنصمتزامن
معرّف النموذج
text-embedding-ada-002

تسعير API لنموذج text-embedding-ada-002

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.088$0.10−12%
الإخراج لكل 1M رمز$0.088$0.10−12%

ما هو text-embedding-ada-002؟

text-embedding-ada-002 is an OpenAI embedding model available through APISea for applications that need vector representations of text. Use those vectors for semantic search, retrieval in RAG workflows, clustering related content, or identifying duplicate material. The OpenAI-compatible embeddings endpoint accepts either a string or an array of strings and returns vectors. The documented maximum input is 8,191 tokens.

Call the model through APISea using one API key and the OpenAI-compatible base URL https://api.apisea.ai/v1. APISea offers pay-as-you-go billing and charges only for successful requests. Listed input and output rates are each $0.088 per 1M tokens, compared with the provider list price of $0.1 per 1M tokens. The default configuration is about 12% below the provider list price.

أبرز مزايا text-embedding-ada-002

Text To Vectors

Submit text and receive vectors through the OpenAI-compatible embeddings endpoint.

Flexible Text Input

The endpoint accepts a single string or an array of strings.

Retrieval And Organization

Use the returned vectors for semantic search, RAG retrieval, clustering, and deduplication.

Below List Pricing

APISea lists input and output at $0.088 per 1M tokens each. The default configuration is about 12% below the provider list price.

كيفية استدعاء API الخاص بـ text-embedding-ada-002 في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/embeddings مع "model": "text-embedding-ada-002" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.

أمثلة على الطلبات

الوثائق: الوثائق
curl https://api.apisea.ai/v1/embeddings \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "text-embedding-ada-002",
    "input": ["APISea routes every model through one key.", "Embeddings power semantic search."]
  }'

ما الذي يمكنك إنشاؤه باستخدام text-embedding-ada-002

Semantic Document Search

Embed searchable text and user queries to build a search workflow based on vector similarity.

RAG Knowledge Retrieval

Create vectors for knowledge-base content and use them to retrieve relevant material for a separate generation step.

Content Clustering

Use text vectors to group related support tickets, documents, or other text collections.

Duplicate Content Detection

Compare vector representations to identify potentially duplicate text for review or deduplication.

نصائح للحصول على نتائج أفضل

  • 01

    Use The Embeddings Endpoint

    Send requests to POST https://api.apisea.ai/v1/embeddings with text-embedding-ada-002 as the model.

  • 02

    Choose Your Input Shape

    Use a string for one text input or an array of strings when submitting multiple texts.

  • 03

    Check Token Length

    Keep inputs within the documented 8,191-token maximum. Split longer documents into smaller text sections before embedding them.

  • 04

    Budget By Tokens

    Use the listed $0.088 per 1M tokens input and output rates when estimating costs. APISea bills only successful requests.

القيود ومعلومات مهمة

  • The documented maximum input is 8,191 tokens.

  • This endpoint returns vectors, not generated chat responses.

  • Check the documentation for request constraints beyond the documented string or array-of-strings input.

الأسئلة الشائعة حول API الخاص بـ text-embedding-ada-002

What is text-embedding-ada-002 used for?

It turns text into vectors for semantic search, RAG retrieval, clustering, and deduplication.

How much does text-embedding-ada-002 cost on APISea?

APISea lists input at $0.088 per 1M tokens and output at $0.088 per 1M tokens. The default configuration is about 12% below the provider list price of $0.1 per 1M tokens, and only successful requests are billed.

How do I call text-embedding-ada-002 through APISea?

Use your APISea API key to send a POST request to https://api.apisea.ai/v1/embeddings. Select text-embedding-ada-002 as the model and provide the text input.

What input formats does the embeddings endpoint support?

The documented input is a string or an array of strings. The endpoint returns vectors.

What is the maximum input length?

The documented maximum input is 8,191 tokens. Split longer text into smaller sections before submitting it.

Can I use text-embedding-ada-002 commercially?

Commercial use is subject to the provider's terms. Review the applicable OpenAI terms and APISea terms before deploying your application.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام text-embedding-ada-002

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.