Models.dev: open-source database of AI model specs, pricing, and capabilities Models.dev is an open-source, community-contributed database that provides comprehensive specifications, pricing, and capabilities for AI models, accessible via an API and stored as TOML files organized by provider. The project aims to address the lack of a single, centralized database for all available AI models, and it relies on community contributions to keep the data up to date. Users can add new models by creating provider directories with TOML configuration files and SVG logos, following specific formatting guidelines for model attributes like cost, limits, and supported modalities. Models.dev https://models.dev is a comprehensive open-source database of AI model specifications, pricing, and capabilities. There's no single database with information about all the available AI models. We started Models.dev as a community-contributed project to address this. We also use it internally in opencode https://opencode.ai . You can access this data through an API. curl https://models.dev/api.json Use the Model ID field to do a lookup on any model; it's the identifier used by AI SDK https://ai-sdk.dev/ . Provider logos are available as SVG files: curl https://models.dev/logos/{provider}.svg Replace {provider} with the Provider ID e.g., anthropic , openai , google . If we don't have a provider's logo, a default logo is served instead. The data is stored in the repo as TOML files; organized by provider and model. The logo is stored as an SVG. This is used to generate this page and power the API. We need your help keeping the data up to date. To add a new model, start by checking if the provider already exists in the providers/ directory. If not, then: If the provider isn't already in providers/ : - Create a new folder in providers/ with the provider's ID. For example, providers/newprovider/ . - Add a provider.toml with the provider details: name = "Provider Name" npm = "@ai-sdk/provider" AI SDK Package name env = "PROVIDER API KEY" Environment Variable keys used for auth doc = "https://example.com/docs/models" Link to provider's documentation If the provider doesn’t publish an npm package but exposes an OpenAI-compatible endpoint, set the npm field accordingly and include the base URL: npm = "@ai-sdk/openai-compatible" Use OpenAI-compatible SDK api = "https://api.example.com/v1" Required with openai-compatible To add a logo for the provider: - Add a logo.svg file to the provider's directory e.g., providers/newprovider/logo.svg - Use SVG format with no fixed size or colors - use currentColor for fills/strokes Example SVG structure: