Claude API Self-Serve Dashboard Setup Guide
What a self-serve Claude API dashboard actually does
A self-serve dashboard for the Claude API is the layer between "I have Anthropic access" and "my team can generate scoped API keys, watch usage, and manage billing without filing a ticket." Anthropic's own console gives you account-level API keys and basic usage numbers, but it doesn't give individual users or applications their own keys, per-key spend limits, team seats, or a billing model that scales with headcount. If you're trying to turn Claude into something your whole team or your product can call safely, you need that extra layer.
Setting one up yourself means building a credential store, a proxy that forwards requests to Anthropic, a usage metering system, and an admin UI — then maintaining all of it. Setting one up via a hosted service means signing up, generating keys, and pointing your existing code at a new base URL. This guide covers both paths, but focuses on the fast one: getting a working self-serve dashboard in under ten minutes.
Option 1: build your own dashboard
If you have specific compliance or infrastructure requirements, building in-house is reasonable. The minimum pieces you need:
- A key management service that issues scoped tokens (per user, per app, per environment) and maps each one to your real Anthropic API key
- A thin proxy that validates incoming tokens, forwards the request to
api.anthropic.com, and streams the response back - Usage logging — tokens in, tokens out, latency, cost per request, per key
- A dashboard UI for creating/revoking keys, viewing usage, and inviting teammates
- Billing logic if you want to charge internal teams or customers for usage
This is a few weeks of engineering work minimum, plus ongoing maintenance every time Anthropic changes rate limits, pricing, or the Messages API schema.
Option 2: use a hosted self-serve layer
SubToAPI is built specifically for this gap — it takes your existing Claude access and exposes it as a clean HTTPS API with application keys, streaming, tool use, usage metadata, and team seats, all managed from one dashboard. Setup looks like this:
1. Create your account
Sign up at /signup and start the free trial. No credit card required to explore the dashboard and generate your first key.
2. Generate an application API key
From the dashboard, create a key scoped to a project or environment. Keys follow the sub_live_... format so they're easy to identify in logs and distinguish from any raw Anthropic credentials you might still have floating around.
3. Point your code at the API
Swap your base URL and auth header. The request/response shape follows the same Messages API structure, so migration is usually a find-and-replace:
curl https://api.subtoapi.app/v1/messages \
-H "Authorization: Bearer $SUBTOAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Summarize this changelog entry."}
]
}'
Full request/response details live in the Messages API docs. If you're starting from zero, the quickstart walks through the first call end to end.
4. Enable streaming if you need it
For chat interfaces or anything latency-sensitive, switch on server-sent events:
const response = await fetch("https://api.subtoapi.app/v1/messages", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.SUBTOAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "claude-sonnet-4-5",
max_tokens: 1024,
stream: true,
messages: [{ role: "user", content: "Write a status update." }],
}),
});
Details on handling the event stream are in the streaming guide.
5. Wire up tool use if your app needs it
If your app calls functions or external APIs based on Claude's output, the tools endpoint is documented in the tools guide — the schema matches what you'd expect from the standard Messages API tool-use format, so existing tool definitions port over directly.
6. Invite your team
From the dashboard, add teammates as seats. Each person (or service) gets their own key, so you can see exactly who's generating usage and revoke access without touching anyone else's credentials. Plans run from Solo (€9, one seat) to Team (€19/seat) to Scale (€49/seat), all listed on the pricing page.
What to check before you commit to a setup
Whether you build your own or use a hosted dashboard, make sure the setup gives you:
- Per-key visibility — you should be able to tell which key generated which cost, not just a single account-wide total
- Revocation without downtime — rotating or killing one key shouldn't require redeploying every app that uses the shared account
- Streaming support — if your product has a chat UI, a dashboard that only supports non-streaming responses will feel broken
- Usage metadata on every response — token counts per request matter for cost attribution and for debugging unexpectedly long prompts
- A seat model that matches your team, not a flat license that charges the same whether you have 2 people or 20
A dashboard that's missing any of these usually turns into a bottleneck within a month — someone ends up sharing one API key across the whole team again, which defeats the point.
Migrating existing code
If you're already calling the Anthropic API directly, migrating to a self-serve dashboard setup is usually three changes: swap the base URL, swap the auth header value, and point your key management at the new dashboard instead of hardcoded environment variables. The request body format stays the same, so your prompt engineering, system messages, and tool definitions don't need to change.
questions
Do I need to change my prompts or model calls when I set up a dashboard like this? No. The Messages API request format stays the same — you're changing where the request is sent and how it's authenticated, not the content of the request.
Can I give different teammates different usage limits? Yes, through per-key scoping. Each application key can be tracked and managed independently from the dashboard, so one noisy integration doesn't exhaust a shared budget.
Is a self-serve dashboard the same as Anthropic's own console? No. Anthropic's console manages your account-level key and overall usage. A self-serve dashboard like SubToAPI sits on top of that access and adds per-application keys, team seats, and per-key usage tracking that the console doesn't provide.