# Integrate Open Source Models from Replicate

Dify supports accessing [Language models](https://replicate.com/collections/language-models) and [Embedding models](https://replicate.com/collections/embedding-models) on Replicate. Language models correspond to Dify's reasoning model, and Embedding models correspond to Dify's Embedding model.

Specific steps are as follows:

1. You need to have a Replicate account ([registered address](https://replicate.com/signin?next=/docs)).
2. Get API Key ([get address](https://replicate.com/signin?next=/docs)).
3. Pick a model. Select the model under [Language models](https://replicate.com/collections/language-models) and [Embedding models](https://replicate.com/collections/embedding-models) .
4. Add models in Dify's `Settings > Model Provider > Replicate`.

<figure><img src="https://3866086014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRncMhlfeYTrpujwzDIqw%2Fuploads%2Fgit-blob-0ef5f751388fb6bb290c92502e48ddefac410fd1%2Fset-up-replicate.png?alt=media" alt=""><figcaption></figcaption></figure>

The API key is the API Key set in step 2. Model Name and Model Version can be found on the model details page:

<figure><img src="https://3866086014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRncMhlfeYTrpujwzDIqw%2Fuploads%2Fgit-blob-47df9c32dc2fa4db8ad6fc9b2b0a846a21494ae0%2Freplicate-version.png?alt=media" alt=""><figcaption></figcaption></figure>
