Skip to content
Need an API key for this client? One token for Claude, GPT-6.2, Gemini 4 & DeepSeek V4 — top up via USDT or Alipay

Connect SillyTavern to byesu API ​

Connect SillyTavern to byesu for long-context creative writing, lorebooks, and multi-character sessions using Claude 5.5, GPT-6.2, Gemini 4 Argon, DeepSeek V4, and Grok 4.7 on pay-as-you-go token billing.

Quick configuration

  • Method 1 — Claude Source (Recommended for 0.1x Prompt Caching): Chat Completion → Source Claude → Reverse Proxy URL: https://byesu.com/v1 (SillyTavern appends /messages automatically)
  • Method 2 — Custom OpenAI-compatible (All Models): Chat Completion → Source Custom (OpenAI-compatible) → Custom Endpoint: https://byesu.com/v1
  • Proxy Password / API Key: your byesu token (sk-..., created in the default auto group)
  • Top long-context models: claude-opus-5-5, claude-sonnet-5-5, gpt-6.2-sol, gemini-4-argon, deepseek-v4-pro, grok-4.7

Long character cards, World Info lorebooks, and deep chat histories resend tens of thousands of identical tokens on every swipe or turn. Connecting via SillyTavern's native Claude source lets you enable Anthropic Prompt Caching so cached prefix reads bill as low as 0.1x (see Prompt Caching).

  1. Create an sk-... token in the byesu Console under the default auto group (Choosing a Group).
  2. Click the API Connections plug icon at the top of SillyTavern:
    • API: Chat Completion
    • Chat Completion Source: Claude
  3. Expand Reverse Proxy and enter:
    • Proxy Server Address:
      text
      https://byesu.com/v1
      (Why /v1 here? SillyTavern's Claude reverse-proxy handler appends /messages directly to your Proxy Server Address, turning https://byesu.com/v1 into https://byesu.com/v1/messages.)
    • Proxy Password: paste your sk-... token
  4. Choose or enter claude-opus-5-5 or claude-sonnet-5-5 and click Connect.
  5. Turn on Prompt Caching: enable Cache System Prompt and Caching At Depth (for example depth 2 or 4 in SillyTavern's Claude / config.yaml caching settings). Keep per-turn random macros or dynamic timestamps out of the top system prompt so the cached prefix stays byte-identical across turns.

Method 2: Custom (OpenAI-compatible) for GPT, Gemini, DeepSeek & Grok ​

To switch across non-Claude families (or run any model over /v1/chat/completions):

  1. In API Connections, set API to Chat Completion and Chat Completion Source to Custom (OpenAI-compatible).
  2. Set Custom Endpoint (Base URL) to:
    text
    https://byesu.com/v1
  3. Paste your sk-... token into Custom API Key, enter or select a model ID (gpt-6.2-sol, gemini-4-argon, deepseek-v4-pro, grok-4.7, claude-sonnet-5-5), and click Connect.
  4. For glm-5.3 or kimi-k3, use a token created in the Glm or Kimi group. Usage is billed pay-as-you-go per token with live rates shown in the byesu Console after sign-in.

Critical Claude 5.5 Troubleshooting in SillyTavern ​

Older community presets built for legacy Claude versions often trigger HTTP 400 errors on claude-opus-5-5 and claude-sonnet-5-5. Check these two settings first:

Got a problem? Contact support or join our group.