NanoGPT Alternative | Subscription vs Pay-per-Token API (2026)
NanoGPT PRO ($12 a month, 60M input tokens a week, output free) costs less than ULK Cloud's pay-per-token price once you send more than about 744 GLM-5.3 roleplay messages a week at 8,000 input and 400 output tokens (2,663 on GLM-5.3 Flash, 4,274 on DeepSeek V4.1 Flash); below that, paying per token is cheaper. In SillyTavern, switch Chat Completion Source to Custom (OpenAI-compatible), use https://api.ulkcloud.com/v1, and change IDs like z-ai/glm-5.3 to glm-5.3.
If you want a NanoGPT alternative, start with how much you send each week. NanoGPT's PRO plan costs $12 a month and covers 60 million input tokens a week on its included open models, with output free (as of 2026-11-28). At a typical SillyTavern roleplay size of 8,000 input and 400 output tokens per message, PRO costs less than ULK Cloud's pay-per-token price once you send more than about 744 GLM-5.3 messages a week (about 106 a day), 2,663 on GLM-5.3 Flash, or 4,274 on DeepSeek V4.1 Flash. Below those volumes, paying per token costs less than the subscription. To move SillyTavern to ULK Cloud, change Chat Completion Source from NanoGPT to Custom (OpenAI-compatible), set Custom Endpoint (Base URL) to https://api.ulkcloud.com/v1, and replace NanoGPT model IDs such as z-ai/glm-5.3 with ULK Cloud IDs such as glm-5.3.
NanoGPT here means the API service at nano-gpt.com, not Andrej Karpathy's nanoGPT training code. ULK Cloud is our own API, so read the comparison with that in mind. NanoGPT's plans, prices, and docs were checked on its official pages on 2026-11-28, and the SillyTavern screens on SillyTavern 1.19.1 (commit 82b64a4).
NanoGPT PRO vs pay-per-token: what each one charges for
NanoGPT sells one subscription, PRO, and also a pay-as-you-go balance. ULK Cloud has only pay-per-token billing. The NanoGPT terms below are quoted from its pricing page as of 2026-11-28.
| NanoGPT PRO | NanoGPT pay-as-you-go | ULK Cloud | |
|---|---|---|---|
| Price | $12 per month | $0 per month, top up a balance | No monthly fee, top up a balance |
| What is counted | 60M input tokens per week; "Cached input counts in full" | Input and output tokens at list price | Input and output tokens at a fixed price per model |
| Output | "Output on included models is free" | Billed | Billed, including thinking tokens |
| Reset | Every Monday at 00:00 UTC | None | None |
| Models | Open-source text models ("GLM, DeepSeek, Kimi, MiniMax, MiMo, Qwen and more") | NanoGPT's catalog (599 text models listed) | Six models from the GLM-5.3 and DeepSeek V4.1 Flash families |
| Not covered | "Most closed models, such as Claude, GPT, Gemini and Grok", "Some uncensored models, such as GLM 5.3 Uncensored", choosing a specific provider | — | — |
NanoGPT PRO works over the API as well as on the web. NanoGPT's docs say to set the API key's "Billing mode" to "Subscription only" to bill requests to the subscription.
The key difference for roleplay is what each plan counts. NanoGPT PRO counts only input, and SillyTavern resends the character card and chat history with every message, so input is most of a roleplay bill. ULK Cloud bills input and output, and GLM-5.3 and DeepSeek V4.1 Flash bill their thinking tokens as output.
Break-even: when NanoGPT PRO costs less than pay-per-token
NanoGPT PRO costs less than ULK Cloud once your weekly volume passes the figures in this table. PRO's $12 a month is about $2.77 a week ($12 × 12 months ÷ 52 weeks). The break-even is $2.77 divided by what one message costs on ULK Cloud.
Assumptions: one roleplay message is 8,000 input tokens (character card, prompt, and chat history) and 400 output tokens. Thinking tokens are left out. ULK Cloud prices are from its pricing page as of 2026-11-28.
| ULK Cloud model | Price (1M in / out) | One message | Break-even per week | Per day | Weekly input at break-even |
|---|---|---|---|---|---|
glm-5.3 | $0.40 / $1.30 | $0.00372 | 744 messages | 106 | 5.96M tokens |
glm-5.3-flash | $0.12 / $0.20 | $0.00104 | 2,663 messages | 380 | 21.3M tokens |
deepseek-v4.1-flash | $0.07 / $0.22 | $0.000648 | 4,274 messages | 611 | 34.2M tokens |
The math for glm-5.3: 8,000 × $0.40 ÷ 1,000,000 = $0.0032 for input, plus 400 × $1.30 ÷ 1,000,000 = $0.00052 for output, so $0.00372 per message. $2.77 ÷ $0.00372 ≈ 744 messages a week.
All three break-even points are well inside PRO's allowance. At 8,000 input tokens per message, 60M tokens is 7,500 messages a week.
How to read the result:
- Under about 100 GLM-5.3 messages a day, pay-per-token costs less than PRO.
- Above the break-even, PRO costs less, and the gap grows with every message until the 60M weekly allowance runs out.
- Thinking moves the break-even lower. ULK Cloud bills GLM-5.3's and DeepSeek V4.1 Flash's thinking as output, while NanoGPT PRO does not bill output on included models. If a model thinks for 1,000 tokens per reply, a
glm-5.3message costs $0.00502 on ULK Cloud and the break-even drops to about 552 messages a week. - Longer chats move it lower too. A 16,000-token context doubles the input cost per message on ULK Cloud, but on PRO it only uses the weekly allowance faster.
To find your own number, click the Prompt button (the chart icon) on a recent reply in SillyTavern, read Total Tokens in Prompt in the Prompt Itemization window, and multiply it by your messages per week. SillyTavern labels these numbers as estimates. If the result is above the "Weekly input at break-even" column for your model, PRO is the cheaper plan.
Per-token prices: NanoGPT pay-as-you-go vs ULK Cloud
For pay-as-you-go use, neither provider is cheaper on every model. NanoGPT lists lower per-message prices for GLM-5.3 Flash, DeepSeek V4.1 Flash, and the abliterated models; ULK Cloud is lower for GLM-5.3 and GLM-5.3 Uncensored. NanoGPT prices are list prices from its pricing page and model list as of 2026-11-28, with auto routing.
| Model | NanoGPT ID and price (1M in / out) | ULK Cloud ID and price (1M in / out) | One message, NanoGPT / ULK Cloud |
|---|---|---|---|
| GLM-5.3 | z-ai/glm-5.3 $0.60 / $1.10 | glm-5.3 $0.40 / $1.30 | $0.00524 / $0.00372 |
| GLM-5.3 Flash | z-ai/glm-5.3-flash $0.10 / $0.30 | glm-5.3-flash $0.12 / $0.20 | $0.00092 / $0.00104 |
| DeepSeek V4.1 Flash | deepseek/deepseek-v4.1-flash $0.0387 / $0.40 | deepseek-v4.1-flash $0.07 / $0.22 | $0.00047 / $0.00065 |
| GLM-5.3 Uncensored | z-ai/glm-5.3-uncensored $1.25 / $2.25 | glm-5.3-uncensored $0.35 / $1.10 | $0.0109 / $0.0051 |
| GLM-5.3 Abliterated | z-ai/glm-5.3-abliterated $0.429 / $1.452 | glm-5.3-abliterated $3.00 / $6.00 | $0.0040 / $0.0423 |
| DeepSeek V4.1 Flash Abliterated | deepseek/deepseek-v4.1-flash-abliterated $0.297 / $1.045 | deepseek-v4.1-flash-abliterated $1.10 / $2.20 | $0.0028 / $0.0125 |
"One message" is 8,000 input and 400 output tokens, without thinking. The ULK Cloud figures for glm-5.3-uncensored, glm-5.3-abliterated, and deepseek-v4.1-flash-abliterated include the instruction prompt ULK Cloud adds to every request on those models, about 5,300 input tokens on the GLM models and 2,600 on the DeepSeek model, which is billed as input. NanoGPT's pages do not list an added prompt, so the NanoGPT figures use 8,000 input tokens.
Other details that change the bill:
- Subscription coverage. NanoGPT's model list marks
z-ai/glm-5.3andz-ai/glm-5.3-flash-uncensoredas "Included in subscription", andz-ai/glm-5.3-uncensoredas "Not included in subscription". ULK Cloud has no flash version of its uncensored model. - DeepSeek V4.1 Flash on NanoGPT. NanoGPT's model list describes
deepseek/deepseek-v4.1-flashas "a rate-limited beta with limited capacity, intended for testing rather than production use". The dated snapshotdeepseek/deepseek-v4.1-flash-1017is listed at $0.10 / $0.60. - Cache. NanoGPT's model list shows separate cache-read prices for pay-as-you-go. ULK Cloud bills all input at one price with no cache discount.
For fewer refusals in adult roleplay, the uncensored and abliterated models refuse less often than the standard ones, but no model answers everything. NSFW roleplay is for adults only, and ULK Cloud's terms require users to be 18 or older.
NanoGPT model IDs and their ULK Cloud equivalents
A NanoGPT model ID does not work on ULK Cloud. NanoGPT prefixes IDs with the developer (z-ai/, deepseek/), and ULK Cloud uses short IDs. On 2026-11-28 we sent z-ai/glm-5.3 to ULK Cloud and got a 404 with The model 'z-ai/glm-5.3' does not exist.
| NanoGPT model ID | ULK Cloud model ID |
|---|---|
z-ai/glm-5.3, z-ai/glm-5.3:thinking | glm-5.3 |
z-ai/glm-5.3-flash | glm-5.3-flash |
deepseek/deepseek-v4.1-flash, deepseek/deepseek-v4.1-flash-1017 | deepseek-v4.1-flash |
z-ai/glm-5.3-uncensored | glm-5.3-uncensored |
z-ai/glm-5.3-abliterated | glm-5.3-abliterated |
deepseek/deepseek-v4.1-flash-abliterated | deepseek-v4.1-flash-abliterated |
z-ai/glm-5.3-flash-uncensored, Claude, GPT, Gemini, Kimi, Qwen, and others | No equivalent |
ULK Cloud has these six models only. The :thinking suffix has no ULK Cloud counterpart: glm-5.3 thinks before it replies without a separate ID. Context lengths and output limits are on the models page.
Switching SillyTavern from the NanoGPT source to Custom
SillyTavern has a built-in NanoGPT source, and ULK Cloud connects through Custom (OpenAI-compatible) instead. The labels below are from SillyTavern 1.19.1.
- Open API Connections (the plug icon at the top).
- Keep API on Chat Completion.
- In Chat Completion Source, change NanoGPT to Custom (OpenAI-compatible). The NanoGPT fields (NanoGPT API Key, NanoGPT Model, Model Providers) are replaced by the Custom fields.
- In Custom Endpoint (Base URL), enter
https://api.ulkcloud.com/v1. SillyTavern adds/chat/completionsitself. - In Custom API Key, paste your ULK Cloud key. It starts with
sk-ulk-. - Click Connect. Available Models then lists ULK Cloud's six model IDs. Pick one, or type it in Enter a Model ID.
- Send a message to confirm the reply arrives.
SillyTavern keeps the NanoGPT key under the NanoGPT source, so switching back only means selecting NanoGPT again in Chat Completion Source.
Sampling settings change with the source. With the NanoGPT source, SillyTavern shows Top K, Repetition Penalty, Min P, and Top A sliders and sends top_k, repetition_penalty, min_p, and top_a. With Custom, those four sliders are hidden and not sent. Use Temperature, Top P, Frequency Penalty, and Presence Penalty, which Custom shows and ULK Cloud accepts.
Do not move min_p or top_a into Additional Parameters → Include Body Parameters. ULK Cloud rejects parameters it does not support instead of ignoring them. On 2026-11-28 a request with min_p returned 400 Unsupported parameter: 'min_p'., and one with top_a returned Unsupported parameter: 'top_a'. NanoGPT's own body field billing_mode is rejected the same way. A rejected request is not charged. Other SillyTavern settings that cause a 400 are covered in SillyTavern Bad Request causes and fixes.
The NanoGPT source's Use pay-as-you-go billing checkbox and Model Providers list exist only for NanoGPT. The checkbox makes SillyTavern send billing_mode: paygo, which bills that request to your NanoGPT balance even when you have PRO.
Payments, free credit, and limits
NanoGPT accepts crypto and has a lower first deposit; ULK Cloud gives free credit at sign-up and takes card, Alipay, and WeChat Pay, but no crypto. NanoGPT terms are from its pricing page as of 2026-11-28.
| NanoGPT | ULK Cloud | |
|---|---|---|
| Free to try | "One free model, available on web only" | $0.50 credit once per person, at first login |
| Card | "$1 minimum for your first card deposit, then $5" | $5 to $1,000 per top-up on Stripe's checkout page |
| Crypto | "from $0.10", Bitcoin, Monero and more | Not accepted |
| Subscription | PRO, $12 per month | None |
| Rate limit | Not compared here | 1,000 requests per minute per API key |
ULK Cloud's $0.50 credit covers about 134 messages on glm-5.3, 481 on glm-5.3-flash, or 772 on deepseek-v4.1-flash at 8,000 input and 400 output tokens. A second account with the same email address or an alias of it does not get another $0.50.
Which NanoGPT alternative fits your situation
The better choice depends on your weekly volume and the models you need.
- Heavy daily roleplay on GLM or DeepSeek (more than about 750 GLM-5.3 messages a week): stay on NanoGPT PRO. It costs less than any pay-per-token price at that volume, and output is free.
- Light or irregular use: pay per token. ULK Cloud is cheaper per message on
glm-5.3andglm-5.3-uncensored; NanoGPT pay-as-you-go is cheaper on GLM-5.3 Flash, DeepSeek V4.1 Flash, and the abliterated models. - GLM-5.3 Uncensored: ULK Cloud's
glm-5.3-uncensoredcosts $0.0051 per message including its added instruction prompt, against $0.0109 on NanoGPT, where PRO does not include it. - Claude, GPT, Gemini, Kimi, Qwen, or a choice of hundreds of models: NanoGPT. ULK Cloud has six models.
- Paying with crypto: NanoGPT. ULK Cloud takes card, Alipay, and WeChat Pay top-ups, but no crypto.
- Errors instead of silently ignored settings: ULK Cloud returns a 400 for a parameter it does not support, so a setting you rely on cannot quietly stop working. The exceptions are
top_k,repetition_penalty, andtransforms, which ULK Cloud accepts and ignores because Janitor AI sends them.
ULK Cloud does not fit if you need a monthly flat price, crypto payment, or models outside the GLM-5.3 and DeepSeek V4.1 Flash families.
FAQ
What is the NanoGPT API base URL?
NanoGPT's docs give https://api.nano-gpt.com/api/v1 as the OpenAI-compatible base URL. SillyTavern's built-in NanoGPT source uses https://nano-gpt.com/api/v1, which NanoGPT says keeps working with lower limits. ULK Cloud's base URL is https://api.ulkcloud.com/v1.
Does the NanoGPT subscription work with the API in SillyTavern?
Yes. NanoGPT's docs say to set the API key's "Billing mode" to "Subscription only". In SillyTavern's NanoGPT source, leave Use pay-as-you-go billing unchecked, because that checkbox bills requests to your balance instead.
Can I use my NanoGPT API key with ULK Cloud?
No. Each provider issues its own keys. ULK Cloud answers a key that is not its own with 401 invalid_api_key and Incorrect API key provided. ULK Cloud keys start with sk-ulk- and are created in the ULK Cloud console.
Is NanoGPT cheaper than ULK Cloud for DeepSeek V4.1 Flash?
On pay-as-you-go, yes per message: NanoGPT lists deepseek/deepseek-v4.1-flash at $0.0387 / $0.40 per million input / output tokens, about $0.00047 per 8,000-in / 400-out message, against $0.00065 on ULK Cloud's deepseek-v4.1-flash ($0.07 / $0.22), as of 2026-11-28. NanoGPT describes that model as a rate-limited beta.
Is NanoGPT the same as Karpathy's nanoGPT?
No. nanoGPT by Andrej Karpathy is open-source code for training small GPT models. NanoGPT at nano-gpt.com is a paid service that gives API access to many hosted models, and it is the one compared in this article.