Files
dify-docs/en/development/models-integration/replicate.mdx
2025-05-04 02:50:25 +08:00

43 lines
2.3 KiB
Plaintext

---
title: 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`.
![](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/development/models-integration/b11aa84eb58e4457b47696f077389e37.png)
The API key is the API Key set in step 2. Model Name and Model Version can be found on the model details page:
![](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/development/models-integration/95e2ad371c82ef7ef641192f2bf1a1f8.png)
{/*
Contributing Section
DO NOT edit this section!
It will be automatically generated by the script.
*/}
<CardGroup cols="2">
<Card
title="Edit this page"
icon="pen-to-square"
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/en/development/models-integration/replicate.mdx"
>
Help improve our documentation by contributing directly
</Card>
<Card
title="Report an issue"
icon="github"
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20c&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fen/development/models-integration%2Freplicate.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
>
Found an error or have suggestions? Let us know
</Card>
</CardGroup>