Skip to content
Live
Trending storyPast story

OpenRouter evaluates the AI agent Token usage method

1 reports1 outlets3 days agoUpdate

The story so far

AI overview

OpenRouter discovered through evaluation that adding a timestamp to the system prompt increases the cost of a 40-step encoding session by 7.8 times, while keeping the prompt prefix unchanged and sending a constant session_id can cache 95% of the input Tokens, reducing the cost to $0.054.

AI-written from the reports · Updated 3 days ago

Coverage timeline

Follow the coverage to see every side of the story.

1 Dec
  1. OpenRouter Blog
    How to Reduce Token Usage in AI Agents (Measured)

    OpenRouter found through six context settings that adding a timestamp to the system prompt increased the cost of a 40-step encoding session by 7.8 times ($0.658 vs $0.084), while keeping the prompt prefix unchanged and sending a constant session_id could cache 95% of the input tokens, reducing the cost to $0.054.

Heat over time

Now
3
Peak
62 Dec, 03:00
24h change
-49%

Hover or tap the chart to see each hour; use the arrow keys on a keyboard.