Docs

Cline.

Cline is a VS Code extension that edits files and runs commands for you. It ships a generic provider called OpenAI Compatible, which is exactly what NaN needs.

Configuration

Open Cline’s settings

In VS Code, open the Cline panel and go into its settings with the gear icon.

Choose the provider

In API Provider, select OpenAI Compatible.

Fill in the three fields

FieldValue
Base URLhttps://api.nan.builders/v1
API Keyyour key, the one that starts with sk-
Model IDglm5.3-flash

The base URL ends at /v1

This is the most common mistake with this provider: pasting https://api.nan.builders/v1/chat/completions instead of just the base. Cline appends the endpoint part on its own, so with the full path you would end up calling an address that does not exist.

Declare what the model can do

Cline asks because with a generic provider it has no way of finding out:

ModelContextImagesTools
glm5.3-flash1000000yesyes
deepseek-v4-flash1000000yesyes
qwen3.8-flash262144yesyes
glm5.31000000noyes

If you tick images on a model that does not accept them, Cline will try to send it screenshots and the request will fail.

Try it

Open a folder with code and ask it for something small and observable, for instance to read the README and summarize what the project does. If it answers and asks for permission to touch files, it is connected.

glm5.3-flash. It is the one that best withstands the long rounds of reading, editing and reading again that Cline does, and its quota is enough to work with.

Known issues
  • Cline eats a lot of context. It sends file contents on every turn, so it spends tokens far faster than a chat does. Watch your quota at cloud.nan.builders.
  • The four fields have to come from the same place. Provider, base URL, key and model, all NaN. Mixing a key from one place with a base URL from another always gives a 401.
  • Roo Code and the other derivatives are configured the same way. They are Cline forks and have the same generic provider, with the same four fields.
nan.builders © 2026
Copied to clipboard