Skip to main content

AImodelsDB

SQLite database of AI models as fetched from the models.dev endpoint, which is maintained by the anomalyco/models.dev community.

Installation

pip install AImodelsDB

Create the database

python3 -m AImodelsDB.create

Then query with:

sqlite3 ~/.local/share/sqlite-dbs/AImodels.db

Usage

from AImodelsDB import open_AImodels_db

# Get an sqlite3 Connection object to the
# database:
con = open_AImodels_db()

Database Schema

provider

  • id (text, primary key)
  • name (text)
  • npm (text)
  • env (text)
  • api (text)
  • doc (text)

model

  • id (text)
  • name (text)
  • provider (text, foreign key)
  • family (text)
  • open_weights (integer)
  • status (text)
  • rel_dt (text)
  • upd_dt (text)
  • cutoff_dt (text)
  • attachment (integer)
  • reasoning (integer)
  • struct_out (integer)
  • tool_call (integer)
  • temperature (integer)
  • lim_ctx (integer)
  • lim_in (integer)
  • lim_out (integer)
  • mod_in (text)
  • mod_out (text)
  • cost_input (real)
  • cost_output (real)
  • cost_cache_read (real)
  • cost_cache_write (real)
  • cost_audio_in (real)
  • cost_audio_out (real)
  • cost_reasoning (real)
  • interleaved (text)

Metadata

Release files for AImodelsDB 0.2.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 AImodelsDB 0.2.0
File Size Uploaded
aimodelsdb-0.2.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AImodelsDB 0.2.0
File Interpreter ABI Platform
aimodelsdb-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / aimodelsdb-0.2.0.tar.gz

Download URL aimodelsdb-0.2.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0cd207345716d26a89c592f9b20c3d86cc952680d2a27c8a238a3f337adf72b1
BLAKE2b-256 checksum
How to use checksums
1bf4594c034826c7aca841de8ce32024382d120deb96549c1d4ae27df7002ca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / aimodelsdb-0.2.0-py3-none-any.whl

Download URL aimodelsdb-0.2.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa3a37b2545e887467328f58944bf64d0629a9d59ee3b44c465cc8a5a22976d6
BLAKE2b-256 checksum
How to use checksums
f5c2016c865fe202904262306e47c84dbfeef88780965c33adbb0c9b3b1e0654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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