Discover/Artificial Analysis API
live

Artificial Analysis APIartificialanalysis.ai

Access AI model benchmarks, provider leaderboards, hardware GPU data, and cost-per-task metrics from Artificial Analysis via 9 structured endpoints.

This API takes change requests — .
Endpoint health
verified 12h ago
get_model_cost_per_task
get_speech_image_video_models
get_llm_providers_leaderboard
get_models_list
get_model_providers
8/9 passing latest checkself-healing
Endpoints
9
Updated
29d ago

What is the Artificial Analysis API?

The Artificial Analysis API exposes 9 endpoints covering LLM provider leaderboards, per-model benchmark scores, GPU hardware benchmarks, and cost-per-task metrics. The get_llm_providers_leaderboard endpoint alone returns a full dataset of provider-model combinations with pricing, latency, throughput, and benchmark scores across every tracked host. Additional endpoints cover image, video, and speech model families, making it practical to build model-selection tools, cost calculators, and performance dashboards without maintaining your own benchmark pipeline.

This call costs1 credit / call— charged only on success
Try it

No input parameters required.

api.parse.bot/scraper/ae371dc0-d495-4644-ae2f-97fbf3214b85/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ae371dc0-d495-4644-ae2f-97fbf3214b85/get_llm_providers_leaderboard' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace artificialanalysis-ai-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Artificial Analysis SDK — compare AI model costs, providers, and hardware."""
from parse_apis.Artificial_Analysis_API import (
    ArtificialAnalysis, Query, ModelNotFound
)

client = ArtificialAnalysis()

# Browse cost-per-task data filtered to specific models.
for task in client.cost_per_tasks.list(models="claude-sonnet-5,gpt-5-6-sol", limit=3):
    print(task.name, task.cost_per_task, task.intelligence_index, task.ttft)
    if task.cost_per_task_breakdown:
        print("  breakdown:", task.cost_per_task_breakdown.input_tokens, task.cost_per_task_breakdown.reasoning_tokens)

# Get cost-per-task detail for a single model by slug.
detail = client.cost_per_tasks.get(slug="gpt-5-6-sol")
print(detail.name, detail.cost_per_task, detail.coding_index, detail.coding_cost_per_task)

# Search for GPT models and print their summaries.
for model in client.models.search(query=Query.GPT, limit=3):
    print(model.name, model.slug, model.is_reasoning)

# Drill into a specific model's providers via the constructible shortcut.
for provider in client.model("claude-sonnet-4").providers.list(limit=3):
    print(provider.slug, provider.json_mode, provider.function_calling)

# Browse the LLM providers leaderboard.
for endpoint in client.provider_endpoints.list(limit=3):
    print(endpoint.label, endpoint.host_api_id)

# Typed error handling: attempt to fetch a model that does not exist.
try:
    client.models.get(slug="nonexistent-model-xyz")
except ModelNotFound as exc:
    print(f"Model not found: {exc.slug}")

print("exercised: cost_per_tasks.list / cost_per_tasks.get / models.search / model().providers.list / provider_endpoints.list / models.get")
All endpoints · 9 totalmissing one? ·

Get the main LLM API Providers Leaderboard data, including all model endpoints and their performance metrics (speed, latency, price, etc.). Returns a large dataset of provider-model combinations with pricing, timescale performance data, and benchmark scores.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "endpoints": "array of provider-model endpoint objects with pricing, performance metrics, host info, model benchmarks, and timescale data"
  }
}

About the Artificial Analysis API

LLM Provider and Model Data

The get_llm_providers_leaderboard endpoint returns an array of provider-model endpoint objects that include input/output token pricing, timescale performance data, and host metadata — no parameters required. For a focused lookup, get_model_providers accepts a slug string (e.g., gpt-4o, claude-sonnet-4) and returns the full model detail object alongside a providers array with fields like price_1m_input_tokens, price_1m_output_tokens, cache pricing, and feature flags such as JSON mode and function calling support.

Model Benchmarks and Intelligence Scores

get_model_detail returns per-model fields including intelligence_index, context_window_token, benchmark scores, and evaluation data for a given slug. get_models_list provides a flat index of all tracked models with id, slug, name, shortName, deprecated, isReasoning, and creator info — useful for enumerating the full model catalog before drilling into specifics. search_models filters that same list against a query string matched case-insensitively against name, slug, and short name fields.

Cost-Per-Task and Multimodal Model Families

get_cost_per_task returns per-model arrays with cost_per_task (USD), intelligence_index, time_per_task, TTFT, end_to_end_response_time, and token counts broken down into input, output, and reasoning tokens. An optional models parameter accepts comma-separated slugs to filter the response. get_model_cost_per_task retrieves the same shape for a single model by slug. For non-LLM modalities, get_speech_image_video_models returns separate arrays for image generation, video generation, speech-to-text, and text-to-speech model families with name, slug, URL, and creator.

