Back to Ai

Adding a new model

contributing/add-new-model.md

2.1.10455 B
Original Source

Adding a new model

  1. Add model id to settings (model ids) for auto-complete
  2. Add model id to list in provider page under /content/providers/... (Model Capabilities table at the bottom)
  3. If the model is notable, add to
    • content/providers/01-ai-sdk-providers/index.mdx
    • content/docs/02-foundations/02-providers-and-models.mdx
  4. PR with changeset
  5. NPM publish through Changesets PR

Example PR: https://github.com/vercel/ai/pull/7313