Перейти к навигации

Why does Claude return 404 in SillyTavern, Tavo, or JanitorAI?

Просмотр в формате Markdown

BeatAPI serves Claude models (claude-sonnet-5-5, claude-opus-5-5, claude-haiku-5-5, claude-fable-5-2) exclusively on Anthropic Messages (POST /v1/messages). When a roleplay client sends a Claude model ID to POST /v1/chat/completions, BeatAPI returns 404 not_found.

Fix by client

  • SillyTavern: Set Chat Completion Source to Claude, then enter https://direct.beatapi.io/v1 (or https://api-asia.beatapi.io/v1 in Asia) in SillyTavern’s Reverse Proxy URL field. See Using BeatAPI in SillyTavern.
  • Tavo / OMate: Create a connection profile with the Claude / Anthropic protocol type and set its Base URL to https://direct.beatapi.io/v1 (or https://api-asia.beatapi.io/v1 in Asia). See Tavo and OMate.
  • JanitorAI: JanitorAI’s Proxy sends OpenAI Chat Completions requests (POST /v1/chat/completions) and cannot call /v1/messages. Select an OpenAI-compatible BeatAPI model in JanitorAI, such as gemini-4-neon, deepseek-v4-pro-0813, grok-4.7, MiniMax-M3, or gpt-6.2-sol. See Using BeatAPI in JanitorAI.

Secondary causes of 404

If your client already targets Anthropic Messages and still returns 404, check two remaining items:

  1. Duplicated /v1 in the URL: Some clients append /v1/messages automatically while others append /messages. Test both https://direct.beatapi.io and https://direct.beatapi.io/v1 to match your client’s path convention.
  2. Case-sensitive model ID and account tier: Model IDs must match the exact strings returned by GET /v1/models for your key. Unfunded accounts on free credit can call only the models on the free-tier list; see Free models.

Back to AI Models questions.