Bayon Store

🚀 API Usage Guide

BayonStore API — compatible with Cursor / Cline / Claude Code.

📌 General Information

Base URLhttps://bayonstore.com/v1
API Keysk-xxxxxxxxxxxx (issued with your purchase)
Check your key/check-key
Format supportOpenAI & Anthropic compatible

🤖 Model List

The strongest option — for difficult tasks requiring deep reasoning.

bayon/claude-opus-4.8
bayon/claude-opus-4.8-thinking
bayon/claude-opus-4.7
bayon/claude-opus-4.7-thinking
bayon/claude-opus-4.6
bayon/claude-opus-4.6-thinking
bayon/claude-opus-4.5
bayon/claude-opus-4.5-thinking

⚡ IDE Configuration

Pick the tab for your tool. The setup is the same everywhere: point the base URL at https://bayonstore.com/v1 and paste your API key.

⚠️ Set environment variables, then run `claude`. Note: the Anthropic base URL does NOT include /v1.
set ANTHROPIC_BASE_URL=https://bayonstore.com
set ANTHROPIC_API_KEY=sk-xxxxxxxxxxxx
set ANTHROPIC_MODEL=bayon/claude-opus-4.8
set ANTHROPIC_SMALL_FAST_MODEL=bayon/claude-haiku-4.5
claude

⬇️ One-Click Setup (Claude Code extension)

For the Claude Code extension in VS Code, Cursor, or Antigravity. Install the extension once, then download the launcher for your tool and double-click it — it configures everything and opens your editor automatically.

📌 Do this once: install the Claude Code extension (from Anthropic) from the Marketplace of your tool (VS Code / Cursor / Antigravity all have it), and install Node.js + Claude Code: npm install -g @anthropic-ai/claude-code

🪟 Windows

  1. Install the Claude Code extension in your tool.
  2. Download the correct .bat above.
  3. Close all running editors (VS Code / Cursor / Antigravity) completely.
  4. Double-click the .bat, paste your API Key (sk-...), press Enter.
  5. The editor opens automatically — click the Claude Code icon in the sidebar.

🍎 Mac

  1. Install the Claude Code extension in your tool.
  2. Download the correct .command above.
  3. First time only, allow it to run: chmod +x BAYON-CLAUDE-VSCODE.command
  4. Close all running editors, then double-click the file. If macOS blocks it: right-click → Open → Open.
  5. Paste your API Key (sk-...), press Enter. The editor opens automatically.
⚠️ You must close all editors before running the file. If a window is already open, the new settings won't apply and Claude Code will not point to the BayonStore server.

🧩 Tips for Stable Use

  • Type /compact every 30–50 chats to reduce context.
  • Open a new session when changing projects.
  • Use Opus for difficult tasks; Sonnet/Haiku for regular file editing — saves tokens.
  • Install Node.js and Claude Code first: npm install -g @anthropic-ai/claude-code

💰 Saving Tokens

Tokens are mostly consumed by context (history + attachments), not replies. The whole conversation is re-sent each turn, so longer sessions cost more per reply.

1. Manage chat sessions

  • /clear when changing topic — start a fresh session.
  • /compact every 30–50 turns — compress history but keep the main idea.
  • One task = one session. Don't cram many tasks into one long session.

2. Limit unnecessary context

  • Attach only the files you need; don't paste entire folders.
  • Trim logs/outputs to the relevant parts.
  • Break large tasks into smaller, clearly defined steps.

3. Choose a suitable model

  • Haiku: easy tasks (typos, renames, quick questions) — cheapest.
  • Sonnet: everyday tasks, balancing quality and cost.
  • Opus: only for difficult tasks needing deep reasoning.
  • -thinking variants cost more — use only when necessary.
💡 If you see "Context too long", type /compact or /clear and resend. This means your context exceeds the model limit — it is not a server error.

🔍 Check Remaining Tokens

Open the checker, paste your API key, and click Check to see tokens used / remaining / total quota, days until expiry, rate limit, and key status.

🔑 Open the key checker