Input & Output Logging
Input & Output Logging
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.
Navigate to your Observability settings and toggle Input & Output Logging to enable it. For organizations, only admins can view and toggle this setting.
Once Input & Output Logging is enabled, you can view your stored prompts and completions from the Logs page:
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.
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.
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.
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.