Skip to main content
The request/response shapes are OpenRouter’s (OpenAI-compatible) — see the LLM primitive guide and OpenRouter’s API reference. Billed in Naive credits from OpenRouter’s returned usage.cost. Per-user and AccountKit-gated like other primitives (naive.forUser(id).llm).
Prefer the drop-in proxy (baseURL: https://api.usenaive.ai/v1/proxy/openrouter) if you want to keep using the OpenAI/OpenRouter SDK unchanged. See LLM → Use Naive instead of OpenRouter.