Docs

Choose your model.

On NaN, switching models means changing one word. They are all called the same way, through the same endpoint and with the same request format: the only thing that changes is the value of the model field.

{
  "model": "deepseek-v4-flash",
  "messages": [{ "role": "user", "content": "Hello" }]
}

That value is the model id, and it has to be spelled exactly. One dot too many or one hyphen too few and the API answers 404 with model_not_found. This page is the good list.

Start here

If you do not know which one to pick, look for what you want to do in the first column.

I want toAsk forWhy
Chat or reason about something, plainlydeepseek-v4-flashIt is the best general-purpose model on the cluster, and it reads images
Drive a coding agent through long sessionsglm5.3It is built for that. One of the larger models: it uses credits faster
The same, spending fewer creditsglm5.3-flashSame 1M context, at a fraction of the credits per token
Get an answer fastqwen3.8-flashLess depth, much less waiting
Hand the model an audio file directlymimo-v2.6-flashIt hears audio natively
Hand the model a videoglm5.3The only one that watches video
Describe or analyze an imagedeepseek-v4-flashAny chat model will do; this is the best
Try things without spending creditsgemma4It does not draw credits
Build a search engine or a RAGqwen3-embedding and then rerankFirst you retrieve by similarity, then you reorder by relevance
Turn text into audiokokoro67 voices, two of them Spanish
Transcribe audiowhisperMore than 99 languages, with automatic detection
Generate or edit an imageflux-2-kleinText to image and image to image
Generate an image with clean text renderingqwen-image-2.1Text to image

Weighing models by cost? The community model guide compares the credit rates of the chat models, task by task, with a simulator for your own token mix.

Every model

idWhat forContextAcceptsBilling
deepseek-v4-flashGeneral chat and reasoning1Mtext · imagecredits
glm5.3Coding agents and long tasks1Mtext · image · audio · videocredits · larger model
glm5.3-flashCoding agents, fewer credits1Mtext · imagecredits
qwen3.8-flashFast answers1Mtext · imagecredits
mimo-v2.6-flashThe newest MiMo, omnimodal1Mtext · image · audiocredits
kimi-k3.1-proFrontier reasoning for agents and coding1Mtext · imagecredits · larger model
qwen3.8-maxThe largest Qwen 3.8, hard reasoning1Mtext · imagecredits · larger model
deepseek-v4-proLarge reasoning and coding model1Mtextcredits · larger model
hy4Agents and long documents, the lowest-priced of the larger models1Mtext · imagecredits · larger model
gemma4Short tasks and testing262Ktext · imageno counter
qwen3.6Previous generation262Ktext · imageno counter
qwen3-embedding4096-dimension vectors-textno counter
rerankReorder by relevance-textno counter
kokoroText to speech-textno counter
whisperSpeech to text-audiono counter
flux-2-kleinGenerate and edit images-text · image100 requests/month
qwen-image-2.1Generate images (text→image)-text100 requests/month (shared pool)

The full spec sheets, with parameters, licenses and reasoning modes, are in Models.

One pool of credits for every model Inference and Premium include credits every billing period: 7,000 on Inference, 20,000 on Premium. Every model marked credits draws from that same pool, by its price per token (input, cached input and output), so there is no separate allowance per model. The ones marked larger model (glm5.3, kimi-k3.1-pro, qwen3.8-max, deepseek-v4-pro, hy4) are called the same way and use credits faster. The price of each model per 1M tokens is on its card at cloud.nan.builders/tokens.

When the pool is spent, requests draw from your credit packs. Without credits left, the answer is a 402 insufficient_balance, which a credit pack or your next billing period fixes and retrying does not. The Community plan and accounts without a membership include no credits: they can buy credit packs and use these models with them.

How to read the ids

  • The id is not the commercial name. The model its makers call “GLM 5.3 Flash” is glm5.3-flash here, lowercase, no spaces, and with the version dot.
  • -flash means fast, not small or worse: these are variants optimized for latency.
  • The version dot counts. qwen3.6 and qwen3.8-flash are different models, and mimo-v2.6-flash carries its dot where it carries it.
  • Ids do not change meaning. When we serve a new variant of a model we keep its id if the API is the same. deepseek-v4-flash, for instance, started reading images without changing its name.
  • Old ids are not switched off overnight. qwen3.6 still answers so that configurations already naming it do not break, but it is not what you want if you are starting today.

What the billing column means

The billing column says how each model is paid for:

  • credits draws from your plan’s credits, then from your credit packs. The pool goes back to full when your billing period starts in Stripe, which is almost never the 1st. A cheaper model per token simply makes the same credits last longer.
  • credits · larger model works the same way, but the model costs more per token, so the same work uses credits faster. glm5.3 also has a token cap for each rolling 4-hour window, which is the one an intensive agent session hits first.
  • no counter means the model does not draw credits, not that it is infinite: the requests-per-minute limits apply to all of them just the same.
  • requests/month is the image budget: its own counter, which goes back to zero with the calendar month and does not touch your credits.

Credit packs come in 1,000, 5,000 and 25,000 credits, or any amount from 5€ to 1,000€; Inference and Premium members pay 5% less, and you can turn on automatic recharge. Without credits the API answers 402, and the glm5.3 window answers 429: retrying right away does not fix either. The current limit figures are at the end of Models.

The list your key can use

This page is written by hand and the cluster moves. The definitive answer, filtered by what your key can actually call, comes from the API itself:

curl https://api.nan.builders/v1/models \
  -H "Authorization: Bearer $NAN_API_KEY"

If an id shows up there, it works. If it does not, you do not have it available, whatever you read somewhere else.

Next steps

  • Set up your agent: where to put the id in Cursor, Claude Code, Codex, Cline, OpenCode or Zed.
  • Examples: one complete call for each kind of model.
  • Models: the spec sheets, model by model.
nan.builders © 2026
Copied to clipboard