{"id":120176,"recorded_at":"2026-10-26T14:40:17.453209Z","observed_at":"2026-10-26T14:40:17.453175Z","subject_kind":"source_record","subject":"x402_bazaar:https://saylorinnovations.com/api/kb/llm-prompt-caching-cost-reduction","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://saylorinnovations.com/api/kb/llm-prompt-caching-cost-reduction"]],"name":"Saylor Innovations Guide Library","owner_address":"0xa2a8df0f7caabea4e120a2568118f141569fc8aa","raw":{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:llm-prompt-caching-cost-r","name":"USD Coin","note":"Base settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:llm-prompt-caching-cost-r","name":"USD Coin","note":"Polygon settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:137","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:llm-prompt-caching-cost-r","name":"USD Coin","note":"Arbitrum settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:42161","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"GVJJ7rdGiXr5xaYbRwRbjfaJL7fmwRygFi1H6aGqDveb","memo":"saylor:llm-prompt-caching-cost-r","reference":"Audiv2kURF6DRi34r9Ys75UFcqrk1iQadxnBFhW8WNLc","session":"eyJhcnRpY2xlSWQiOiJsbG0tcHJvbXB0LWNhY2hpbmctY29zdC1yZWR1Y3Rpb24iLCJyZWZlcmVuY2UiOiJBdWRpdjJrVVJGNkRSaTM0cjlZczc1VUZjcXJrMWlRYWR4bkJGaFc4V05MYyIsInJlY2lwaWVudCI6IjdMU2pmckpmOGZOc0I4VkE5dTdOM1dFbjI1c21RTHBvYjNTdnlVdlhhY3k3IiwibWludCI6IkVQakZXZGQ1QXVmcVNTcWVNMnFOMXh6eWJhcEM4RzR3RUdHa1p3eVREdDF2IiwibWluQW1vdW50IjoxMDAwMCwiZXhwIjoxNzkyODM3MjA2NTIxfQ.nD4TEPddAom2JSd_Z45Z2O_Dru_hFjaGmeV8ZmBLc0M"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"10000","asset":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","extra":{"feePayer":"GVJJ7rdGiXr5xaYbRwRbjfaJL7fmwRygFi1H6aGqDveb","memo":"saylor:llm-prompt-caching-cost-r","reference":"FKyC7PxeY54NA7w4CjAeoceQZ815hi3absuzYLCeun3i","session":"eyJhcnRpY2xlSWQiOiJsbG0tcHJvbXB0LWNhY2hpbmctY29zdC1yZWR1Y3Rpb24iLCJyZWZlcmVuY2UiOiJGS3lDN1B4ZVk1NE5BN3c0Q2pBZW9jZVFaODE1aGkzYWJzdXpZTENldW4zaSIsInJlY2lwaWVudCI6IjdMU2pmckpmOGZOc0I4VkE5dTdOM1dFbjI1c21RTHBvYjNTdnlVdlhhY3k3IiwibWludCI6IkVzOXZNRnJ6YUNFUm1KZnJGNEgyRllENEtDb05rWTExTWNDZThCZW53TllCIiwibWluQW1vdW50IjoxMDAwMCwiZXhwIjoxNzkyODM3MjA2NTIxfQ.oS5ayc7WJzSUCU_uVTFpxzqPpP-W1eEEKJHOv2Nf2kU"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"95706","asset":"So11111111111111111111111111111111111111112","extra":{"memo":"saylor:llm-prompt-caching-cost-r","native":true,"note":"Native SOL: send lamports with a system transfer, not an SPL transfer. Price is quoted live and this quote expires in 120s.","quotedLamports":"98667","reference":"DtmPrbM82SvzSdAaoosvZHDPfmen15ZvAEXjxzDdjaDT","session":"eyJhcnRpY2xlSWQiOiJsbG0tcHJvbXB0LWNhY2hpbmctY29zdC1yZWR1Y3Rpb24iLCJyZWZlcmVuY2UiOiJEdG1QcmJNODJTdnpTZEFhb29zdlpIRFBmbWVuMTVadkFFWGp4ekRkamFEVCIsInJlY2lwaWVudCI6IjdMU2pmckpmOGZOc0I4VkE5dTdOM1dFbjI1c21RTHBvYjNTdnlVdlhhY3k3IiwibWludCI6bnVsbCwibWluQW1vdW50Ijo5NTcwNiwiZXhwIjoxNzkyODM3MjA2NTIxfQ.5gMiiK680v3xI8Q8ksBXu6Jv8hCKz3YSwpuvoTIJmHg","solUsdPrice":101.35},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"}],"description":"Cut LLM API cost with prompt caching - stable-prefix prompt layout, cache-hit measurement, context trimming, model routing and batch jobs","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"body":"How to reduce LLM spend: stable-prefix prompt design for caching, cache hit measurement from usage fields, minimum cacheable sizes and TTLs, avoiding cache-busting content, trimming history, model routing and batch processing.","c":"AI & Agents","id":"llm-prompt-caching-cost-reduction","t":"Cut LLM API Cost with Prompt Caching and Context Hygiene"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"body":{"description":"Main body text","type":"string"},"c":{"description":"Category of the guide","type":"string"},"id":{"description":"Identifier of the record","type":"string"},"license":{"description":"License identifier","type":"string"},"price":{"description":"Price","type":["number","null"]},"t":{"description":"Title of the guide","type":"string"}},"required":["id","t","c","body"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791811517/bazaar-icons/bc5e2b3d111ebbef.jpg","lastUpdated":"2026-10-24T10:18:06.556Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-24T10:18:06.242Z"},"resource":"https://saylorinnovations.com/api/kb/llm-prompt-caching-cost-reduction","serviceName":"Saylor Innovations Guide Library","tags":["llm","prompt-caching","cost","tokens","optimization"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Cut LLM API cost with prompt caching - stable-prefix prompt layout, cache-hit measurement, context trimming, model routing and batch jobs"},"body_sha256":"c159416d8e1d229e8025f3bd13a81c2c0b3efb6053186841423c9fb78a8dcd67","prev_id":null,"leaf":"0xb90f8f226a488f9209aa7038fab41fee14ef4e8357d90b0b61e01bc3af68f03c","leaf_text":"{\"body\":\"c159416d8e1d229e8025f3bd13a81c2c0b3efb6053186841423c9fb78a8dcd67\",\"id\":120176,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025617453175,\"prev\":null,\"subject\":\"x402_bazaar:https://saylorinnovations.com/api/kb/llm-prompt-caching-cost-reduction\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0xb90f23f74fd7430f4461dddf23c85b572e1b231256719a130c0821a29bb83892","0xe42fea8a12ee6285442fe026d6da34b58bd6e53d8f066ab722d5f13102d7ec2d","0x73a7300ae7fa05009dd895cd41f6111dbe4de63516d04a996bd100814d4da276","0x15a3799e092a5e7b460ab0de6364c9dcfe0056e00003099a9142c0a619242d19","0xd9566f211b1fbc898bff1d105837c3e4f2a65eae863ecb4c18a53e14f4cb43e0","0x83fbb0d39ea01812afb1dac4e775cd40afabaabbb21f5987c836e22ab65ba30b","0x6729fb1be8a939d4149360be8edf4a92ca061bb3b2d86922d650290bca3afdb6","0x1c1e11fc2487500a9c221c1db79b77bf164feb26048cf9c98b208614f16511fc","0x2690027586151aef25bffaaa23dbe6062fb829109685064346cf0542b92a73ec","0x2a5c6878834071db08774384e91dbce1a180bcb1f079fcc809e29d3efca761f5","0xcf50b54d8921f0c22877e0b8d6b8393a1954218f000f7cac374e9f40a024f700","0xb6efd79902cac6d5a402ebecb8069402f00961ab80cd71b4d647fbc686d975ec","0x2f43fe2b2533a5f40c107c114e458e226102f5f8ae91f097e964345880e30928","0xf692ce2b0a640ec9f75aa960e5fb1c2c7091a04e24881798735752c19014e519","0x9f68b5e15459cb62b8c0cd4c124fa61c74147b4a5755a200fbecd21a581635d1","0x123ec8bee20ddc55223eeef5a4f4d6c4b6416515adbb911c56759f5cde56e452","0xd0651cb9bc8155eb52b5247d506e74b8a935057dc190ba52091702ac25ed3a40","0x9a9024edb5069d88a324facb310a5ce8e495214bbaa968f077bede437390194f","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}