탐색으로 건너뛰기

Using BeatAPI in JanitorAI

Markdown으로 보기

JanitorAI connects to external model providers through its Proxy option, which requires an OpenAI-compatible Chat Completions URL. If you are replacing overloaded free proxies or No matching chute found and Failed to fetch errors, BeatAPI provides one prepaid key for DeepSeek, Gemini, Grok, GLM, MiniMax, and GPT models. JanitorAI does not append /chat/completions automatically, so Proxy URL must contain the full completions path.

Protocol boundary for Claude models

JanitorAI’s Proxy sends POST /v1/chat/completions requests only. On BeatAPI, Claude models are served exclusively on Anthropic Messages (POST /v1/messages), so entering a Claude model ID in JanitorAI Proxy returns 404 not_found.

In JanitorAI, select BeatAPI’s OpenAI-compatible model families: Gemini, DeepSeek, Grok, GPT, GLM, Qwen, Kimi, MiniMax, MiMo, Hunyuan, or Muse. To call BeatAPI Claude models, use a client that supports Anthropic Messages endpoints such as SillyTavern.

Prerequisites

  1. A JanitorAI account with any character chat open.
  2. A dedicated BeatAPI API key from Dashboard → API Keys. Setting a per-key quota cap keeps browser-side spend bounded.

Step 1: Open Proxy settings in JanitorAI

  1. Open any character chat on JanitorAI.
  2. Click API Settings in the top-right menu (or click the model banner at the top of the chat).
  3. Switch the provider tab to Proxy.
  4. Under Proxy Configurations, click + New to add a BeatAPI profile.

Step 2: Fill in the BeatAPI Proxy fields

JanitorAI fieldValue to enter
Configuration NameBeatAPI (or any label you recognize)
Proxy URLhttps://direct.beatapi.io/v1/chat/completions (East/Southeast Asia: https://api-asia.beatapi.io/v1/chat/completions)
ModelExact case-sensitive BeatAPI model ID
API KeyYour BeatAPI API key

Confirm that Proxy URL ends with /v1/chat/completions, with no trailing slash and no duplicated /v1.

Step 3: Pick a compatible BeatAPI model

You can verify the configuration at zero balance with a -free model before switching to a paid model:

Model IDContext windowTypical use in JanitorAI
deepseek-v4.1-flash-freeFree tierZero-balance setup test
glm-5.3-flash-freeFree tierZero-balance setup test
deepseek-v4-pro-08131,000,000Long-form storytelling and reasoning at low cost
gemini-4-neon1,048,576Long chats with large character definitions
grok-4.7500,000Direct conversational roleplay
MiniMax-M31,048,576High-volume daily chats at low per-token cost
gpt-6.2-sol1,050,000Balanced instruction following and prose

Live rates are on the pricing page, and all OpenAI-compatible model IDs are listed in the Text API reference.

Step 4: Save, refresh, and test

  1. Click Save Settings in JanitorAI, then hard-refresh the browser page (Ctrl+Shift+R or Cmd+Shift+R). JanitorAI can retain the previous provider configuration in memory until the page reloads.
  2. In Generation Settings, enable streaming and set Max new tokens between 1000 and 4096. Leaving Max new tokens unlimited on a small balance can trigger 402 insufficient_credits.
  3. Send one short message and confirm the character replies.

Troubleshooting and next steps