Embeddings API
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
Official Guide
We provide this cost friendly API for high throughput scenarios, there's no rate limit 🚀!
For more detailed API spec, see platform.openai.com/docs/api-reference/embeddings
Available models:
- text-embedding-3-small
- text-embedding-3-large
Pricing
The price of embeddings call is 75% of the price of OpenAI official website. Details: LLM API | PPU Quota | Endpoint Usage
Request Example
curl https://api.goapi.xyz/v1/embeddings \
-H "Authorization: Bearer $YOUR_GOAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": "The food was delicious and the waiter...",
"model": "text-embedding-3-small",
"encoding_format": "float"
}'