Hardware Benchmarks

get_hardware_benchmarks returns a chips array of GPU objects with memory bandwidth, capacity, power, and creator info, alongside a system_benchmarks array with throughput, output speed, latency measurements, inference framework details, and nested model and chip references. This data is useful for comparing inference hardware independently from the hosted API providers in the LLM leaderboard.

Reliability & maintenanceVerified

The Artificial Analysis API is a managed, monitored endpoint for artificialanalysis.ai — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when artificialanalysis.ai changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official artificialanalysis.ai API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
12h ago
Latest check
8/9 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a model selection tool that ranks providers by output token price and latency using get_llm_providers_leaderboard data.
  • Track intelligence index trends across model versions by querying get_model_detail for successive slugs.
  • Calculate per-query cost estimates using cost_per_task, input/output token counts, and pricing fields from get_model_providers.
  • Identify which providers support function calling or JSON mode for a specific model using feature flags in the providers array.
  • Compare GPU inference hardware by throughput and memory bandwidth using get_hardware_benchmarks chip and system benchmark data.
  • Filter the model catalog for reasoning-capable models using the isReasoning flag from get_models_list.
  • Populate a multimodal model directory covering image, video, and speech families using get_speech_image_video_models.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Artificial Analysis have an official developer API?+
Artificial Analysis does not publish an official public developer API. The data on the site is intended for human browsing. This Parse API provides structured programmatic access to the benchmark and leaderboard data.
What does `get_cost_per_task` return and how can I filter it?+
get_cost_per_task returns an array of model objects each containing cost_per_task in USD, a granular cost breakdown, intelligence_index, time_per_task, TTFT, end_to_end_response_time, and per-task token counts split into input, output, and reasoning tokens, plus a coding_index score. Pass a comma-separated list of model slugs to the optional models parameter to limit results to specific models.
Does the API include historical benchmark time-series data?+
The endpoints return timescale performance data fields as nested objects within provider and leaderboard responses, but there are no dedicated endpoints for querying benchmark history by date range. The get_llm_providers_leaderboard and get_model_providers responses include timescale arrays reflecting recent performance snapshots. You can fork this API on Parse and revise it to add a dedicated historical trends endpoint if that granularity is needed.
Does the API cover fine-tuned or private model deployments listed on Artificial Analysis?+
The API covers publicly tracked model families and their hosted provider endpoints as listed on Artificial Analysis. Private or custom fine-tuned deployments not appearing in the public leaderboard or model pages are not included. You can fork the API on Parse and revise it to add an endpoint targeting any additional model pages that appear on the site.
How does `search_models` match queries, and what does it return?+
search_models performs a case-insensitive substring match against the name, slug, and shortName fields of every model in the catalog. It returns a results array of matching model summary objects with the same shape as get_models_list: id, slug, name, shortName, deprecated, isReasoning, and creator info. It does not search benchmark scores or provider data.
Page content last updated . Spec covers 9 endpoints from artificialanalysis.ai.
Related APIs in Developer ToolsSee all →
lmarena.ai API
lmarena.ai API
epoch.ai API
Compare AI model performance across mathematical reasoning benchmarks by retrieving real-time scores from Epoch AI's FrontierMath leaderboard, including separate tiers for challenging problems and provider information for 86+ models from major AI labs. Track how leading models from OpenAI, Anthropic, Google DeepMind, and other providers perform on different difficulty levels with their release dates.
mastra.ai API
Discover and browse AI model providers and their available models from Mastra's comprehensive registry. Get detailed information about each provider's offerings to compare capabilities and find the right models for your needs.
theresanaiforthat.com API
Search and discover AI tools across different tasks, get detailed information about specific tools, browse available deals, and stay updated on the latest tools. Find the perfect AI solution for your needs by filtering by task category or checking featured and trending tools.
developers.openai.com API
Check current pricing for all OpenAI models including GPT, image generation, audio, video, embeddings, and fine-tuning across different pricing tiers like Batch, Flex, Standard, and Priority. Get real-time cost information to compare rates and plan your API spending.
ollama.com API
Search and discover AI models from Ollama's library, finding specific variants, their sizes, context windows, and ready-to-use pull commands. Get detailed information about any model to quickly understand its capabilities and requirements before running it locally.
openai.com API
Access data from openai.com.
toolify.ai API
Search and browse premium .ai domain names available on the Toolify marketplace, filtering by keywords, categories, prices, and domain attributes to find the perfect domain for your project. Explore curated domain listings organized by category to discover valuable .ai domains suited to your needs.