# Dify

> Add Kurrens to Dify as an OpenAI-API-compatible model provider.

1. In Dify, go to **Settings → Model Provider** and install **OpenAI-API-compatible**.
2. Add a model:
   - **Model name**: a Kurrens model id, e.g. `deepseek-ai/DeepSeek-V4.1-Flash`
   - **API key**: your Kurrens key
   - **API endpoint URL**: `https://api.kurrens.ai/v1`
   - **Context length / max tokens**: from [Models](/docs/getting-started/models)
   - Enable **function calling** or **vision** only if the model supports it.
3. Save and select the model in your app or workflow.
