Skip to navigation

Using BeatAPI in Chub AI

View as Markdown

Chub AI (chub.ai, Web / iOS / Android) lets you chat directly on community character cards and lorebooks through its Secrets menu. The main setup trap in Chub AI is that its OpenAI and Anthropic Reverse Proxy fields append different path prefixes, so they require different BeatAPI URL formats.

OpenAI vs Anthropic Reverse Proxy URLs in Chub AI

Create a dedicated BeatAPI key with a quota cap in Dashboard → API Keys, then open ≡ → Secrets in Chub AI, toggle Reverse Proxy on, and match the URL to the tab:

Chub AI Secrets tabReverse Proxy URLWhy the suffix differsBeatAPI models
OpenAIhttps://direct.beatapi.io/v1 (East/Southeast Asia: https://api-asia.beatapi.io/v1)Chub AI appends /chat/completionsDeepSeek, Gemini, Grok, MiniMax, GLM, GPT, Qwen, Kimi, -free models
Anthropichttps://direct.beatapi.io (East/Southeast Asia: https://api-asia.beatapi.io)Chub AI appends /v1/messagesclaude-sonnet-5-5, claude-opus-5-5, claude-haiku-5-5, claude-fable-5-2

Adding /v1 under Chub AI’s Anthropic tab doubles the path into /v1/v1/messages and returns 404. Omitting /v1 under Chub AI’s OpenAI tab also returns 404.

Selecting a model and generation cap inside a chat

  1. Paste the BeatAPI key into the selected tab in Secrets and save.
  2. Open any character card, open the chat’s API settings, and enter an exact case-sensitive BeatAPI model ID (test at zero balance with deepseek-v4.1-flash-free or glm-5.3-flash-free under the OpenAI tab, or use paid IDs from the Text API reference and pricing page).
  3. Keep Streaming enabled and cap max_tokens at 2000–4096 (4096–8192 for reasoning models) so small balances clear BeatAPI’s max_tokens pre-check.