[GH-ISSUE #5552] [Issue]: OpenRouter Claude caching is very infrequent and ineffective #3081

Closed
opened 2026-10-21 05:59:27 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @anonai1234 on GitHub (Aug 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5552

Originally assigned to: @Gunterlie on GitHub.

Summary

Marinara is sending cache hints to OpenRouter very infrequently or incorrectly for RP

Expected behavior

Most requests to OpenRouter Claude should be using the cache as long as the chat history or prompt remains unchanged.

Actual behavior

OpenRouter's Claude is hitting the cache very infrequently when requests come from Marinara

Steps to reproduce

  1. Set up RP with OpenRouter connection and caching on
  2. Run RP
  3. Check OpenRouter logs

Environment

  • Marinara Engine version:
  • Install type: (source / installer / docker / termux / other)
  • OS + version:
  • Browser or app shell:

Logs, screenshots, or video

First screenshot is Marinara Engine with Caching set up. There is like one cache per dozen requests.

Image

SillyTavern OpenRouter logs. It's cache hits all the way down.

Image

Additional context

Originally created by @anonai1234 on GitHub (Aug 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5552 Originally assigned to: @Gunterlie on GitHub. ## Summary Marinara is sending cache hints to OpenRouter very infrequently or incorrectly for RP ## Expected behavior Most requests to OpenRouter Claude should be using the cache as long as the chat history or prompt remains unchanged. ## Actual behavior OpenRouter's Claude is hitting the cache very infrequently when requests come from Marinara ## Steps to reproduce 1. Set up RP with OpenRouter connection and caching on 2. Run RP 3. Check OpenRouter logs ## Environment - Marinara Engine version: - Install type: (source / installer / docker / termux / other) - OS + version: - Browser or app shell: ## Logs, screenshots, or video First screenshot is Marinara Engine with Caching set up. There is like one cache per dozen requests. <img width="1223" height="428" alt="Image" src="https://github.com/user-attachments/assets/a127033c-ee76-402b-958b-2822996359cb" /> SillyTavern OpenRouter logs. It's cache hits all the way down. <img width="1227" height="489" alt="Image" src="https://github.com/user-attachments/assets/1d6a71e0-fb1b-4f59-9eee-ef0850398e37" /> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. -->
bsakaguchi 2026-10-21 05:59:27 +07:00
Author
Owner

@anonai1234 commented on GitHub (Sep 15, 2026):

This is still broken on staging

<!-- gh-comment-id:5679989887 --> @anonai1234 commented on GitHub (Sep 15, 2026): This is still broken on staging
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3081
No description provided.