API Docs

Usage Guide

Connect the endpoints, pick a model and configure your tools in minutes.

Anthropic API Compatible anon4me.com

Required notice — read before you integrate

The name “Kiro” may appear in API responses. That is the upstream supplier’s brand label; Claude runs behind it. Click for details.

Connection Details

Anthropic Base URL
https://anon4me.com
API Key sk-xxxxxxxxxxxx (generated from your dashboard)
Token / Balance Check anon4me.com/panel/keys
Protocol Format 100% Original Anthropic Compatible
Claude API keys use the Anthropic Base URL (e.g. https://anon4me.com, with no trailing /v1) — this applies to Claude Code CLI, the Claude Code extension and the Anthropic SDK. Only on the Cursor Pro tab do you enter https://anon4me.com/v1 as the Override OpenAI Base URL (because Cursor accepts only the OpenAI format).

Supported Claude Models

A balance of quality and speed — recommended for software development. a4/claude-sonnet-5 is the newest model.

a4/claude-sonnet-5
a4/claude-sonnet-4.6
a4/claude-sonnet-4.6-thinking
a4/claude-sonnet-4.5
a4/claude-sonnet-4.5-thinking
a4/claude-sonnet-4
a4/claude-sonnet-4-thinking

Setup by Developer Tool

Choose the developer tool you want to use and follow its setup steps:

You can use your Claude API key on the desktop with the Claude Desktop app.

1. Download Claude Desktop

Install the Claude Desktop app on your computer from the official download page.

Important: To get the full Cowork tab, download the app from claude.com/download. The Microsoft Store build or older versions may not include Cowork.

3. Apply Your API Key

  1. Run the tool you downloaded.
  2. Paste the sk-xxxxxxxxxxxx key from your dashboard and press Apply.
  3. The tool clears old settings, enables Developer Mode and writes the gateway configuration to .claude\settings.json.
  4. To change keys later, just paste the new key and press Apply again.

4. Restart Claude Desktop / VS Code

  1. Claude Desktop: If it is open, quit it completely, start it again and choose Continue with Gateway.
  2. VS Code / Cursor: (for the Claude Code extension) press Ctrl+Shift+P and run Reload Window.
Gateway Base URL: https://anon4me.com (no trailing /v1). Use the a4/claude-... models per tab. Claude Code config file: %USERPROFILE%\.claude\settings.json.
To remove the configuration from this computer entirely: run the activation tool (A4-CLAUDE-ACTIVATE.bat) and click Reset (this clears both Claude Desktop and Claude Code settings). Then restart the apps.

Token Saving Tips

Most token consumption comes from context (chat history + attached files) rather than the answer itself. The entire chat history is resent on every request, so cost grows as a session gets longer.

1. Manage Your Chat Sessions

  • Use /clear when switching topics, or open a new chat tab.
  • Run /compact every 30–50 messages to summarize the context.
  • One task = one session. Don’t pile unrelated tasks into one long session.

2. Limit Files and Context

  • Attach only the files you need, not the whole folder.
  • When pasting logs or error output, include only the relevant parts.
  • Break large tasks into small steps with clear goals.

3. Pick the Right Model

  • Haiku: the cheapest option for light work and automation.
  • Sonnet: the recommended model for everyday software development.
  • Opus: for deep analysis and demanding tasks.
  • -thinking models consume more tokens.
When the context grows too large the server automatically clears/compresses old thinking steps and history, but the best savings come from using /clear and /compact proactively.
If you get a "Context too long" error: type /compact or /clear and try again (or open a new chat tab). This is not a server error; it means the model’s context limit was exceeded client-side.

Remaining Balance & Quota

Use the panel below to check your API key’s remaining balance, current rate limits and usage details.

API Keyler ve Kota Paneli