FAQ
Short answers about the API Platform: access, compatibility, models, pricing, credit, limits, data handling, keys, streaming and deployment.
Access
Is the inference API live? Yes. The API Platform is generally available. To get access, choose Use with Safeguard on a model at safeguard.sh/models, or ask Safeguard.
How do I get access? Open a model at safeguard.sh/models, choose Use with Safeguard and leave your email address. Safeguard turns the API Platform on for your workspace. Then follow the Quickstart.
Why am I getting 403 gateway_disabled?
Your workspace does not have access to the API Platform yet. Ask Safeguard for access.
Why is Create key disabled? For the same reason: keys can be created once the API Platform is on for your workspace. Auditor accounts cannot create keys at all, because their access is read-only.
Compatibility
Is it compatible with OpenAI's API?
With the Chat Completions API, yes: point an OpenAI SDK at https://api.safeguard.sh/gpt/v1 with an sg-api- key. See SDKs and clients.
Can I send images or audio?
Not in v1. A message part that is not text is refused with 400 unsupported_parameter.
Are embeddings, image generation or the Responses API available?
No. The API serves POST /chat/completions, GET /models, GET /models/{id} and GET /key.
Can I ask for several choices with n?
No. n must be 1.
Do tools and JSON mode work?
tools, tool_choice, parallel_tool_calls and response_format are passed to the provider unchanged, so they work where the model supports them. See Chat completions.
Models
Which models can I call?
The ones GET /models returns. A catalog model becomes callable only after it passes Safeguard's launch checks. See Models.
Pricing and credit
Do you add a markup?
No markup on model usage: for third-party models you pay the provider's list price per token. Each response reports its own cost in usage.cost.
How do I pay? Requests spend prepaid credit. Where card top-up is available, a tenant admin or super admin adds credit in the Console and the card fee is passed on at cost. Otherwise Safeguard adds credit for you. See Pricing and billing.
Do you send invoices? The Console issues no invoices for inference credit. Your record is the credit ledger on Usage. See Credits and invoices.
What happens when credit runs out?
Requests stop: they are refused with 402 insufficient_credit until credit is added.
Can I cap what we spend? Yes. A tenant admin or super admin sets a monthly limit for the workspace, and each key can have its own monthly limit. See Spend controls.
Why was a request refused with 402 when I still had credit?
Before each request the gateway reserves the most it could cost, based on max_tokens. Lower max_tokens, or add credit. See Limits.
Data
Where do my prompts go? To the provider of the model you name. If you allow fallbacks, a failed request can also go to a listed fallback model of the same family. Never to the models Safeguard uses for its own platform features.
Do you store my prompts? Not by default. The request log keeps metadata such as model, tokens, cost and latency. A tenant admin or super admin can turn on Store prompts and outputs for the workspace, and can delete what is stored. See Privacy and data.
How long do you keep request logs? The request log and stored prompts are kept until deleted. Stored prompts can be deleted at any time from Usage. See Privacy and data.
Do you train on my data? No. Safeguard never uses your prompts or outputs to train models. Each provider's own terms apply to the requests it receives, and the catalog summarises them for each model.
Can I choose the region a request runs in? No. The gateway calls each provider's standard API and has no region setting. See Regions and data residency.
Can I require zero data retention?
Yes, per request with provider.zdr, or for the whole workspace in Gateway settings. Requests then go only to models offered with zero data retention. See Zero data retention.
Keys and limits
How quickly does revoking a key take effect? Within 30 seconds.
What is the rate limit? 60 requests per minute per key by default. You can set a key's own limit from 1 to 10,000. See Limits.
Can I call the API from a browser or a mobile app? Don't. Anyone who can read the app can read the key. Call the API from your server.
Streaming
If I cancel a stream, do I pay less?
No. The provider keeps generating, and the gateway reads the answer to the end to bill the provider's token counts. Use max_tokens to limit a request's cost.
MCP
Is the MCP server metered? No. MCP tool calls are unlimited on every plan, Free included, and never metered. See Inference API or MCP server.
Deployment and buying
Can we run the API Platform in our own environment? The Safeguard platform runs in public cloud, private cloud (VPC) and on-prem deployments; air-gapped deployment is available as a custom engagement. The API Platform calls a provider only when the deployment can reach the provider's API. See Deployment options.
Help
Where can I see whether Safeguard is up? At status.safeguard.sh.
How do I get help? Use Help & Feedback in the web app, or email hi@safeguard.sh. See Status and support.