DEV Community

noxlie
noxlie

Posted on

NanoGPT + SillyTavern: The Complete Setup Guide

NanoGPT + SillyTavern: The Complete Setup Guide

Turn any AI model into a fully customizable, privacy-respecting chat experience.


If you've been exploring the AI space beyond ChatGPT's walled garden, you've probably heard of SillyTavern. It's the most popular open-source frontend for AI conversations, loved by power users for its customization, character creation, and flexibility.

The problem? SillyTavern needs an API backend. And most people either use OpenAI's API (privacy concerns) or try to run models locally (hardware limitations).

NanoGPT solves this perfectly. It gives you API access to GPT-4o, Claude, Llama, and more — without the subscription overhead or privacy concerns of direct provider accounts. Combined with SillyTavern, you get a powerful, private, customizable AI setup.

Here's exactly how to set it up.

What You'll Need

Before we start, gather these:

  • A computer (Windows, Mac, or Linux)
  • Node.js 18+ installed (for SillyTavern)
  • A NanoGPT account with credits loaded
  • About 30 minutes of setup time

Optional but recommended:

  • A text editor like VS Code
  • Basic comfort with terminal/command line

Part 1: Setting Up NanoGPT

Step 1: Create Your Account

Head to nano-gpt.com and create an account. You'll need an email address — no phone number or government ID required.

Step 2: Load Credits

Navigate to your dashboard and add credits. I recommend starting with $5-10 to test. NanoGPT offers a 5% discount on your first purchase.

Step 3: Get Your API Key

In the dashboard, find the API Keys section. Create a new key and copy it. You'll need this for SillyTavern.

Important: Save this key somewhere safe. You can only view it once.

Step 4: Check Available Models

Note which models are available. Common options include:

  • GPT-4o (best all-around)
  • Claude 3.5 Sonnet (excellent for writing)
  • Llama 3.1 70B (good balance of speed and quality)
  • Various smaller models (cheaper per prompt)

Part 2: Installing SillyTavern

Step 1: Get the Code

Open a terminal and clone SillyTavern:

git clone https://github.com/SillyTavern/SillyTavern.git
cd SillyTavern
Enter fullscreen mode Exit fullscreen mode

Step 2: Install Dependencies

npm install
Enter fullscreen mode Exit fullscreen mode

This takes a few minutes. Go grab a coffee.

Step 3: Start SillyTavern

node server.js
Enter fullscreen mode Exit fullscreen mode

You should see output like:

SillyTavern is listening on port 8000
Enter fullscreen mode Exit fullscreen mode

Open your browser and go to http://localhost:8000. You'll see the SillyTavern interface.

Step 4: First Launch Setup

