ClinCog is free to try, right here on this domain – but every conversation you have on this page draws from the author's own API budget, which is why it's kept deliberately modest for casual use.
There are two different ways to adopt ClinCog for a real class, depending on how much control you want.
Continuing below sets up Option A. Your keys are stored only in this browser's local storage. They're sent to ClinCog's server with each request – used for that single call, then discarded – never logged, never saved anywhere server-side.
/api/icd/token failing – check that ICD_CLIENT_ID / ICD_CLIENT_SECRET (or the demo pair) are set as Worker secrets, and that you’re not offline.