> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nano-gpt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JanitorAI

> Using NanoGPT with JanitorAI's custom API integration

# Using JanitorAI with NanoGPT

A quick guide to connecting JanitorAI chats to NanoGPT's API.

## Setup Instructions

1. Get your API key from [nano-gpt.com/api](https://nano-gpt.com/api)

2. In JanitorAI, open **API Settings**

3. Select **Proxy** as the provider

4. Click **+ Add** under **Proxy Configurations**

5. Configure the proxy with the following values:

   ```text theme={null}
   Configuration Name: any label, e.g. NanoGPT
   Model Name: Model ID, e.g. zai-org/glm-5.1
   Proxy URL: https://nano-gpt.com/api/v1/chat/completions
   API Key: <your NanoGPT API key>
   ```

6. Click **Apply**, then make sure the NanoGPT proxy configuration is marked **Active**

JanitorAI now routes your conversations through NanoGPT.

## Available Models

Model IDs can be found on the [NanoGPT pricing page](https://nano-gpt.com/pricing).

## Include Reasoning

If you want JanitorAI to include reasoning output for reasoning-capable models, duplicate the configuration above and change the proxy URL to:

```text theme={null}
https://nano-gpt.com/api/v1thinking/chat/completions
```

## Troubleshooting

If JanitorAI shows a **PROXY ERROR** like this:

<Frame>
  <img src="https://mintcdn.com/nano-gpt/VewASTUpVjOBWKKW/images/integrations/janitorai-proxy-error.svg?fit=max&auto=format&n=VewASTUpVjOBWKKW&q=85&s=2a486b616170e0a48333e578dc2ef0de" alt="JanitorAI proxy error saying no response from bot" width="1058" height="300" data-path="images/integrations/janitorai-proxy-error.svg" />
</Frame>

The most common causes are:

* You used a paid model that is not included in your subscription and your NanoGPT account has no balance.
* The proxy configuration is wrong. Re-check that **Proxy URL** is `https://nano-gpt.com/api/v1/chat/completions` or `https://nano-gpt.com/api/v1thinking/chat/completions`, and that your API key has no extra spaces.
