Skip to main content
Open Usage in the console after making a request. Its Cost, Performance, Tokens, and Activity views show spend, latency, token counts, request details, and prompt-cache hits. The dedicated Safety report covers Guard and leak detection. The Shadow Agent report covers validation outcomes. Your remaining balance appears on the dashboard and Billing page. Each request can include more than one billable component: upstream model inference, SERV reasoning generation, prompt-guard evaluation, audit or repair work, and shadow-agent validation. A cache hit avoids a new SERV reasoning-generation call, but the upstream model still runs and is billed. Test one variable at a time: model, reasoning effort, prompt, tools, schema, or safety feature. Use the same evaluation set to compare task success, failure rate, latency, and total cost. To add credits, configure auto top-up, or redeem a code, see Add credits and create an API key. See Models for model pricing.

Low balance and output limits

Before forwarding a request, SERV estimates its maximum cost from the prompt size, the output-token limit (yours, or the model’s maximum if you set none), and any SERV features in use. If your balance cannot cover that ceiling, SERV lowers the request’s maximum output tokens to what the balance can pay for and reports the new limit in the x-openserv-max-output-tokens response header. It returns 402 only when the balance cannot cover even min(256, requested) output tokens. SERV also sends the header when it adds a default limit to an uncapped request for a model with no published output maximum. A low balance can therefore truncate a response without an error. Keep enough credit for your largest expected responses, watch for the x-openserv-max-output-tokens header, and check finish_reason or the endpoint’s stop reason for truncation.