Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

artificial-analysis-cli

Typed, read-only command-line access to the model lists of the official Artificial Analysis Data API. It covers the Free and Pro list endpoints for all 12 model families.

Install

uv tool install artificial-analysis-cli
export ARTIFICIAL_ANALYSIS_API_KEY=...

Use

Discover the current commands, model families, options, and accepted values from the CLI:

artificial-analysis --help
artificial-analysis families
artificial-analysis list --help

Examples:

artificial-analysis list t2v --top 10
artificial-analysis list llm --format tsv
artificial-analysis list llm --pro --prompt-type medium_coding
artificial-analysis list t2i --pro --categories --format json
artificial-analysis list music-vocal --pro --genres --format json

Successful output goes to stdout as table, json, or tsv. Validated responses are cached for one hour per API key and request; --refresh bypasses the cache.

Failures leave stdout empty and write to stderr. Text errors use a stable code and an actionable hint:

AUTH_REQUIRED: ARTIFICIAL_ANALYSIS_API_KEY is not set.
Hint: Set ARTIFICIAL_ANALYSIS_API_KEY, then retry.

With --format json, errors use the same information in a machine-readable envelope:

{
  "error": {
    "code": "AUTH_REQUIRED",
    "message": "ARTIFICIAL_ANALYSIS_API_KEY is not set.",
    "exitCode": 2,
    "hint": "Set ARTIFICIAL_ANALYSIS_API_KEY, then retry."
  }
}
Exit code Meaning
0 Success
1 Network, upstream API, or response failure
2 Invalid command or authentication
3 Insufficient API access
4 API rate limit exceeded

Artificial Analysis data must be credited to Artificial Analysis wherever it is displayed or shared. See the API's Terms of Use and Data Platform Terms.

Develop

uv sync --locked
uv run --locked just --list
uv run --locked just check

Metadata

Release files for artificial-analysis-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for artificial-analysis-cli 0.1.0
File Size Uploaded
artificial_analysis_cli-0.1.0.tar.gz 100.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for artificial-analysis-cli 0.1.0
File Interpreter ABI Platform
artificial_analysis_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 122.9 kB

Release files / artificial_analysis_cli-0.1.0.tar.gz

Download URL artificial_analysis_cli-0.1.0.tar.gz
Size 100.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3030a121b75ded373685e5738030f71184c858e02badc84b282967da072c13f5
BLAKE2b-256 checksum
How to use checksums
4ef702ae71f0e7c3f243150e4abba424bd4c0564f9d072d6a99263aab87a69eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / artificial_analysis_cli-0.1.0-py3-none-any.whl

Download URL artificial_analysis_cli-0.1.0-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f3c499e7ca8af208792c0f36231034137c962501cd907f5c19b946525a5d7fe
BLAKE2b-256 checksum
How to use checksums
75f8a7812adaa20acd73398ab18b3eadc5679f12b5e885e32e378e6ff49a6ea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page