DigitSpace

Budgets and rules for every key

DigitSpace lets you cap spend and limit access for every API key, member and team. Set a total or a per-period budget, allow or deny models and providers, cap the price per token, and restrict keys to your IP ranges.

production-api

dgs-8KqT2v•••••

Active
Budget$95 of $250 this month
ModelsAnthropic and OpenAI only
Max price$15 per 1M output
IP ranges203.0.113.0/24
Expires31 Dec 2026

Limits

LimitApplies toWhen it's reached
Total budgetA key, a member or a teamRequests stop with a clear 429 error
Budget per periodPer minute, hour, day, week or monthRequests stop until the period resets
CreditsThe organisationRequests on credits stop; your own keys keep working
Telephone switchboard operators with headsets at a long switchboard, plugging cords into the panel.

In 1953 an operator put each call through by hand. DigitSpace routes every request.

Switchboard operators, NIH Clinical Center, 1953. NIH History Office, public domain, via Wikimedia Commons.

Access rules

Rules can be set on a key, a member and a team. A request has to pass every level that has a rule, so a key can narrow its team's rules but never widen them.

RuleWhat it does
Allow or deny modelsOnly these models, or never these
Allow or deny providersOnly these providers, or never these
Price rulesFree models only, paid only, or a maximum price per million tokens
IP rangesOnly calls from these ranges, or never from these

Teams and roles

Owners and admins
Manage billing, keys, members and every project.
Project admins
Manage the projects they're given.
Developers
Use and create keys in their projects, within their budget.

Questions

What does a blocked request look like?

A 429 with type budget_exceeded for budgets, or a 403 for a rule, with a message saying which limit or rule stopped it.

Can I give a contractor a key with a hard cap?

Yes: a key with a total budget and an expiry date, limited to the models you choose.

Are there limits I don't set?

New organisations have daily and monthly spending caps that rise with account age and spend, to protect you and us from abuse. The limits page in your dashboard shows yours.

Read next

Live in a minute.

Create a key, change the base URL, send a request. No card needed with your own provider keys.

Start free