Text Embedding (octen-embedding-8b)
POST/embedding/octen-embedding-8b
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "octen",
"path": "/embedding/octen-embedding-8b",
"method": "POST",
"body": {
"input": [
""
]
}
}'
The final charge depends on what comes back. It shows after Run.
$0.084per 1M input tokens
Response-basedYou pay for the input tokens the call uses, read from the response, never more than $0.168 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 99.7% success · 353 ms median · 30 days
About this endpoint
Convert up to 1000 texts into semantic vectors with octen-embedding-8b (max dimension 4096), Octen's most accurate text embedding model. The model is fixed for this endpoint.
Body parameters
inputrequiredarrayTexts to embed (max 1000, each max 10000 chars, 2MB body).dimensionintegerOutput dimension (default 4096).input_typestringquery | document (retrieval prompts).More from Octen
- Web SearchPOST/search$0.0006 per full content resultResponse-based · up to $0.0552
- Broad SearchPOST/broad-searchFrom $0.0006 per full content resultResponse-based · up to $1.656
- News SearchPOST/news-search$0.0006 per full content resultResponse-based · up to $0.0576
- Business SearchPOST/business-search$0.0006 per full content resultResponse-based · up to $0.06
- ExtractPOST/extractFrom $0.0012 per standard URLResponse-based · up to $0.06
- Text Embedding (octen-embedding-0.6b)POST/embedding/octen-embedding-0.6b$0.012 per 1M input tokensResponse-based · up to $0.024
- Text Embedding (octen-embedding-4b)POST/embedding/octen-embedding-4b$0.048 per 1M input tokensResponse-based · up to $0.096
- VL Embedding (octen-vl-embedding)POST/vl-embedding/octen-vl-embeddingFrom $0.06 per 1M tokensResponse-based · up to $0.024
- VL Embedding (octen-vl-embedding-large)POST/vl-embedding/octen-vl-embedding-largeFrom $0.12 per 1M tokensResponse-based · up to $0.048