Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Artificial Analysis Cost Per Task

Documentazione API
https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task

Get per-model cost-per-task data from the Artificial Analysis homepage. Returns Intelligence Index score, cost per task (USD) with granular cost breakdown, time per task, end-to-end response time, TTFT, token counts.

Prezzo
$0.05USD / chiamata
Metodo
POST
Risposta
JSON asincrono
Parametri
0 obbligatori · 1 opzionali

Playground

Input
Comma-separated list of model slugs to filter results (e.g. 'claude-sonnet-5,gpt-5-6-sol,gemini-3-5-flash-lite'). When omitted, returns the default set of models shown on the homepage.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Artificial Analysis Cost Per Task

Get per-model cost-per-task data from the Artificial Analysis homepage. Returns Intelligence Index score, cost per task (USD) with granular cost breakdown, time per task, end-to-end response time, TTFT, token counts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
modelsstringNoComma-separated list of model slugs to filter results (e.g. 'claude-sonnet-5,gpt-5-6-sol,gemini-3-5-flash-lite'). When omitted, returns the default set of models shown on the homepage.

Pricing

Flat price per call. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Artificial Analysis$0.05 per chiamataJSON asincrono
Artificial Analysis$0.01 per chiamataJSON asincrono
Artificial Analysis$0.02 per chiamataJSON asincrono
Artificial Analysis$0.01 per chiamataJSON asincrono

Domande

FAQ

Come uso l'API Artificial Analysis Cost Per Task?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Artificial Analysis Cost Per Task?

$0.05 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Artificial Analysis Cost Per Task?

Nessun parametro richiesto. Facoltativi: models (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Artificial Analysis Cost Per Task?

Un risultato JSON. Questo endpoint viene eseguito in modo asincrono, quindi la risposta indica come recuperare il risultato completato.

Mi serve un account sviluppatore o una chiave API Artificial Analysis?

No. Artificial Analysis Cost Per Task funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Artificial Analysis.