{"version":"2.1.314","anchor":"per-model-pricing-for-third-party-providers-now-comes-from-m","canonical_anchor":"per-model-pricing-for-third-party-providers-now-comes-from-m","heading":"Third-party provider costs now come from model metadata","tier":"notice","area":"Cost Tracking","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/per-model-pricing-for-third-party-providers-now-comes-from-m","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Third-party provider costs now come from model metadata\n\nOn Bedrock, Vertex, Foundry and Mantle, cost figures now use a `pricing` field in each model's metadata instead of the `tengu_tingly_pike` server flag\n\n**Unclear.** It is not stated whether any model's details actually include prices, so the figures may not change at all.\n\n**What**\n\nClaude Code estimates what a session costs from per-model prices. For the Bedrock, Vertex, Foundry and Mantle providers, those prices now come from the model's own metadata (the description of the model Claude Code loads) instead of the server-side setting `tengu_tingly_pike`, which no longer appears in this build.\n\n- The model information schema now accepts a `pricing` field and an `eager_input_streaming` object with `bedrock` and `vertex` true\/false values.\n\n- `pricing` holds prices for input, output, `cache_write_5m`, `cache_write_1h`, `cache_read` and `web_search`, plus an optional `long_prompt` tier with `above_prompt_tokens`. Each price must be between 0.005 and 10000.\n\n- Price lookup tries the built-in table first, then the metadata pricing, then the cached additional model costs, and finally the metadata pricing of the default model. The check for whether a model has known pricing uses it too.\n\n- Usage accounting now takes the per-request web search price from the model's `pricing.web_search` when there is one, and matches exact entries against known model families for some models.\n\n**Why**\n\nOn those four providers, the costs Claude Code shows now follow the model's published metadata, so figures may change or appear where none were shown before.\n\n- Flag `tengu_tingly_pike`: Not enough to say (read for one account on one subscription tier against v2.1.314; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Cost Tracking\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}