🚀 API Usage Guide
BayonStore API — compatible with Cursor / Cline / Claude Code.
📌 General Information
| Base URL | https://bayonstore.com/v1 |
| API Key | sk-xxxxxxxxxxxx (issued with your purchase) |
| Check your key | /check-key |
| Format support | OpenAI & 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 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.
npm install -g @anthropic-ai/claude-codeAntigravity
🪟 Windows
- Install the Claude Code extension in your tool.
- Download the correct
.batabove. - Close all running editors (VS Code / Cursor / Antigravity) completely.
- Double-click the
.bat, paste your API Key (sk-...), press Enter. - The editor opens automatically — click the Claude Code icon in the sidebar.
🍎 Mac
- Install the Claude Code extension in your tool.
- Download the correct
.commandabove. - First time only, allow it to run:
chmod +x BAYON-CLAUDE-VSCODE.command - Close all running editors, then double-click the file. If macOS blocks it: right-click → Open → Open.
- Paste your API Key (
sk-...), press Enter. The editor opens automatically.
🧩 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
/clearwhen changing topic — start a fresh session./compactevery 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.
-thinkingvariants cost more — use only when necessary.
/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