Every Tensic project has the same controls, whatever its type: a monthly cost budget, a requests-per-minute rate limit, an in-flight limit (model calls running at once), an Analytics page for usage over time, and detailed logs with token usage and cost per request. Platform admins also get an instance-wide Observability section (including a Containers view) and can export traces to their own tools, platform-wide or per project.
Set a monthly budget for a project
Each project has a Budget & limits tab. A project's usage always counts against its team, and by default a project inherits the budget of the level above it (the team's Monthly cost budget, or the instance's Default monthly budget under Settings > General > Limits). A project that sets its own budget overrides the level above, including 0, which freezes the project.
- Open the project and go to the Budget & limits tab.
- Under Limits, open Monthly cost budget (€/mo) and choose:
- Inherit (…): the project uses the budget set above it. The option shows where it comes from, for example "Inherit (€100 / mo from the instance default)", or "Inherit (nothing above sets one)" when no higher level has a budget.
- Set an amount: give the project its own monthly cap, for example
100(€). - No limit — ignore the level above: the project has no cap of its own. A budget set at a higher level still applies to it.
- Click Save.
When a project reaches its cap, Tensic refuses further requests for that month with an HTTP 402 error (a budget is used up: the project's, the key's or the team's). Without a cap, the Spend panel says Uncapped — nothing limits this, and requests are never refused because of cost.
The project's Overview tab lists Budget cap, Rate limit and In-flight limit under Setup at a glance; each row opens the tab where it is set.
To get notified before or when a budget runs out, open the project's Integrations tab and turn on Event webhooks. Subscribe to budget_warning (fires once per month at 80% and again at 95% of the budget; it is opt-in) and budget_exceeded (fires just before requests start being refused).
Set a per-minute rate limit and an in-flight limit for a project
The rate limit caps how many requests a project accepts per minute. The in-flight limit caps how many model calls the project may have running at the same moment. Use them to protect your budget and your models from runaway loops or misbehaving clients.
- Open the project and go to the Budget & limits tab.
- In Rate limit (requests/min), enter the maximum number of requests per minute. Leave it empty for the instance default (120 unless a platform admin changed it). The most a project can set is 240.
- In In-flight limit (calls at once), enter the most model calls that may run at once. Leave it empty for the instance default (64). The most a project can set is 256.
- Click Save.
No project is unlimited: a project without its own value uses the instance default. Platform admins set the defaults and maximums under Settings > General > Limits (Default rate limit, Maximum rate limit, Default in-flight limit, Maximum in-flight limit). Lowering a maximum holds every project above it to the new value.
The rate limit counts every call on the project. Chat, embeddings, image and transcription requests all share the same limit. A request over the limit is answered with HTTP 429 (rate_limited, "Rate limit exceeded"); retry after a few seconds. For the in-flight limit, a streamed answer holds its place until it ends; a call over the limit waits briefly (up to 10 seconds), then is refused with HTTP 429.
Platform admins can see which projects are close to or over these limits under Observability > Rate limits and Observability > In flight.
Track a project's spend
The Spend panel at the bottom of the Budget & limits tab shows:
- Spent: a progress bar showing spend against the cap, for example
€0.80 / €100.00 (1%). It also notes where the cap comes from. - Month to date: spend in the current month.
- All-time cost: total spend since the project was created.
The project header also shows all-time Tokens, Requests and Cost, plus the number of API keys and the time of the last call. The Overview tab shows traffic over time and recent activity, with a link to the full logs.
Analyse a project's usage in Analytics
Every project has an Analytics page, opened from More > Analytics at the top of the project (or Full analytics on the Overview tab). It is a usage report for that project. Use it to see who and what drives traffic and cost, without reading individual logs.
- Open the project and choose More > Analytics.
- Choose the period with 7d, 30d, 90d, This month, Last month, or set custom dates.
- Optionally narrow the report with the API key, User, Model and Status filters.
- Switch between the tabs:
- Overview: requests, conversations, tokens, cost, error rate and average latency (with P95), each compared to the previous period; the top API keys, users, models and tools (rank them by Cost, Requests or Tokens; See all lists everything); and a per-day chart plus a day-by-day table.
- Usage: tokens and cost per day. A note tells you if some tokens were counted by the platform's tokenizer because the model did not report them.
- Activity: conversations and messages per day, busiest hours (UTC), a latency distribution and an outcome table (success and error counts).
- Tools: per tool, the number of calls, errors, error rate, average and P95 latency (agent projects).
- Click Export requests (CSV) to download one row per request for the selected period, or Export CSV on a table to download that table.
Read a project's logs: messages, tool calls, tokens and cost
Every project has a Logs view (the Logs button at the top of the project). Use it to debug your app, check what the model received and returned, and understand exactly what each request cost.
- Open the project and click Logs.
- The Health strip at the top summarises the selected window (for example 14 days): runs, error rate, guard blocks, P50 and P95 latency, cost, and small charts of runs, latency and cost per day.
- Switch between Turns (one line per turn, with its status Answered or Failed and the tools it called) and Conversations. Filter by search text, status, error msg or date range (Today, 7d, 14d, 30d or custom dates), and set Per page. On agent projects, a Tools called strip lists the tools used in the window with their counts. With Memory Search on, each memory lookup also appears as a
(memory search)line, and the background indexing of new turns as a(memory index)line, both for the embedding model. - Select a turn to open Turn detail. The top shows Result, Model, Steps (model calls and tool calls), Tokens, Cost, Latency and Time, then:
- What the agent did: a timeline of the question (with the Context values the caller sent, such as prompt variables), each model call (with its tokens and duration), each tool call with its arguments and result, and the final answer. Open every tool call expands all tool calls.
- Tools: how many of the bound tools this turn used.
- System prompt: the system prompt used for the turn (collapsed by default).
- Usage and cost: billed input and output tokens, including how many input tokens were cached, and the Source of each number (for example
engine, reported by the model provider). The cost lines show how the cost was calculated, for example60 × €0.15 / 1M tokensfor input, a separate Cached input line at the cached-token price, the output line and the total. - Request trace and Raw JSON for deeper debugging.
- Use Read the conversation or Conversation details to see the whole conversation. The icons at the top right of the page open the project's Playground, open the project, and flush the logs.
For inference projects, Logs lists every model call (one row per call, a tool loop makes several). Select a call to see the request (the messages and the last user message), the Parameters the caller sent (for example stream and temperature), the response (answer, finish reason, and any requested tool calls) and usage and cost. When the model returned its reasoning, the response also shows a Reasoning block with it. This makes an inference project useful for seeing how an existing app or coding agent talks to its model.
Which sampling settings a request ran with is reported in the API response, not in the log: the chat response of a project carries a sampling object, for example {"temperature": 0.3, "temperature_from": "project", "reasoning_effort": "low", "reasoning_effort_from": "project"}. The _from fields say whether the value came from the request (request) or the project's model settings (project); see Build an agent project.
Control logging, redaction and log retention for a project
Whether a new project logs by default is an instance setting (Settings > General > Limits > Inference logging on for new projects), so check the Inference logging switch on each project. Configure logging on the project's Logging tab, under Log hygiene.
- Open the project and go to the Logging tab.
- Inference logging: records every request and response for analytics and debugging. Turn it off to stop new logs for this project, for example when it handles data you must not store. While it is off, requests still count toward usage and cost, but the Logs view lists them as Not logged without content.
- Redact in logs: strips API keys, tokens and credentials from the question, answer and system prompt before anything is stored. It only works while inference logging is on. Redaction catches a lot, but it isn't 100% reliable. Don't depend on it as your only protection for highly sensitive data.
- Log retention (days): how long this project's inference log content, guard events and retrieval telemetry are kept. Usage and cost are always kept. Leave it empty to follow the instance's retention window. If both are set, the shorter one wins.
- Click Save.
Below the form, the Trace export section sets where this project's traces go (see "Export traces with OpenTelemetry, LangSmith or Langfuse"). Instance log retention shows how long the whole instance keeps the content of inference logs (prompts, answers and traces) before cleanup erases it; usage and cost are kept. Platform admins set this platform-wide in Settings (Data retention, in days; 0 keeps content forever), not per project.
On high-traffic projects logs grow quickly, so choose a retention period that fits your needs.
Monitor the instance in Observability (platform admins)
Platform admins have an Observability section in the main menu, covering the whole instance. It has these tabs: Health, Workers, Spend, Rate limits, In flight, Containers, Routines, Exporter, Inference logs, Audit Logs, Platform logs and Cron Logs.
Health summarises requests, error rate, P95 latency and spend over a period, with outcome counts (success, guard block, error) and the projects with errors. Workers shows, per web worker of the instance, requests per minute, how long requests waited to start, event-loop lag and pool usage, and flags a worker as saturated when requests are waiting. Inference logs lists model calls across all projects. Audit Logs records every change request made through the console or API, with user, action, resource and status. Spend breaks spend down by team, project and API key for a chosen month, against each cap (View switches the grouping).
Rate limits shows, for the last hour (or another window), how many requests were served and refused for their rate, which projects are near their limit, and a table per project with its limit, the load in the last 60 seconds, the busiest minute and the requests served and refused. Use it to find the project or caller that hits its limit; Change in Settings opens the instance defaults. In flight is the same view for simultaneous model calls: calls started, calls that waited for a place, calls refused after waiting, and per project the limit, the calls running now and the most at once.
Containers shows the sandboxes started through the Containers API (the code interpreter and shell tools of the Responses API): running containers against the instance limit (for example 1 / 2), the memory they reserve, container minutes this month, the runtime, and a table with each container's status, project, expiry, minutes and cost. A note says whether minutes are charged or only recorded, and Change these limits opens the limits in Settings. Filter the list with Show: Running and expired, and use New container or Refresh at the top. Platform logs lists warnings and errors raised by the platform itself, grouped by message with a count.
Cron Logs shows every run of the platform's background jobs. These are Tensic system jobs, not operating-system cron jobs. Examples include budget alerts, routines, memory bank indexing, re-embedding and ingestion. Each run shows:
- the job name and status (success or error),
- a message (for example "budget warnings emitted: 0"),
- items processed, duration and date.
You can filter by job, status or date, and click Run Now to trigger a run immediately. Use this to check that background work, such as agent memory indexing or scheduled routines, is actually running.
The Routines tab lists every routine configured on the instance. Admins can enable or disable any of them from here, which gives one central place to stop a routine that is misused or running too often.
Everything that passes through the platform, including router decisions and SQL queries issued by agents, is visible in logs and observability.
Export traces with OpenTelemetry, LangSmith or Langfuse
To analyse Tensic traffic in your own observability stack, send traces and metrics (tokens, cost, latency, tool calls) over OpenTelemetry (OTLP), or send traces to LangSmith or Langfuse.
- Go to Observability and open the Exporter tab (or Settings > Observability, which holds the same values).
- Under OpenTelemetry export, choose a Vendor:
- Generic OTLP: works with any OpenTelemetry collector.
- LangSmith: switches to LangSmith's trace format, using dedicated fields. Traces only, over HTTP/protobuf.
- Langfuse: switches to Langfuse's trace format. Pick a Region (EU, US, JP or HIPAA) or paste your self-hosted address, then enter the Langfuse public key and Langfuse secret key (the secret is encrypted and shown masked). Traces only; metrics are not sent. Langfuse shows Tensic's billed cost on each model call, in the instance currency.
- For Generic OTLP, enter the OTLP endpoint, for example
http://otel-collector:4317. Leave it empty to turn export off. - Choose the Protocol: gRPC (usually port 4317) or HTTP/protobuf (usually port 4318). Some vendors only accept HTTP/protobuf.
- Add any Headers your vendor needs, as
k=v,k2=v2, for example an API key. Headers are encrypted at rest and shown masked. Leave the mask unchanged to keep the saved value. - Optionally change the Service name (default
tensic). It is reported asservice.nameon every span and metric. - Optionally turn on Export prompts and completions. Prompts, completions and tool arguments then leave the instance for your collector. Projects with logging turned off stay excluded, and redaction rules still apply.
- Save, then use Send a test span to check that the destination accepts data.
Changes are picked up by every worker within about 15 seconds of saving. While no endpoint is set, the tab shows Export is off and no telemetry leaves the instance.
Give a project its own trace destination
A project can send its traces to a destination of its own, for example so a customer team sees only its traces in its own tool.
- Open the project and go to the Logging tab, Trace export section.
- In Export to, choose The platform's destination only (default), The platform's and this project's own, or Only this project's own destination.
- For a project destination, choose the Vendor and fill in the same fields as above (endpoint, protocol, headers, or the LangSmith or Langfuse fields). Send prompts and completions to this destination is off by default; this project's logging and redaction rules still apply.
- Use Test connection, then Save.
"Only this project's own destination" is available only if a platform admin has turned on Let projects export only to their own destination under Settings > Observability. When it is off, a project that chose this sends to both destinations.
Common questions
What happens when a project hits its budget?
Tensic refuses further requests for that project (HTTP 402) until the next month or until you raise the cap. Subscribe to the budget_warning event webhook to get notified at 80% and 95% before that happens.
Does "No limit" mean a project can spend without limit?
No. It only removes the project's own cap. Any budget set at a higher level still applies.
Where can I see which API key, user or model costs the most?
Open the project's Analytics page. The Overview tab ranks the top API keys, users, models and tools by cost, requests or tokens, and you can export the requests as CSV.
What does my app get when it exceeds the rate limit?
An HTTP 429 response with the code rate_limited. Retry after a short pause.
How many requests per minute can a project handle?
120 by default and at most 240. A platform admin can change the default and the maximum under Settings > General > Limits. A separate in-flight limit (64 by default, at most 256) caps how many model calls run at the same time.
Does the rate limit apply to embeddings and images too?
Yes. Chat, embeddings, image and transcription requests all count toward the same requests-per-minute limit.
Can I turn off logging for a project that handles sensitive data?
Yes. Turn off Inference logging on the project's Logging tab. No new logs are stored for that project, and it is also excluded from OpenTelemetry export of prompts and completions.
Is log redaction guaranteed to remove all secrets?
No. It removes API keys, tokens and credentials in most cases, but it isn't 100% reliable. For highly sensitive data, turn logging off.
How long are logs kept?
As long as the instance retention window set by the platform admin, or a shorter per-project Log retention (days) value if you set one. Retention erases prompts, answers and traces; usage and cost figures are kept.
Why are cached tokens shown separately in the cost?
Many models charge less for cached input tokens. The turn detail shows how many input tokens were cached and bills them at the model's cached-token price.
Can I send Tensic traces to my own observability tool?
Yes. Use Generic OTLP for any OpenTelemetry-compatible backend, or the LangSmith or Langfuse vendor option. A platform admin sets the destination for the whole instance; a project can add its own on its Logging tab.
Where can I see which temperature or reasoning effort a request used?
In the sampling object of the chat API response. It lists the temperature and reasoning effort that ran and whether each came from the request or the project's model settings. For inference projects, the log of a call also lists the parameters the caller sent and shows any reasoning the model returned.
Why does a project show requests as "Not logged"?
Inference logging is off for that project. New projects follow the instance setting Inference logging on for new projects; turn the switch on at the project's Logging tab.