Integrations
Dify
Connect Dify to Token Harbor using its current supported provider settings.
Dify + Token Harbor
Get a key from /dashboard/api-keys, then follow these steps.
Dify → Settings → Model Provider → OpenAI-API-compatible:
API Key : YOUR_thk_KEY
API Base : https://tokenharbor.ai/v1
Model Name : deepseek-v4.1-flash:free (or any model from `tokenharbor models`)
Run Dify's provider credential check before enabling it in an app.
Official reference: https://docs.dify.ai/en/use-dify/workspace/model-providers
Replace YOUR_thk_KEY with your key. Fetch the available model IDs with an
authenticated GET https://tokenharbor.ai/v1/models, or use
tokenharbor models. The example free model uses your weekly allowance.
The Connect CLI prints the current values; application settings remain under your control. Send a short test message after saving.