hi sorry for bothering,does anyone know if ai sdk support anthropic 1 hour prompt caching via openrouter , i tried what the docs saimessages: [
{
role: 'system',
content:
'You are a podcast summary assistant. You are detail-oriented and critical about the content.',
},
{
role: 'user',
content: \[
{
type: 'text',
text: 'Given the text body below:',
},
{
type: 'text',
text: \`<LARGE BODY OF TEXT>\`,
providerOptions: {
openrouter: {
cacheControl: { type: 'ephemeral' ,ttl:"1h"},
},
},
},
{
type: 'text',
text: 'List the speakers?',
},
\],
},
],
it works, but the cache write cost 1.25×input not 2×input i thinks that this is the 5min cache not the 1hour cache