Artificial Analysis Cost Per Task

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.

Price
$0.07USD / call
Method
POST
Response
Async JSON
Parameters
0 required · 1 optional

Try the model

Playground

Open 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.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.07 / run

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
async

Parameters

models
string · optional

Access

Provider
Artificial Analysis
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/artificial-analysis/cost-per-task
Authentication
Bearer API key

API README

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.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Artificial Analysis$0.07 per callAsync JSONOct 30, 2026

Questions

FAQ

How do I use the Artificial Analysis Cost Per Task API?

Send a POST request to https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Artificial Analysis Cost Per Task API cost?

$0.07 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Artificial Analysis Cost Per Task API accept?

No parameters are required. Optional: models (string). The Parameters table and the Playground on this page list every field.

What does the Artificial Analysis Cost Per Task API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

Do I need a Artificial Analysis developer account or API key?

No. Artificial Analysis Cost Per Task runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Artificial Analysis API access separately.