Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Artificial Analysis Cost Per Task

เอกสาร 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.

ราคา
$0.05USD / คำขอ
Method
POST
การตอบกลับ
Async JSON
พารามิเตอร์
0 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
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.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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.

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Artificial Analysis$0.05 ต่อการเรียกAsync JSON
Artificial Analysis$0.01 ต่อการเรียกAsync JSON
Artificial Analysis$0.02 ต่อการเรียกAsync JSON
Artificial Analysis$0.01 ต่อการเรียกAsync JSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Artificial Analysis Cost Per Task API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Artificial Analysis Cost Per Task API ราคาเท่าไร?

$0.05 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Artificial Analysis Cost Per Task API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: models (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Artificial Analysis Cost Per Task API ส่งคืนอะไร?

ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Artificial Analysis ไหม?

ไม่จำเป็น Artificial Analysis Cost Per Task ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Artificial Analysis API แยกต่างหาก