pin_single_model_prefix_cache
Projects 10-turn session caching costs for a target model under Case A (100% static prefix) and Case B (90% static prefix + 10% dynamic tail) and outputs provider cache-control templates. In-memory actuarial lookup requiring no API keys; unknown model IDs default to 'openai/gpt-6.1-sol' and prompts under 1,024 tokens bypass warm discounts. Resolves model's warm multiplier (0.05x-0.25x) from the UMCE registry to return provider_cache_protocol_mechanism, ten_turn_cost_comparison_on_same_model, and two_vector_actuarial_reference_table (benchmarking 150K and 200K token reference vectors). Use this tool to quantify 10-turn caching ROI on a specific model; use optimize_prompt_cache_layout instead when fixing mid-prompt token ordering.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pin_single_model_prefix_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Target LLM model ID ('vendor/model-slug', e.g. 'openai/gpt-6.1-sol' or 'openai/gpt-4.1'). | openai/gpt-6.1-sol |
| prompt_tokens | No | Input prompt token count per turn (>= 1024 cacheable threshold). |