Docs · Updated 2026-07-25

Quickstart: log your first LLM call

Install the Chainyze SDK, create a project API key, and ingest your first prompt/response log in under five minutes.

Install

Run `npm i @chainyze/sdk` in your Node app. Create a free account, open the dashboard, and copy a project API key.

Log a call

Import the client, pass your key, and call `chainyze.log({ model, prompt, response, latencyMs })` after each LLM completion. Ingest is async — failures never block your user request path.

Verify

Refresh the dashboard log list. Free tier enforces a monthly call cap at ingest; upgrade to Pro when you hit the ceiling.

FAQ

Does logging add latency?

The SDK fires fire-and-forget HTTP; your LLM path continues without awaiting Chainyze.

What happens when I hit the Free cap?

Ingest returns a quota error. Upgrade to Pro or wait for the next billing month.

← All docs · Pricing · Sign up