Dify integration

Dify API key setup

Dify workflows can grow expensive when requests loop or context gets large. Start with a scoped key so the first request stays reversible. NexRelay keeps the first test small and reversible.

Dify API keyDify API keyDify prepaid APIDify gateway

Why this setup works

A dedicated Dify key keeps testing separate from production while NexRelay adds prepaid balance checks and request logs.

Recommended setup

Create one key per workflow, keep the model list narrow, and begin with trial credits.

  • One key per Dify workflow
  • Start with a small budget
  • Keep the model list narrow
  • Review the first log entry

What to verify

Confirm the first request appears in the ledger with the expected model, token count, and billed amount.

FAQ

Can this client use a NexRelay API key?

Yes, when it supports a compatible base URL and API key field.

Why keep the key separate?

A separate key is easier to cap, rotate, and disable without touching other tools.