inference: declare Gemini 3.7 Flash published rates (refs OpenAgentsInc/openagents#262) Replace the placeholder Gemini rates with Google's Standard paid-tier table. List rates apply from 2027-01-01; the introductory promotion is half those rates through that exclusive UTC cutoff. Only declared rates bill (METER-001).
inference: declare Gemini 3.7 Flash published rates (refs OpenAgentsInc/openagents#262)
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
- pushed
- by user · WAL seq 474 · 2026-08-28T05:14:13.798481Z
Changed files
-
modified
config/config.exs -
modified
lib/openagents_web/live/model_catalog_live.ex -
modified
test/openagents/inference/models_test.exs -
modified
test/openagents/inference/pricing_test.exs -
modified
test/openagents_web/controllers/inference_proxy_fallback_test.exs -
modified
test/openagents_web/controllers/model_catalog_controller_test.exs -
modified
test/openagents_web/live/model_catalog_live_test.exs
Diff
7 files changed, +85 -51
config/config.exs modified +21 -21
@@ -139,19 +139,10 @@ config :openagents,
| 139 | 139 |
|
| 140 | 140 |
|
| 141 | 141 |
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 145 |
|
|
| 146 |
|
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
|
| 153 |
|
|
| 154 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 145 |
|
|
| 155 | 146 |
|
| 156 | 147 |
|
| 157 | 148 |
|
@@ -251,15 +242,24 @@ config :openagents,
| 251 | 242 |
|
| 252 | 243 |
|
| 253 | 244 |
|
| 254 |
|
|
| 255 |
|
|
| 256 |
|
|
| 245 |
|
|
| 246 |
|
|
| 247 |
|
|
| 248 |
|
|
| 257 | 249 |
|
| 258 |
|
|
| 259 |
|
|
| 260 |
|
|
| 261 |
|
|
| 262 |
|
|
| 250 |
|
|
| 251 |
|
|
| 252 |
|
|
| 253 |
|
|
| 254 |
|
|
| 255 |
|
|
| 256 |
|
|
| 257 |
|
|
| 258 |
|
|
| 259 |
|
|
| 260 |
|
|
| 261 |
|
|
| 262 |
|
|
| 263 | 263 |
|
| 264 | 264 |
|
| 265 | 265 |
|
lib/openagents_web/live/model_catalog_live.ex modified +2 -1
@@ -21,7 +21,8 @@ defmodule OpenAgentsWeb.ModelCatalogLive do
| 21 | 21 |
|
| 22 | 22 |
|
| 23 | 23 |
|
| 24 |
|
|
| 24 |
|
|
| 25 |
|
|
| 25 | 26 |
|
| 26 | 27 |
|
| 27 | 28 |
|
test/openagents/inference/models_test.exs modified +7 -3
@@ -152,9 +152,13 @@ defmodule OpenAgents.Inference.ModelsTest do
| 152 | 152 |
|
| 153 | 153 |
|
| 154 | 154 |
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 158 |
|
|
| 159 |
|
|
| 160 |
|
|
| 161 |
|
|
| 158 | 162 |
|
| 159 | 163 |
|
| 160 | 164 |
|
test/openagents/inference/pricing_test.exs modified +40 -15
@@ -43,7 +43,8 @@ defmodule OpenAgents.Inference.PricingTest do
| 43 | 43 |
|
| 44 | 44 |
|
| 45 | 45 |
|
| 46 |
|
|
| 46 |
|
|
| 47 |
|
|
| 47 | 48 |
|
| 48 | 49 |
|
| 49 | 50 |
|
@@ -88,6 +89,30 @@ defmodule OpenAgents.Inference.PricingTest do
| 88 | 89 |
|
| 89 | 90 |
|
| 90 | 91 |
|
| 92 |
|
|
| 93 |
|
|
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
| 98 |
|
|
| 99 |
|
|
| 100 |
|
|
| 101 |
|
|
| 102 |
|
|
| 103 |
|
|
| 104 |
|
|
| 105 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
|
| 110 |
|
|
| 111 |
|
|
| 112 |
|
|
| 113 |
|
|
| 114 |
|
|
| 115 |
|
|
| 91 | 116 |
|
| 92 | 117 |
|
| 93 | 118 |
|
@@ -104,9 +129,10 @@ defmodule OpenAgents.Inference.PricingTest do
| 104 | 129 |
|
| 105 | 130 |
|
| 106 | 131 |
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
|
| 132 |
|
|
| 133 |
|
|
| 134 |
|
|
| 135 |
|
|
| 110 | 136 |
|
| 111 | 137 |
|
| 112 | 138 |
|
@@ -121,19 +147,19 @@ defmodule OpenAgents.Inference.PricingTest do
| 121 | 147 |
|
| 122 | 148 |
|
| 123 | 149 |
|
| 124 |
|
|
| 125 |
|
|
| 126 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
|
| 127 | 153 |
|
| 128 | 154 |
|
| 129 | 155 |
|
| 130 | 156 |
|
| 131 |
|
|
| 157 |
|
|
| 132 | 158 |
|
| 133 | 159 |
|
| 134 | 160 |
|
| 135 |
|
|
| 136 |
|
|
| 161 |
|
|
| 162 |
|
|
| 137 | 163 |
|
| 138 | 164 |
|
| 139 | 165 |
|
@@ -176,8 +202,7 @@ defmodule OpenAgents.Inference.PricingTest do
| 176 | 202 |
|
| 177 | 203 |
|
| 178 | 204 |
|
| 179 |
|
|
| 180 |
|
|
| 205 |
|
|
| 181 | 206 |
|
| 182 | 207 |
|
| 183 | 208 |
|
@@ -196,9 +221,9 @@ defmodule OpenAgents.Inference.PricingTest do
| 196 | 221 |
|
| 197 | 222 |
|
| 198 | 223 |
|
| 199 |
|
|
| 200 |
|
|
| 201 |
|
|
| 224 |
|
|
| 225 |
|
|
| 226 |
|
|
| 202 | 227 |
|
| 203 | 228 |
|
| 204 | 229 |
|
test/openagents_web/controllers/inference_proxy_fallback_test.exs modified +4 -1
@@ -261,7 +261,10 @@ defmodule OpenAgentsWeb.InferenceProxyFallbackTest do
| 261 | 261 |
|
| 262 | 262 |
|
| 263 | 263 |
|
| 264 |
|
|
| 264 |
|
|
| 265 |
|
|
| 266 |
|
|
| 267 |
|
|
| 265 | 268 |
|
| 266 | 269 |
|
| 267 | 270 |
|
test/openagents_web/controllers/model_catalog_controller_test.exs modified +6 -6
@@ -110,9 +110,9 @@ defmodule OpenAgentsWeb.ModelCatalogControllerTest do
| 110 | 110 |
|
| 111 | 111 |
|
| 112 | 112 |
|
| 113 |
|
|
| 114 |
|
|
| 115 |
|
|
| 113 |
|
|
| 114 |
|
|
| 115 |
|
|
| 116 | 116 |
|
| 117 | 117 |
|
| 118 | 118 |
|
@@ -151,9 +151,9 @@ defmodule OpenAgentsWeb.ModelCatalogControllerTest do
| 151 | 151 |
|
| 152 | 152 |
|
| 153 | 153 |
|
| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 | 157 |
|
| 158 | 158 |
|
| 159 | 159 |
|
test/openagents_web/live/model_catalog_live_test.exs modified +5 -4
@@ -55,12 +55,13 @@ defmodule OpenAgentsWeb.ModelCatalogLiveTest do
| 55 | 55 |
|
| 56 | 56 |
|
| 57 | 57 |
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 61 | 62 |
|
| 62 | 63 |
|
| 63 |
|
|
| 64 |
|
|
| 64 | 65 |
|
| 65 | 66 |
|
| 66 | 67 |
|