TokenReply

Loading…

Reload

Dify with TokenReply

Use a Dify provider that exposes a custom API base URL, enter TokenReply /v1 plus a TokenReply key, and add the exact model ID as a custom model.

Last checked · Sources: Official client documentation and TokenReply route review

Category
Workflow platform
API format
OpenAI-compatible model provider
Endpoint setting
Custom provider or custom base URL

Setup

  1. Check the installed Dify provider plugin version and confirm it exposes a custom base URL.
  2. Set the base URL to TokenReply /v1 and store the API key in Dify credentials.
  3. Add the exact catalog ID as a custom LLM model when it is not auto-discovered.
  4. Run Dify credential validation and a minimal chat application before adding tools or knowledge retrieval.
Example
Provider type: OpenAI compatible
API base URL: https://api.tokenreply.com/v1
API key: sk-your-token-here
Model: YOUR_MODEL_ID

How to verify

  • Dify accepts the provider credentials without falling back to the official OpenAI host.
  • The custom model produces a response in a minimal chat application.
  • Embedding, rerank, speech, and LLM model types are configured separately when used.

Limitations

  • Dify provider fields and plugin availability vary by version and deployment.
  • An LLM configuration does not automatically configure embedding, rerank, speech, or image operations.
  • If the installed provider cannot set a custom base URL, use a maintained custom provider plugin rather than editing requests in transit.

Troubleshooting

SymptomWhat it usually meansWhat to do
Credential validation still reaches OpenAIThe selected provider plugin ignores or does not expose a custom base URL.Use a compatible provider/plugin version with an explicit endpoint field.
Chat works but knowledge retrieval failsThe workflow also needs an embedding or rerank model type.Configure each required model type with a catalog route that advertises that endpoint.

Resources

Ready to try it?