diff --git a/crates/goose-provider-types/src/canonical.rs b/crates/goose-provider-types/src/canonical.rs index 6070af231..eb84ef0cf 100644 --- a/crates/goose-provider-types/src/canonical.rs +++ b/crates/goose-provider-types/src/canonical.rs @@ -4,7 +4,7 @@ pub mod models_dev; mod name_builder; mod registry; -pub use model::{CanonicalModel, Limit, Modalities, Modality, Pricing, ThinkingMode}; +pub use model::{CanonicalModel, Limit, Modalities, Modality, Pricing, PricingTier, ThinkingMode}; pub use name_builder::{ canonical_name, map_provider_name, map_to_canonical_model, strip_version_suffix, }; diff --git a/crates/goose-provider-types/src/canonical/data/canonical_models.json b/crates/goose-provider-types/src/canonical/data/canonical_models.json index 86b55c735..0deba80b0 100644 --- a/crates/goose-provider-types/src/canonical/data/canonical_models.json +++ b/crates/goose-provider-types/src/canonical/data/canonical_models.json @@ -404,7 +404,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -2456,7 +2465,14 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 0.0 + "cache_write": 0.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5 + } + ] }, "limit": { "context": 1050000, @@ -8822,7 +8838,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -8861,7 +8886,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -8901,7 +8935,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -8941,7 +8984,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -9131,7 +9183,16 @@ "input": 3.3, "output": 16.5, "cache_read": 0.33, - "cache_write": 4.125 + "cache_write": 4.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.6, + "output": 24.75, + "cache_read": 0.66, + "cache_write": 8.25 + } + ] }, "limit": { "context": 1000000, @@ -9170,7 +9231,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -9209,7 +9279,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -9422,7 +9501,15 @@ "cost": { "input": 0.08, "output": 0.4, - "cache_read": 0.016 + "cache_read": 0.016, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.16, + "output": 0.8, + "cache_read": 0.032 + } + ] }, "limit": { "context": 1048576, @@ -9452,7 +9539,15 @@ "cost": { "input": 0.2, "output": 0.6, - "cache_read": 0.04 + "cache_read": 0.04, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.4, + "output": 1.2, + "cache_read": 0.08 + } + ] }, "limit": { "context": 1048576, @@ -9723,7 +9818,21 @@ "cost": { "input": 0.48, "output": 2.41, - "cache_read": 0.09644 + "cache_read": 0.09644, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.72, + "output": 3.62, + "cache_read": 0.144656 + }, + { + "above_input_tokens": 128000, + "input": 1.45, + "output": 7.23, + "cache_read": 0.28932 + } + ] }, "limit": { "context": 256000, @@ -9760,7 +9869,21 @@ "cost": { "input": 0.08, "output": 0.51, - "cache_read": 0.01692 + "cache_read": 0.01692, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.13, + "output": 0.76, + "cache_read": 0.02536 + }, + { + "above_input_tokens": 128000, + "input": 0.25, + "output": 1.52, + "cache_read": 0.05072 + } + ] }, "limit": { "context": 256000, @@ -9797,7 +9920,21 @@ "cost": { "input": 0.03, "output": 0.28, - "cache_read": 0.00564 + "cache_read": 0.00564, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.06, + "output": 0.56, + "cache_read": 0.01128 + }, + { + "above_input_tokens": 128000, + "input": 0.11, + "output": 1.13, + "cache_read": 0.02256 + } + ] }, "limit": { "context": 256000, @@ -9834,7 +9971,21 @@ "cost": { "input": 0.48, "output": 2.41, - "cache_read": 0.09644 + "cache_read": 0.09644, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.72, + "output": 3.62, + "cache_read": 0.144656 + }, + { + "above_input_tokens": 128000, + "input": 1.45, + "output": 7.23, + "cache_read": 0.28932 + } + ] }, "limit": { "context": 256000, @@ -9978,7 +10129,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -10018,7 +10177,15 @@ "cost": { "input": 0.5, "output": 3.0, - "cache_read": 0.05 + "cache_read": 0.05, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 0.5, + "output": 3.0, + "cache_read": 0.05 + } + ] }, "limit": { "context": 1048576, @@ -10206,7 +10373,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -10245,7 +10420,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -10472,7 +10655,14 @@ "open_weights": true, "cost": { "input": 0.274, - "output": 1.096 + "output": 1.096, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.548, + "output": 1.644 + } + ] }, "limit": { "context": 64000, @@ -10502,7 +10692,15 @@ "cost": { "input": 0.273974, "output": 1.095896, - "cache_read": 0.0547948 + "cache_read": 0.0547948, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.547946, + "output": 2.191784, + "cache_read": 0.1095892 + } + ] }, "limit": { "context": 204800, @@ -10534,7 +10732,15 @@ "cost": { "input": 0.137, "output": 0.411, - "cache_read": 0.0274 + "cache_read": 0.0274, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.274, + "output": 0.822, + "cache_read": 0.0548 + } + ] }, "limit": { "context": 128000, @@ -10564,7 +10770,15 @@ "cost": { "input": 0.273974, "output": 1.095896, - "cache_read": 0.0547948 + "cache_read": 0.0547948, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.547946, + "output": 2.191784, + "cache_read": 0.1095892 + } + ] }, "limit": { "context": 204800, @@ -10997,7 +11211,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -11112,7 +11334,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -11148,7 +11378,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -11308,7 +11545,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -11349,7 +11595,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -11390,7 +11645,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -11546,7 +11810,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -11657,7 +11929,15 @@ "cost": { "input": 2.2, "output": 6.6, - "cache_read": 0.55 + "cache_read": 0.55, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.4, + "output": 13.2, + "cache_read": 1.1 + } + ] }, "limit": { "context": 500000, @@ -12458,7 +12738,23 @@ "input": 0.4508, "output": 2.7048, "cache_read": 0.09016, - "cache_write": 0.5635 + "cache_write": 0.5635, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.902, + "output": 5.412, + "cache_read": 0.1804, + "cache_write": 1.1275 + }, + { + "above_input_tokens": 128000, + "input": 1.3522, + "output": 8.1132, + "cache_read": 0.27044, + "cache_write": 1.69025 + } + ] }, "limit": { "context": 262144, @@ -12489,7 +12785,21 @@ "cost": { "input": 0.137, "output": 1.37, - "cache_read": 0.0 + "cache_read": 0.0, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.2054, + "output": 2.054, + "cache_read": 0.0 + }, + { + "above_input_tokens": 128000, + "input": 0.411, + "output": 4.11, + "cache_read": 0.0 + } + ] }, "limit": { "context": 262144, @@ -12520,7 +12830,14 @@ "open_weights": true, "cost": { "input": 0.1126, - "output": 0.9008 + "output": 0.9008, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.2818, + "output": 2.2544 + } + ] }, "limit": { "context": 262144, @@ -12551,7 +12868,14 @@ "open_weights": true, "cost": { "input": 0.0846, - "output": 0.6768 + "output": 0.6768, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.2536, + "output": 2.0288 + } + ] }, "limit": { "context": 262144, @@ -12582,7 +12906,14 @@ "open_weights": true, "cost": { "input": 0.0564, - "output": 0.4512 + "output": 0.4512, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.2254, + "output": 1.8032 + } + ] }, "limit": { "context": 262144, @@ -12613,7 +12944,14 @@ "open_weights": true, "cost": { "input": 0.1644, - "output": 0.9864 + "output": 0.9864, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.411, + "output": 2.466 + } + ] }, "limit": { "context": 262144, @@ -12645,7 +12983,23 @@ "input": 0.0282, "output": 0.282, "cache_read": 0.00282, - "cache_write": 0.03525 + "cache_write": 0.03525, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.1126, + "output": 1.126, + "cache_read": 0.01126, + "cache_write": 0.14075 + }, + { + "above_input_tokens": 256000, + "input": 0.169, + "output": 1.69, + "cache_read": 0.0169, + "cache_write": 0.21125 + } + ] }, "limit": { "context": 1000000, @@ -12678,7 +13032,23 @@ "input": 0.1096, "output": 0.6576, "cache_read": 0.01096, - "cache_write": 0.137 + "cache_write": 0.137, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.274, + "output": 1.644, + "cache_read": 0.0274, + "cache_write": 0.3425 + }, + { + "above_input_tokens": 256000, + "input": 0.548, + "output": 3.288, + "cache_read": 0.0548, + "cache_write": 0.685 + } + ] }, "limit": { "context": 1000000, @@ -12742,7 +13112,16 @@ "input": 0.17, "output": 1.01, "cache_read": 0.0169, - "cache_write": 0.21125 + "cache_write": 0.21125, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.68, + "output": 4.06, + "cache_read": 0.0676, + "cache_write": 0.845 + } + ] }, "limit": { "context": 991000, @@ -12773,7 +13152,16 @@ "input": 1.27, "output": 7.61, "cache_read": 0.1268, - "cache_write": 1.585 + "cache_write": 1.585, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 2.11, + "output": 12.67, + "cache_read": 0.2112, + "cache_write": 2.64 + } + ] }, "limit": { "context": 240000, @@ -12806,7 +13194,16 @@ "input": 0.28, "output": 1.69, "cache_read": 0.0282, - "cache_write": 0.3525 + "cache_write": 0.3525, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.13, + "output": 6.77, + "cache_read": 0.1128, + "cache_write": 1.41 + } + ] }, "limit": { "context": 991000, @@ -13180,7 +13577,15 @@ "cost": { "input": 0.44, "output": 2.2, - "cache_read": 0.088 + "cache_read": 0.088, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.88, + "output": 4.4, + "cache_read": 0.176 + } + ] }, "limit": { "context": 1048576, @@ -13243,7 +13648,15 @@ "cost": { "input": 1.1, "output": 3.3, - "cache_read": 0.22 + "cache_read": 0.22, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.2, + "output": 6.6, + "cache_read": 0.44 + } + ] }, "limit": { "context": 1048576, @@ -14080,7 +14493,14 @@ "open_weights": false, "cost": { "input": 0.573, - "output": 2.58 + "output": 2.58, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.86, + "output": 3.154 + } + ] }, "limit": { "context": 202752, @@ -14109,7 +14529,14 @@ "cost": { "input": 0.825, "output": 3.301, - "cache_read": 0.17 + "cache_read": 0.17, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.1, + "output": 3.851 + } + ] }, "limit": { "context": 202752, @@ -15393,7 +15820,19 @@ "open_weights": true, "cost": { "input": 0.216, - "output": 0.861 + "output": 0.861, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.323, + "output": 1.291 + }, + { + "above_input_tokens": 128000, + "input": 0.538, + "output": 2.151 + } + ] }, "limit": { "context": 262144, @@ -15422,7 +15861,19 @@ "open_weights": true, "cost": { "input": 0.861, - "output": 3.441 + "output": 3.441, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.291, + "output": 5.161 + }, + { + "above_input_tokens": 128000, + "input": 2.151, + "output": 8.602 + } + ] }, "limit": { "context": 262144, @@ -15480,7 +15931,24 @@ "open_weights": true, "cost": { "input": 0.574, - "output": 2.296 + "output": 2.296, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.861, + "output": 3.444 + }, + { + "above_input_tokens": 128000, + "input": 1.435, + "output": 5.74 + }, + { + "above_input_tokens": 256000, + "input": 2.87, + "output": 28.7 + } + ] }, "limit": { "context": 1048576, @@ -15509,7 +15977,19 @@ "open_weights": false, "cost": { "input": 0.359, - "output": 1.434 + "output": 1.434, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.574, + "output": 2.294 + }, + { + "above_input_tokens": 128000, + "input": 1.004, + "output": 4.014 + } + ] }, "limit": { "context": 262144, @@ -15753,7 +16233,14 @@ "open_weights": true, "cost": { "input": 0.172, - "output": 1.032 + "output": 1.032, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.43, + "output": 2.58 + } + ] }, "limit": { "context": 262144, @@ -15784,7 +16271,19 @@ "open_weights": false, "cost": { "input": 0.029, - "output": 0.287 + "output": 0.287, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.115, + "output": 1.147 + }, + { + "above_input_tokens": 256000, + "input": 0.172, + "output": 1.72 + } + ] }, "limit": { "context": 1000000, @@ -15815,7 +16314,19 @@ "open_weights": false, "cost": { "input": 0.115, - "output": 0.688 + "output": 0.688, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.287, + "output": 1.72 + }, + { + "above_input_tokens": 256000, + "input": 0.573, + "output": 3.44 + } + ] }, "limit": { "context": 1000000, @@ -15908,7 +16419,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -15940,7 +16460,23 @@ "input": 0.02962, "output": 0.1185, "cache_read": 0.002962, - "cache_write": 0.03703 + "cache_write": 0.03703, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.08887, + "output": 0.35549, + "cache_read": 0.008887, + "cache_write": 0.11109 + }, + { + "above_input_tokens": 256000, + "input": 0.17774, + "output": 0.71098, + "cache_read": 0.017774, + "cache_write": 0.22218 + } + ] }, "limit": { "context": 1000000, @@ -16003,7 +16539,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -19472,7 +20017,19 @@ "open_weights": true, "cost": { "input": 0.45, - "output": 2.25 + "output": 2.25, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.75, + "output": 3.75 + }, + { + "above_input_tokens": 128000, + "input": 1.2, + "output": 6.0 + } + ] }, "limit": { "context": 262144, @@ -19501,7 +20058,19 @@ "open_weights": true, "cost": { "input": 1.5, - "output": 7.5 + "output": 7.5, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 2.7, + "output": 13.5 + }, + { + "above_input_tokens": 128000, + "input": 4.5, + "output": 22.5 + } + ] }, "limit": { "context": 262144, @@ -20179,7 +20748,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -20211,7 +20789,23 @@ "input": 0.03, "output": 0.13, "cache_read": 0.003, - "cache_write": 0.0375 + "cache_write": 0.0375, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.1, + "output": 0.4, + "cache_read": 0.01, + "cache_write": 0.125 + }, + { + "above_input_tokens": 256000, + "input": 0.2, + "output": 0.8, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1000000, @@ -20274,7 +20868,16 @@ "input": 0.4, "output": 1.6, "cache_read": 0.04, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.2, + "output": 4.8, + "cache_read": 0.12, + "cache_write": 1.5 + } + ] }, "limit": { "context": 1000000, @@ -20705,7 +21308,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -21332,7 +21944,16 @@ "input": 0.11, "output": 0.55, "cache_read": 0.011, - "cache_write": 0.1375 + "cache_write": 0.1375, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.55, + "output": 2.75, + "cache_read": 0.055, + "cache_write": 0.6875 + } + ] }, "limit": { "context": 1000000, @@ -22014,7 +22635,16 @@ "input": 0.11, "output": 0.55, "cache_read": 0.011, - "cache_write": 0.1375 + "cache_write": 0.1375, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.55, + "output": 2.75, + "cache_read": 0.055, + "cache_write": 0.6875 + } + ] }, "limit": { "context": 1000000, @@ -22657,7 +23287,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -23150,7 +23789,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -23190,7 +23838,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -23230,7 +23887,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -23269,7 +23935,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -23309,7 +23984,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -23349,7 +24033,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -23388,7 +24081,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -23846,7 +24548,16 @@ "input": 0.22, "output": 1.32, "cache_read": 0.022, - "cache_write": 0.275 + "cache_write": 0.275, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.44, + "output": 1.98, + "cache_read": 0.044, + "cache_write": 0.55 + } + ] }, "limit": { "context": 1050000, @@ -23887,7 +24598,16 @@ "input": 2.2, "output": 13.2, "cache_read": 0.22, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 19.8, + "cache_read": 0.44, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -23999,7 +24719,16 @@ "input": 0.11, "output": 0.55, "cache_read": 0.011, - "cache_write": 0.1375 + "cache_write": 0.1375, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.55, + "output": 2.75, + "cache_read": 0.055, + "cache_write": 0.6875 + } + ] }, "limit": { "context": 1000000, @@ -25055,7 +25784,16 @@ "input": 0.22, "output": 1.32, "cache_read": 0.022, - "cache_write": 0.275 + "cache_write": 0.275, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.44, + "output": 1.98, + "cache_read": 0.044, + "cache_write": 0.55 + } + ] }, "limit": { "context": 1050000, @@ -25096,7 +25834,16 @@ "input": 4.4, "output": 22.0, "cache_read": 0.44, - "cache_write": 5.5 + "cache_write": 5.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.8, + "output": 33.0, + "cache_read": 0.88, + "cache_write": 11.0 + } + ] }, "limit": { "context": 1050000, @@ -25137,7 +25884,16 @@ "input": 2.2, "output": 13.2, "cache_read": 0.22, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 19.8, + "cache_read": 0.44, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -25177,7 +25933,16 @@ "input": 11.0, "output": 55.0, "cache_read": 1.1, - "cache_write": 13.75 + "cache_write": 13.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 22.0, + "output": 82.5, + "cache_read": 2.2, + "cache_write": 27.5 + } + ] }, "limit": { "context": 1050000, @@ -25218,7 +25983,16 @@ "input": 0.11, "output": 0.55, "cache_read": 0.011, - "cache_write": 0.1375 + "cache_write": 0.1375, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.22, + "output": 0.825, + "cache_read": 0.022, + "cache_write": 0.275 + } + ] }, "limit": { "context": 1050000, @@ -25259,7 +26033,16 @@ "input": 2.2, "output": 11.0, "cache_read": 0.22, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 16.5, + "cache_read": 0.44, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -25299,7 +26082,16 @@ "input": 2.2, "output": 11.0, "cache_read": 0.11, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 16.5, + "cache_read": 0.22, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -26091,7 +26883,16 @@ "input": 0.11, "output": 0.55, "cache_read": 0.011, - "cache_write": 0.1375 + "cache_write": 0.1375, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.55, + "output": 2.75, + "cache_read": 0.055, + "cache_write": 0.6875 + } + ] }, "limit": { "context": 1000000, @@ -26822,7 +27623,16 @@ "input": 0.22, "output": 1.32, "cache_read": 0.022, - "cache_write": 0.275 + "cache_write": 0.275, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.44, + "output": 1.98, + "cache_read": 0.044, + "cache_write": 0.55 + } + ] }, "limit": { "context": 1050000, @@ -26862,7 +27672,16 @@ "input": 4.4, "output": 22.0, "cache_read": 0.44, - "cache_write": 5.5 + "cache_write": 5.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.8, + "output": 33.0, + "cache_read": 0.88, + "cache_write": 11.0 + } + ] }, "limit": { "context": 1050000, @@ -26902,7 +27721,16 @@ "input": 2.2, "output": 13.2, "cache_read": 0.22, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 19.8, + "cache_read": 0.44, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -26941,7 +27769,16 @@ "input": 11.0, "output": 55.0, "cache_read": 1.1, - "cache_write": 13.75 + "cache_write": 13.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 22.0, + "output": 82.5, + "cache_read": 2.2, + "cache_write": 27.5 + } + ] }, "limit": { "context": 1050000, @@ -26981,7 +27818,16 @@ "input": 0.11, "output": 0.55, "cache_read": 0.011, - "cache_write": 0.1375 + "cache_write": 0.1375, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.22, + "output": 0.825, + "cache_read": 0.022, + "cache_write": 0.275 + } + ] }, "limit": { "context": 1050000, @@ -27021,7 +27867,16 @@ "input": 2.2, "output": 11.0, "cache_read": 0.22, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 16.5, + "cache_read": 0.44, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -27060,7 +27915,16 @@ "input": 2.2, "output": 11.0, "cache_read": 0.11, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 16.5, + "cache_read": 0.22, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -28180,7 +29044,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -30078,7 +30951,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -30117,7 +30998,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -30182,7 +31071,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -30349,7 +31246,16 @@ "cost": { "input": 0.5, "output": 3.0, - "cache_read": 0.1 + "cache_read": 0.1, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -30502,7 +31408,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -30652,7 +31567,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -30732,7 +31656,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -31986,7 +32919,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -32099,7 +33040,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -32138,7 +33086,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -32179,7 +33135,16 @@ "input": 1.0, "output": 6.0, "cache_read": 0.1, - "cache_write": 1.25 + "cache_write": 1.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 2.0, + "output": 9.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1050000, @@ -32219,7 +33184,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -32260,7 +33233,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1050000, @@ -32301,7 +33283,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -32342,7 +33333,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -32383,7 +33383,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -32423,7 +33432,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -33429,7 +34447,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -33579,7 +34606,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -33659,7 +34695,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -34971,7 +36016,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -35084,7 +36137,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -35123,7 +36183,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -35164,7 +36232,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -35205,7 +36282,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1050000, @@ -35246,7 +36332,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -35287,7 +36382,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -35328,7 +36432,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -35369,7 +36482,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -35409,7 +36531,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -39527,7 +40658,16 @@ "input": 0.4, "output": 1.6, "cache_read": 0.04, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.2, + "output": 4.8, + "cache_read": 0.12, + "cache_write": 1.5 + } + ] }, "limit": { "context": 1000000, @@ -41137,7 +42277,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.0 + "cache_write": 12.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -41178,7 +42327,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -41219,7 +42377,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -41260,7 +42427,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -41531,7 +42707,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -41567,7 +42751,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -41605,7 +42797,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -46985,7 +48185,15 @@ "cost": { "input": 0.4, "output": 0.8, - "cache_read": 0.003 + "cache_read": 0.003, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -47794,7 +49002,16 @@ "input": 1.25, "output": 10.0, "cache_read": 0.125, - "cache_write": 1.25 + "cache_write": 1.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1048576, @@ -47873,7 +49090,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 4.0 + } + ] }, "limit": { "context": 1048576, @@ -48132,7 +49358,16 @@ "input": 0.33, "output": 1.32, "cache_read": 0.066, - "cache_write": 0.33 + "cache_write": 0.33, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.66, + "output": 2.63, + "cache_read": 0.132, + "cache_write": 0.66 + } + ] }, "limit": { "context": 1024000, @@ -48306,7 +49541,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -48423,7 +49667,16 @@ "input": 5.0, "output": 30.0, "cache_read": 0.5, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -48458,7 +49711,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -48498,7 +49758,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -48538,7 +49807,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -48578,7 +49856,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -48617,7 +49904,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -48657,7 +49953,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -48697,7 +50002,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -48736,7 +50050,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -48768,7 +50091,16 @@ "input": 0.19, "output": 1.13, "cache_read": 0.019, - "cache_write": 0.24 + "cache_write": 0.24, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.75, + "output": 4.5, + "cache_read": 0.075, + "cache_write": 0.94 + } + ] }, "limit": { "context": 1000000, @@ -48801,7 +50133,16 @@ "input": 0.32, "output": 1.88, "cache_read": 0.032, - "cache_write": 0.4 + "cache_write": 0.4, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.25, + "output": 7.5, + "cache_read": 0.124, + "cache_write": 1.57 + } + ] }, "limit": { "context": 1000000, @@ -48833,7 +50174,23 @@ "input": 0.04, "output": 0.13, "cache_read": 0.01, - "cache_write": 0.04 + "cache_write": 0.04, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.1, + "output": 0.37, + "cache_read": 0.02, + "cache_write": 0.12 + }, + { + "above_input_tokens": 256000, + "input": 0.19, + "output": 0.74, + "cache_read": 0.04, + "cache_write": 0.24 + } + ] }, "limit": { "context": 1000000, @@ -48896,7 +50253,16 @@ "input": 0.32, "output": 1.25, "cache_read": 0.032, - "cache_write": 0.4 + "cache_write": 0.4, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.96, + "output": 3.75, + "cache_read": 0.096, + "cache_write": 1.2 + } + ] }, "limit": { "context": 1000000, @@ -49112,7 +50478,16 @@ "input": 1.25, "output": 2.5, "cache_read": 0.2, - "cache_write": 1.25 + "cache_write": 1.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -49148,7 +50523,16 @@ "input": 2.0, "output": 6.0, "cache_read": 0.3, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6, + "cache_write": 4.0 + } + ] }, "limit": { "context": 500000, @@ -49186,7 +50570,16 @@ "input": 2.0, "output": 6.0, "cache_read": 0.5, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0, + "cache_write": 4.0 + } + ] }, "limit": { "context": 500000, @@ -49224,7 +50617,16 @@ "input": 2.0, "output": 6.0, "cache_read": 0.5, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0, + "cache_write": 4.0 + } + ] }, "limit": { "context": 500000, @@ -49255,7 +50657,16 @@ "input": 1.0, "output": 2.0, "cache_read": 0.2, - "cache_write": 1.0 + "cache_write": 1.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4, + "cache_write": 2.0 + } + ] }, "limit": { "context": 256000, @@ -49439,7 +50850,16 @@ "input": 0.47, "output": 2.16, "cache_read": 0.1, - "cache_write": 0.47 + "cache_write": 0.47, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.62, + "output": 2.47, + "cache_read": 0.13, + "cache_write": 0.62 + } + ] }, "limit": { "context": 200000, @@ -49469,7 +50889,16 @@ "input": 0.6, "output": 3.0, "cache_read": 0.16, - "cache_write": 0.6 + "cache_write": 0.6, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.8, + "output": 3.4, + "cache_read": 0.2, + "cache_write": 0.8 + } + ] }, "limit": { "context": 200000, @@ -49499,7 +50928,16 @@ "input": 0.9, "output": 3.7, "cache_read": 0.18, - "cache_write": 0.9 + "cache_write": 0.9, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.1, + "output": 4.3, + "cache_read": 0.27, + "cache_write": 1.1 + } + ] }, "limit": { "context": 200000, @@ -49529,7 +50967,16 @@ "input": 1.0, "output": 3.8, "cache_read": 0.2, - "cache_write": 1.0 + "cache_write": 1.0, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.2, + "output": 4.4, + "cache_read": 0.3, + "cache_write": 1.2 + } + ] }, "limit": { "context": 200000, @@ -50630,7 +52077,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -50708,7 +52163,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -50786,7 +52249,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -51042,7 +52513,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -51151,7 +52630,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -51188,7 +52675,15 @@ "cost": { "input": 1.0, "output": 6.0, - "cache_read": 0.1 + "cache_read": 0.1, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 2.0, + "output": 9.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 400000, @@ -51226,7 +52721,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -51263,7 +52766,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -51402,7 +52913,15 @@ "cost": { "input": 0.5, "output": 3.0, - "cache_read": 0.1 + "cache_read": 0.1, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 1.0, + "output": 6.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 256000, @@ -51432,7 +52951,15 @@ "cost": { "input": 0.1, "output": 0.4, - "cache_read": 0.02 + "cache_read": 0.02, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.2, + "output": 0.8, + "cache_read": 0.2 + } + ] }, "limit": { "context": 256000, @@ -51462,7 +52989,15 @@ "cost": { "input": 0.5, "output": 3.0, - "cache_read": 0.1 + "cache_read": 0.1, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 1.0, + "output": 6.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 256000, @@ -51697,7 +53232,21 @@ "cost": { "input": 1.2, "output": 6.0, - "cache_read": 0.24 + "cache_read": 0.24, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 2.4, + "output": 12.0, + "cache_read": 0.48 + }, + { + "above_input_tokens": 128000, + "input": 3.0, + "output": 15.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 256000, @@ -52004,7 +53553,21 @@ "cost": { "input": 2.5, "output": 7.5, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 5.0, + "output": 15.0, + "cache_read": 1.0 + }, + { + "above_input_tokens": 128000, + "input": 6.25, + "output": 18.5, + "cache_read": 1.25 + } + ] }, "limit": { "context": 256000, @@ -53894,7 +55457,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 200000, @@ -53932,7 +55504,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 200000, @@ -54197,7 +55778,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 200000, @@ -54350,7 +55940,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.2, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.4, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1000000, @@ -54388,7 +55987,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.3, + "cache_write": 3.75 + } + ] }, "limit": { "context": 1000000, @@ -56085,7 +57693,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 400000, @@ -56196,7 +57812,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -56234,7 +57857,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -56273,7 +57904,15 @@ "cost": { "input": 0.2, "output": 1.2, - "cache_read": 0.02 + "cache_read": 0.02, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04 + } + ] }, "limit": { "context": 1050000, @@ -56312,7 +57951,15 @@ "cost": { "input": 4.0, "output": 20.0, - "cache_read": 0.4 + "cache_read": 0.4, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8 + } + ] }, "limit": { "context": 1050000, @@ -56351,7 +57998,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1050000, @@ -56389,7 +58044,15 @@ "cost": { "input": 10.0, "output": 50.0, - "cache_read": 1.0 + "cache_read": 1.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0 + } + ] }, "limit": { "context": 1050000, @@ -56427,7 +58090,15 @@ "cost": { "input": 0.1, "output": 0.5, - "cache_read": 0.01 + "cache_read": 0.01, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02 + } + ] }, "limit": { "context": 1050000, @@ -56465,7 +58136,15 @@ "cost": { "input": 2.0, "output": 10.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1050000, @@ -56503,7 +58182,15 @@ "cost": { "input": 2.0, "output": 10.0, - "cache_read": 0.1 + "cache_read": 0.1, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 1050000, @@ -61264,7 +62951,15 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -61304,7 +62999,15 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -61585,7 +63288,15 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -62658,7 +64369,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -63246,7 +64966,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -63360,7 +65088,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -63399,7 +65134,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -63435,7 +65178,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -63476,7 +65226,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -63517,7 +65276,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -63558,7 +65326,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -63598,7 +65375,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -63639,7 +65425,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -63680,7 +65475,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -63720,7 +65524,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -63795,7 +65608,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -65977,7 +67797,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -66662,7 +68491,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -66700,7 +68538,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -66730,7 +68576,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -66760,7 +68614,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -66797,7 +68659,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -66833,7 +68703,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -66871,7 +68749,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -66909,7 +68795,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -66940,7 +68834,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -67437,7 +69339,15 @@ "cost": { "input": 7.5, "output": 45.0, - "cache_read": 1.5 + "cache_read": 1.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 15.0, + "output": 67.5, + "cache_read": 3.0 + } + ] }, "limit": { "context": 1000000, @@ -67472,7 +69382,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -67507,7 +69425,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -67700,7 +69626,15 @@ "cost": { "input": 0.825, "output": 3.301, - "cache_read": 0.165 + "cache_read": 0.165, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.1, + "output": 3.851, + "cache_read": 0.22 + } + ] }, "limit": { "context": 202000, @@ -68196,7 +70130,15 @@ "cost": { "input": 0.225, "output": 0.9, - "cache_read": 0.045 + "cache_read": 0.045, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.45, + "output": 1.8, + "cache_read": 0.09 + } + ] }, "limit": { "context": 1000000, @@ -68419,7 +70361,15 @@ "cost": { "input": 0.115, "output": 0.917, - "cache_read": 0.115 + "cache_read": 0.115, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.287, + "output": 2.294, + "cache_read": 0.287 + } + ] }, "limit": { "context": 256000, @@ -68457,7 +70407,15 @@ "cost": { "input": 0.086, "output": 0.688, - "cache_read": 0.086 + "cache_read": 0.086, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.258, + "output": 2.064, + "cache_read": 0.258 + } + ] }, "limit": { "context": 256000, @@ -68495,7 +70453,15 @@ "cost": { "input": 0.057, "output": 0.459, - "cache_read": 0.057 + "cache_read": 0.057, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.229, + "output": 1.835, + "cache_read": 0.229 + } + ] }, "limit": { "context": 256000, @@ -68533,7 +70499,15 @@ "cost": { "input": 0.172, "output": 1.032, - "cache_read": 0.172 + "cache_read": 0.172, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.43, + "output": 2.58, + "cache_read": 0.43 + } + ] }, "limit": { "context": 256000, @@ -68671,7 +70645,15 @@ "cost": { "input": 0.36, "output": 2.21, - "cache_read": 0.36 + "cache_read": 0.36, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.08, + "output": 6.62, + "cache_read": 1.08 + } + ] }, "limit": { "context": 1000000, @@ -68783,7 +70765,15 @@ "cost": { "input": 0.25, "output": 1.5, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.0, + "output": 4.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -68820,7 +70810,15 @@ "cost": { "input": 1.31, "output": 7.88, - "cache_read": 1.31 + "cache_read": 1.31, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 1.97, + "output": 11.82, + "cache_read": 1.97 + } + ] }, "limit": { "context": 256000, @@ -68852,7 +70850,15 @@ "cost": { "input": 0.5, "output": 3.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 2.0 + } + ] }, "limit": { "context": 1000000, @@ -68890,7 +70896,21 @@ "cost": { "input": 0.03, "output": 0.13, - "cache_read": 0.006 + "cache_read": 0.006, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.1, + "output": 0.4, + "cache_read": 0.02 + }, + { + "above_input_tokens": 256000, + "input": 0.2, + "output": 0.8, + "cache_read": 0.04 + } + ] }, "limit": { "context": 1000000, @@ -68965,7 +70985,15 @@ "cost": { "input": 0.4, "output": 1.6, - "cache_read": 0.4 + "cache_read": 0.4, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.2, + "output": 4.8, + "cache_read": 1.2 + } + ] }, "limit": { "context": 1000000, @@ -69147,7 +71175,21 @@ "cost": { "input": 1.08, "output": 5.52, - "cache_read": 1.08 + "cache_read": 1.08, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 2.16, + "output": 11.04, + "cache_read": 2.16 + }, + { + "above_input_tokens": 128000, + "input": 2.7, + "output": 13.8, + "cache_read": 2.7 + } + ] }, "limit": { "context": 256000, @@ -69183,7 +71225,15 @@ "cost": { "input": 0.4, "output": 2.4, - "cache_read": 0.4 + "cache_read": 0.4, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.8, + "output": 4.8, + "cache_read": 0.8 + } + ] }, "limit": { "context": 256000, @@ -69219,7 +71269,15 @@ "cost": { "input": 0.31, "output": 2.5, - "cache_read": 0.31 + "cache_read": 0.31, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.62, + "output": 5.0, + "cache_read": 0.62 + } + ] }, "limit": { "context": 256000, @@ -69255,7 +71313,15 @@ "cost": { "input": 0.12, "output": 0.5, - "cache_read": 0.12 + "cache_read": 0.12, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.24, + "output": 1.0, + "cache_read": 0.24 + } + ] }, "limit": { "context": 256000, @@ -69291,7 +71357,15 @@ "cost": { "input": 0.63, "output": 3.79, - "cache_read": 0.63 + "cache_read": 0.63, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 1.26, + "output": 7.58, + "cache_read": 1.26 + } + ] }, "limit": { "context": 256000, @@ -74488,7 +76562,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -74596,7 +76678,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -74637,7 +76727,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -74678,7 +76777,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -74719,7 +76827,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -74759,7 +76876,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -74800,7 +76926,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -74841,7 +76976,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -74881,7 +77025,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -74916,7 +77069,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -74953,7 +77114,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -74991,7 +77160,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -76254,7 +78431,15 @@ "cost": { "input": 0.6, "output": 2.4, - "cache_read": 0.12 + "cache_read": 0.12, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 1.2, + "output": 4.8, + "cache_read": 0.24 + } + ] }, "limit": { "context": 1048576, @@ -76887,7 +79072,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -77030,7 +79224,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -77070,7 +79273,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -77110,7 +79322,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -77295,7 +79516,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -77528,7 +79758,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -78238,7 +80477,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -78496,7 +80743,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -78535,7 +80790,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -79115,7 +81378,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -79145,7 +81416,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -79175,7 +81454,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 200000, @@ -79206,7 +81493,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 524288, @@ -79330,7 +81625,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 131072, @@ -79365,7 +81668,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 131072, @@ -79395,7 +81706,14 @@ "open_weights": false, "cost": { "input": 1.25, - "output": 10.0 + "output": 10.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0 + } + ] }, "limit": { "context": 128000, @@ -79558,7 +81876,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -79988,7 +82314,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -80027,7 +82361,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -85381,7 +87723,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -89391,7 +91741,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -89470,7 +91828,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -90350,7 +92716,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -90462,7 +92836,15 @@ "cost": { "input": 30.0, "output": 180.0, - "cache_read": 3.0 + "cache_read": 3.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0, + "cache_read": 3.0 + } + ] }, "limit": { "context": 1050000, @@ -90501,7 +92883,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -90538,7 +92928,15 @@ "cost": { "input": 30.0, "output": 180.0, - "cache_read": 3.0 + "cache_read": 3.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0, + "cache_read": 3.0 + } + ] }, "limit": { "context": 1050000, @@ -90578,7 +92976,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -90618,7 +93025,16 @@ "input": 5.0, "output": 30.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1050000, @@ -90658,7 +93074,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -90834,7 +93259,15 @@ "cost": { "input": 0.25, "output": 1.5, - "cache_read": 0.05 + "cache_read": 0.05, + "tiers": [ + { + "above_input_tokens": 262144, + "input": 1.0, + "output": 4.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 1000000, @@ -90895,7 +93328,15 @@ "cost": { "input": 0.4, "output": 1.6, - "cache_read": 0.08 + "cache_read": 0.08, + "tiers": [ + { + "above_input_tokens": 262144, + "input": 1.2, + "output": 4.8, + "cache_read": 0.24 + } + ] }, "limit": { "context": 1000000, @@ -109559,7 +112000,15 @@ "cost": { "input": 0.14, "output": 0.28, - "cache_read": 0.003 + "cache_read": 0.003, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.8, + "output": 4.0, + "cache_read": 0.16 + } + ] }, "limit": { "context": 1048576, @@ -109593,7 +112042,15 @@ "cost": { "input": 0.435, "output": 0.87, - "cache_read": 0.004 + "cache_read": 0.004, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -112374,7 +114831,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 983616, @@ -113764,7 +116230,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -114226,7 +116700,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 20000, @@ -115235,7 +117717,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -118463,7 +120953,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -118583,7 +121081,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -118935,7 +121441,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -119055,7 +121569,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -121399,7 +123921,15 @@ "cost": { "input": 0.168, "output": 0.336, - "cache_read": 0.0034 + "cache_read": 0.0034, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.8, + "output": 4.0, + "cache_read": 0.16 + } + ] }, "limit": { "context": 1048576, @@ -121436,7 +123966,15 @@ "cost": { "input": 0.522, "output": 1.044, - "cache_read": 0.0043 + "cache_read": 0.0043, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -122953,7 +125491,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -122989,7 +125535,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -123476,7 +126029,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -125104,7 +127665,15 @@ "cost": { "input": 0.435, "output": 0.87, - "cache_read": 0.0036 + "cache_read": 0.0036, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -125954,7 +128523,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -125989,7 +128566,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -126240,7 +128825,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -126275,7 +128868,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -126311,7 +128912,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -126454,7 +129063,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -126493,7 +129110,15 @@ "cost": { "input": 0.14, "output": 0.28, - "cache_read": 0.0028 + "cache_read": 0.0028, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.8, + "output": 4.0, + "cache_read": 0.16 + } + ] }, "limit": { "context": 1000000, @@ -126529,7 +129154,15 @@ "cost": { "input": 0.435, "output": 0.87, - "cache_read": 0.0036 + "cache_read": 0.0036, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -128253,7 +130886,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -128373,7 +131014,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -130269,7 +132918,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -130305,7 +132962,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -130752,7 +133416,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -130788,7 +133460,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -130819,7 +133499,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -130855,7 +133543,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -130957,7 +133653,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -131102,7 +133806,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -131888,7 +134600,15 @@ "cost": { "input": 0.14, "output": 0.28, - "cache_read": 0.0028 + "cache_read": 0.0028, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.8, + "output": 4.0, + "cache_read": 0.16 + } + ] }, "limit": { "context": 1048576, @@ -131927,7 +134647,15 @@ "cost": { "input": 0.435, "output": 0.87, - "cache_read": 0.0036 + "cache_read": 0.0036, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -133898,7 +136626,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 983616, @@ -138038,7 +140775,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -138144,7 +140889,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -138293,7 +141046,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -138331,7 +141092,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -140275,7 +143044,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -140392,7 +143169,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -142131,7 +144916,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -142161,7 +144954,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -143570,7 +146371,15 @@ "cost": { "input": 0.3, "output": 1.2, - "cache_read": 0.06 + "cache_read": 0.06, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.6, + "output": 2.4, + "cache_read": 0.12 + } + ] }, "limit": { "context": 1000000, @@ -144028,7 +146837,15 @@ "cost": { "input": 0.3, "output": 1.2, - "cache_read": 0.06 + "cache_read": 0.06, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.6, + "output": 2.4, + "cache_read": 0.12 + } + ] }, "limit": { "context": 1000000, @@ -166171,7 +168988,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -166559,7 +169384,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -166674,7 +169507,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -168080,7 +170921,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -168575,7 +171424,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -168693,7 +171550,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -168730,7 +171595,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -168772,7 +171644,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -168814,7 +171695,16 @@ "input": 5.0, "output": 30.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1050000, @@ -168856,7 +171746,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -168897,7 +171796,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -173152,7 +176060,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.4 + "cache_read": 0.4, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -173182,7 +176098,15 @@ "cost": { "input": 0.522, "output": 1.044, - "cache_read": 0.0043 + "cache_read": 0.0043, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.522, + "output": 1.044, + "cache_read": 0.0043 + } + ] }, "limit": { "context": 1048576, @@ -176733,7 +179657,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -176763,7 +179695,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -176799,7 +179739,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -176836,7 +179784,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -183225,7 +186181,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -183336,7 +186300,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -183375,7 +186346,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -183411,7 +186390,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -183452,7 +186438,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -183493,7 +186488,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -183534,7 +186538,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -183575,7 +186588,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -183615,7 +186637,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -183656,7 +186687,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -183697,7 +186737,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -183737,7 +186786,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -183778,7 +186836,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -184310,7 +187377,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -184595,7 +187671,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -184636,7 +187721,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -184671,7 +187765,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -184708,7 +187810,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -184746,7 +187856,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -185160,7 +188278,15 @@ "cost": { "input": 0.3, "output": 1.2, - "cache_read": 0.06 + "cache_read": 0.06, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.6, + "output": 2.4, + "cache_read": 0.12 + } + ] }, "limit": { "context": 1000000, @@ -185273,7 +188399,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -185335,7 +188470,16 @@ "input": 0.4, "output": 1.6, "cache_read": 0.04, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.2, + "output": 4.8, + "cache_read": 0.12, + "cache_write": 1.5 + } + ] }, "limit": { "context": 1000000, @@ -185700,7 +188844,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100000, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -186003,7 +189156,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -186036,7 +189198,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -186472,7 +189643,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -186511,7 +189690,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -187438,7 +190625,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -187592,7 +190787,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -187670,7 +190873,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -187711,7 +190923,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -187752,7 +190973,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1050000, @@ -187792,7 +191022,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -187833,7 +191072,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -187874,7 +191122,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -187914,7 +191171,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -187949,7 +191215,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -187986,7 +191260,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -188024,7 +191306,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -190301,7 +193591,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -190341,7 +193640,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -190494,7 +193802,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 200000, @@ -190527,7 +193844,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -190566,7 +193892,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -190762,7 +194097,14 @@ "open_weights": false, "cost": { "input": 0.25, - "output": 2.0 + "output": 2.0, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.5, + "output": 4.0 + } + ] }, "limit": { "context": 262144, @@ -190792,7 +194134,14 @@ "open_weights": false, "cost": { "input": 0.075, - "output": 0.3 + "output": 0.3, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.1, + "output": 0.8 + } + ] }, "limit": { "context": 262144, @@ -190827,7 +194176,14 @@ "open_weights": false, "cost": { "input": 0.5, - "output": 3.0 + "output": 3.0, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 1.0, + "output": 6.0 + } + ] }, "limit": { "context": 262144, @@ -190863,7 +194219,14 @@ "open_weights": false, "cost": { "input": 0.25, - "output": 2.0 + "output": 2.0, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.5, + "output": 4.0 + } + ] }, "limit": { "context": 262144, @@ -190899,7 +194262,14 @@ "open_weights": false, "cost": { "input": 0.1, - "output": 0.4 + "output": 0.4, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 0.2, + "output": 0.8 + } + ] }, "limit": { "context": 262144, @@ -191707,7 +195077,15 @@ "input": 1.25, "output": 10.0, "cache_read": 0.125, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -191741,7 +195119,15 @@ "input": 1.25, "output": 10.0, "cache_read": 0.125, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -192075,7 +195461,15 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -192115,7 +195509,15 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -196014,7 +199416,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -196167,7 +199577,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -196206,7 +199623,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -196242,7 +199667,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -196283,7 +199715,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -196324,7 +199765,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -196365,7 +199815,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196406,7 +199865,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196447,7 +199915,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196488,7 +199965,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196528,7 +200014,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -196567,7 +200062,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -196608,7 +200112,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -196648,7 +200161,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -196689,7 +200211,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196729,7 +200260,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196769,7 +200309,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -196808,7 +200357,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -197863,7 +201421,16 @@ "input": 0.26, "output": 0.78, "cache_read": 0.052, - "cache_write": 0.325 + "cache_write": 0.325, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.78, + "output": 2.34, + "cache_read": 0.156, + "cache_write": 0.975 + } + ] }, "limit": { "context": 1000000, @@ -198215,7 +201782,23 @@ "input": 0.195, "output": 0.975, "cache_read": 0.039, - "cache_write": 0.24375 + "cache_write": 0.24375, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.325, + "output": 1.625, + "cache_read": 0.065, + "cache_write": 0.40625 + }, + { + "above_input_tokens": 128000, + "input": 0.52, + "output": 2.6, + "cache_read": 0.104, + "cache_write": 0.65 + } + ] }, "limit": { "context": 1000000, @@ -198276,7 +201859,23 @@ "input": 0.65, "output": 3.25, "cache_read": 0.13, - "cache_write": 0.8125 + "cache_write": 0.8125, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.17, + "output": 5.85, + "cache_read": 0.234, + "cache_write": 1.4625 + }, + { + "above_input_tokens": 128000, + "input": 1.95, + "output": 9.75, + "cache_read": 0.39, + "cache_write": 2.4375 + } + ] }, "limit": { "context": 1000000, @@ -198307,7 +201906,23 @@ "input": 0.78, "output": 3.9, "cache_read": 0.156, - "cache_write": 0.975 + "cache_write": 0.975, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.56, + "output": 7.8, + "cache_read": 0.312, + "cache_write": 1.95 + }, + { + "above_input_tokens": 128000, + "input": 1.95, + "output": 9.75, + "cache_read": 0.39, + "cache_write": 2.4375 + } + ] }, "limit": { "context": 262144, @@ -198335,7 +201950,19 @@ "open_weights": false, "cost": { "input": 0.78, - "output": 3.9 + "output": 3.9, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.56, + "output": 7.8 + }, + { + "above_input_tokens": 128000, + "input": 1.95, + "output": 9.75 + } + ] }, "limit": { "context": 262144, @@ -198815,7 +202442,15 @@ "cost": { "input": 0.3, "output": 1.8, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.375, + "output": 2.25, + "cache_write": 0.46875 + } + ] }, "limit": { "context": 1000000, @@ -198846,7 +202481,14 @@ "open_weights": false, "cost": { "input": 0.26, - "output": 1.56 + "output": 1.56, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.325, + "output": 1.95 + } + ] }, "limit": { "context": 1000000, @@ -198939,7 +202581,15 @@ "cost": { "input": 0.1875, "output": 1.125, - "cache_write": 0.234375 + "cache_write": 0.234375, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.75, + "output": 3.0, + "cache_write": 0.9375 + } + ] }, "limit": { "context": 1000000, @@ -198969,7 +202619,15 @@ "cost": { "input": 1.027, "output": 6.162, - "cache_write": 1.28375 + "cache_write": 1.28375, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 1.58, + "output": 9.48, + "cache_write": 1.975 + } + ] }, "limit": { "context": 262144, @@ -199001,7 +202659,15 @@ "cost": { "input": 0.325, "output": 1.95, - "cache_write": 0.40625 + "cache_write": 0.40625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.3, + "output": 3.9, + "cache_write": 1.625 + } + ] }, "limit": { "context": 1000000, @@ -199033,7 +202699,23 @@ "input": 0.03, "output": 0.13, "cache_read": 0.006, - "cache_write": 0.038 + "cache_write": 0.038, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.1, + "output": 0.4, + "cache_read": 0.02, + "cache_write": 0.125 + }, + { + "above_input_tokens": 256000, + "input": 0.2, + "output": 0.8, + "cache_read": 0.04, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1000000, @@ -199095,7 +202777,16 @@ "input": 0.32, "output": 1.28, "cache_read": 0.064, - "cache_write": 0.4 + "cache_write": 0.4, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.96, + "output": 3.84, + "cache_read": 0.192, + "cache_write": 1.2 + } + ] }, "limit": { "context": 1000000, @@ -199491,7 +203182,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -199528,7 +203227,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -200427,7 +204134,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -200465,7 +204180,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -200502,7 +204225,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -200538,7 +204269,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -200576,7 +204315,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -200614,7 +204361,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -200645,7 +204400,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -201640,7 +205403,15 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 0.375 + "cache_write": 0.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -201715,7 +205486,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -201756,7 +205536,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -201835,7 +205624,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -201876,7 +205674,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -201913,7 +205720,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -202279,7 +206094,16 @@ "input": 3.3, "output": 16.5, "cache_read": 0.33, - "cache_write": 4.125 + "cache_write": 4.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.6, + "output": 24.75, + "cache_read": 0.66, + "cache_write": 8.25 + } + ] }, "limit": { "context": 200000, @@ -202500,7 +206324,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -202858,7 +206690,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -202969,7 +206809,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -203008,7 +206855,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -203084,7 +206939,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1000000, @@ -203125,7 +206989,16 @@ "input": 5.0, "output": 30.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -203166,7 +207039,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1000000, @@ -203205,7 +207087,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -203352,7 +207243,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -203469,7 +207368,15 @@ "cost": { "input": 0.6, "output": 2.4, - "cache_read": 0.12 + "cache_read": 0.12, + "tiers": [ + { + "above_input_tokens": 524288, + "input": 1.2, + "output": 4.8, + "cache_read": 0.24 + } + ] }, "limit": { "context": 1000000, @@ -204542,7 +208449,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -204701,7 +208616,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -204740,7 +208663,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -205069,7 +209000,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -206290,7 +210229,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -206401,7 +210348,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -206440,7 +210394,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -206476,7 +210438,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -207151,7 +211120,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -208698,7 +212676,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -208739,7 +212725,15 @@ "cost": { "input": 0.5, "output": 3.0, - "cache_read": 0.05 + "cache_read": 0.05, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 0.5, + "output": 3.0, + "cache_read": 0.05 + } + ] }, "limit": { "context": 1048576, @@ -208780,7 +212774,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -209176,7 +213178,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -218045,7 +222055,14 @@ "open_weights": false, "cost": { "input": 0.09, - "output": 0.71 + "output": 0.71, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 0.09, + "output": 0.71 + } + ] }, "limit": { "context": 1048576, @@ -218078,7 +222095,14 @@ "open_weights": false, "cost": { "input": 0.07, - "output": 0.43 + "output": 0.43, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 0.07, + "output": 0.43 + } + ] }, "limit": { "context": 1048576, @@ -222022,7 +226046,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -222062,7 +226095,16 @@ "input": 3.3, "output": 16.5, "cache_read": 0.3, - "cache_write": 4.125 + "cache_write": 4.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.6, + "output": 24.75, + "cache_read": 0.6, + "cache_write": 8.25 + } + ] }, "limit": { "context": 1000000, @@ -222182,7 +226224,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -222695,7 +226746,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1048576, @@ -222821,7 +226880,16 @@ "input": 1.25, "output": 10.0, "cache_read": 0.31, - "cache_write": 2.375 + "cache_write": 2.375, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.62, + "cache_write": 4.75 + } + ] }, "limit": { "context": 1048576, @@ -223027,7 +227095,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 4.5 + "cache_write": 4.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 9.0 + } + ] }, "limit": { "context": 1048576, @@ -224270,7 +228347,15 @@ "cost": { "input": 2.75, "output": 16.5, - "cache_read": 0.275 + "cache_read": 0.275, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.5, + "output": 24.75, + "cache_read": 0.55 + } + ] }, "limit": { "context": 1050000, @@ -224386,7 +228471,15 @@ "cost": { "input": 5.5, "output": 33.0, - "cache_read": 0.55 + "cache_read": 0.55, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 11.0, + "output": 49.5, + "cache_read": 1.1 + } + ] }, "limit": { "context": 1050000, @@ -224426,7 +228519,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -224466,7 +228568,16 @@ "input": 0.22, "output": 1.32, "cache_read": 0.022, - "cache_write": 0.275 + "cache_write": 0.275, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.44, + "output": 1.98, + "cache_read": 0.044, + "cache_write": 0.55 + } + ] }, "limit": { "context": 1050000, @@ -224506,7 +228617,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -224546,7 +228666,16 @@ "input": 4.4, "output": 22.0, "cache_read": 0.44, - "cache_write": 5.5 + "cache_write": 5.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.8, + "output": 33.0, + "cache_read": 0.88, + "cache_write": 11.0 + } + ] }, "limit": { "context": 1050000, @@ -224586,7 +228715,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -224626,7 +228764,16 @@ "input": 2.2, "output": 13.2, "cache_read": 0.22, - "cache_write": 2.75 + "cache_write": 2.75, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.4, + "output": 19.8, + "cache_read": 0.44, + "cache_write": 5.5 + } + ] }, "limit": { "context": 1050000, @@ -224704,7 +228851,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -224744,7 +228900,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -224784,7 +228949,16 @@ "input": 0.12, "output": 0.6, "cache_read": 0.012, - "cache_write": 0.15 + "cache_write": 0.15, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.24, + "output": 0.9, + "cache_read": 0.024, + "cache_write": 0.3 + } + ] }, "limit": { "context": 1050000, @@ -224824,7 +228998,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -224864,7 +229047,16 @@ "input": 2.4, "output": 12.0, "cache_read": 0.24, - "cache_write": 3.0 + "cache_write": 3.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.8, + "output": 18.0, + "cache_read": 0.48, + "cache_write": 6.0 + } + ] }, "limit": { "context": 1050000, @@ -224904,7 +229096,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -224944,7 +229145,16 @@ "input": 2.4, "output": 12.0, "cache_read": 0.12, - "cache_write": 3.0 + "cache_write": 3.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.8, + "output": 18.0, + "cache_read": 0.24, + "cache_write": 6.0 + } + ] }, "limit": { "context": 1050000, @@ -224981,7 +229191,16 @@ "input": 2.0, "output": 6.0, "cache_read": 0.2, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.4, + "cache_write": 4.0 + } + ] }, "limit": { "context": 2000000, @@ -225020,7 +229239,16 @@ "input": 1.25, "output": 2.5, "cache_read": 0.2, - "cache_write": 1.25 + "cache_write": 1.25, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -225058,7 +229286,16 @@ "input": 2.0, "output": 6.0, "cache_read": 0.5, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0, + "cache_write": 4.0 + } + ] }, "limit": { "context": 500000, @@ -225097,7 +229334,16 @@ "input": 2.0, "output": 6.0, "cache_read": 0.5, - "cache_write": 2.0 + "cache_write": 2.0, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0, + "cache_write": 4.0 + } + ] }, "limit": { "context": 500000, @@ -228216,7 +232462,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -229594,7 +233848,15 @@ "cost": { "input": 1.0, "output": 6.0, - "cache_read": 0.1 + "cache_read": 0.1, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 2.0, + "output": 9.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 1050000, @@ -229634,7 +233896,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -229674,7 +233944,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -237325,7 +241603,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -237364,7 +241650,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -237971,7 +242265,15 @@ "cost": { "input": 0.3, "output": 1.2, - "cache_read": 0.06 + "cache_read": 0.06, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.6, + "output": 2.4, + "cache_read": 0.12 + } + ] }, "limit": { "context": 1048576, @@ -238356,7 +242658,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -238387,7 +242697,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -238424,7 +242742,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -238460,7 +242786,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -238498,7 +242832,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -238536,7 +242878,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -238567,7 +242917,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -245620,7 +249978,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.5, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1000000, @@ -245951,7 +250318,15 @@ "cost": { "input": 1.42, "output": 2.83, - "cache_read": 0.23 + "cache_read": 0.23, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.83, + "output": 5.67, + "cache_read": 0.45 + } + ] }, "limit": { "context": 2000000, @@ -245980,7 +250355,15 @@ "cost": { "input": 1.42, "output": 2.83, - "cache_read": 0.23 + "cache_read": 0.23, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.83, + "output": 5.67, + "cache_read": 0.45 + } + ] }, "limit": { "context": 2000000, @@ -246016,7 +250399,15 @@ "cost": { "input": 1.42, "output": 2.83, - "cache_read": 0.23 + "cache_read": 0.23, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.83, + "output": 5.67, + "cache_read": 0.45 + } + ] }, "limit": { "context": 1000000, @@ -246051,7 +250442,15 @@ "cost": { "input": 2.27, "output": 6.8, - "cache_read": 0.34 + "cache_read": 0.34, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.53, + "output": 13.6, + "cache_read": 0.68 + } + ] }, "limit": { "context": 500000, @@ -246088,7 +250487,15 @@ "cost": { "input": 2.27, "output": 6.8, - "cache_read": 0.57 + "cache_read": 0.57, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.53, + "output": 13.6, + "cache_read": 1.13 + } + ] }, "limit": { "context": 500000, @@ -246125,7 +250532,15 @@ "cost": { "input": 2.27, "output": 6.8, - "cache_read": 0.57 + "cache_read": 0.57, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.53, + "output": 13.6, + "cache_read": 1.13 + } + ] }, "limit": { "context": 500000, @@ -246155,7 +250570,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -246997,7 +251420,14 @@ "open_weights": false, "cost": { "input": 37.5, - "output": 225.0 + "output": 225.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 75.0, + "output": 337.5 + } + ] }, "limit": { "context": 1000000, @@ -247035,7 +251465,15 @@ "cost": { "input": 6.25, "output": 37.5, - "cache_read": 0.625 + "cache_read": 0.625, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 12.5, + "output": 56.25, + "cache_read": 1.25 + } + ] }, "limit": { "context": 1000000, @@ -247110,7 +251548,16 @@ "input": 0.25, "output": 1.5, "cache_read": 0.025, - "cache_write": 0.3125 + "cache_write": 0.3125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.5, + "output": 2.25, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -247149,7 +251596,16 @@ "input": 0.25, "output": 1.5, "cache_read": 0.025, - "cache_write": 0.3125 + "cache_write": 0.3125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.5, + "output": 2.25, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -247189,7 +251645,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -247229,7 +251694,16 @@ "input": 5.0, "output": 25.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 37.5, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1000000, @@ -247269,7 +251743,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1000000, @@ -247308,7 +251791,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1000000, @@ -247347,7 +251839,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -247384,7 +251885,16 @@ "input": 12.5, "output": 62.5, "cache_read": 1.25, - "cache_write": 15.625 + "cache_write": 15.625, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 25.0, + "output": 93.75, + "cache_read": 2.5, + "cache_write": 31.25 + } + ] }, "limit": { "context": 1050000, @@ -247424,7 +251934,16 @@ "input": 0.125, "output": 0.625, "cache_read": 0.0125, - "cache_write": 0.15625 + "cache_write": 0.15625, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.25, + "output": 0.9375, + "cache_read": 0.025, + "cache_write": 0.3125 + } + ] }, "limit": { "context": 1050000, @@ -247464,7 +251983,16 @@ "input": 2.5, "output": 12.5, "cache_read": 0.25, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 18.75, + "cache_read": 0.5, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1050000, @@ -247503,7 +252031,16 @@ "input": 2.5, "output": 12.5, "cache_read": 0.125, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 18.75, + "cache_read": 0.25, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1050000, @@ -247570,7 +252107,16 @@ "input": 0.625, "output": 3.75, "cache_read": 0.0625, - "cache_write": 0.78 + "cache_write": 0.78, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.5, + "output": 7.5, + "cache_read": 0.0625, + "cache_write": 0.78 + } + ] }, "limit": { "context": 1000000, @@ -247635,7 +252181,16 @@ "input": 0.5, "output": 2.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.5, + "output": 6.0, + "cache_read": 0.15, + "cache_write": 1.875 + } + ] }, "limit": { "context": 1000000, @@ -248735,7 +253290,16 @@ "input": 1.3, "output": 7.8, "cache_read": 0.13, - "cache_write": 1.625 + "cache_write": 1.625, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 2.0, + "output": 12.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 240000, @@ -248796,7 +253360,21 @@ "cost": { "input": 1.5, "output": 7.5, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 32001, + "input": 2.7, + "output": 13.5, + "cache_read": 0.54 + }, + { + "above_input_tokens": 128001, + "input": 4.5, + "output": 22.5, + "cache_read": 0.9 + } + ] }, "limit": { "context": 262144, @@ -248884,7 +253462,27 @@ "cost": { "input": 1.0, "output": 5.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 32001, + "input": 1.8, + "output": 9.0, + "cache_read": 0.36 + }, + { + "above_input_tokens": 128001, + "input": 3.0, + "output": 15.0, + "cache_read": 0.6 + }, + { + "above_input_tokens": 256001, + "input": 6.0, + "output": 60.0, + "cache_read": 1.2 + } + ] }, "limit": { "context": 1000000, @@ -248989,7 +253587,21 @@ "cost": { "input": 1.2, "output": 6.0, - "cache_read": 0.24 + "cache_read": 0.24, + "tiers": [ + { + "above_input_tokens": 32001, + "input": 2.4, + "output": 12.0, + "cache_read": 0.48 + }, + { + "above_input_tokens": 128001, + "input": 3.0, + "output": 15.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 262144, @@ -249019,7 +253631,21 @@ "cost": { "input": 1.2, "output": 6.0, - "cache_read": 0.24 + "cache_read": 0.24, + "tiers": [ + { + "above_input_tokens": 32001, + "input": 2.4, + "output": 12.0, + "cache_read": 0.48 + }, + { + "above_input_tokens": 128001, + "input": 3.0, + "output": 15.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 262144, @@ -249049,7 +253675,21 @@ "cost": { "input": 1.2, "output": 6.0, - "cache_read": 0.24 + "cache_read": 0.24, + "tiers": [ + { + "above_input_tokens": 32001, + "input": 2.4, + "output": 12.0, + "cache_read": 0.48 + }, + { + "above_input_tokens": 128001, + "input": 3.0, + "output": 15.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 256000, @@ -249281,7 +253921,16 @@ "input": 0.4, "output": 2.4, "cache_read": 0.04, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 256001, + "input": 0.5, + "output": 3.0, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -249353,7 +254002,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -249394,7 +254052,23 @@ "input": 0.03, "output": 0.13, "cache_read": 0.006, - "cache_write": 0.038 + "cache_write": 0.038, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.1, + "output": 0.4, + "cache_read": 0.02, + "cache_write": 0.125 + }, + { + "above_input_tokens": 256000, + "input": 0.2, + "output": 0.8, + "cache_read": 0.04, + "cache_write": 0.25 + } + ] }, "limit": { "context": 991000, @@ -249475,7 +254149,16 @@ "input": 0.4, "output": 1.6, "cache_read": 0.08, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.2, + "output": 4.8, + "cache_read": 0.24, + "cache_write": 1.5 + } + ] }, "limit": { "context": 1000000, @@ -250277,7 +254960,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 100001, + "input": 0.5, + "output": 2.5, + "cache_read": 0.05, + "cache_write": 0.625 + } + ] }, "limit": { "context": 1000000, @@ -250707,7 +255399,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -250780,7 +255481,16 @@ "input": 3.0, "output": 15.0, "cache_read": 0.3, - "cache_write": 3.75 + "cache_write": 3.75, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 6.0, + "output": 22.5, + "cache_read": 0.6, + "cache_write": 7.5 + } + ] }, "limit": { "context": 1000000, @@ -251224,7 +255934,15 @@ "cost": { "input": 0.25, "output": 2.0, - "cache_read": 0.05 + "cache_read": 0.05, + "tiers": [ + { + "above_input_tokens": 128001, + "input": 0.5, + "output": 4.0, + "cache_read": 0.05 + } + ] }, "limit": { "context": 256000, @@ -251261,7 +255979,15 @@ "cost": { "input": 0.25, "output": 2.0, - "cache_read": 0.05 + "cache_read": 0.05, + "tiers": [ + { + "above_input_tokens": 128001, + "input": 0.5, + "output": 4.0, + "cache_read": 0.05 + } + ] }, "limit": { "context": 256000, @@ -252353,7 +257079,15 @@ "cost": { "input": 1.25, "output": 10.0, - "cache_read": 0.125 + "cache_read": 0.125, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 15.0, + "cache_read": 0.25 + } + ] }, "limit": { "context": 1048576, @@ -252601,7 +257335,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -256763,7 +261505,15 @@ "cost": { "input": 2.5, "output": 15.0, - "cache_read": 0.25 + "cache_read": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -256962,7 +261712,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -257002,7 +261759,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -257078,7 +261843,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1000000, @@ -257119,7 +261891,16 @@ "input": 0.2, "output": 1.2, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.4, + "output": 1.8, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -257160,7 +261941,16 @@ "input": 0.4, "output": 2.4, "cache_read": 0.04, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.8, + "output": 3.6, + "cache_read": 0.08, + "cache_write": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -257202,7 +261992,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -257244,7 +262043,16 @@ "input": 8.0, "output": 40.0, "cache_read": 0.8, - "cache_write": 10.0 + "cache_write": 10.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 16.0, + "output": 60.0, + "cache_read": 1.6, + "cache_write": 20.0 + } + ] }, "limit": { "context": 1050000, @@ -257286,7 +262094,16 @@ "input": 2.0, "output": 12.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -257328,7 +262145,16 @@ "input": 4.0, "output": 24.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 8.0, + "output": 36.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -257368,7 +262194,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -257407,7 +262242,16 @@ "input": 20.0, "output": 100.0, "cache_read": 2.0, - "cache_write": 25.0 + "cache_write": 25.0, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 40.0, + "output": 150.0, + "cache_read": 4.0, + "cache_write": 50.0 + } + ] }, "limit": { "context": 1050000, @@ -257448,7 +262292,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -257489,7 +262342,16 @@ "input": 0.2, "output": 1.0, "cache_read": 0.02, - "cache_write": 0.25 + "cache_write": 0.25, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 0.4, + "output": 1.5, + "cache_read": 0.04, + "cache_write": 0.5 + } + ] }, "limit": { "context": 1050000, @@ -257530,7 +262392,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -257571,7 +262442,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.4, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 8.0, + "output": 30.0, + "cache_read": 0.8, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -257611,7 +262491,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.1, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 4.0, + "output": 15.0, + "cache_read": 0.2, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -257651,7 +262540,16 @@ "input": 4.0, "output": 20.0, "cache_read": 0.2, - "cache_write": 5.0 + "cache_write": 5.0, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 8.0, + "output": 30.0, + "cache_read": 0.4, + "cache_write": 10.0 + } + ] }, "limit": { "context": 1050000, @@ -259091,7 +263989,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -259124,7 +264030,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272001, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1000000, @@ -259262,7 +264176,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -259298,7 +264220,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -259328,7 +264258,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -259358,7 +264296,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.4 + "cache_read": 0.4, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -259394,7 +264340,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -259430,7 +264384,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 2000000, @@ -259466,7 +264428,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -259502,7 +264472,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -259539,7 +264517,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -259576,7 +264562,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -259612,7 +264606,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200001, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -261872,7 +266874,15 @@ "cost": { "input": 2.0, "output": 12.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 18.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -262366,7 +267376,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -262529,7 +267547,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -262570,7 +267597,16 @@ "input": 0.1, "output": 0.5, "cache_read": 0.01, - "cache_write": 0.125 + "cache_write": 0.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 0.2, + "output": 0.75, + "cache_read": 0.02, + "cache_write": 0.25 + } + ] }, "limit": { "context": 1050000, @@ -262611,7 +267647,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -262651,7 +267696,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -263161,7 +268215,21 @@ "cost": { "input": 0.11875, "output": 1.18747, - "cache_read": 0.02375 + "cache_read": 0.02375, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.17812, + "output": 2.37494, + "cache_read": 0.02375 + }, + { + "above_input_tokens": 128000, + "input": 0.35624, + "output": 3.56241, + "cache_read": 0.02375 + } + ] }, "limit": { "context": 256000, @@ -263191,7 +268259,21 @@ "cost": { "input": 0.02227, "output": 0.22265, - "cache_read": 0.00445 + "cache_read": 0.00445, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.04453, + "output": 0.4453, + "cache_read": 0.00445 + }, + { + "above_input_tokens": 128000, + "input": 0.08906, + "output": 0.8906, + "cache_read": 0.00445 + } + ] }, "limit": { "context": 256000, @@ -263221,7 +268303,21 @@ "cost": { "input": 0.11875, "output": 1.18747, - "cache_read": 0.02375 + "cache_read": 0.02375, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.17812, + "output": 2.37494, + "cache_read": 0.02375 + }, + { + "above_input_tokens": 128000, + "input": 0.35624, + "output": 3.56241, + "cache_read": 0.02375 + } + ] }, "limit": { "context": 256000, @@ -263260,7 +268356,21 @@ "cost": { "input": 0.11875, "output": 1.18747, - "cache_read": 0.02375 + "cache_read": 0.02375, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.17812, + "output": 2.37494, + "cache_read": 0.02375 + }, + { + "above_input_tokens": 128000, + "input": 0.35624, + "output": 3.56241, + "cache_read": 0.02375 + } + ] }, "limit": { "context": 256000, @@ -263300,7 +268410,21 @@ "cost": { "input": 0.47499, "output": 2.37494, - "cache_read": 0.095 + "cache_read": 0.095, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.71248, + "output": 3.56241, + "cache_read": 0.1425 + }, + { + "above_input_tokens": 128000, + "input": 1.42496, + "output": 7.12482, + "cache_read": 0.28499 + } + ] }, "limit": { "context": 262144, @@ -263340,7 +268464,21 @@ "cost": { "input": 0.08906, "output": 0.53436, - "cache_read": 0.01781 + "cache_read": 0.01781, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.13359, + "output": 0.80154, + "cache_read": 0.02672 + }, + { + "above_input_tokens": 128000, + "input": 0.26718, + "output": 1.60308, + "cache_read": 0.05344 + } + ] }, "limit": { "context": 256000, @@ -263380,7 +268518,21 @@ "cost": { "input": 0.02969, "output": 0.29687, - "cache_read": 0.00594 + "cache_read": 0.00594, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.05937, + "output": 0.59374, + "cache_read": 0.01187 + }, + { + "above_input_tokens": 128000, + "input": 0.11875, + "output": 1.18747, + "cache_read": 0.02375 + } + ] }, "limit": { "context": 256000, @@ -263420,7 +268572,21 @@ "cost": { "input": 0.47499, "output": 2.37494, - "cache_read": 0.095 + "cache_read": 0.095, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.71248, + "output": 3.56241, + "cache_read": 0.1425 + }, + { + "above_input_tokens": 128000, + "input": 1.42496, + "output": 7.12482, + "cache_read": 0.28499 + } + ] }, "limit": { "context": 256000, @@ -263536,7 +268702,15 @@ "cost": { "input": 0.11875, "output": 0.29687, - "cache_read": 0.02375 + "cache_read": 0.02375, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.17812, + "output": 0.8906, + "cache_read": 0.02375 + } + ] }, "limit": { "context": 256000, @@ -264273,7 +269447,16 @@ "input": 0.33, "output": 1.32, "cache_read": 0.07, - "cache_write": 0.0 + "cache_write": 0.0, + "tiers": [ + { + "above_input_tokens": 512000, + "input": 0.66, + "output": 2.64, + "cache_read": 0.13, + "cache_write": 0.0 + } + ] }, "limit": { "context": 1048576, @@ -265123,7 +270306,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -265154,7 +270345,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -265191,7 +270390,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -265228,7 +270435,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -265264,7 +270479,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.3 + "cache_read": 0.3, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.6 + } + ] }, "limit": { "context": 500000, @@ -265302,7 +270525,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -265340,7 +270571,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -265371,7 +270610,15 @@ "cost": { "input": 1.0, "output": 2.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.0, + "output": 4.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 256000, @@ -270270,7 +275517,15 @@ "cost": { "input": 5.0, "output": 30.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 1050000, @@ -270342,7 +275597,14 @@ "open_weights": false, "cost": { "input": 30.0, - "output": 180.0 + "output": 180.0, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 60.0, + "output": 270.0 + } + ] }, "limit": { "context": 1050000, @@ -270383,7 +275645,16 @@ "input": 1.0, "output": 6.0, "cache_read": 0.1, - "cache_write": 1.25 + "cache_write": 1.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 2.0, + "output": 9.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1050000, @@ -270424,7 +275695,16 @@ "input": 5.0, "output": 30.0, "cache_read": 0.5, - "cache_write": 6.25 + "cache_write": 6.25, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 10.0, + "output": 45.0, + "cache_read": 1.0, + "cache_write": 12.5 + } + ] }, "limit": { "context": 1050000, @@ -270465,7 +275745,16 @@ "input": 2.5, "output": 15.0, "cache_read": 0.25, - "cache_write": 3.125 + "cache_write": 3.125, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 5.0, + "output": 22.5, + "cache_read": 0.5, + "cache_write": 6.25 + } + ] }, "limit": { "context": 1050000, @@ -270505,7 +275794,16 @@ "input": 10.0, "output": 50.0, "cache_read": 1.0, - "cache_write": 12.5 + "cache_write": 12.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 20.0, + "output": 75.0, + "cache_read": 2.0, + "cache_write": 25.0 + } + ] }, "limit": { "context": 1050000, @@ -270546,7 +275844,16 @@ "input": 2.0, "output": 10.0, "cache_read": 0.2, - "cache_write": 2.5 + "cache_write": 2.5, + "tiers": [ + { + "above_input_tokens": 272000, + "input": 4.0, + "output": 15.0, + "cache_read": 0.4, + "cache_write": 5.0 + } + ] }, "limit": { "context": 1050000, @@ -270696,7 +276003,16 @@ "input": 0.5, "output": 3.0, "cache_read": 0.05, - "cache_write": 0.625 + "cache_write": 0.625, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.2, + "cache_write": 2.5 + } + ] }, "limit": { "context": 1000000, @@ -270759,7 +276075,16 @@ "input": 0.4, "output": 1.6, "cache_read": 0.08, - "cache_write": 0.5 + "cache_write": 0.5, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 1.2, + "output": 4.8, + "cache_read": 0.24, + "cache_write": 1.5 + } + ] }, "limit": { "context": 1000000, @@ -271217,7 +276542,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 2000000, @@ -271247,7 +276580,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 128000, + "input": 4.0, + "output": 12.0, + "cache_read": 0.2 + } + ] }, "limit": { "context": 2000000, @@ -271284,7 +276625,15 @@ "cost": { "input": 1.25, "output": 2.5, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 2.5, + "output": 5.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -271320,7 +276669,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -271357,7 +276714,15 @@ "cost": { "input": 2.0, "output": 6.0, - "cache_read": 0.5 + "cache_read": 0.5, + "tiers": [ + { + "above_input_tokens": 200000, + "input": 4.0, + "output": 12.0, + "cache_read": 1.0 + } + ] }, "limit": { "context": 500000, @@ -271555,7 +276920,15 @@ "cost": { "input": 1.0, "output": 3.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1000000, @@ -271588,7 +276961,15 @@ "cost": { "input": 0.4, "output": 2.0, - "cache_read": 0.08 + "cache_read": 0.08, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 0.8, + "output": 4.0, + "cache_read": 0.16 + } + ] }, "limit": { "context": 1048576, @@ -271618,7 +276999,15 @@ "cost": { "input": 1.0, "output": 3.0, - "cache_read": 0.2 + "cache_read": 0.2, + "tiers": [ + { + "above_input_tokens": 256000, + "input": 2.0, + "output": 6.0, + "cache_read": 0.4 + } + ] }, "limit": { "context": 1048576, @@ -271680,7 +277069,15 @@ "cost": { "input": 0.2911, "output": 1.1645, - "cache_read": 0.0582 + "cache_read": 0.0582, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.5823, + "output": 2.3291, + "cache_read": 0.1165 + } + ] }, "limit": { "context": 128000, @@ -271710,7 +277107,15 @@ "cost": { "input": 0.1165, "output": 0.2911, - "cache_read": 0.0233 + "cache_read": 0.0233, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.1747, + "output": 1.1645, + "cache_read": 0.0349 + } + ] }, "limit": { "context": 128000, @@ -271740,7 +277145,15 @@ "cost": { "input": 0.2911, "output": 1.1645, - "cache_read": 0.0582 + "cache_read": 0.0582, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.5823, + "output": 2.3291, + "cache_read": 0.1165 + } + ] }, "limit": { "context": 200000, @@ -271772,7 +277185,15 @@ "cost": { "input": 0.1456, "output": 0.4367, - "cache_read": 0.0291 + "cache_read": 0.0291, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.2911, + "output": 0.8734, + "cache_read": 0.0582 + } + ] }, "limit": { "context": 200000, @@ -271803,7 +277224,15 @@ "cost": { "input": 0.0218, "output": 0.2184, - "cache_read": 0.0044 + "cache_read": 0.0044, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.0437, + "output": 0.4367, + "cache_read": 0.0044 + } + ] }, "limit": { "context": 200000, @@ -271835,7 +277264,15 @@ "cost": { "input": 0.0, "output": 0.0, - "cache_read": 0.0 + "cache_read": 0.0, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.0, + "output": 0.0, + "cache_read": 0.0 + } + ] }, "limit": { "context": 200000, @@ -271865,7 +277302,15 @@ "cost": { "input": 0.2911, "output": 1.1645, - "cache_read": 0.0582 + "cache_read": 0.0582, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.5823, + "output": 2.3291, + "cache_read": 0.1165 + } + ] }, "limit": { "context": 200000, @@ -271954,7 +277399,15 @@ "cost": { "input": 0.58, "output": 2.6, - "cache_read": 0.14 + "cache_read": 0.14, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 0.87, + "output": 3.18, + "cache_read": 0.22 + } + ] }, "limit": { "context": 200000, @@ -271983,7 +277436,15 @@ "cost": { "input": 0.73, "output": 3.19, - "cache_read": 0.174 + "cache_read": 0.174, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.02, + "output": 3.77, + "cache_read": 0.261 + } + ] }, "limit": { "context": 200000, @@ -272012,7 +277473,15 @@ "cost": { "input": 0.8781, "output": 3.5126, - "cache_read": 0.1903 + "cache_read": 0.1903, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.1709, + "output": 4.098, + "cache_read": 0.2927 + } + ] }, "limit": { "context": 200000, @@ -272185,7 +277654,15 @@ "cost": { "input": 0.726, "output": 3.1946, - "cache_read": 0.1743 + "cache_read": 0.1743, + "tiers": [ + { + "above_input_tokens": 32000, + "input": 1.0165, + "output": 3.7754, + "cache_read": 0.2614 + } + ] }, "limit": { "context": 200000, @@ -272904,4 +278381,4 @@ "output": 131072 } } -] \ No newline at end of file +] diff --git a/crates/goose-provider-types/src/canonical/model.rs b/crates/goose-provider-types/src/canonical/model.rs index d4ad0cb9e..5757c1e17 100644 --- a/crates/goose-provider-types/src/canonical/model.rs +++ b/crates/goose-provider-types/src/canonical/model.rs @@ -52,6 +52,28 @@ pub struct Pricing { /// Cost per million cached write tokens #[serde(skip_serializing_if = "Option::is_none")] pub cache_write: Option, + + /// Long-context rates that replace the base rates for the whole request + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub tiers: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct PricingTier { + /// The tier applies once the prompt exceeds this many input tokens + pub above_input_tokens: u64, + + #[serde(skip_serializing_if = "Option::is_none")] + pub input: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub output: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub cache_read: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub cache_write: Option, } impl Pricing { @@ -67,12 +89,24 @@ impl Pricing { } pub fn estimate_cost(&self, usage: &Usage) -> Option { - let input_price = self.input?; - let output_price = self.output?; - let cache_read_price = self.cache_read.unwrap_or(input_price); - let cache_write_price = self.cache_write.unwrap_or(input_price); + let prompt_tokens = usage.input_tokens.unwrap_or(0).max(0) as u64; + let tier = self + .tiers + .iter() + .filter(|tier| prompt_tokens > tier.above_input_tokens) + .max_by_key(|tier| tier.above_input_tokens); + let input_price = tier.and_then(|t| t.input).or(self.input)?; + let output_price = tier.and_then(|t| t.output).or(self.output)?; + let cache_read_price = tier + .and_then(|t| t.cache_read) + .or(self.cache_read) + .unwrap_or(input_price); + let cache_write_price = tier + .and_then(|t| t.cache_write) + .or(self.cache_write) + .unwrap_or(input_price); - let input_tokens = usage.input_tokens.unwrap_or(0).max(0) as f64; + let input_tokens = prompt_tokens as f64; let output_tokens = usage.output_tokens.unwrap_or(0).max(0) as f64; let cache_read_tokens = usage.cache_read_input_tokens.unwrap_or(0).max(0) as f64; let cache_write_tokens = usage.cache_write_input_tokens.unwrap_or(0).max(0) as f64; @@ -187,6 +221,7 @@ mod tests { output, cache_read, cache_write, + tiers: Vec::new(), } } diff --git a/crates/goose-provider-types/src/canonical/models_dev.rs b/crates/goose-provider-types/src/canonical/models_dev.rs index e4dbe8271..cfca50ee3 100644 --- a/crates/goose-provider-types/src/canonical/models_dev.rs +++ b/crates/goose-provider-types/src/canonical/models_dev.rs @@ -1,6 +1,6 @@ use super::{ canonical_name, CanonicalModel, CanonicalModelRegistry, Limit, Modalities, Modality, Pricing, - ThinkingMode, + PricingTier, ThinkingMode, }; use anyhow::{Context, Result}; use serde_json::Value; @@ -62,6 +62,25 @@ fn parse_modalities(model_data: &Value, field: &str) -> Vec { .unwrap_or_else(|| vec![Modality::Text]) } +fn parse_context_tiers(cost: &Value) -> Vec { + let Some(tiers) = cost.get("tiers").and_then(|v| v.as_array()) else { + return Vec::new(); + }; + tiers + .iter() + .filter(|t| t["tier"]["type"] == "context") + .filter_map(|t| { + Some(PricingTier { + above_input_tokens: t["tier"]["size"].as_u64()?, + input: t.get("input").and_then(|v| v.as_f64()), + output: t.get("output").and_then(|v| v.as_f64()), + cache_read: t.get("cache_read").and_then(|v| v.as_f64()), + cache_write: t.get("cache_write").and_then(|v| v.as_f64()), + }) + }) + .collect() +} + fn process_model( model_id: &str, model_data: &Value, @@ -84,13 +103,9 @@ fn process_model( output: c.get("output").and_then(|v| v.as_f64()), cache_read: c.get("cache_read").and_then(|v| v.as_f64()), cache_write: c.get("cache_write").and_then(|v| v.as_f64()), + tiers: parse_context_tiers(c), }, - _ => Pricing { - input: None, - output: None, - cache_read: None, - cache_write: None, - }, + _ => Pricing::default(), }; let limit = Limit { diff --git a/crates/goose/src/providers/canonical_cost.rs b/crates/goose/src/providers/canonical_cost.rs index 6e7d98ec8..1578ddc09 100644 --- a/crates/goose/src/providers/canonical_cost.rs +++ b/crates/goose/src/providers/canonical_cost.rs @@ -139,6 +139,7 @@ fn pricing_from_model_info(info: &ModelInfo) -> Option { output: Some(info.output_token_cost.map(|c| c * 1_000_000.0)?), cache_read: None, cache_write: None, + tiers: Vec::new(), }) } @@ -207,12 +208,13 @@ mod tests { } } - /// Prices 1M input + 1M output tokens, so `expected` reads as the model's - /// input-plus-output rate per million tokens. + /// `expected` reads as the model's base input-plus-output rate per million + /// tokens; the prompt stays below every long-context tier. fn assert_cost(provider: &str, model: &str, expected: f64) { - let used = usage(Some(1_000_000), Some(1_000_000), None); + let used = usage(Some(10_000), Some(10_000), None); let actual = estimate_model_cost(provider, model, &used) - .unwrap_or_else(|| panic!("{provider}/{model} should have public pricing")); + .unwrap_or_else(|| panic!("{provider}/{model} should have public pricing")) + * 100.0; assert!((actual - expected).abs() < 1e-9, "got {actual}"); } @@ -296,12 +298,14 @@ mod tests { output: Some(6.0), cache_read: None, cache_write: None, + ..Default::default() }, &Pricing { input: Some(3.0), output: Some(15.0), cache_read: Some(0.3), cache_write: Some(3.75), + ..Default::default() }, ); assert_eq!(merged.input, Some(2.0)); @@ -320,12 +324,14 @@ mod tests { output: Some(0.0), cache_read: None, cache_write: None, + ..Default::default() }, &Pricing { input: Some(3.0), output: Some(15.0), cache_read: Some(0.3), cache_write: Some(3.75), + ..Default::default() }, ); assert_eq!(merged.cache_read, None); @@ -344,12 +350,14 @@ mod tests { output: Some(15.0), cache_read: None, cache_write: None, + ..Default::default() }, &Pricing { input: Some(3.0), output: Some(15.0), cache_read: Some(0.3), cache_write: None, + ..Default::default() }, ); let usage = usage(Some(1_000_000), Some(0), Some(1_000_000));