Skip to main content

1. Get an API key

Sign in at cogito.decart.ai, then create a key from Dashboard → API keys. Copy it once — we never show the full secret again.

2. Send a request

Cogito is OpenAI-compatible. Use the OpenAI SDK in any language; just point base_url at https://api.cogito.decart.ai/v1.

3. Stream tokens

Add stream: true to receive an SSE stream of OpenAI-compatible chunks.

Next