List Language Models (Intelligence & Pricing)
curl --request POST \
--url https://api.aisa.one/apis/v1/artificial-analysis/list-language-models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"end": 25,
"start": 0,
"cursor": "2"
}
'import requests
url = "https://api.aisa.one/apis/v1/artificial-analysis/list-language-models"
payload = {
"end": 25,
"start": 0,
"cursor": "2"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({end: 25, start: 0, cursor: '2'})
};
fetch('https://api.aisa.one/apis/v1/artificial-analysis/list-language-models', 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.aisa.one/apis/v1/artificial-analysis/list-language-models",
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([
'end' => 25,
'start' => 0,
'cursor' => '2'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.aisa.one/apis/v1/artificial-analysis/list-language-models"
payload := strings.NewReader("{\n \"end\": 25,\n \"start\": 0,\n \"cursor\": \"2\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/artificial-analysis/list-language-models")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"end\": 25,\n \"start\": 0,\n \"cursor\": \"2\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/artificial-analysis/list-language-models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"end\": 25,\n \"start\": 0,\n \"cursor\": \"2\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"pricing": {
"price_1m_input_tokens": 123,
"price_1m_output_tokens": 123,
"price_1m_cache_hit_tokens": 123,
"price_1m_cache_write_tokens": 123
},
"evaluations": {
"artificial_analysis_legal_index": 123,
"artificial_analysis_coding_index": 123,
"artificial_analysis_agentic_index": 123,
"artificial_analysis_economics_index": 123,
"artificial_analysis_engineering_index": 123,
"artificial_analysis_intelligence_index": 123,
"artificial_analysis_strategy_and_ops_index": 123,
"artificial_analysis_finance_and_accounting_index": 123,
"artificial_analysis_healthcare_and_medical_index": 123
},
"performance": {
"median_output_tokens_per_second": 123,
"median_time_to_first_token_seconds": 123,
"median_end_to_end_response_time_seconds": 123,
"median_time_to_first_answer_token_seconds": 123
},
"release_date": "<string>",
"model_creator": {
"id": "<string>",
"name": "<string>"
},
"artificial_analysis_intelligence_index_cost": {
"total_cost": 123,
"cost_per_task": {
"total_cost": 123
}
}
}
],
"tier": "<string>",
"has_more": true,
"pagination": {
"page": 123,
"has_more": true,
"page_size": 123,
"total_pages": 123
},
"next_cursor": "<string>",
"intelligence_index_version": 123
}Artificial Analysis
List Language Models (Intelligence & Pricing)
<!-- aisa-pricing:start -->
Usage-based billing; Default request estimate: $0.0333 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->
POST
https://api.aisa.one
/
apis
/
v1
/
artificial-analysis
/
list-language-models
List Language Models (Intelligence & Pricing)
curl --request POST \
--url https://api.aisa.one/apis/v1/artificial-analysis/list-language-models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"end": 25,
"start": 0,
"cursor": "2"
}
'import requests
url = "https://api.aisa.one/apis/v1/artificial-analysis/list-language-models"
payload = {
"end": 25,
"start": 0,
"cursor": "2"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({end: 25, start: 0, cursor: '2'})
};
fetch('https://api.aisa.one/apis/v1/artificial-analysis/list-language-models', 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.aisa.one/apis/v1/artificial-analysis/list-language-models",
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([
'end' => 25,
'start' => 0,
'cursor' => '2'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.aisa.one/apis/v1/artificial-analysis/list-language-models"
payload := strings.NewReader("{\n \"end\": 25,\n \"start\": 0,\n \"cursor\": \"2\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/artificial-analysis/list-language-models")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"end\": 25,\n \"start\": 0,\n \"cursor\": \"2\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/artificial-analysis/list-language-models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"end\": 25,\n \"start\": 0,\n \"cursor\": \"2\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"pricing": {
"price_1m_input_tokens": 123,
"price_1m_output_tokens": 123,
"price_1m_cache_hit_tokens": 123,
"price_1m_cache_write_tokens": 123
},
"evaluations": {
"artificial_analysis_legal_index": 123,
"artificial_analysis_coding_index": 123,
"artificial_analysis_agentic_index": 123,
"artificial_analysis_economics_index": 123,
"artificial_analysis_engineering_index": 123,
"artificial_analysis_intelligence_index": 123,
"artificial_analysis_strategy_and_ops_index": 123,
"artificial_analysis_finance_and_accounting_index": 123,
"artificial_analysis_healthcare_and_medical_index": 123
},
"performance": {
"median_output_tokens_per_second": 123,
"median_time_to_first_token_seconds": 123,
"median_end_to_end_response_time_seconds": 123,
"median_time_to_first_answer_token_seconds": 123
},
"release_date": "<string>",
"model_creator": {
"id": "<string>",
"name": "<string>"
},
"artificial_analysis_intelligence_index_cost": {
"total_cost": 123,
"cost_per_task": {
"total_cost": 123
}
}
}
],
"tier": "<string>",
"has_more": true,
"pagination": {
"page": 123,
"has_more": true,
"page_size": 123,
"total_pages": 123
},
"next_cursor": "<string>",
"intelligence_index_version": 123
}Request contract
- Method and path: POST /apis/v1/artificial-analysis/list-language-models
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/artificial-analysis/list-language-models - Runtime facts: c6a23861ad1ba33ac766f6edf25b3f80fa81f952e7b378911651def84429c079
{
"operationId": "artificial-analysis.list-language-models",
"method": "POST",
"path": "/apis/v1/artificial-analysis/list-language-models",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"end": {
"type": "integer",
"minimum": 0,
"examples": [
25,
50,
100
],
"description": "Optional. 0-indexed end of the result slice (exclusive), e.g. start=0, end=25 returns the first 25. Omit for the rest of the page."
},
"start": {
"type": "integer",
"minimum": 0,
"examples": [
0,
25,
50
],
"description": "Optional. 0-indexed start of the result slice (inclusive). Omit to start at the first model."
},
"cursor": {
"type": "string",
"examples": [
"2",
"3"
],
"description": "Continuation cursor from a previous response's next_cursor (the next page number). Omit for the first page. Continue only when next_cursor is non-null and you need more results. Each call consumes one request from the connected key's tier-dependent daily quota."
}
}
}
}
}
},
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "response_units",
"customer_multiplier": 1.0,
"customer_pricing": "provider_cost_multiplier",
"default_request_estimate_usd": 0.0333,
"estimate_source": "profile_seed",
"evidence_source": "response_body",
"maximum_units": 10000000,
"unit": "provider_credit",
"unit_rate_usd": 1e-06
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based billing; Default request estimate: $0.0333 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 0.0333
- Declared unit rate (USD): 1e-06
- Billing unit: provider_credit
- Cost contract: response_units
- Published reference multiplier: 1.0
- Declared maximum count/units: 10000000
- Settlement evidence source: response_body
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Optional. 0-indexed end of the result slice (exclusive), e.g. start=0, end=25 returns the first 25. Omit for the rest of the page.
Required range:
x >= 0Examples:
25
50
100
Optional. 0-indexed start of the result slice (inclusive). Omit to start at the first model.
Required range:
x >= 0Examples:
0
25
50
Continuation cursor from a previous response's next_cursor (the next page number). Omit for the first page. Continue only when next_cursor is non-null and you need more results. Each call consumes one request from the connected key's tier-dependent daily quota.
Examples:
"2"
"3"