Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Artificial Analysis Cost Per Task

Dokumentacja 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.

Cena
$0.05USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
0 wymaganych · 1 opcjonalnych

Playground

Wejście
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.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Artificial Analysis$0.05 za wywołanieAsynchroniczny JSON
Artificial Analysis$0.01 za wywołanieAsynchroniczny JSON
Artificial Analysis$0.02 za wywołanieAsynchroniczny JSON
Artificial Analysis$0.01 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Artificial Analysis Cost Per Task?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Artificial Analysis Cost Per Task?

$0.05 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Artificial Analysis Cost Per Task?

Nie są wymagane żadne parametry. Opcjonalne: models (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Artificial Analysis Cost Per Task?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.

Czy potrzebuję konta deweloperskiego Artificial Analysis lub klucza API?

Nie. Artificial Analysis Cost Per Task działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Artificial Analysis.