Skip to main content

SQLite database of AI models as fetched from models.dev

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aimodelsdb-0.2.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aimodelsdb-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file aimodelsdb-0.2.0.tar.gz.

File metadata

  • Download URL: aimodelsdb-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aimodelsdb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0cd207345716d26a89c592f9b20c3d86cc952680d2a27c8a238a3f337adf72b1
MD5 44b4254104fc8b7ee4aae1227ec42b3e
BLAKE2b-256 1bf4594c034826c7aca841de8ce32024382d120deb96549c1d4ae27df7002ca3

See more details on using hashes here.

File details

Details for the file aimodelsdb-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aimodelsdb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aimodelsdb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3a37b2545e887467328f58944bf64d0629a9d59ee3b44c465cc8a5a22976d6
MD5 ec0f19ecd03b2e048bfda2f5cd602131
BLAKE2b-256 f5c2016c865fe202904262306e47c84dbfeef88780965c33adbb0c9b3b1e0654

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page