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. 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. 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: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> <!-...
First seen: 2026-05-22 21:26
Last seen: 2026-05-23 07:31