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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aimodelsdb-0.1.0.tar.gz.
File metadata
- Download URL: aimodelsdb-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d036fe0fbe9128899fc14966532710a98e7554c053d286e1e7ea287313dbf74a
|
|
| MD5 |
051dec59403ebae998d88572882905d3
|
|
| BLAKE2b-256 |
d7409e6f8bcb5298e783c6e42987c3477fc3d91902362958b3ec230d956f26c2
|
File details
Details for the file aimodelsdb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aimodelsdb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c40a7ed9acfabeaa886ac0be2ff325d6d861649bc42e0d76b50a5701a60d2a46
|
|
| MD5 |
46eb4ed3911b0bf5db18c412d9db650b
|
|
| BLAKE2b-256 |
d98a344527e80d093eb3cb1f5c149782eaf70c6d933d9b2e3d7e0d8ce51f4f3c
|