Model Compare
A switch per node, off by default. On, OSPP keeps the conversation and the answer of that node's later calls for a retention period, so they can be opened and run again on another model. Off, they are deleted about an hour after the call. The node's definition is stored either way.
The switch#
Model Compare is a setting of a node. You find it on the node's page under Passports; on the Platform an owner changes it. It is off for every node until you switch it on.
| Switch | What OSPP keeps of a call |
|---|---|
| Off (default) | The fingerprints and the passport. The conversation and the answer are deleted about an hour after the call. |
| On | The conversation and the answer of later calls of that node, encrypted, for the node's retention period. |
"Conversation" means the messages after the system messages.
What is always stored#
Whatever the switch says, OSPP stores the node's definition: the model, the parameters, the system prompt and the tool definitions. It is what the passport's procedure fingerprint is made from and what groups calls into a node. "Fingerprints only" applies to the conversation and the answer, not to the definition.
Text that must not be stored goes in the conversation, not in the system prompt.
Off: when the content is deleted#
With the switch off, the conversation and the answer stay for about an hour after the call: the answer itself, a retry with the same idempotency key and a passport that is still pending need them that long. A background sweep then deletes them. A call that is still running, or whose passport is not issued yet, is left for a later pass, for at most a day.
Two things keep content regardless of the switch: a legal hold, and an evidence retention policy your organisation set itself under Compliance. Such a policy has a floor of 180 days. That figure applies only when you set a policy; it is not the default for call content.
On: what is kept, and for how long#
With the switch on, OSPP keeps the conversation and the answer of each later call of that node, encrypted, for the node's retention period: 30 days unless you set another number, from 1 to 365 days. After that the content is deleted. The passport stays and still verifies: it holds fingerprints, never the content.
Changing the number of days also applies to content already kept, counted from each call. A shorter period can therefore end the retention of older calls at once.
When the data check is in mask mode, the kept content is the masked text, as it was sent to the model.
Not retroactive#
The switch works from the moment it is on. Calls made before that were not kept, and cannot be opened or run again. A node therefore has nothing to compare until the switch has been on for a while. Switch it on early for a node you expect to compare.
Keeping one call out#
Send the header X-OSPP-Store: false with a call to keep its content out, even when the switch is on for its node:
curl -s https://www.ospp.it.com/api/v1/openai/chat/completions \
-H "Authorization: Bearer $OSPP_API_KEY" -H "content-type: application/json" \
-H "X-OSPP-Node: support-bot" -H "X-OSPP-Store: false" \
-d '{"model": "provider/model-name", "messages": [{"role": "user", "content": "..."}]}'
That call still gets its passport. It cannot be run again on another model, and its content cannot be opened from the passport. See Request headers.
Switching it off#
Switching off stops keeping new calls. Content already kept runs out with its own period, or is deleted at once when you ask for it (delete_kept). A legal hold or your own evidence retention policy still keeps what it covers. The passports and their fingerprints stay; calls whose content was deleted can no longer be opened or run again.
The API#
GET /v1/nodes/{node}/settings
PUT /v1/nodes/{node}/settings
GET returns model_compare, retention_days, since when the switch is on and how many calls are kept now. PUT takes any of:
| Field | Value |
|---|---|
model_compare | true or false |
retention_days | A whole number from 1 to 365 |
delete_kept | true deletes the content kept for this node now |
curl -s -X PUT https://www.ospp.it.com/api/v1/nodes/support-bot/settings \
-H "Authorization: Bearer $OSPP_API_KEY" -H "content-type: application/json" \
-d '{"model_compare": true, "retention_days": 60}'
What the switch makes possible#
- Open the content from the passport.
GET /v1/passports/{id}/contentreturns the system prompt, the messages and the answer of a kept call, with the date until which it is kept. See Passport management. - Run again on another model. On any kept passport: the same conversation, system prompt and parameters run on the model you choose. The re-run gets its own passport, linked to the original. The original never changes.
- A Model Arena comparison. A selection of kept passports run again on several models. See Model Arena.
For a passport whose content was not kept, these answer 409 CONTENT_NOT_KEPT with the reason. Content that the client sealed itself cannot be opened by OSPP either.
Cost#
A re-run is a call and is billed as one. Re-runs are counted apart, so they stay out of the node's own figures. See What is billed.
Cloud only#
Model Compare exists on OSPP Cloud. For an organisation that runs its own gateway the switch does not exist: switching it on answers 409 SELF_HOSTED_GATEWAY. The conversation and the answer of its calls are held on its own gateway, not at OSPP, so OSPP cannot open them or run them again. See The local proxy.
What it means for your data#
With the switch off, OSPP Cloud does not keep your conversations and answers: you hold them, and the passport lets anyone check your copy. With the switch on, OSPP Cloud holds them for that node for the retention period. In both cases OSPP stores the node's definition, system prompt included. Decide per node.
