curl --request POST \
--url https://api.aurous-labs.com/v1/embeddings/estimate \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"model": "aurous-embed-vision-1.0",
"input": "<string>",
"dimensions": 1024
}
'import requests
url = "https://api.aurous-labs.com/v1/embeddings/estimate"
payload = {
"model": "aurous-embed-vision-1.0",
"input": "<string>",
"dimensions": 1024
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({model: 'aurous-embed-vision-1.0', input: '<string>', dimensions: 1024})
};
fetch('https://api.aurous-labs.com/v1/embeddings/estimate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aurous-labs.com/v1/embeddings/estimate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'aurous-embed-vision-1.0',
'input' => '<string>',
'dimensions' => 1024
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aurous-labs.com/v1/embeddings/estimate"
payload := strings.NewReader("{\n \"model\": \"aurous-embed-vision-1.0\",\n \"input\": \"<string>\",\n \"dimensions\": 1024\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aurous-labs.com/v1/embeddings/estimate")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"aurous-embed-vision-1.0\",\n \"input\": \"<string>\",\n \"dimensions\": 1024\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aurous-labs.com/v1/embeddings/estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"aurous-embed-vision-1.0\",\n \"input\": \"<string>\",\n \"dimensions\": 1024\n}"
response = http.request(request)
puts response.read_body{
"estimated": true,
"tokens": {
"text": 5000,
"image": 2000,
"video": 0,
"total": 7000
},
"credits_estimated": 0.19125,
"breakdown": {
"input": {
"text": 0.09375,
"visual": 0.0975,
"video": 0
},
"model": "aurous-embed-vision-1.0"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}Estimate embedding credits
Estimate credits + per-modality breakdown WITHOUT dispatching. Use this BEFORE a real POST /v1/embeddings to preview cost. Same DTO shape as POST /v1/embeddings minus encoding_format and user (irrelevant when no charge is made).
Estimates are upper bounds based on pre-fetch input; actual credits_charged from POST /v1/embeddings may differ slightly for URL-fetched media (image / video bytes whose server-side tokenization can be more or less aggressive than the local estimator).
curl --request POST \
--url https://api.aurous-labs.com/v1/embeddings/estimate \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"model": "aurous-embed-vision-1.0",
"input": "<string>",
"dimensions": 1024
}
'import requests
url = "https://api.aurous-labs.com/v1/embeddings/estimate"
payload = {
"model": "aurous-embed-vision-1.0",
"input": "<string>",
"dimensions": 1024
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({model: 'aurous-embed-vision-1.0', input: '<string>', dimensions: 1024})
};
fetch('https://api.aurous-labs.com/v1/embeddings/estimate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aurous-labs.com/v1/embeddings/estimate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'aurous-embed-vision-1.0',
'input' => '<string>',
'dimensions' => 1024
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aurous-labs.com/v1/embeddings/estimate"
payload := strings.NewReader("{\n \"model\": \"aurous-embed-vision-1.0\",\n \"input\": \"<string>\",\n \"dimensions\": 1024\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aurous-labs.com/v1/embeddings/estimate")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"aurous-embed-vision-1.0\",\n \"input\": \"<string>\",\n \"dimensions\": 1024\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aurous-labs.com/v1/embeddings/estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"aurous-embed-vision-1.0\",\n \"input\": \"<string>\",\n \"dimensions\": 1024\n}"
response = http.request(request)
puts response.read_body{
"estimated": true,
"tokens": {
"text": 5000,
"image": 2000,
"video": 0,
"total": 7000
},
"credits_estimated": 0.19125,
"breakdown": {
"input": {
"text": 0.09375,
"visual": 0.0975,
"video": 0
},
"model": "aurous-embed-vision-1.0"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt"
}
}Authorizations
Your team API key (starts with al_live_).
Headers
Optional API version pin (YYYY-MM-DD). Omit the header to receive the platform default, currently 2026-08-26.
^\d{4}-\d{2}-\d{2}$"2026-08-26"
Body
Public model slug (e.g. "aurous-embed-vision-1.0"). Pass exactly as listed by GET /v1/models.
"aurous-embed-vision-1.0"
Input — accepts a string OR an array of content parts ({type: "text"|"image_url"|"video_url"}) for multimodal. String-array (string[]) batch input is NOT accepted on v1 (same rules as POST /v1/embeddings).
Output vector dimensions. Most models return a fixed dimension and reject this parameter. If the model does not support dimensions, the estimate returns 400 embeddings_unsupported_dimensions — identical to the dispatch path, so an estimate and a real request fail at the same gate.
1024
Response
Estimate produced.
Always true — distinguishes this from a real /v1/embeddings response (which uses object: 'list').
true
Estimated token counts per modality + total.
Show child attributes
Show child attributes
Estimated credits for this request. Real credits_charged from POST /v1/embeddings may differ slightly for URL-fetched media (image / video tokenization variance), but the estimate is generally a tight upper bound.
0.19125
Per-modality credit decomposition + model echo.
Show child attributes
Show child attributes