On first launch, SillyTavern will walk you through a basic setup:

  • Theme: Pick whatever you like
  • Default preset: Choose "Default" or "OpenAI"
  • Extensions: Skip for now (we'll come back to these)

Part 3: Connecting NanoGPT to SillyTavern

This is the important part. SillyTavern needs to know how to talk to NanoGPT's API.

Step 1: Open API Settings

In SillyTavern, click the API Connections icon (usually looks like a plug or chain link) in the top bar. This opens the connection settings panel.

Step 2: Select Connection Type

NanoGPT uses an OpenAI-compatible API format. Select "OpenAI" as your API type from the dropdown.

Step 3: Enter Your API Details

In the API configuration section:

  • API URL: Enter the NanoGPT API endpoint (check their documentation — it's typically something like https://api.nano-gpt.com/v1 or similar)
  • API Key: Paste the key you created in Part 1
  • Model: Select or type the model you want to use

Step 4: Test the Connection

Click the test button or send a simple message in the chat. If everything is configured correctly, you'll get a response from the model.

Troubleshooting:

  • If you get a connection error, double-check the API URL
  • If you get an authentication error, verify your API key
  • If you get a model error, make sure the model name matches what NanoGPT offers

Step 5: Configure Your Settings

In SillyTavern's preset settings, adjust:

  • Temperature: 0.7-1.0 for creative writing, 0.3-0.5 for factual tasks
  • Max tokens: 200-2000 depending on expected response length
  • Top-P: 0.9 is a good default
  • Frequency/Presence penalty: Leave at 0 unless you notice repetition

Part 4: Getting the Most Out of the Setup

Character Creation

SillyTavern's killer feature is character creation. You can create custom AI characters with specific personalities, knowledge, and behaviors.

  1. Click the Characters icon
  2. Click Create Character
  3. Fill in the details:
    • Name: What the character is called
    • Description: How the character looks and behaves
    • System Prompt: The character's core instructions and personality
    • Example Messages: Sample dialog to set the tone

For a productivity assistant, your system prompt might be:

You are a helpful assistant who provides clear, actionable advice. 
You are direct and concise. You ask clarifying questions when the 
user's request is ambiguous. You never make up information.
Enter fullscreen mode Exit fullscreen mode

World Building

SillyTavern supports "world info" — context that the AI draws from. Create world info entries for:

  • Frequently referenced topics
  • Your business or project details
  • Character relationships in creative writing
  • Reference material for research tasks

Presets and Optimization

Save different presets for different use cases:

  • Writing preset: Higher temperature, more tokens
  • Coding preset: Lower temperature, focused system prompt
  • Brainstorming preset: High temperature, diverse responses

Part 5: Privacy Configuration

Since we're focused on privacy, here are some important settings:

Disable Analytics

In SillyTavern's settings:

  • Turn off any telemetry or analytics options
  • Disable auto-update checks if you want maximum privacy
  • Review which extensions are active and disable unnecessary ones

Local Storage

SillyTavern stores conversations locally on your machine by default. This is good for privacy, but:

  • Consider encrypting your storage drive
  • Back up your SillyTavern folder if you want to preserve conversations
  • Clear conversations you no longer need

API Data

With NanoGPT as your backend:

  • Your prompts go to NanoGPT's servers for processing (not OpenAI's)
  • Check NanoGPT's data retention policy
  • For maximum privacy, use models that don't train on API data

Part 6: Advanced Tips

Multi-Model Setup

One of the best parts of NanoGPT is access to multiple models. In SillyTavern, you can:

  1. Create different presets for different models
  2. Switch between models mid-conversation
  3. Use GPT-4o for complex reasoning, Llama for quick tasks

Context Management

SillyTavern has excellent context window management:

  • Context size: Set this to match your model's limit
  • Memory: Pin important information that persists across messages
  • Summarize: For long conversations, enable automatic summarization

Extensions Worth Installing

  • Third-party formatting: Better markdown rendering
  • Voice: Text-to-speech for your AI characters
  • Image generation: Connect to Stable Diffusion for character art
  • Translation: Auto-translate conversations to/from other languages

Performance Tips

  • Use streaming responses for faster perceived speed
  • Set appropriate max tokens — don't request 4000 tokens if you need 200
  • Cache common world info entries
  • Close unnecessary browser tabs (SillyTavern is RAM-hungry in the browser)

Common Issues and Fixes

"SillyTavern won't start"

  • Make sure Node.js is installed and up to date
  • Try deleting node_modules and running npm install again
  • Check if port 8000 is already in use

"API errors in SillyTavern"

  • Verify your NanoGPT API key is valid and has credits
  • Check that the API URL matches NanoGPT's documentation
  • Try a different model to isolate the issue

"Responses are slow"

  • Larger models are slower — try a smaller model
  • Check your internet connection
  • NanoGPT may be experiencing high load — try again later

"SillyTavern updated and something broke"

  • Check the GitHub issues page
  • Roll back to a previous version using git
  • Wait for a hotfix

Cost Breakdown

Here's what a typical month costs with this setup:

Usage Level Prompts/Day Monthly Cost
Light 5-10 $2-5
Moderate 20-40 $5-15
Heavy 50-100 $15-40
Power User 100+ $40-80

Compare this to ChatGPT Plus ($20/month flat) or Claude Pro ($20/month flat). For light-to-moderate users, the pay-per-prompt model saves money. For heavy users, it costs more — but you get the SillyTavern customization that makes the extra cost worth it.

Final Thoughts

The NanoGPT + SillyTavern combo is, in my opinion, the best way to use AI in 2026. You get:

  • Access to multiple models without multiple subscriptions
  • A fully customizable interface that adapts to your workflow
  • Better privacy than direct provider accounts
  • Cost efficiency for most usage patterns
  • Full control over your AI experience

It takes 30 minutes to set up, and once you've experienced the flexibility, going back to a plain ChatGPT interface feels limiting.

The AI landscape is moving toward user control. NanoGPT + SillyTavern is where that future lives today.


Want a deeper comparison of NanoGPT vs ChatGPT, or guidance on other privacy-first AI tools? Check out AI Privacy Tools for comprehensive reviews and setup guides.

Top comments (0)