SPB Git

Repository Public

text-embedding-ada-002.md 3.0 KB 79 lines markdown

1# text-embedding-ada-00223> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.45> Older embedding model67Model ID: `text-embedding-ada-002`89text-embedding-ada-002 is our improved, more performant version of our ada embedding model.10Embeddings are a numerical representation of text that can be used to measure the relatedness between two pieces of text.11Embeddings are useful for search, clustering, recommendations, anomaly detection, and classification tasks.1213## Model details1415- Default snapshot: `text-embedding-ada-002`16- Input modalities: text17- Output modalities: text1819## Pricing2021Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the [pricing page](/api/docs/pricing).2223### Embeddings2425| Metric | Price | Unit |26| --- | ---: | --- |27| Cost | $0.1 | 1M tokens |2829## Endpoints3031| Endpoint | Route | Support |32| --- | --- | --- |33| Live | `v1/live/sessions` | Not supported |34| Chat Completions | `v1/chat/completions` | Not supported |35| Responses | `v1/responses` | Not supported |36| Realtime | `v1/realtime` | Not supported |37| Realtime translation | `v1/realtime/translations` | Not supported |38| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |39| Assistants | `v1/assistants` | Not supported |40| Batch | `v1/batch` | Supported |41| Fine-tuning | `v1/fine-tuning` | Not supported |42| Embeddings | `v1/embeddings` | Supported |43| Image generation | `v1/images/generations` | Not supported |44| Videos | `v1/videos` | Not supported |45| Image edit | `v1/images/edits` | Not supported |46| Speech generation | `v1/audio/speech` | Not supported |47| Transcription | `v1/audio/transcriptions` | Not supported |48| Translation | `v1/audio/translations` | Not supported |49| Moderation | `v1/moderations` | Not supported |50| Completions (legacy) | `v1/completions` | Not supported |5152## Quick comparison5354| Model | Cost |55| --- | ---: |56| text-embedding-ada-002 | $0.1 |57| text-embedding-3-small | $0.02 |5859## Snapshots6061Snapshots let you lock in a specific version of the model so that performance and behavior remain consistent. Below is a list of all available snapshots and aliases for text-embedding-ada-002.6263- `text-embedding-ada-002`6465## Rate limits6667Rate limits ensure fair and reliable access to the API by placing specific caps on requests, tokens, audio duration, or other usage within a given time period. Your usage tier determines how high these limits are set and automatically increases as you send more requests and spend more on the API.6869### default7071| Tier | RPM | RPD | TPM | Batch queue limit |72| --- | ---: | ---: | ---: | ---: |73| free | 100 | 2,000 | 40,000 | - |74| Tier 1 | 3,000 | - | 1,000,000 | 3,000,000 |75| Tier 2 | 5,000 | - | 1,000,000 | 20,000,000 |76| Tier 3 | 5,000 | - | 5,000,000 | 100,000,000 |77| Tier 4 | 10,000 | - | 5,000,000 | 500,000,000 |78| Tier 5 | 10,000 | - | 10,000,000 | 4,000,000,000 |79
Files main
Menu

Theme