Designed so a leaked key can't become a large bill.

How we protect your balance, your credentials and your data, written for the person running the vendor review. Where we don't have something yet, we say so.

Spend protection

Before any call reaches a model provider, the gateway works out the most the request could cost and asks the wallet to reserve it. If your balance and credit line can't cover it, the request is refused.

One-time reservation tokensThe wallet issues a short-lived token that can be used once. The egress proxy won't call a provider without one.
Spend limit per keyEach API key can have its own limit. Requests over it are refused; other keys keep working.
Per-channel spend capsThe egress proxy enforces an hourly spend cap for each provider channel, independently of the gateway.
Settle, then releaseActual usage is settled at signed prices and the unused part of the reservation goes back to your balance. Failed provider calls aren't billed.

Credential isolation

The services that face the internet never hold the credentials that cost money.

Credentials only in the egress proxyThe gateway, wallet and control plane have no provider credentials. The proxy only calls an allow-list of provider addresses.
Temporary provider credentialsAmazon Bedrock is called with short-lived credentials from an IAM role that requires an external ID.
Mutual TLS between servicesInternal traffic uses TLS 1.3 with client certificates from an internal CA whose key is held in AWS KMS.
Secrets out of config filesDatabase passwords and encryption keys are kept in AWS Secrets Manager and loaded into memory at start-up.

Keys and accounts

Keys stored as HMACsWe never store API keys in plain text. A new key is shown once. Revoke any key from the console instantly.
MFA requiredConsole sign-in requires a password plus a passkey or authenticator app. Recovery codes are stored only as hashes.
Password storagePasswords are hashed with Argon2id and checked against known breached passwords.
Separate staff identityMakahai staff use a separate identity system with mandatory TOTP. Customer and staff accounts never mix.

Approvals and signed prices

No single Makahai employee can change your balance, your organization's policy, your MFA or the prices you pay.

Two-person approvalTop-ups, adjustments, credit limits, policy changes, price publication and MFA resets need a second employee. The requester can't approve their own request.
Fresh sign-in to approveAn approver must have signed in within the last five minutes.
Signed price snapshotsApproved prices are signed with a KMS key. The gateway, wallet and egress proxy reject any price that isn't signed.
Audit exportKey actions by your team and our staff are recorded. Your organization can export its own audit records.

Data handling

We don't store the content of API requests or responses, and content isn't written to our logs. We record usage: time, model, token counts, cost, and key and request IDs.

Prompt and response contentNot stored
Service logs30 days
Claude Fable modelsAWS retains up to 30 days for abuse review

Infrastructure

The Makahai API and console run on AWS in us-west-2. Models run on Amazon Bedrock with cross-region inference inside the United States. Our console loads no external scripts, and this website loads only Cloudflare's bot check and cookie-free analytics. See the full list of sub-processors.

Compliance status

SOC 2Not yet
Data processing addendumAvailable
Public SLANot yet · internal target 99.5%
Data locationUnited States

Contact

Report a vulnerability or ask a security question at info@makahai.com.