Input & Output Logging
Input & Output Logging lets you privately save and review the full content of your requests and responses. Use it to debug issues, compare model responses, and optimize your prompts. Once enabled, your prompts and completions are accessible from your Logs page.
This feature is currently in Beta.
Enabling Input & Output Logging
Navigate to your Observability settings and toggle Input & Output Logging to enable it. For organizations, only admins can view and toggle this setting.
Viewing Stored Prompts
Once Input & Output Logging is enabled, you can view your stored prompts and completions from the Logs page:
- Open your Logs page
- Click on a generation in the list to open the generation detail view
- Switch between the Prompt and Completion tabs to review the full content
The generation detail view also shows metadata including the model used, provider, token counts, and cost.
Only generations made after enabling Input & Output Logging will have stored content.
Storage, Privacy, and Access
- Storage: Prompt and response data is stored in an isolated Google Cloud Storage project with separate access controls. All data is encrypted at rest using Google Cloud’s default encryption (AES-256).
- Retention: Data is retained for a minimum of 3 months, and may be retained beyond 3 months at OpenRouter’s discretion unless you request deletion. Account owners can request deletion of their stored data at any time by contacting support@openrouter.ai.
- Privacy: OpenRouter does not access or use your prompt and response data logged with this feature for model training, analytics, or any other purpose. The data is stored solely for your own review and use. See the Privacy Policy for full details.
- Organization access: For organization accounts, only organization admins can view stored prompt and response content. Non-admin members cannot access it.
EU Routing Limitation
At this time, Input & Output Logging does not apply to requests routed through eu.openrouter.ai. If you have EU routing enabled, requests processed through the EU endpoint will work as normal but input/output logging will be skipped.
Comparison with Broadcast
Input & Output Logging allows you to view your prompts and completions in your logs on the OpenRouter platform. Broadcast sends your data to an external observability tool. Both features are configured in your workspace’s Observability settings and can be used together for comprehensive observability.
Comparison with OpenRouter Using Inputs/Outputs
Input & Output Logging keeps your data strictly private for your own use, makes your prompts and completions visible in logs, and is enabled in Observability. Enabling OpenRouter to use your inputs/outputs is an independent setting, enabled in Privacy, that allows OpenRouter to use your data to improve the product in exchange for a 1% discount on all model usage. You can enable one, the other, or both.