← Back to Projects

NAKS — No API Key System

developer tool · AI · open source (MIT) · v1, November 2026

An open-source developer tool that lets you build AI features on your Claude subscription instead of paying for API tokens.

Source code and setup guide are on GitHub: github.com/genceumut/naks

The problem

When you build something on an LLM, most calls during development are throwaway: tweak a prompt and rerun, fix a bug and rerun. Each one costs API tokens, even though most developers already pay for a Claude plan they use every day.

The solution

NAKS sits between your code and the model API while you develop. If a question was asked before, the answer comes from disk and no model is called. If not, it's answered from your Claude subscription: either in a batch with /naks in a Claude chat, or instantly through Claude Code. In production, one setting switches the same code to the real API.

How a request travels through NAKS Your code calls ask() or an SDK, which goes to NAKS. If the question was answered before, the answer comes from disk and no model is called. If not, the mode decides: chat queues it for /naks in a Claude chat, cli answers instantly through Claude Code with a daily limit, record calls the real API once, and api calls the real API in production. Answers from chat, cli and record are saved to .naks/responses/. Your code ask() or SDK NAKS Asked before? yes Answer from disk no model is called no Otherwise, depending on the mode: chat queue → /naks in a Claude chat cli instantly via Claude Code (daily limit) record real API, once api real API (production) Answer saved: .naks/responses/ from your subscription from the API (paid)
A request's path through NAKS. Only record and api spend API tokens.

Without changing your code

Projects that already use the official Anthropic or OpenAI SDKs don't need to call ask(). Start your usual command through naks-dev and the SDK's requests go to a local NAKS server instead of the real API.

How naks-dev works without code changes Your project, using the Anthropic or OpenAI SDK, is pointed at naks serve on localhost:4141 through ANTHROPIC_BASE_URL or OPENAI_BASE_URL. naks serve answers either through a Claude chat with /naks or through Claude Code with claude -p. Your project Anthropic / OpenAI SDK ANTHROPIC_BASE_URL / OPENAI_BASE_URL naks serve localhost:4141 or Claude chat (/naks) Claude Code (claude -p)
Your project's code doesn't change. The SDK thinks it's talking to the real API.

Highlights

About the project

NAKS is an independent project, not an Anthropic product. It's open source under the MIT license. View it on GitHub.