Welcome to NaN.
This documentation explains how to connect your tools to our GPUs. The cluster runs open models behind an OpenAI-compatible API. If something accepts a base URL and an API key, it works with NaN. The exception is a tool that speaks a different protocol: Claude Code talks to Anthropic’s API, not to an OpenAI-compatible one, so it reaches the cluster through OpenCode or through a local gateway. Its page explains both.
To get your API Key You have to be a member of the NaN community. You can generate your API Key from the user settings, under “API Keys” on the platform. The key is personal and non-transferable.
The essentials
| Field | Value |
|---|---|
| Base URL | https://api.nan.builders/v1 |
| Authentication | Authorization: Bearer sk-your-key |
| Format | OpenAI-compatible |
Limits are per API key — a cap on requests per minute and a maximum number of requests at once — and some models add one of their own on top. The current figures are at the end of Models, which is where they are published so that no two versions of the same number go around.
Where to go next
- Getting started: from zero to your first response, with curl, Python and Node.
- Choose your model: which model to ask for each task, and how its id is spelled.
- Set up your agent: Claude Code, Codex, Cursor, Cline, OpenCode, Zed and company.
- NaN CLI: the official terminal tool, which also configures several of them for you.
- MCP server: NaN’s web search inside your agent.
- API reference: every endpoint, field by field.
- Models: the spec sheets and the limits.
- Examples: snippets in Python, Node.js and curl.
- Support: report issues in
#supporton Discord.