llm_cost_tracker 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +82 -0
  3. data/README.md +16 -5
  4. data/app/assets/llm_cost_tracker/application.css +16 -0
  5. data/app/controllers/llm_cost_tracker/calls_controller.rb +1 -3
  6. data/app/controllers/llm_cost_tracker/models_controller.rb +2 -4
  7. data/app/controllers/llm_cost_tracker/tags_controller.rb +5 -4
  8. data/app/helpers/llm_cost_tracker/application_helper.rb +4 -25
  9. data/app/helpers/llm_cost_tracker/chart_helper.rb +6 -10
  10. data/app/helpers/llm_cost_tracker/token_usage_helper.rb +8 -28
  11. data/app/models/llm_cost_tracker/call.rb +10 -14
  12. data/app/services/llm_cost_tracker/dashboard/data_quality.rb +4 -15
  13. data/app/services/llm_cost_tracker/dashboard/filter.rb +5 -9
  14. data/app/services/llm_cost_tracker/dashboard/pagination.rb +2 -5
  15. data/app/services/llm_cost_tracker/dashboard/pricing_overview.rb +2 -1
  16. data/app/services/llm_cost_tracker/dashboard/spend_anomaly.rb +1 -1
  17. data/app/services/llm_cost_tracker/dashboard/tag_breakdown.rb +2 -3
  18. data/app/services/llm_cost_tracker/dashboard/tag_key_explorer.rb +1 -0
  19. data/app/services/llm_cost_tracker/dashboard/time_series.rb +3 -5
  20. data/app/services/llm_cost_tracker/dashboard/top_models.rb +1 -2
  21. data/app/views/llm_cost_tracker/calls/show.html.erb +8 -22
  22. data/app/views/llm_cost_tracker/data_quality/index.html.erb +1 -1
  23. data/app/views/llm_cost_tracker/shared/_bar.html.erb +1 -3
  24. data/app/views/llm_cost_tracker/shared/_filter_pill_date.html.erb +1 -4
  25. data/app/views/llm_cost_tracker/shared/_filter_pill_model.html.erb +1 -4
  26. data/app/views/llm_cost_tracker/shared/_filter_pill_provider.html.erb +1 -4
  27. data/app/views/llm_cost_tracker/shared/_filter_pill_stream.html.erb +1 -4
  28. data/app/views/llm_cost_tracker/tags/show.html.erb +5 -5
  29. data/lib/llm_cost_tracker/budget/per_tag.rb +15 -9
  30. data/lib/llm_cost_tracker/budget.rb +44 -55
  31. data/lib/llm_cost_tracker/capture/event_window.rb +3 -2
  32. data/lib/llm_cost_tracker/capture/sdk_payload.rb +5 -1
  33. data/lib/llm_cost_tracker/capture/stream_collector.rb +25 -26
  34. data/lib/llm_cost_tracker/capture/stream_tracker.rb +9 -23
  35. data/lib/llm_cost_tracker/capture_verifier.rb +1 -7
  36. data/lib/llm_cost_tracker/charges/line_item.rb +5 -1
  37. data/lib/llm_cost_tracker/configuration/budgets.rb +1 -1
  38. data/lib/llm_cost_tracker/configuration/pricing.rb +1 -1
  39. data/lib/llm_cost_tracker/configuration.rb +5 -9
  40. data/lib/llm_cost_tracker/doctor/price_check.rb +13 -3
  41. data/lib/llm_cost_tracker/doctor/schema_check.rb +1 -2
  42. data/lib/llm_cost_tracker/doctor.rb +19 -2
  43. data/lib/llm_cost_tracker/engine.rb +0 -1
  44. data/lib/llm_cost_tracker/event.rb +8 -0
  45. data/lib/llm_cost_tracker/generators/llm_cost_tracker/async_ingestion_generator.rb +0 -6
  46. data/lib/llm_cost_tracker/generators/llm_cost_tracker/call_rollups_generator.rb +5 -8
  47. data/lib/llm_cost_tracker/generators/llm_cost_tracker/install_generator.rb +0 -6
  48. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/create_llm_cost_tracker_async_ingestion.rb.erb +1 -1
  49. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/create_llm_cost_tracker_call_rollups.rb.erb +1 -1
  50. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/create_llm_cost_tracker_calls.rb.erb +1 -1
  51. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/initializer.rb.erb +11 -9
  52. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/upgrade_call_rollups_provider.rb.erb +1 -1
  53. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/upgrade_call_tags_key_value_index.rb.erb +1 -1
  54. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/upgrade_image_tokens.rb.erb +1 -1
  55. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/upgrade_indexes.rb.erb +1 -1
  56. data/lib/llm_cost_tracker/generators/llm_cost_tracker/templates/upgrade_per_tag_budgets.rb.erb +1 -1
  57. data/lib/llm_cost_tracker/generators/llm_cost_tracker/upgrade_call_rollups_provider_generator.rb +0 -6
  58. data/lib/llm_cost_tracker/generators/llm_cost_tracker/upgrade_call_tags_key_value_index_generator.rb +0 -6
  59. data/lib/llm_cost_tracker/generators/llm_cost_tracker/upgrade_image_tokens_generator.rb +0 -6
  60. data/lib/llm_cost_tracker/generators/llm_cost_tracker/upgrade_indexes_generator.rb +3 -8
  61. data/lib/llm_cost_tracker/generators/llm_cost_tracker/upgrade_per_tag_budgets_generator.rb +3 -8
  62. data/lib/llm_cost_tracker/ingestion/inbox.rb +2 -8
  63. data/lib/llm_cost_tracker/ingestion.rb +3 -1
  64. data/lib/llm_cost_tracker/integrations/anthropic.rb +63 -10
  65. data/lib/llm_cost_tracker/integrations/base.rb +39 -18
  66. data/lib/llm_cost_tracker/integrations/openai/batch_capture.rb +16 -13
  67. data/lib/llm_cost_tracker/integrations/openai/patches.rb +8 -0
  68. data/lib/llm_cost_tracker/integrations/openai.rb +42 -59
  69. data/lib/llm_cost_tracker/integrations/ruby_llm.rb +241 -76
  70. data/lib/llm_cost_tracker/integrations.rb +1 -20
  71. data/lib/llm_cost_tracker/ledger/isolation.rb +0 -7
  72. data/lib/llm_cost_tracker/ledger/period/totals.rb +14 -10
  73. data/lib/llm_cost_tracker/ledger/rollups.rb +14 -14
  74. data/lib/llm_cost_tracker/ledger/schema/adapter.rb +14 -3
  75. data/lib/llm_cost_tracker/ledger/schema/base.rb +5 -4
  76. data/lib/llm_cost_tracker/ledger/store.rb +2 -2
  77. data/lib/llm_cost_tracker/ledger/tags/breakdown.rb +1 -5
  78. data/lib/llm_cost_tracker/ledger/tags/encoding.rb +3 -12
  79. data/lib/llm_cost_tracker/ledger/tags/query.rb +0 -2
  80. data/lib/llm_cost_tracker/middleware/faraday.rb +36 -19
  81. data/lib/llm_cost_tracker/parsers.rb +7 -40
  82. data/lib/llm_cost_tracker/prices.json +2237 -154
  83. data/lib/llm_cost_tracker/pricing/backfill.rb +46 -13
  84. data/lib/llm_cost_tracker/pricing/calculation.rb +118 -75
  85. data/lib/llm_cost_tracker/pricing/effective_prices.rb +11 -10
  86. data/lib/llm_cost_tracker/pricing/estimator.rb +5 -2
  87. data/lib/llm_cost_tracker/pricing/matcher.rb +36 -22
  88. data/lib/llm_cost_tracker/pricing/mode.rb +2 -13
  89. data/lib/llm_cost_tracker/pricing/price_key.rb +5 -3
  90. data/lib/llm_cost_tracker/pricing/rate.rb +1 -0
  91. data/lib/llm_cost_tracker/pricing/registry.rb +5 -16
  92. data/lib/llm_cost_tracker/pricing/service_rates.rb +1 -8
  93. data/lib/llm_cost_tracker/pricing/sync/registry_diff.rb +13 -9
  94. data/lib/llm_cost_tracker/pricing/sync.rb +22 -71
  95. data/lib/llm_cost_tracker/providers/anthropic/parser.rb +33 -3
  96. data/lib/llm_cost_tracker/providers/anthropic/response_parser.rb +11 -5
  97. data/lib/llm_cost_tracker/providers/anthropic/usage_extractor.rb +81 -12
  98. data/lib/llm_cost_tracker/providers/azure/parser.rb +3 -7
  99. data/lib/llm_cost_tracker/providers/gemini/parser.rb +172 -48
  100. data/lib/llm_cost_tracker/providers/gemini/usage_extractor.rb +13 -22
  101. data/lib/llm_cost_tracker/providers/openai/hosts.rb +1 -1
  102. data/lib/llm_cost_tracker/providers/openai/parser.rb +11 -13
  103. data/lib/llm_cost_tracker/providers/openai/response_parser.rb +96 -26
  104. data/lib/llm_cost_tracker/providers/openai/service_charges.rb +57 -40
  105. data/lib/llm_cost_tracker/providers/openai/usage_extractor.rb +14 -1
  106. data/lib/llm_cost_tracker/providers/openai_compatible/parser.rb +3 -1
  107. data/lib/llm_cost_tracker/report/data.rb +1 -1
  108. data/lib/llm_cost_tracker/retention.rb +1 -3
  109. data/lib/llm_cost_tracker/tracker.rb +17 -9
  110. data/lib/llm_cost_tracker/usage/catalog.rb +13 -4
  111. data/lib/llm_cost_tracker/usage/dimension.rb +1 -1
  112. data/lib/llm_cost_tracker/usage/dimensions.yml +61 -0
  113. data/lib/llm_cost_tracker/version.rb +1 -1
  114. data/lib/tasks/llm_cost_tracker.rake +24 -21
  115. data/llm_cost_tracker.gemspec +63 -0
  116. metadata +8 -7
@@ -10,7 +10,14 @@
10
10
  "https://console.groq.com/docs/prompt-caching",
11
11
  "https://console.groq.com/docs/flex-processing",
12
12
  "https://console.groq.com/docs/deprecations",
13
+ "https://console.groq.com/docs/batch",
14
+ "https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json",
15
+ "https://docs.mistral.ai/inference/pricing",
16
+ "https://docs.mistral.ai/studio/batch-processing.md",
17
+ "https://docs.mistral.ai/inference/priority-tier.md",
18
+ "https://docs.mistral.ai/inference/regional-inference.md",
13
19
  "https://developers.openai.com/api/docs/pricing",
20
+ "https://developers.openai.com/api/docs/pricing.md",
14
21
  "https://developers.openai.com/api/docs/deprecations",
15
22
  "https://developers.openai.com/api/docs/models/gpt-5.4",
16
23
  "https://developers.openai.com/api/docs/models/gpt-5.4-pro",
@@ -22,10 +29,15 @@
22
29
  "https://developers.openai.com/api/docs/models/gpt-6-astra",
23
30
  "https://developers.openai.com/api/docs/models/gpt-6-sol",
24
31
  "https://developers.openai.com/api/docs/models/gpt-6-luna",
25
- "https://openrouter.ai/api/v1/models"
32
+ "https://openrouter.ai/api/v1/models",
33
+ "https://docs.x.ai/developers/pricing.md",
34
+ "https://docs.x.ai/developers/models/grok-4.3.md",
35
+ "https://docs.x.ai/developers/models/grok-4.20-0309-reasoning.md",
36
+ "https://docs.x.ai/developers/models/grok-4.20-0309-non-reasoning.md",
37
+ "https://docs.x.ai/developers/models/grok-4.20-multi-agent-0309.md"
26
38
  ],
27
39
  "unit": "1M tokens",
28
- "updated_at": "2026-09-24"
40
+ "updated_at": "2026-09-27"
29
41
  },
30
42
  "models": {
31
43
  "anthropic/claude-fable-5": {
@@ -75,6 +87,13 @@
75
87
  "cache_read_input": 0.1,
76
88
  "cache_write_extended_input": 2.0,
77
89
  "cache_write_input": 1.25,
90
+ "data_residency_batch_input": 0.55,
91
+ "data_residency_batch_output": 2.75,
92
+ "data_residency_cache_read_input": 0.11,
93
+ "data_residency_cache_write_extended_input": 2.2,
94
+ "data_residency_cache_write_input": 1.375,
95
+ "data_residency_input": 1.1,
96
+ "data_residency_output": 5.5,
78
97
  "input": 1.0,
79
98
  "output": 5.0
80
99
  },
@@ -116,6 +135,13 @@
116
135
  "cache_read_input": 0.5,
117
136
  "cache_write_extended_input": 10.0,
118
137
  "cache_write_input": 6.25,
138
+ "data_residency_batch_input": 2.75,
139
+ "data_residency_batch_output": 13.75,
140
+ "data_residency_cache_read_input": 0.55,
141
+ "data_residency_cache_write_extended_input": 11.0,
142
+ "data_residency_cache_write_input": 6.875,
143
+ "data_residency_input": 5.5,
144
+ "data_residency_output": 27.5,
119
145
  "input": 5.0,
120
146
  "output": 25.0
121
147
  },
@@ -235,6 +261,13 @@
235
261
  "cache_read_input": 0.3,
236
262
  "cache_write_extended_input": 6.0,
237
263
  "cache_write_input": 3.75,
264
+ "data_residency_batch_input": 1.65,
265
+ "data_residency_batch_output": 8.25,
266
+ "data_residency_cache_read_input": 0.33,
267
+ "data_residency_cache_write_extended_input": 6.6,
268
+ "data_residency_cache_write_input": 4.125,
269
+ "data_residency_input": 3.3,
270
+ "data_residency_output": 16.5,
238
271
  "input": 3.0,
239
272
  "output": 15.0
240
273
  },
@@ -274,64 +307,98 @@
274
307
  "audio_input": 0.7,
275
308
  "batch_audio_input": 0.35,
276
309
  "batch_cache_read_input": 0.025,
310
+ "batch_image_input": 0.05,
277
311
  "batch_input": 0.05,
278
312
  "batch_output": 0.2,
279
313
  "cache_read_input": 0.025,
280
314
  "grounding_request": 35.0,
315
+ "image_input": 0.1,
281
316
  "input": 0.1,
282
317
  "output": 0.4
283
318
  },
284
319
  "gemini/gemini-2.0-flash-lite": {
320
+ "audio_input": 0.075,
321
+ "batch_audio_input": 0.0375,
322
+ "batch_image_input": 0.0375,
285
323
  "batch_input": 0.0375,
286
324
  "batch_output": 0.15,
325
+ "image_input": 0.075,
287
326
  "input": 0.075,
288
327
  "output": 0.3
289
328
  },
290
329
  "gemini/gemini-2.5-flash": {
330
+ "audio_cache_read_input": 0.1,
291
331
  "audio_input": 1.0,
332
+ "batch_audio_cache_read_input": 0.1,
292
333
  "batch_audio_input": 0.5,
293
334
  "batch_cache_read_input": 0.03,
335
+ "batch_image_input": 0.15,
294
336
  "batch_input": 0.15,
295
337
  "batch_output": 1.25,
296
338
  "cache_read_input": 0.03,
339
+ "cache_storage_token_hour": 1.0,
340
+ "flex_audio_cache_read_input": 0.1,
297
341
  "flex_audio_input": 0.5,
298
342
  "flex_cache_read_input": 0.03,
343
+ "flex_image_input": 0.15,
299
344
  "flex_input": 0.15,
300
345
  "flex_output": 1.25,
301
346
  "grounding_request": 35.0,
347
+ "image_input": 0.3,
302
348
  "input": 0.3,
349
+ "maps_grounding_request": 25.0,
303
350
  "output": 2.5,
351
+ "priority_audio_cache_read_input": 0.18,
304
352
  "priority_audio_input": 1.8,
305
353
  "priority_cache_read_input": 0.054,
354
+ "priority_image_input": 0.54,
306
355
  "priority_input": 0.54,
307
356
  "priority_output": 4.5
308
357
  },
309
358
  "gemini/gemini-2.5-flash-image": {
310
- "batch_image_output": 0.0195,
359
+ "batch_image_input": 0.15,
360
+ "batch_image_output": 15.0,
311
361
  "batch_input": 0.15,
312
- "flex_image_output": 0.0195,
362
+ "batch_output": 1.25,
363
+ "flex_image_input": 0.15,
364
+ "flex_image_output": 15.0,
313
365
  "flex_input": 0.15,
314
- "image_output": 0.039,
366
+ "flex_output": 1.25,
367
+ "image_input": 0.3,
368
+ "image_output": 30.0,
315
369
  "input": 0.3,
316
- "priority_image_output": 0.0702,
317
- "priority_input": 0.54
370
+ "output": 2.5,
371
+ "priority_image_input": 0.54,
372
+ "priority_image_output": 54.0,
373
+ "priority_input": 0.54,
374
+ "priority_output": 4.5
318
375
  },
319
376
  "gemini/gemini-2.5-flash-lite": {
377
+ "audio_cache_read_input": 0.03,
320
378
  "audio_input": 0.3,
379
+ "batch_audio_cache_read_input": 0.03,
321
380
  "batch_audio_input": 0.15,
322
381
  "batch_cache_read_input": 0.01,
382
+ "batch_image_input": 0.05,
323
383
  "batch_input": 0.05,
324
384
  "batch_output": 0.2,
325
385
  "cache_read_input": 0.01,
386
+ "cache_storage_token_hour": 1.0,
387
+ "flex_audio_cache_read_input": 0.03,
326
388
  "flex_audio_input": 0.15,
327
389
  "flex_cache_read_input": 0.01,
390
+ "flex_image_input": 0.05,
328
391
  "flex_input": 0.05,
329
392
  "flex_output": 0.2,
330
393
  "grounding_request": 35.0,
394
+ "image_input": 0.1,
331
395
  "input": 0.1,
396
+ "maps_grounding_request": 25.0,
332
397
  "output": 0.4,
398
+ "priority_audio_cache_read_input": 0.054,
333
399
  "priority_audio_input": 0.54,
334
400
  "priority_cache_read_input": 0.018,
401
+ "priority_image_input": 0.18,
335
402
  "priority_input": 0.18,
336
403
  "priority_output": 0.72
337
404
  },
@@ -339,176 +406,353 @@
339
406
  "audio_input": 0.3,
340
407
  "batch_audio_input": 0.15,
341
408
  "batch_cache_read_input": 0.01,
409
+ "batch_image_input": 0.05,
342
410
  "batch_input": 0.05,
343
411
  "batch_output": 0.2,
344
412
  "cache_read_input": 0.01,
345
413
  "grounding_request": 35.0,
414
+ "image_input": 0.1,
346
415
  "input": 0.1,
347
416
  "output": 0.4
348
417
  },
418
+ "gemini/gemini-2.5-flash-preview-tts": {
419
+ "audio_output": 10.0,
420
+ "batch_audio_output": 5.0,
421
+ "batch_image_input": 0.25,
422
+ "batch_input": 0.25,
423
+ "batch_output": 5.0,
424
+ "image_input": 0.5,
425
+ "input": 0.5,
426
+ "output": 10.0
427
+ },
349
428
  "gemini/gemini-2.5-pro": {
350
429
  "_context_price_threshold_tokens": 200000,
430
+ "above_context_audio_input": 2.5,
431
+ "above_context_batch_audio_input": 1.25,
351
432
  "above_context_batch_cache_read_input": 0.25,
433
+ "above_context_batch_image_input": 1.25,
352
434
  "above_context_batch_input": 1.25,
353
435
  "above_context_batch_output": 7.5,
354
436
  "above_context_cache_read_input": 0.25,
437
+ "above_context_flex_audio_input": 1.25,
355
438
  "above_context_flex_cache_read_input": 0.25,
439
+ "above_context_flex_image_input": 1.25,
356
440
  "above_context_flex_input": 1.25,
357
441
  "above_context_flex_output": 7.5,
442
+ "above_context_image_input": 2.5,
358
443
  "above_context_input": 2.5,
359
444
  "above_context_output": 15.0,
445
+ "above_context_priority_audio_input": 4.5,
360
446
  "above_context_priority_cache_read_input": 0.45,
447
+ "above_context_priority_image_input": 4.5,
361
448
  "above_context_priority_input": 4.5,
362
449
  "above_context_priority_output": 27.0,
450
+ "audio_input": 1.25,
451
+ "batch_audio_input": 0.625,
363
452
  "batch_cache_read_input": 0.125,
453
+ "batch_image_input": 0.625,
364
454
  "batch_input": 0.625,
365
455
  "batch_output": 5.0,
366
456
  "cache_read_input": 0.125,
457
+ "cache_storage_token_hour": 4.5,
458
+ "flex_audio_input": 0.625,
367
459
  "flex_cache_read_input": 0.125,
460
+ "flex_image_input": 0.625,
368
461
  "flex_input": 0.625,
369
462
  "flex_output": 5.0,
370
463
  "grounding_request": 35.0,
464
+ "image_input": 1.25,
371
465
  "input": 1.25,
466
+ "maps_grounding_request": 25.0,
372
467
  "output": 10.0,
468
+ "priority_audio_input": 2.25,
373
469
  "priority_cache_read_input": 0.225,
470
+ "priority_image_input": 2.25,
374
471
  "priority_input": 2.25,
375
472
  "priority_output": 18.0
376
473
  },
474
+ "gemini/gemini-2.5-pro-preview-tts": {
475
+ "audio_output": 20.0,
476
+ "batch_audio_output": 10.0,
477
+ "batch_image_input": 0.5,
478
+ "batch_input": 0.5,
479
+ "batch_output": 10.0,
480
+ "image_input": 1.0,
481
+ "input": 1.0,
482
+ "output": 20.0
483
+ },
377
484
  "gemini/gemini-3-flash-preview": {
485
+ "audio_cache_read_input": 0.1,
378
486
  "audio_input": 1.0,
487
+ "batch_audio_cache_read_input": 0.1,
379
488
  "batch_audio_input": 0.5,
380
489
  "batch_cache_read_input": 0.05,
490
+ "batch_image_input": 0.25,
381
491
  "batch_input": 0.25,
382
492
  "batch_output": 1.5,
383
493
  "cache_read_input": 0.05,
494
+ "cache_storage_token_hour": 1.0,
495
+ "flex_audio_cache_read_input": 0.1,
384
496
  "flex_audio_input": 0.5,
385
497
  "flex_cache_read_input": 0.05,
498
+ "flex_image_input": 0.25,
386
499
  "flex_input": 0.25,
387
500
  "flex_output": 1.5,
388
501
  "grounding_request": 14.0,
502
+ "image_input": 0.5,
389
503
  "input": 0.5,
504
+ "maps_grounding_request": 14.0,
390
505
  "output": 3.0,
506
+ "priority_audio_cache_read_input": 0.18,
391
507
  "priority_audio_input": 1.8,
392
508
  "priority_cache_read_input": 0.09,
509
+ "priority_image_input": 0.9,
393
510
  "priority_input": 0.9,
394
511
  "priority_output": 5.4
395
512
  },
396
513
  "gemini/gemini-3-pro-image": {
397
- "batch_image_output": 6.0,
514
+ "batch_image_input": 1.0,
515
+ "batch_image_output": 60.0,
398
516
  "batch_input": 1.0,
399
- "flex_image_output": 6.0,
517
+ "batch_output": 6.0,
518
+ "flex_image_input": 1.0,
519
+ "flex_image_output": 60.0,
400
520
  "flex_input": 1.0,
521
+ "flex_output": 6.0,
401
522
  "grounding_request": 14.0,
402
- "image_output": 12.0,
523
+ "image_input": 2.0,
524
+ "image_output": 120.0,
403
525
  "input": 2.0,
404
- "priority_image_output": 21.6,
405
- "priority_input": 3.6
526
+ "output": 12.0,
527
+ "priority_image_input": 3.6,
528
+ "priority_image_output": 216.0,
529
+ "priority_input": 3.6,
530
+ "priority_output": 21.6
406
531
  },
407
532
  "gemini/gemini-3-pro-image-preview": {
408
- "batch_image_output": 6.0,
533
+ "batch_image_input": 1.0,
534
+ "batch_image_output": 60.0,
409
535
  "batch_input": 1.0,
410
- "flex_image_output": 6.0,
536
+ "batch_output": 6.0,
537
+ "flex_image_input": 1.0,
538
+ "flex_image_output": 60.0,
411
539
  "flex_input": 1.0,
412
- "image_output": 12.0,
540
+ "flex_output": 6.0,
541
+ "image_input": 2.0,
542
+ "image_output": 120.0,
413
543
  "input": 2.0,
414
- "priority_image_output": 21.6,
415
- "priority_input": 3.6
544
+ "output": 12.0,
545
+ "priority_image_input": 3.6,
546
+ "priority_image_output": 216.0,
547
+ "priority_input": 3.6,
548
+ "priority_output": 21.6
416
549
  },
417
550
  "gemini/gemini-3.1-flash-image": {
418
- "batch_image_output": 1.5,
551
+ "batch_image_input": 0.25,
552
+ "batch_image_output": 30.0,
419
553
  "batch_input": 0.25,
420
- "image_output": 3.0,
421
- "input": 0.5
554
+ "batch_output": 1.5,
555
+ "grounding_request": 14.0,
556
+ "image_input": 0.5,
557
+ "image_output": 60.0,
558
+ "input": 0.5,
559
+ "output": 3.0
422
560
  },
423
561
  "gemini/gemini-3.1-flash-image-preview": {
424
- "batch_image_output": 1.5,
562
+ "batch_image_input": 0.25,
563
+ "batch_image_output": 30.0,
425
564
  "batch_input": 0.25,
426
- "image_output": 3.0,
427
- "input": 0.5
565
+ "batch_output": 1.5,
566
+ "image_input": 0.5,
567
+ "image_output": 60.0,
568
+ "input": 0.5,
569
+ "output": 3.0
428
570
  },
429
571
  "gemini/gemini-3.1-flash-lite": {
572
+ "audio_cache_read_input": 0.05,
430
573
  "audio_input": 0.5,
574
+ "batch_audio_cache_read_input": 0.025,
431
575
  "batch_audio_input": 0.25,
432
576
  "batch_cache_read_input": 0.0125,
577
+ "batch_image_input": 0.125,
433
578
  "batch_input": 0.125,
434
579
  "batch_output": 0.75,
435
580
  "cache_read_input": 0.025,
581
+ "cache_storage_token_hour": 1.0,
582
+ "flex_audio_cache_read_input": 0.025,
436
583
  "flex_audio_input": 0.25,
437
584
  "flex_cache_read_input": 0.0125,
585
+ "flex_image_input": 0.125,
438
586
  "flex_input": 0.125,
439
587
  "flex_output": 0.75,
440
588
  "grounding_request": 14.0,
589
+ "image_input": 0.25,
441
590
  "input": 0.25,
591
+ "maps_grounding_request": 14.0,
442
592
  "output": 1.5,
593
+ "priority_audio_cache_read_input": 0.09,
443
594
  "priority_audio_input": 0.9,
444
595
  "priority_cache_read_input": 0.045,
596
+ "priority_image_input": 0.45,
445
597
  "priority_input": 0.45,
446
598
  "priority_output": 2.7
447
599
  },
448
600
  "gemini/gemini-3.1-flash-lite-image": {
449
- "batch_image_output": 0.75,
601
+ "batch_image_input": 0.125,
602
+ "batch_image_output": 15.0,
450
603
  "batch_input": 0.125,
451
- "image_output": 1.5,
452
- "input": 0.25
604
+ "batch_output": 0.75,
605
+ "image_input": 0.25,
606
+ "image_output": 30.0,
607
+ "input": 0.25,
608
+ "output": 1.5
453
609
  },
454
610
  "gemini/gemini-3.1-flash-lite-preview": {
455
611
  "audio_input": 0.5,
456
612
  "batch_audio_input": 0.25,
457
613
  "batch_cache_read_input": 0.0125,
614
+ "batch_image_input": 0.125,
458
615
  "batch_input": 0.125,
459
616
  "batch_output": 0.75,
460
617
  "cache_read_input": 0.025,
461
618
  "flex_audio_input": 0.25,
462
619
  "flex_cache_read_input": 0.0125,
620
+ "flex_image_input": 0.125,
463
621
  "flex_input": 0.125,
464
622
  "flex_output": 0.75,
623
+ "image_input": 0.25,
465
624
  "input": 0.25,
466
625
  "output": 1.5,
467
626
  "priority_audio_input": 0.9,
468
627
  "priority_cache_read_input": 0.045,
628
+ "priority_image_input": 0.45,
469
629
  "priority_input": 0.45,
470
630
  "priority_output": 2.7
471
631
  },
632
+ "gemini/gemini-3.1-flash-tts-preview": {
633
+ "audio_output": 20.0,
634
+ "batch_audio_output": 10.0,
635
+ "batch_image_input": 0.5,
636
+ "batch_input": 0.5,
637
+ "batch_output": 10.0,
638
+ "image_input": 1.0,
639
+ "input": 1.0,
640
+ "output": 20.0
641
+ },
472
642
  "gemini/gemini-3.1-pro-preview": {
473
643
  "_context_price_threshold_tokens": 200000,
644
+ "above_context_audio_input": 4.0,
645
+ "above_context_batch_audio_input": 2.0,
646
+ "above_context_batch_cache_read_input": 0.4,
647
+ "above_context_batch_image_input": 2.0,
648
+ "above_context_batch_input": 2.0,
649
+ "above_context_batch_output": 9.0,
650
+ "above_context_cache_read_input": 0.4,
651
+ "above_context_flex_audio_input": 2.0,
652
+ "above_context_flex_cache_read_input": 0.4,
653
+ "above_context_flex_image_input": 2.0,
654
+ "above_context_flex_input": 2.0,
655
+ "above_context_flex_output": 9.0,
656
+ "above_context_image_input": 4.0,
657
+ "above_context_input": 4.0,
658
+ "above_context_output": 18.0,
659
+ "above_context_priority_audio_input": 7.2,
660
+ "above_context_priority_cache_read_input": 0.72,
661
+ "above_context_priority_image_input": 7.2,
662
+ "above_context_priority_input": 7.2,
663
+ "above_context_priority_output": 32.4,
664
+ "audio_input": 2.0,
665
+ "batch_audio_input": 1.0,
666
+ "batch_cache_read_input": 0.2,
667
+ "batch_image_input": 1.0,
668
+ "batch_input": 1.0,
669
+ "batch_output": 6.0,
670
+ "cache_read_input": 0.2,
671
+ "cache_storage_token_hour": 4.5,
672
+ "flex_audio_input": 1.0,
673
+ "flex_cache_read_input": 0.2,
674
+ "flex_image_input": 1.0,
675
+ "flex_input": 1.0,
676
+ "flex_output": 6.0,
677
+ "grounding_request": 14.0,
678
+ "image_input": 2.0,
679
+ "input": 2.0,
680
+ "maps_grounding_request": 14.0,
681
+ "output": 12.0,
682
+ "priority_audio_input": 3.6,
683
+ "priority_cache_read_input": 0.36,
684
+ "priority_image_input": 3.6,
685
+ "priority_input": 3.6,
686
+ "priority_output": 21.6
687
+ },
688
+ "gemini/gemini-3.1-pro-preview-customtools": {
689
+ "_context_price_threshold_tokens": 200000,
690
+ "above_context_audio_input": 4.0,
691
+ "above_context_batch_audio_input": 2.0,
474
692
  "above_context_batch_cache_read_input": 0.4,
693
+ "above_context_batch_image_input": 2.0,
475
694
  "above_context_batch_input": 2.0,
476
695
  "above_context_batch_output": 9.0,
477
696
  "above_context_cache_read_input": 0.4,
697
+ "above_context_flex_audio_input": 2.0,
478
698
  "above_context_flex_cache_read_input": 0.4,
699
+ "above_context_flex_image_input": 2.0,
479
700
  "above_context_flex_input": 2.0,
480
701
  "above_context_flex_output": 9.0,
702
+ "above_context_image_input": 4.0,
481
703
  "above_context_input": 4.0,
482
704
  "above_context_output": 18.0,
705
+ "above_context_priority_audio_input": 7.2,
483
706
  "above_context_priority_cache_read_input": 0.72,
707
+ "above_context_priority_image_input": 7.2,
484
708
  "above_context_priority_input": 7.2,
485
709
  "above_context_priority_output": 32.4,
710
+ "audio_input": 2.0,
711
+ "batch_audio_input": 1.0,
486
712
  "batch_cache_read_input": 0.2,
713
+ "batch_image_input": 1.0,
487
714
  "batch_input": 1.0,
488
715
  "batch_output": 6.0,
489
716
  "cache_read_input": 0.2,
717
+ "cache_storage_token_hour": 4.5,
718
+ "flex_audio_input": 1.0,
490
719
  "flex_cache_read_input": 0.2,
720
+ "flex_image_input": 1.0,
491
721
  "flex_input": 1.0,
492
722
  "flex_output": 6.0,
493
723
  "grounding_request": 14.0,
724
+ "image_input": 2.0,
494
725
  "input": 2.0,
726
+ "maps_grounding_request": 14.0,
495
727
  "output": 12.0,
728
+ "priority_audio_input": 3.6,
496
729
  "priority_cache_read_input": 0.36,
730
+ "priority_image_input": 3.6,
497
731
  "priority_input": 3.6,
498
732
  "priority_output": 21.6
499
733
  },
500
734
  "gemini/gemini-3.5-flash": {
735
+ "audio_input": 1.5,
736
+ "batch_audio_input": 0.75,
501
737
  "batch_cache_read_input": 0.075,
738
+ "batch_image_input": 0.75,
502
739
  "batch_input": 0.75,
503
740
  "batch_output": 4.5,
504
741
  "cache_read_input": 0.15,
742
+ "cache_storage_token_hour": 1.0,
743
+ "flex_audio_input": 0.75,
505
744
  "flex_cache_read_input": 0.08,
745
+ "flex_image_input": 0.75,
506
746
  "flex_input": 0.75,
507
747
  "flex_output": 4.5,
508
748
  "grounding_request": 14.0,
749
+ "image_input": 1.5,
509
750
  "input": 1.5,
751
+ "maps_grounding_request": 14.0,
510
752
  "output": 9.0,
753
+ "priority_audio_input": 2.7,
511
754
  "priority_cache_read_input": 0.27,
755
+ "priority_image_input": 2.7,
512
756
  "priority_input": 2.7,
513
757
  "priority_output": 16.2
514
758
  },
@@ -516,65 +760,287 @@
516
760
  "audio_input": 0.3,
517
761
  "batch_audio_input": 0.15,
518
762
  "batch_cache_read_input": 0.02,
763
+ "batch_image_input": 0.15,
519
764
  "batch_input": 0.15,
520
765
  "batch_output": 1.25,
521
766
  "cache_read_input": 0.03,
767
+ "cache_storage_token_hour": 1.0,
522
768
  "flex_audio_input": 0.15,
523
769
  "flex_cache_read_input": 0.02,
770
+ "flex_image_input": 0.15,
524
771
  "flex_input": 0.15,
525
772
  "flex_output": 1.25,
526
773
  "grounding_request": 14.0,
774
+ "image_input": 0.3,
527
775
  "input": 0.3,
776
+ "maps_grounding_request": 14.0,
528
777
  "output": 2.5,
529
778
  "priority_audio_input": 0.54,
530
779
  "priority_cache_read_input": 0.05,
780
+ "priority_image_input": 0.54,
531
781
  "priority_input": 0.54,
532
782
  "priority_output": 4.5
533
783
  },
534
784
  "gemini/gemini-3.6-flash": {
785
+ "audio_input": 0.75,
786
+ "audio_input_from_2027-01-01": 1.5,
787
+ "batch_audio_input": 0.375,
788
+ "batch_audio_input_from_2027-01-01": 0.75,
535
789
  "batch_cache_read_input": 0.0375,
790
+ "batch_cache_read_input_from_2027-01-01": 0.075,
791
+ "batch_image_input": 0.375,
792
+ "batch_image_input_from_2027-01-01": 0.75,
536
793
  "batch_input": 0.375,
794
+ "batch_input_from_2027-01-01": 0.75,
537
795
  "batch_output": 1.875,
796
+ "batch_output_from_2027-01-01": 3.75,
538
797
  "cache_read_input": 0.075,
798
+ "cache_read_input_from_2027-01-01": 0.15,
799
+ "cache_storage_token_hour": 0.5,
800
+ "cache_storage_token_hour_from_2027-01-01": 1.0,
801
+ "flex_audio_input": 0.375,
802
+ "flex_audio_input_from_2027-01-01": 0.75,
539
803
  "flex_cache_read_input": 0.0375,
804
+ "flex_cache_read_input_from_2027-01-01": 0.075,
805
+ "flex_image_input": 0.375,
806
+ "flex_image_input_from_2027-01-01": 0.75,
540
807
  "flex_input": 0.375,
808
+ "flex_input_from_2027-01-01": 0.75,
541
809
  "flex_output": 1.875,
810
+ "flex_output_from_2027-01-01": 3.75,
542
811
  "grounding_request": 14.0,
812
+ "image_input": 0.75,
813
+ "image_input_from_2027-01-01": 1.5,
543
814
  "input": 0.75,
815
+ "input_from_2027-01-01": 1.5,
816
+ "maps_grounding_request": 14.0,
544
817
  "output": 3.75,
818
+ "output_from_2027-01-01": 7.5,
819
+ "priority_audio_input": 1.35,
820
+ "priority_audio_input_from_2027-01-01": 2.7,
545
821
  "priority_cache_read_input": 0.135,
822
+ "priority_cache_read_input_from_2027-01-01": 0.27,
823
+ "priority_image_input": 1.35,
824
+ "priority_image_input_from_2027-01-01": 2.7,
546
825
  "priority_input": 1.35,
547
- "priority_output": 6.75
826
+ "priority_input_from_2027-01-01": 2.7,
827
+ "priority_output": 6.75,
828
+ "priority_output_from_2027-01-01": 13.5
548
829
  },
549
830
  "gemini/gemini-3.7-flash": {
831
+ "audio_input": 0.75,
832
+ "audio_input_from_2027-01-01": 1.5,
833
+ "batch_audio_input": 0.375,
834
+ "batch_audio_input_from_2027-01-01": 0.75,
550
835
  "batch_cache_read_input": 0.0375,
836
+ "batch_cache_read_input_from_2027-01-01": 0.075,
837
+ "batch_image_input": 0.375,
838
+ "batch_image_input_from_2027-01-01": 0.75,
551
839
  "batch_input": 0.375,
840
+ "batch_input_from_2027-01-01": 0.75,
552
841
  "batch_output": 1.875,
842
+ "batch_output_from_2027-01-01": 3.75,
553
843
  "cache_read_input": 0.075,
844
+ "cache_read_input_from_2027-01-01": 0.15,
845
+ "cache_storage_token_hour": 0.5,
846
+ "cache_storage_token_hour_from_2027-01-01": 1.0,
847
+ "flex_audio_input": 0.375,
848
+ "flex_audio_input_from_2027-01-01": 0.75,
554
849
  "flex_cache_read_input": 0.0375,
850
+ "flex_cache_read_input_from_2027-01-01": 0.075,
851
+ "flex_image_input": 0.375,
852
+ "flex_image_input_from_2027-01-01": 0.75,
555
853
  "flex_input": 0.375,
854
+ "flex_input_from_2027-01-01": 0.75,
556
855
  "flex_output": 1.875,
856
+ "flex_output_from_2027-01-01": 3.75,
557
857
  "grounding_request": 14.0,
858
+ "image_input": 0.75,
859
+ "image_input_from_2027-01-01": 1.5,
558
860
  "input": 0.75,
861
+ "input_from_2027-01-01": 1.5,
862
+ "maps_grounding_request": 14.0,
559
863
  "output": 3.75,
864
+ "output_from_2027-01-01": 7.5,
865
+ "priority_audio_input": 1.35,
866
+ "priority_audio_input_from_2027-01-01": 2.7,
560
867
  "priority_cache_read_input": 0.135,
868
+ "priority_cache_read_input_from_2027-01-01": 0.27,
869
+ "priority_image_input": 1.35,
870
+ "priority_image_input_from_2027-01-01": 2.7,
561
871
  "priority_input": 1.35,
562
- "priority_output": 6.75
872
+ "priority_input_from_2027-01-01": 2.7,
873
+ "priority_output": 6.75,
874
+ "priority_output_from_2027-01-01": 13.5
563
875
  },
564
876
  "gemini/gemini-3.8-flash": {
877
+ "audio_input": 0.75,
878
+ "audio_input_from_2027-01-01": 1.5,
879
+ "batch_audio_input": 0.375,
880
+ "batch_audio_input_from_2027-01-01": 0.75,
565
881
  "batch_cache_read_input": 0.0375,
882
+ "batch_cache_read_input_from_2027-01-01": 0.075,
883
+ "batch_image_input": 0.375,
884
+ "batch_image_input_from_2027-01-01": 0.75,
566
885
  "batch_input": 0.375,
886
+ "batch_input_from_2027-01-01": 0.75,
567
887
  "batch_output": 1.875,
888
+ "batch_output_from_2027-01-01": 3.75,
568
889
  "cache_read_input": 0.075,
890
+ "cache_read_input_from_2027-01-01": 0.15,
891
+ "cache_storage_token_hour": 0.5,
892
+ "cache_storage_token_hour_from_2027-01-01": 1.0,
893
+ "flex_audio_input": 0.375,
894
+ "flex_audio_input_from_2027-01-01": 0.75,
569
895
  "flex_cache_read_input": 0.0375,
896
+ "flex_cache_read_input_from_2027-01-01": 0.075,
897
+ "flex_image_input": 0.375,
898
+ "flex_image_input_from_2027-01-01": 0.75,
570
899
  "flex_input": 0.375,
900
+ "flex_input_from_2027-01-01": 0.75,
571
901
  "flex_output": 1.875,
902
+ "flex_output_from_2027-01-01": 3.75,
572
903
  "grounding_request": 14.0,
904
+ "image_input": 0.75,
905
+ "image_input_from_2027-01-01": 1.5,
573
906
  "input": 0.75,
907
+ "input_from_2027-01-01": 1.5,
908
+ "maps_grounding_request": 14.0,
574
909
  "output": 3.75,
910
+ "output_from_2027-01-01": 7.5,
911
+ "priority_audio_input": 1.35,
912
+ "priority_audio_input_from_2027-01-01": 2.7,
575
913
  "priority_cache_read_input": 0.135,
914
+ "priority_cache_read_input_from_2027-01-01": 0.27,
915
+ "priority_image_input": 1.35,
916
+ "priority_image_input_from_2027-01-01": 2.7,
576
917
  "priority_input": 1.35,
577
- "priority_output": 6.75
918
+ "priority_input_from_2027-01-01": 2.7,
919
+ "priority_output": 6.75,
920
+ "priority_output_from_2027-01-01": 13.5
921
+ },
922
+ "gemini/gemini-3.8-flash-lite-tts": {
923
+ "audio_output": 6.0,
924
+ "audio_output_from_2027-01-01": 12.0,
925
+ "batch_audio_output": 3.0,
926
+ "batch_audio_output_from_2027-01-01": 6.0,
927
+ "batch_cache_read_input": 0.0625,
928
+ "batch_cache_read_input_from_2027-01-01": 0.125,
929
+ "batch_image_input": 0.25,
930
+ "batch_image_input_from_2027-01-01": 0.5,
931
+ "batch_input": 0.25,
932
+ "batch_input_from_2027-01-01": 0.5,
933
+ "batch_output": 3.0,
934
+ "batch_output_from_2027-01-01": 6.0,
935
+ "cache_read_input": 0.125,
936
+ "cache_read_input_from_2027-01-01": 0.25,
937
+ "cache_storage_token_hour": 0.5,
938
+ "cache_storage_token_hour_from_2027-01-01": 1.0,
939
+ "flex_audio_output": 3.0,
940
+ "flex_audio_output_from_2027-01-01": 6.0,
941
+ "flex_cache_read_input": 0.025,
942
+ "flex_cache_read_input_from_2027-01-01": 0.05,
943
+ "flex_image_input": 0.25,
944
+ "flex_image_input_from_2027-01-01": 0.5,
945
+ "flex_input": 0.25,
946
+ "flex_input_from_2027-01-01": 0.5,
947
+ "flex_output": 3.0,
948
+ "flex_output_from_2027-01-01": 6.0,
949
+ "image_input": 0.5,
950
+ "image_input_from_2027-01-01": 1.0,
951
+ "input": 0.5,
952
+ "input_from_2027-01-01": 1.0,
953
+ "output": 6.0,
954
+ "output_from_2027-01-01": 12.0,
955
+ "priority_audio_output": 10.8,
956
+ "priority_audio_output_from_2027-01-01": 21.6,
957
+ "priority_cache_read_input": 0.225,
958
+ "priority_cache_read_input_from_2027-01-01": 0.45,
959
+ "priority_image_input": 0.9,
960
+ "priority_image_input_from_2027-01-01": 1.8,
961
+ "priority_input": 0.9,
962
+ "priority_input_from_2027-01-01": 1.8,
963
+ "priority_output": 10.8,
964
+ "priority_output_from_2027-01-01": 21.6
965
+ },
966
+ "gemini/gemini-3.8-flash-tts": {
967
+ "audio_output": 9.0,
968
+ "audio_output_from_2027-01-01": 18.0,
969
+ "batch_audio_output": 4.5,
970
+ "batch_audio_output_from_2027-01-01": 9.0,
971
+ "batch_cache_read_input": 0.0625,
972
+ "batch_cache_read_input_from_2027-01-01": 0.125,
973
+ "batch_image_input": 0.25,
974
+ "batch_image_input_from_2027-01-01": 0.5,
975
+ "batch_input": 0.25,
976
+ "batch_input_from_2027-01-01": 0.5,
977
+ "batch_output": 4.5,
978
+ "batch_output_from_2027-01-01": 9.0,
979
+ "cache_read_input": 0.125,
980
+ "cache_read_input_from_2027-01-01": 0.25,
981
+ "cache_storage_token_hour": 0.5,
982
+ "cache_storage_token_hour_from_2027-01-01": 1.0,
983
+ "flex_audio_output": 4.5,
984
+ "flex_audio_output_from_2027-01-01": 9.0,
985
+ "flex_cache_read_input": 0.025,
986
+ "flex_cache_read_input_from_2027-01-01": 0.05,
987
+ "flex_image_input": 0.25,
988
+ "flex_image_input_from_2027-01-01": 0.5,
989
+ "flex_input": 0.25,
990
+ "flex_input_from_2027-01-01": 0.5,
991
+ "flex_output": 4.5,
992
+ "flex_output_from_2027-01-01": 9.0,
993
+ "image_input": 0.5,
994
+ "image_input_from_2027-01-01": 1.0,
995
+ "input": 0.5,
996
+ "input_from_2027-01-01": 1.0,
997
+ "output": 9.0,
998
+ "output_from_2027-01-01": 18.0,
999
+ "priority_audio_output": 16.2,
1000
+ "priority_audio_output_from_2027-01-01": 32.4,
1001
+ "priority_cache_read_input": 0.225,
1002
+ "priority_cache_read_input_from_2027-01-01": 0.45,
1003
+ "priority_image_input": 0.9,
1004
+ "priority_image_input_from_2027-01-01": 1.8,
1005
+ "priority_input": 0.9,
1006
+ "priority_input_from_2027-01-01": 1.8,
1007
+ "priority_output": 16.2,
1008
+ "priority_output_from_2027-01-01": 32.4
1009
+ },
1010
+ "gemini/gemini-embedding-2": {
1011
+ "audio_input": 6.5,
1012
+ "batch_audio_input": 3.25,
1013
+ "batch_image_input": 0.225,
1014
+ "batch_input": 0.1,
1015
+ "batch_video_input": 6.0,
1016
+ "image_input": 0.45,
1017
+ "input": 0.2,
1018
+ "video_input": 12.0
1019
+ },
1020
+ "gemini/gemini-robotics-er-2-preview": {
1021
+ "audio_input": 1.0,
1022
+ "audio_input_from_2027-01-01": 2.0,
1023
+ "batch_audio_input": 0.5,
1024
+ "batch_audio_input_from_2027-01-01": 1.0,
1025
+ "batch_cache_read_input": 0.05,
1026
+ "batch_cache_read_input_from_2027-01-01": 0.1,
1027
+ "batch_image_input": 0.5,
1028
+ "batch_image_input_from_2027-01-01": 1.0,
1029
+ "batch_input": 0.5,
1030
+ "batch_input_from_2027-01-01": 1.0,
1031
+ "batch_output": 2.5,
1032
+ "batch_output_from_2027-01-01": 5.0,
1033
+ "cache_read_input": 0.1,
1034
+ "cache_read_input_from_2027-01-01": 0.2,
1035
+ "cache_storage_token_hour": 0.5,
1036
+ "cache_storage_token_hour_from_2027-01-01": 1.0,
1037
+ "grounding_request": 14.0,
1038
+ "image_input": 1.0,
1039
+ "image_input_from_2027-01-01": 2.0,
1040
+ "input": 1.0,
1041
+ "input_from_2027-01-01": 2.0,
1042
+ "output": 5.0,
1043
+ "output_from_2027-01-01": 10.0
578
1044
  },
579
1045
  "groq/meta-llama/llama-prompt-guard-2-22m": {
580
1046
  "flex_input": 0.03,
@@ -593,6 +1059,9 @@
593
1059
  "output": 0.04
594
1060
  },
595
1061
  "groq/openai/gpt-oss-120b": {
1062
+ "batch_cache_read_input": 0.075,
1063
+ "batch_input": 0.075,
1064
+ "batch_output": 0.3,
596
1065
  "cache_read_input": 0.075,
597
1066
  "flex_cache_read_input": 0.075,
598
1067
  "flex_input": 0.15,
@@ -604,6 +1073,9 @@
604
1073
  "output": 0.6
605
1074
  },
606
1075
  "groq/openai/gpt-oss-20b": {
1076
+ "batch_cache_read_input": 0.0375,
1077
+ "batch_input": 0.0375,
1078
+ "batch_output": 0.15,
607
1079
  "cache_read_input": 0.0375,
608
1080
  "flex_cache_read_input": 0.0375,
609
1081
  "flex_input": 0.075,
@@ -633,73 +1105,641 @@
633
1105
  "on_demand_output": 4.0,
634
1106
  "output": 4.0
635
1107
  },
636
- "openai/chatgpt-image-latest": {
637
- "batch_cache_read_input": 0.63,
638
- "batch_image_input": 4.0,
639
- "batch_image_output": 16.0,
640
- "batch_input": 2.5,
641
- "batch_output": 5.0,
642
- "cache_read_input": 1.25,
643
- "image_input": 8.0,
644
- "image_output": 32.0,
645
- "input": 5.0,
646
- "output": 10.0
647
- },
648
- "openai/gpt-3.5-turbo": {
649
- "input": 0.5,
650
- "output": 1.5
651
- },
652
- "openai/gpt-4": {
653
- "batch_input": 15.0,
654
- "batch_output": 30.0,
655
- "input": 30.0,
656
- "output": 60.0
657
- },
658
- "openai/gpt-4-turbo": {
659
- "batch_input": 5.0,
660
- "batch_output": 15.0,
661
- "input": 10.0,
662
- "output": 30.0
663
- },
664
- "openai/gpt-4.1": {
665
- "batch_input": 1.0,
666
- "batch_output": 4.0,
667
- "cache_read_input": 0.5,
668
- "fast_cache_read_input": 0.875,
669
- "fast_input": 3.5,
670
- "fast_output": 14.0,
671
- "input": 2.0,
672
- "output": 8.0,
673
- "priority_cache_read_input": 0.875,
674
- "priority_input": 3.5,
675
- "priority_output": 14.0
676
- },
677
- "openai/gpt-4.1-mini": {
678
- "batch_input": 0.2,
679
- "batch_output": 0.8,
680
- "cache_read_input": 0.1,
681
- "fast_cache_read_input": 0.175,
682
- "fast_input": 0.7,
683
- "fast_output": 2.8,
684
- "input": 0.4,
685
- "output": 1.6,
686
- "priority_cache_read_input": 0.175,
687
- "priority_input": 0.7,
688
- "priority_output": 2.8
689
- },
690
- "openai/gpt-4.1-nano": {
1108
+ "mistral/codestral-2508": {
1109
+ "batch_cache_read_input": 0.015,
1110
+ "batch_input": 0.15,
1111
+ "batch_output": 0.45,
1112
+ "cache_read_input": 0.03,
1113
+ "data_residency_cache_read_input": 0.033,
1114
+ "data_residency_input": 0.33,
1115
+ "data_residency_output": 0.99,
1116
+ "input": 0.3,
1117
+ "output": 0.9,
1118
+ "priority_cache_read_input": 0.0525,
1119
+ "priority_data_residency_cache_read_input": 0.05775,
1120
+ "priority_data_residency_input": 0.5775,
1121
+ "priority_data_residency_output": 1.7325,
1122
+ "priority_input": 0.525,
1123
+ "priority_output": 1.575
1124
+ },
1125
+ "mistral/codestral-latest": {
1126
+ "batch_cache_read_input": 0.015,
1127
+ "batch_input": 0.15,
1128
+ "batch_output": 0.45,
1129
+ "cache_read_input": 0.03,
1130
+ "data_residency_cache_read_input": 0.033,
1131
+ "data_residency_input": 0.33,
1132
+ "data_residency_output": 0.99,
1133
+ "input": 0.3,
1134
+ "output": 0.9,
1135
+ "priority_cache_read_input": 0.0525,
1136
+ "priority_data_residency_cache_read_input": 0.05775,
1137
+ "priority_data_residency_input": 0.5775,
1138
+ "priority_data_residency_output": 1.7325,
1139
+ "priority_input": 0.525,
1140
+ "priority_output": 1.575
1141
+ },
1142
+ "mistral/glm-5-2": {
1143
+ "batch_cache_read_input": 0.07,
1144
+ "batch_input": 0.7,
1145
+ "batch_output": 2.2,
1146
+ "cache_read_input": 0.14,
1147
+ "data_residency_cache_read_input": 0.154,
1148
+ "data_residency_input": 1.54,
1149
+ "data_residency_output": 4.84,
1150
+ "input": 1.4,
1151
+ "output": 4.4,
1152
+ "priority_cache_read_input": 0.245,
1153
+ "priority_data_residency_cache_read_input": 0.2695,
1154
+ "priority_data_residency_input": 2.695,
1155
+ "priority_data_residency_output": 8.47,
1156
+ "priority_input": 2.45,
1157
+ "priority_output": 7.7
1158
+ },
1159
+ "mistral/magistral-medium-latest": {
1160
+ "batch_cache_read_input": 0.075,
1161
+ "batch_input": 0.75,
1162
+ "batch_output": 3.75,
1163
+ "cache_read_input": 0.15,
1164
+ "data_residency_cache_read_input": 0.165,
1165
+ "data_residency_input": 1.65,
1166
+ "data_residency_output": 8.25,
1167
+ "input": 1.5,
1168
+ "output": 7.5,
1169
+ "priority_cache_read_input": 0.2625,
1170
+ "priority_data_residency_cache_read_input": 0.28875,
1171
+ "priority_data_residency_input": 2.8875,
1172
+ "priority_data_residency_output": 14.4375,
1173
+ "priority_input": 2.625,
1174
+ "priority_output": 13.125
1175
+ },
1176
+ "mistral/magistral-small-latest": {
1177
+ "batch_cache_read_input": 0.0075,
1178
+ "batch_input": 0.075,
1179
+ "batch_output": 0.3,
1180
+ "cache_read_input": 0.015,
1181
+ "data_residency_cache_read_input": 0.0165,
1182
+ "data_residency_input": 0.165,
1183
+ "data_residency_output": 0.66,
1184
+ "input": 0.15,
1185
+ "output": 0.6,
1186
+ "priority_cache_read_input": 0.02625,
1187
+ "priority_data_residency_cache_read_input": 0.028875,
1188
+ "priority_data_residency_input": 0.28875,
1189
+ "priority_data_residency_output": 1.155,
1190
+ "priority_input": 0.2625,
1191
+ "priority_output": 1.05
1192
+ },
1193
+ "mistral/ministral-14b-2512": {
1194
+ "batch_cache_read_input": 0.01,
1195
+ "batch_input": 0.1,
1196
+ "batch_output": 0.1,
1197
+ "cache_read_input": 0.02,
1198
+ "data_residency_cache_read_input": 0.022,
1199
+ "data_residency_input": 0.22,
1200
+ "data_residency_output": 0.22,
1201
+ "input": 0.2,
1202
+ "output": 0.2,
1203
+ "priority_cache_read_input": 0.035,
1204
+ "priority_data_residency_cache_read_input": 0.0385,
1205
+ "priority_data_residency_input": 0.385,
1206
+ "priority_data_residency_output": 0.385,
1207
+ "priority_input": 0.35,
1208
+ "priority_output": 0.35
1209
+ },
1210
+ "mistral/ministral-14b-latest": {
1211
+ "batch_cache_read_input": 0.01,
1212
+ "batch_input": 0.1,
1213
+ "batch_output": 0.1,
1214
+ "cache_read_input": 0.02,
1215
+ "data_residency_cache_read_input": 0.022,
1216
+ "data_residency_input": 0.22,
1217
+ "data_residency_output": 0.22,
1218
+ "input": 0.2,
1219
+ "output": 0.2,
1220
+ "priority_cache_read_input": 0.035,
1221
+ "priority_data_residency_cache_read_input": 0.0385,
1222
+ "priority_data_residency_input": 0.385,
1223
+ "priority_data_residency_output": 0.385,
1224
+ "priority_input": 0.35,
1225
+ "priority_output": 0.35
1226
+ },
1227
+ "mistral/ministral-3b-2512": {
1228
+ "batch_cache_read_input": 0.005,
691
1229
  "batch_input": 0.05,
692
- "batch_output": 0.2,
693
- "cache_read_input": 0.025,
694
- "fast_cache_read_input": 0.05,
695
- "fast_input": 0.2,
696
- "fast_output": 0.8,
1230
+ "batch_output": 0.05,
1231
+ "cache_read_input": 0.01,
1232
+ "data_residency_cache_read_input": 0.011,
1233
+ "data_residency_input": 0.11,
1234
+ "data_residency_output": 0.11,
697
1235
  "input": 0.1,
698
- "output": 0.4,
699
- "priority_cache_read_input": 0.05,
700
- "priority_input": 0.2,
701
- "priority_output": 0.8
702
- },
1236
+ "output": 0.1,
1237
+ "priority_cache_read_input": 0.0175,
1238
+ "priority_data_residency_cache_read_input": 0.01925,
1239
+ "priority_data_residency_input": 0.1925,
1240
+ "priority_data_residency_output": 0.1925,
1241
+ "priority_input": 0.175,
1242
+ "priority_output": 0.175
1243
+ },
1244
+ "mistral/ministral-3b-latest": {
1245
+ "batch_cache_read_input": 0.005,
1246
+ "batch_input": 0.05,
1247
+ "batch_output": 0.05,
1248
+ "cache_read_input": 0.01,
1249
+ "data_residency_cache_read_input": 0.011,
1250
+ "data_residency_input": 0.11,
1251
+ "data_residency_output": 0.11,
1252
+ "input": 0.1,
1253
+ "output": 0.1,
1254
+ "priority_cache_read_input": 0.0175,
1255
+ "priority_data_residency_cache_read_input": 0.01925,
1256
+ "priority_data_residency_input": 0.1925,
1257
+ "priority_data_residency_output": 0.1925,
1258
+ "priority_input": 0.175,
1259
+ "priority_output": 0.175
1260
+ },
1261
+ "mistral/ministral-8b-2512": {
1262
+ "batch_cache_read_input": 0.0075,
1263
+ "batch_input": 0.075,
1264
+ "batch_output": 0.075,
1265
+ "cache_read_input": 0.015,
1266
+ "data_residency_cache_read_input": 0.0165,
1267
+ "data_residency_input": 0.165,
1268
+ "data_residency_output": 0.165,
1269
+ "input": 0.15,
1270
+ "output": 0.15,
1271
+ "priority_cache_read_input": 0.02625,
1272
+ "priority_data_residency_cache_read_input": 0.028875,
1273
+ "priority_data_residency_input": 0.28875,
1274
+ "priority_data_residency_output": 0.28875,
1275
+ "priority_input": 0.2625,
1276
+ "priority_output": 0.2625
1277
+ },
1278
+ "mistral/ministral-8b-latest": {
1279
+ "batch_cache_read_input": 0.0075,
1280
+ "batch_input": 0.075,
1281
+ "batch_output": 0.075,
1282
+ "cache_read_input": 0.015,
1283
+ "data_residency_cache_read_input": 0.0165,
1284
+ "data_residency_input": 0.165,
1285
+ "data_residency_output": 0.165,
1286
+ "input": 0.15,
1287
+ "output": 0.15,
1288
+ "priority_cache_read_input": 0.02625,
1289
+ "priority_data_residency_cache_read_input": 0.028875,
1290
+ "priority_data_residency_input": 0.28875,
1291
+ "priority_data_residency_output": 0.28875,
1292
+ "priority_input": 0.2625,
1293
+ "priority_output": 0.2625
1294
+ },
1295
+ "mistral/mistral-code-fim-latest": {
1296
+ "batch_cache_read_input": 0.015,
1297
+ "batch_input": 0.15,
1298
+ "batch_output": 0.45,
1299
+ "cache_read_input": 0.03,
1300
+ "data_residency_cache_read_input": 0.033,
1301
+ "data_residency_input": 0.33,
1302
+ "data_residency_output": 0.99,
1303
+ "input": 0.3,
1304
+ "output": 0.9,
1305
+ "priority_cache_read_input": 0.0525,
1306
+ "priority_data_residency_cache_read_input": 0.05775,
1307
+ "priority_data_residency_input": 0.5775,
1308
+ "priority_data_residency_output": 1.7325,
1309
+ "priority_input": 0.525,
1310
+ "priority_output": 1.575
1311
+ },
1312
+ "mistral/mistral-code-latest": {
1313
+ "batch_cache_read_input": 0.015,
1314
+ "batch_input": 0.15,
1315
+ "batch_output": 0.45,
1316
+ "cache_read_input": 0.03,
1317
+ "data_residency_cache_read_input": 0.033,
1318
+ "data_residency_input": 0.33,
1319
+ "data_residency_output": 0.99,
1320
+ "input": 0.3,
1321
+ "output": 0.9,
1322
+ "priority_cache_read_input": 0.0525,
1323
+ "priority_data_residency_cache_read_input": 0.05775,
1324
+ "priority_data_residency_input": 0.5775,
1325
+ "priority_data_residency_output": 1.7325,
1326
+ "priority_input": 0.525,
1327
+ "priority_output": 1.575
1328
+ },
1329
+ "mistral/mistral-large-2512": {
1330
+ "batch_cache_read_input": 0.025,
1331
+ "batch_input": 0.25,
1332
+ "batch_output": 0.75,
1333
+ "cache_read_input": 0.05,
1334
+ "data_residency_cache_read_input": 0.055,
1335
+ "data_residency_input": 0.55,
1336
+ "data_residency_output": 1.65,
1337
+ "input": 0.5,
1338
+ "output": 1.5,
1339
+ "priority_cache_read_input": 0.0875,
1340
+ "priority_data_residency_cache_read_input": 0.09625,
1341
+ "priority_data_residency_input": 0.9625,
1342
+ "priority_data_residency_output": 2.8875,
1343
+ "priority_input": 0.875,
1344
+ "priority_output": 2.625
1345
+ },
1346
+ "mistral/mistral-large-3": {
1347
+ "batch_cache_read_input": 0.025,
1348
+ "batch_input": 0.25,
1349
+ "batch_output": 0.75,
1350
+ "cache_read_input": 0.05,
1351
+ "data_residency_cache_read_input": 0.055,
1352
+ "data_residency_input": 0.55,
1353
+ "data_residency_output": 1.65,
1354
+ "input": 0.5,
1355
+ "output": 1.5,
1356
+ "priority_cache_read_input": 0.0875,
1357
+ "priority_data_residency_cache_read_input": 0.09625,
1358
+ "priority_data_residency_input": 0.9625,
1359
+ "priority_data_residency_output": 2.8875,
1360
+ "priority_input": 0.875,
1361
+ "priority_output": 2.625
1362
+ },
1363
+ "mistral/mistral-large-latest": {
1364
+ "batch_cache_read_input": 0.025,
1365
+ "batch_input": 0.25,
1366
+ "batch_output": 0.75,
1367
+ "cache_read_input": 0.05,
1368
+ "data_residency_cache_read_input": 0.055,
1369
+ "data_residency_input": 0.55,
1370
+ "data_residency_output": 1.65,
1371
+ "input": 0.5,
1372
+ "output": 1.5,
1373
+ "priority_cache_read_input": 0.0875,
1374
+ "priority_data_residency_cache_read_input": 0.09625,
1375
+ "priority_data_residency_input": 0.9625,
1376
+ "priority_data_residency_output": 2.8875,
1377
+ "priority_input": 0.875,
1378
+ "priority_output": 2.625
1379
+ },
1380
+ "mistral/mistral-medium": {
1381
+ "batch_cache_read_input": 0.075,
1382
+ "batch_input": 0.75,
1383
+ "batch_output": 3.75,
1384
+ "cache_read_input": 0.15,
1385
+ "data_residency_cache_read_input": 0.165,
1386
+ "data_residency_input": 1.65,
1387
+ "data_residency_output": 8.25,
1388
+ "input": 1.5,
1389
+ "output": 7.5,
1390
+ "priority_cache_read_input": 0.2625,
1391
+ "priority_data_residency_cache_read_input": 0.28875,
1392
+ "priority_data_residency_input": 2.8875,
1393
+ "priority_data_residency_output": 14.4375,
1394
+ "priority_input": 2.625,
1395
+ "priority_output": 13.125
1396
+ },
1397
+ "mistral/mistral-medium-2604": {
1398
+ "batch_cache_read_input": 0.075,
1399
+ "batch_input": 0.75,
1400
+ "batch_output": 3.75,
1401
+ "cache_read_input": 0.15,
1402
+ "data_residency_cache_read_input": 0.165,
1403
+ "data_residency_input": 1.65,
1404
+ "data_residency_output": 8.25,
1405
+ "input": 1.5,
1406
+ "output": 7.5,
1407
+ "priority_cache_read_input": 0.2625,
1408
+ "priority_data_residency_cache_read_input": 0.28875,
1409
+ "priority_data_residency_input": 2.8875,
1410
+ "priority_data_residency_output": 14.4375,
1411
+ "priority_input": 2.625,
1412
+ "priority_output": 13.125
1413
+ },
1414
+ "mistral/mistral-medium-3": {
1415
+ "batch_cache_read_input": 0.075,
1416
+ "batch_input": 0.75,
1417
+ "batch_output": 3.75,
1418
+ "cache_read_input": 0.15,
1419
+ "data_residency_cache_read_input": 0.165,
1420
+ "data_residency_input": 1.65,
1421
+ "data_residency_output": 8.25,
1422
+ "input": 1.5,
1423
+ "output": 7.5,
1424
+ "priority_cache_read_input": 0.2625,
1425
+ "priority_data_residency_cache_read_input": 0.28875,
1426
+ "priority_data_residency_input": 2.8875,
1427
+ "priority_data_residency_output": 14.4375,
1428
+ "priority_input": 2.625,
1429
+ "priority_output": 13.125
1430
+ },
1431
+ "mistral/mistral-medium-3-5": {
1432
+ "batch_cache_read_input": 0.075,
1433
+ "batch_input": 0.75,
1434
+ "batch_output": 3.75,
1435
+ "cache_read_input": 0.15,
1436
+ "data_residency_cache_read_input": 0.165,
1437
+ "data_residency_input": 1.65,
1438
+ "data_residency_output": 8.25,
1439
+ "input": 1.5,
1440
+ "output": 7.5,
1441
+ "priority_cache_read_input": 0.2625,
1442
+ "priority_data_residency_cache_read_input": 0.28875,
1443
+ "priority_data_residency_input": 2.8875,
1444
+ "priority_data_residency_output": 14.4375,
1445
+ "priority_input": 2.625,
1446
+ "priority_output": 13.125
1447
+ },
1448
+ "mistral/mistral-medium-3.5": {
1449
+ "batch_cache_read_input": 0.075,
1450
+ "batch_input": 0.75,
1451
+ "batch_output": 3.75,
1452
+ "cache_read_input": 0.15,
1453
+ "data_residency_cache_read_input": 0.165,
1454
+ "data_residency_input": 1.65,
1455
+ "data_residency_output": 8.25,
1456
+ "input": 1.5,
1457
+ "output": 7.5,
1458
+ "priority_cache_read_input": 0.2625,
1459
+ "priority_data_residency_cache_read_input": 0.28875,
1460
+ "priority_data_residency_input": 2.8875,
1461
+ "priority_data_residency_output": 14.4375,
1462
+ "priority_input": 2.625,
1463
+ "priority_output": 13.125
1464
+ },
1465
+ "mistral/mistral-medium-latest": {
1466
+ "batch_cache_read_input": 0.075,
1467
+ "batch_input": 0.75,
1468
+ "batch_output": 3.75,
1469
+ "cache_read_input": 0.15,
1470
+ "data_residency_cache_read_input": 0.165,
1471
+ "data_residency_input": 1.65,
1472
+ "data_residency_output": 8.25,
1473
+ "input": 1.5,
1474
+ "output": 7.5,
1475
+ "priority_cache_read_input": 0.2625,
1476
+ "priority_data_residency_cache_read_input": 0.28875,
1477
+ "priority_data_residency_input": 2.8875,
1478
+ "priority_data_residency_output": 14.4375,
1479
+ "priority_input": 2.625,
1480
+ "priority_output": 13.125
1481
+ },
1482
+ "mistral/mistral-small-2603": {
1483
+ "batch_cache_read_input": 0.0075,
1484
+ "batch_input": 0.075,
1485
+ "batch_output": 0.3,
1486
+ "cache_read_input": 0.015,
1487
+ "data_residency_cache_read_input": 0.0165,
1488
+ "data_residency_input": 0.165,
1489
+ "data_residency_output": 0.66,
1490
+ "input": 0.15,
1491
+ "output": 0.6,
1492
+ "priority_cache_read_input": 0.02625,
1493
+ "priority_data_residency_cache_read_input": 0.028875,
1494
+ "priority_data_residency_input": 0.28875,
1495
+ "priority_data_residency_output": 1.155,
1496
+ "priority_input": 0.2625,
1497
+ "priority_output": 1.05
1498
+ },
1499
+ "mistral/mistral-small-latest": {
1500
+ "batch_cache_read_input": 0.0075,
1501
+ "batch_input": 0.075,
1502
+ "batch_output": 0.3,
1503
+ "cache_read_input": 0.015,
1504
+ "data_residency_cache_read_input": 0.0165,
1505
+ "data_residency_input": 0.165,
1506
+ "data_residency_output": 0.66,
1507
+ "input": 0.15,
1508
+ "output": 0.6,
1509
+ "priority_cache_read_input": 0.02625,
1510
+ "priority_data_residency_cache_read_input": 0.028875,
1511
+ "priority_data_residency_input": 0.28875,
1512
+ "priority_data_residency_output": 1.155,
1513
+ "priority_input": 0.2625,
1514
+ "priority_output": 1.05
1515
+ },
1516
+ "mistral/mistral-vibe-cli-fast": {
1517
+ "batch_cache_read_input": 0.0075,
1518
+ "batch_input": 0.075,
1519
+ "batch_output": 0.3,
1520
+ "cache_read_input": 0.015,
1521
+ "data_residency_cache_read_input": 0.0165,
1522
+ "data_residency_input": 0.165,
1523
+ "data_residency_output": 0.66,
1524
+ "input": 0.15,
1525
+ "output": 0.6,
1526
+ "priority_cache_read_input": 0.02625,
1527
+ "priority_data_residency_cache_read_input": 0.028875,
1528
+ "priority_data_residency_input": 0.28875,
1529
+ "priority_data_residency_output": 1.155,
1530
+ "priority_input": 0.2625,
1531
+ "priority_output": 1.05
1532
+ },
1533
+ "mistral/mistral-vibe-cli-latest": {
1534
+ "batch_cache_read_input": 0.075,
1535
+ "batch_input": 0.75,
1536
+ "batch_output": 3.75,
1537
+ "cache_read_input": 0.15,
1538
+ "data_residency_cache_read_input": 0.165,
1539
+ "data_residency_input": 1.65,
1540
+ "data_residency_output": 8.25,
1541
+ "input": 1.5,
1542
+ "output": 7.5,
1543
+ "priority_cache_read_input": 0.2625,
1544
+ "priority_data_residency_cache_read_input": 0.28875,
1545
+ "priority_data_residency_input": 2.8875,
1546
+ "priority_data_residency_output": 14.4375,
1547
+ "priority_input": 2.625,
1548
+ "priority_output": 13.125
1549
+ },
1550
+ "mistral/mistral-vibe-cli-with-tools": {
1551
+ "batch_cache_read_input": 0.075,
1552
+ "batch_input": 0.75,
1553
+ "batch_output": 3.75,
1554
+ "cache_read_input": 0.15,
1555
+ "data_residency_cache_read_input": 0.165,
1556
+ "data_residency_input": 1.65,
1557
+ "data_residency_output": 8.25,
1558
+ "input": 1.5,
1559
+ "output": 7.5,
1560
+ "priority_cache_read_input": 0.2625,
1561
+ "priority_data_residency_cache_read_input": 0.28875,
1562
+ "priority_data_residency_input": 2.8875,
1563
+ "priority_data_residency_output": 14.4375,
1564
+ "priority_input": 2.625,
1565
+ "priority_output": 13.125
1566
+ },
1567
+ "mistral/zai-glm-5": {
1568
+ "batch_cache_read_input": 0.07,
1569
+ "batch_input": 0.7,
1570
+ "batch_output": 2.2,
1571
+ "cache_read_input": 0.14,
1572
+ "data_residency_cache_read_input": 0.154,
1573
+ "data_residency_input": 1.54,
1574
+ "data_residency_output": 4.84,
1575
+ "input": 1.4,
1576
+ "output": 4.4,
1577
+ "priority_cache_read_input": 0.245,
1578
+ "priority_data_residency_cache_read_input": 0.2695,
1579
+ "priority_data_residency_input": 2.695,
1580
+ "priority_data_residency_output": 8.47,
1581
+ "priority_input": 2.45,
1582
+ "priority_output": 7.7
1583
+ },
1584
+ "mistral/zai-glm-5-2": {
1585
+ "batch_cache_read_input": 0.07,
1586
+ "batch_input": 0.7,
1587
+ "batch_output": 2.2,
1588
+ "cache_read_input": 0.14,
1589
+ "data_residency_cache_read_input": 0.154,
1590
+ "data_residency_input": 1.54,
1591
+ "data_residency_output": 4.84,
1592
+ "input": 1.4,
1593
+ "output": 4.4,
1594
+ "priority_cache_read_input": 0.245,
1595
+ "priority_data_residency_cache_read_input": 0.2695,
1596
+ "priority_data_residency_input": 2.695,
1597
+ "priority_data_residency_output": 8.47,
1598
+ "priority_input": 2.45,
1599
+ "priority_output": 7.7
1600
+ },
1601
+ "mistral/zai-glm-5-3": {
1602
+ "batch_cache_read_input": 0.07,
1603
+ "batch_input": 0.7,
1604
+ "batch_output": 2.2,
1605
+ "cache_read_input": 0.14,
1606
+ "data_residency_cache_read_input": 0.154,
1607
+ "data_residency_input": 1.54,
1608
+ "data_residency_output": 4.84,
1609
+ "input": 1.4,
1610
+ "output": 4.4,
1611
+ "priority_cache_read_input": 0.245,
1612
+ "priority_data_residency_cache_read_input": 0.2695,
1613
+ "priority_data_residency_input": 2.695,
1614
+ "priority_data_residency_output": 8.47,
1615
+ "priority_input": 2.45,
1616
+ "priority_output": 7.7
1617
+ },
1618
+ "mistral/zai-glm-latest": {
1619
+ "batch_cache_read_input": 0.07,
1620
+ "batch_input": 0.7,
1621
+ "batch_output": 2.2,
1622
+ "cache_read_input": 0.14,
1623
+ "data_residency_cache_read_input": 0.154,
1624
+ "data_residency_input": 1.54,
1625
+ "data_residency_output": 4.84,
1626
+ "input": 1.4,
1627
+ "output": 4.4,
1628
+ "priority_cache_read_input": 0.245,
1629
+ "priority_data_residency_cache_read_input": 0.2695,
1630
+ "priority_data_residency_input": 2.695,
1631
+ "priority_data_residency_output": 8.47,
1632
+ "priority_input": 2.45,
1633
+ "priority_output": 7.7
1634
+ },
1635
+ "openai/babbage-002": {
1636
+ "batch_input": 0.2,
1637
+ "batch_output": 0.2,
1638
+ "input": 0.4,
1639
+ "output": 0.4
1640
+ },
1641
+ "openai/chat-latest": {
1642
+ "cache_read_input": 0.5,
1643
+ "input": 5.0,
1644
+ "output": 30.0
1645
+ },
1646
+ "openai/chatgpt-image-latest": {
1647
+ "batch_cache_read_input": 0.63,
1648
+ "batch_image_cache_read_input": 1.0,
1649
+ "batch_image_input": 4.0,
1650
+ "batch_image_output": 16.0,
1651
+ "batch_input": 2.5,
1652
+ "batch_output": 5.0,
1653
+ "cache_read_input": 1.25,
1654
+ "image_cache_read_input": 2.0,
1655
+ "image_input": 8.0,
1656
+ "image_output": 32.0,
1657
+ "input": 5.0,
1658
+ "output": 10.0
1659
+ },
1660
+ "openai/davinci-002": {
1661
+ "batch_input": 1.0,
1662
+ "batch_output": 1.0,
1663
+ "input": 2.0,
1664
+ "output": 2.0
1665
+ },
1666
+ "openai/gpt-3.5-turbo": {
1667
+ "input": 0.5,
1668
+ "output": 1.5
1669
+ },
1670
+ "openai/gpt-3.5-turbo-0125": {
1671
+ "batch_input": 0.25,
1672
+ "batch_output": 0.75,
1673
+ "input": 0.5,
1674
+ "output": 1.5
1675
+ },
1676
+ "openai/gpt-3.5-turbo-1106": {
1677
+ "batch_input": 1.0,
1678
+ "batch_output": 2.0,
1679
+ "input": 1.0,
1680
+ "output": 2.0
1681
+ },
1682
+ "openai/gpt-3.5-turbo-instruct": {
1683
+ "input": 1.5,
1684
+ "output": 2.0
1685
+ },
1686
+ "openai/gpt-4": {
1687
+ "batch_input": 15.0,
1688
+ "batch_output": 30.0,
1689
+ "input": 30.0,
1690
+ "output": 60.0
1691
+ },
1692
+ "openai/gpt-4-0613": {
1693
+ "batch_input": 15.0,
1694
+ "batch_output": 30.0,
1695
+ "input": 30.0,
1696
+ "output": 60.0
1697
+ },
1698
+ "openai/gpt-4-turbo": {
1699
+ "batch_input": 5.0,
1700
+ "batch_output": 15.0,
1701
+ "input": 10.0,
1702
+ "output": 30.0
1703
+ },
1704
+ "openai/gpt-4.1": {
1705
+ "batch_input": 1.0,
1706
+ "batch_output": 4.0,
1707
+ "cache_read_input": 0.5,
1708
+ "fast_cache_read_input": 0.875,
1709
+ "fast_input": 3.5,
1710
+ "fast_output": 14.0,
1711
+ "input": 2.0,
1712
+ "output": 8.0,
1713
+ "priority_cache_read_input": 0.875,
1714
+ "priority_input": 3.5,
1715
+ "priority_output": 14.0
1716
+ },
1717
+ "openai/gpt-4.1-mini": {
1718
+ "batch_input": 0.2,
1719
+ "batch_output": 0.8,
1720
+ "cache_read_input": 0.1,
1721
+ "fast_cache_read_input": 0.175,
1722
+ "fast_input": 0.7,
1723
+ "fast_output": 2.8,
1724
+ "input": 0.4,
1725
+ "output": 1.6,
1726
+ "priority_cache_read_input": 0.175,
1727
+ "priority_input": 0.7,
1728
+ "priority_output": 2.8
1729
+ },
1730
+ "openai/gpt-4.1-nano": {
1731
+ "batch_input": 0.05,
1732
+ "batch_output": 0.2,
1733
+ "cache_read_input": 0.025,
1734
+ "fast_cache_read_input": 0.05,
1735
+ "fast_input": 0.2,
1736
+ "fast_output": 0.8,
1737
+ "input": 0.1,
1738
+ "output": 0.4,
1739
+ "priority_cache_read_input": 0.05,
1740
+ "priority_input": 0.2,
1741
+ "priority_output": 0.8
1742
+ },
703
1743
  "openai/gpt-4o": {
704
1744
  "batch_input": 1.25,
705
1745
  "batch_output": 5.0,
@@ -746,6 +1786,11 @@
746
1786
  "input": 2.5,
747
1787
  "output": 10.0
748
1788
  },
1789
+ "openai/gpt-4o-transcribe-diarize": {
1790
+ "audio_input": 6.0,
1791
+ "input": 2.5,
1792
+ "output": 10.0
1793
+ },
749
1794
  "openai/gpt-5": {
750
1795
  "batch_cache_read_input": 0.0625,
751
1796
  "batch_input": 0.625,
@@ -797,6 +1842,11 @@
797
1842
  "input": 15.0,
798
1843
  "output": 120.0
799
1844
  },
1845
+ "openai/gpt-5-search-api": {
1846
+ "cache_read_input": 0.125,
1847
+ "input": 1.25,
1848
+ "output": 10.0
1849
+ },
800
1850
  "openai/gpt-5.1": {
801
1851
  "batch_cache_read_input": 0.0625,
802
1852
  "batch_input": 0.625,
@@ -850,8 +1900,8 @@
850
1900
  },
851
1901
  "openai/gpt-5.4": {
852
1902
  "_context_price_threshold_tokens": 272000,
853
- "above_context_batch_cache_read_input": 0.26,
854
- "above_context_batch_data_residency_cache_read_input": 0.286,
1903
+ "above_context_batch_cache_read_input": 0.25,
1904
+ "above_context_batch_data_residency_cache_read_input": 0.275,
855
1905
  "above_context_batch_data_residency_input": 2.75,
856
1906
  "above_context_batch_data_residency_output": 12.375,
857
1907
  "above_context_batch_input": 2.5,
@@ -860,8 +1910,8 @@
860
1910
  "above_context_data_residency_cache_read_input": 0.55,
861
1911
  "above_context_data_residency_input": 5.5,
862
1912
  "above_context_data_residency_output": 24.75,
863
- "above_context_flex_cache_read_input": 0.26,
864
- "above_context_flex_data_residency_cache_read_input": 0.286,
1913
+ "above_context_flex_cache_read_input": 0.25,
1914
+ "above_context_flex_data_residency_cache_read_input": 0.275,
865
1915
  "above_context_flex_data_residency_input": 2.75,
866
1916
  "above_context_flex_data_residency_output": 12.375,
867
1917
  "above_context_flex_input": 2.5,
@@ -1035,6 +2085,11 @@
1035
2085
  "output": 75.0
1036
2086
  },
1037
2087
  "openai/gpt-5.5-pro": {
2088
+ "_context_price_threshold_tokens": 272000,
2089
+ "above_context_data_residency_input": 66.0,
2090
+ "above_context_data_residency_output": 297.0,
2091
+ "above_context_input": 60.0,
2092
+ "above_context_output": 270.0,
1038
2093
  "batch_data_residency_input": 16.5,
1039
2094
  "batch_data_residency_output": 99.0,
1040
2095
  "batch_input": 15.0,
@@ -1048,6 +2103,12 @@
1048
2103
  "input": 30.0,
1049
2104
  "output": 180.0
1050
2105
  },
2106
+ "openai/gpt-5.6-cyber": {
2107
+ "cache_read_input": 1.25,
2108
+ "cache_write_input": 15.625,
2109
+ "input": 12.5,
2110
+ "output": 75.0
2111
+ },
1051
2112
  "openai/gpt-5.6-luna": {
1052
2113
  "_context_price_threshold_tokens": 272000,
1053
2114
  "above_context_batch_cache_read_input": 0.02,
@@ -1566,31 +2627,37 @@
1566
2627
  },
1567
2628
  "openai/gpt-image-1": {
1568
2629
  "batch_cache_read_input": 0.63,
2630
+ "batch_image_cache_read_input": 1.25,
1569
2631
  "batch_image_input": 5.0,
1570
2632
  "batch_image_output": 20.0,
1571
2633
  "batch_input": 2.5,
1572
2634
  "cache_read_input": 1.25,
2635
+ "image_cache_read_input": 2.5,
1573
2636
  "image_input": 10.0,
1574
2637
  "image_output": 40.0,
1575
2638
  "input": 5.0
1576
2639
  },
1577
2640
  "openai/gpt-image-1-mini": {
1578
2641
  "batch_cache_read_input": 0.1,
2642
+ "batch_image_cache_read_input": 0.13,
1579
2643
  "batch_image_input": 1.25,
1580
2644
  "batch_image_output": 4.0,
1581
2645
  "batch_input": 1.0,
1582
2646
  "cache_read_input": 0.2,
2647
+ "image_cache_read_input": 0.25,
1583
2648
  "image_input": 2.5,
1584
2649
  "image_output": 8.0,
1585
2650
  "input": 2.0
1586
2651
  },
1587
2652
  "openai/gpt-image-1.5": {
1588
2653
  "batch_cache_read_input": 0.63,
2654
+ "batch_image_cache_read_input": 1.0,
1589
2655
  "batch_image_input": 4.0,
1590
2656
  "batch_image_output": 16.0,
1591
2657
  "batch_input": 2.5,
1592
2658
  "batch_output": 5.0,
1593
2659
  "cache_read_input": 1.25,
2660
+ "image_cache_read_input": 2.0,
1594
2661
  "image_input": 8.0,
1595
2662
  "image_output": 32.0,
1596
2663
  "input": 5.0,
@@ -1598,72 +2665,117 @@
1598
2665
  },
1599
2666
  "openai/gpt-image-2": {
1600
2667
  "batch_cache_read_input": 0.625,
2668
+ "batch_data_residency_cache_read_input": 0.6875,
2669
+ "batch_data_residency_input": 2.75,
2670
+ "batch_image_cache_read_input": 1.0,
1601
2671
  "batch_image_input": 4.0,
1602
2672
  "batch_image_output": 15.0,
1603
2673
  "batch_input": 2.5,
1604
2674
  "cache_read_input": 1.25,
2675
+ "data_residency_cache_read_input": 1.375,
2676
+ "data_residency_input": 5.5,
2677
+ "image_cache_read_input": 2.0,
2678
+ "image_input": 8.0,
2679
+ "image_output": 30.0,
2680
+ "input": 5.0
2681
+ },
2682
+ "openai/gpt-image-2.5-flare": {
2683
+ "cache_read_input": 1.25,
2684
+ "data_residency_cache_read_input": 1.375,
2685
+ "data_residency_input": 5.5,
2686
+ "image_cache_read_input": 2.0,
2687
+ "image_input": 8.0,
2688
+ "image_output": 30.0,
2689
+ "input": 5.0
2690
+ },
2691
+ "openai/gpt-image-2.5-sunburst": {
2692
+ "cache_read_input": 1.25,
2693
+ "data_residency_cache_read_input": 1.375,
2694
+ "data_residency_input": 5.5,
2695
+ "image_cache_read_input": 2.0,
1605
2696
  "image_input": 8.0,
1606
2697
  "image_output": 30.0,
1607
2698
  "input": 5.0
1608
2699
  },
1609
2700
  "openai/gpt-live-transcribe": {
2701
+ "data_residency_transcription_minute": 0.0187,
1610
2702
  "transcription_minute": 0.017
1611
2703
  },
1612
2704
  "openai/gpt-realtime": {
2705
+ "audio_cache_read_input": 0.4,
1613
2706
  "audio_input": 32.0,
1614
2707
  "audio_output": 64.0,
1615
2708
  "cache_read_input": 0.4,
2709
+ "image_cache_read_input": 0.5,
1616
2710
  "image_input": 5.0,
1617
2711
  "input": 4.0,
1618
2712
  "output": 16.0
1619
2713
  },
1620
2714
  "openai/gpt-realtime-1.5": {
2715
+ "audio_cache_read_input": 0.4,
1621
2716
  "audio_input": 32.0,
1622
2717
  "audio_output": 64.0,
1623
2718
  "cache_read_input": 0.4,
2719
+ "image_cache_read_input": 0.5,
1624
2720
  "image_input": 5.0,
1625
2721
  "input": 4.0,
1626
2722
  "output": 16.0
1627
2723
  },
1628
2724
  "openai/gpt-realtime-2": {
2725
+ "audio_cache_read_input": 0.4,
1629
2726
  "audio_input": 32.0,
1630
2727
  "audio_output": 64.0,
1631
2728
  "cache_read_input": 0.4,
2729
+ "image_cache_read_input": 0.5,
1632
2730
  "image_input": 5.0,
1633
2731
  "input": 4.0,
1634
2732
  "output": 24.0
1635
2733
  },
1636
2734
  "openai/gpt-realtime-2.1": {
2735
+ "audio_cache_read_input": 0.4,
1637
2736
  "audio_input": 32.0,
1638
2737
  "audio_output": 64.0,
1639
2738
  "cache_read_input": 0.4,
2739
+ "image_cache_read_input": 0.5,
1640
2740
  "image_input": 5.0,
1641
2741
  "input": 4.0,
1642
2742
  "output": 24.0
1643
2743
  },
1644
2744
  "openai/gpt-realtime-2.1-mini": {
2745
+ "audio_cache_read_input": 0.3,
1645
2746
  "audio_input": 10.0,
1646
2747
  "audio_output": 20.0,
1647
2748
  "cache_read_input": 0.06,
2749
+ "image_cache_read_input": 0.08,
1648
2750
  "image_input": 0.8,
1649
2751
  "input": 0.6,
1650
2752
  "output": 2.4
1651
2753
  },
1652
2754
  "openai/gpt-realtime-mini": {
2755
+ "audio_cache_read_input": 0.3,
1653
2756
  "audio_input": 10.0,
1654
2757
  "audio_output": 20.0,
1655
2758
  "cache_read_input": 0.06,
2759
+ "image_cache_read_input": 0.08,
1656
2760
  "image_input": 0.8,
1657
2761
  "input": 0.6,
1658
2762
  "output": 2.4
1659
2763
  },
1660
2764
  "openai/gpt-realtime-translate": {
2765
+ "data_residency_transcription_minute": 0.0374,
1661
2766
  "transcription_minute": 0.034
1662
2767
  },
1663
2768
  "openai/gpt-realtime-whisper": {
2769
+ "data_residency_transcription_minute": 0.0187,
1664
2770
  "transcription_minute": 0.017
1665
2771
  },
2772
+ "openai/gpt-rosalind-research": {
2773
+ "cache_read_input": 0.5,
2774
+ "input": 5.0,
2775
+ "output": 25.0
2776
+ },
1666
2777
  "openai/gpt-transcribe": {
2778
+ "data_residency_transcription_minute": 0.00495,
1667
2779
  "transcription_minute": 0.0045
1668
2780
  },
1669
2781
  "openai/o1": {
@@ -1724,6 +2836,12 @@
1724
2836
  "priority_input": 2.0,
1725
2837
  "priority_output": 8.0
1726
2838
  },
2839
+ "openai/omni-moderation-2024-09-26": {
2840
+ "input": 0.0
2841
+ },
2842
+ "openai/omni-moderation-latest": {
2843
+ "input": 0.0
2844
+ },
1727
2845
  "openai/text-embedding-3-large": {
1728
2846
  "batch_input": 0.065,
1729
2847
  "input": 0.13
@@ -1742,6 +2860,9 @@
1742
2860
  "openai/tts-1-hd": {
1743
2861
  "text_to_speech_character": 30.0
1744
2862
  },
2863
+ "openai/whisper-1": {
2864
+ "transcription_minute": 0.006
2865
+ },
1745
2866
  "openrouter/ai21/jamba-large-1.7": {
1746
2867
  "input": 2.0,
1747
2868
  "output": 8.0
@@ -2177,13 +3298,13 @@
2177
3298
  "output": 0.431
2178
3299
  },
2179
3300
  "openrouter/deepseek/deepseek-v4-flash": {
2180
- "cache_read_input": 0.017721,
2181
- "input": 0.088606,
2182
- "output": 0.177212
3301
+ "cache_read_input": 0.00938,
3302
+ "input": 0.0469,
3303
+ "output": 0.0938
2183
3304
  },
2184
3305
  "openrouter/deepseek/deepseek-v4-flash-0731": {
2185
3306
  "cache_read_input": 0.016,
2186
- "input": 0.03,
3307
+ "input": 0.021,
2187
3308
  "output": 0.32
2188
3309
  },
2189
3310
  "openrouter/deepseek/deepseek-v4-flash-0731:batch": {
@@ -2192,9 +3313,9 @@
2192
3313
  "output": 0.33
2193
3314
  },
2194
3315
  "openrouter/deepseek/deepseek-v4-flash-vision-exp": {
2195
- "cache_read_input": 0.007,
2196
- "input": 0.22,
2197
- "output": 0.66
3316
+ "cache_read_input": 0.00686,
3317
+ "input": 0.2156,
3318
+ "output": 0.6468
2198
3319
  },
2199
3320
  "openrouter/deepseek/deepseek-v4-flash-vision-exp:batch": {
2200
3321
  "cache_read_input": 0.0035,
@@ -2202,14 +3323,14 @@
2202
3323
  "output": 0.33
2203
3324
  },
2204
3325
  "openrouter/deepseek/deepseek-v4-pro": {
2205
- "cache_read_input": 0.0783,
2206
- "input": 0.9396,
2207
- "output": 1.8792
3326
+ "cache_read_input": 0.029,
3327
+ "input": 0.348,
3328
+ "output": 0.696
2208
3329
  },
2209
3330
  "openrouter/deepseek/deepseek-v4-pro-0813": {
2210
- "cache_read_input": 0.0154,
2211
- "input": 0.462,
2212
- "output": 1.386
3331
+ "cache_read_input": 0.24452,
3332
+ "input": 0.24502,
3333
+ "output": 3.5
2213
3334
  },
2214
3335
  "openrouter/deepseek/deepseek-v4-pro-0813:batch": {
2215
3336
  "cache_read_input": 0.022,
@@ -2217,9 +3338,9 @@
2217
3338
  "output": 1.98
2218
3339
  },
2219
3340
  "openrouter/deepseek/deepseek-v4.1-flash": {
2220
- "cache_read_input": 0.0042,
2221
- "input": 0.14,
2222
- "output": 0.42
3341
+ "cache_read_input": 0.001,
3342
+ "input": 0.035,
3343
+ "output": 0.29
2223
3344
  },
2224
3345
  "openrouter/deepseek/deepseek-v4.1-flash:batch": {
2225
3346
  "cache_read_input": 0.00336,
@@ -2513,9 +3634,9 @@
2513
3634
  "output": 0.12
2514
3635
  },
2515
3636
  "openrouter/google/gemma-4-26b-a4b-it": {
2516
- "cache_read_input": 0.05,
2517
- "input": 0.09,
2518
- "output": 0.3
3637
+ "cache_read_input": 0.0375,
3638
+ "input": 0.0675,
3639
+ "output": 0.225
2519
3640
  },
2520
3641
  "openrouter/google/gemma-4-31b-it": {
2521
3642
  "cache_read_input": 0.05,
@@ -2580,9 +3701,9 @@
2580
3701
  "output": 0.18
2581
3702
  },
2582
3703
  "openrouter/inclusionai/ling-3.0-flash-vl": {
2583
- "cache_read_input": 0.012,
2584
- "input": 0.06,
2585
- "output": 0.18
3704
+ "cache_read_input": 0.0042,
3705
+ "input": 0.021,
3706
+ "output": 0.0616
2586
3707
  },
2587
3708
  "openrouter/inclusionai/ring-2.6-1t": {
2588
3709
  "cache_read_input": 0.015,
@@ -2741,8 +3862,8 @@
2741
3862
  "output": 2.2
2742
3863
  },
2743
3864
  "openrouter/minimax/minimax-m2": {
2744
- "input": 0.3,
2745
- "output": 1.2
3865
+ "input": 0.255,
3866
+ "output": 1.02
2746
3867
  },
2747
3868
  "openrouter/minimax/minimax-m2-her": {
2748
3869
  "cache_read_input": 0.03,
@@ -2760,9 +3881,9 @@
2760
3881
  "output": 1.08
2761
3882
  },
2762
3883
  "openrouter/minimax/minimax-m2.7": {
2763
- "cache_read_input": 0.06,
2764
- "input": 0.3,
2765
- "output": 1.2
3884
+ "cache_read_input": 0.042,
3885
+ "input": 0.21,
3886
+ "output": 0.84
2766
3887
  },
2767
3888
  "openrouter/minimax/minimax-m3": {
2768
3889
  "cache_read_input": 0.06,
@@ -3628,6 +4749,10 @@
3628
4749
  "input": 0.15,
3629
4750
  "output": 1.5
3630
4751
  },
4752
+ "openrouter/perceptron/perceptron-mk1.5": {
4753
+ "input": 0.15,
4754
+ "output": 1.5
4755
+ },
3631
4756
  "openrouter/perplexity/sonar": {
3632
4757
  "input": 1.0,
3633
4758
  "output": 1.0
@@ -3799,8 +4924,8 @@
3799
4924
  "output": 4.0
3800
4925
  },
3801
4926
  "openrouter/qwen/qwen3-vl-30b-a3b-instruct": {
3802
- "input": 0.13,
3803
- "output": 0.52
4927
+ "input": 0.15,
4928
+ "output": 0.6
3804
4929
  },
3805
4930
  "openrouter/qwen/qwen3-vl-30b-a3b-thinking": {
3806
4931
  "input": 0.2,
@@ -3858,9 +4983,8 @@
3858
4983
  "output": 1.8
3859
4984
  },
3860
4985
  "openrouter/qwen/qwen3.6-27b": {
3861
- "cache_read_input": 0.15,
3862
4986
  "input": 0.32,
3863
- "output": 2.7
4987
+ "output": 3.2
3864
4988
  },
3865
4989
  "openrouter/qwen/qwen3.6-35b-a3b": {
3866
4990
  "cache_read_input": 0.05,
@@ -4219,9 +5343,9 @@
4219
5343
  "output": 0.9
4220
5344
  },
4221
5345
  "openrouter/z-ai/glm-4.7": {
4222
- "cache_read_input": 0.08,
4223
- "input": 0.4,
4224
- "output": 1.75
5346
+ "cache_read_input": 0.11,
5347
+ "input": 0.6,
5348
+ "output": 2.2
4225
5349
  },
4226
5350
  "openrouter/z-ai/glm-4.7-flash": {
4227
5351
  "input": 0.0605,
@@ -4238,9 +5362,9 @@
4238
5362
  "output": 4.0
4239
5363
  },
4240
5364
  "openrouter/z-ai/glm-5.1": {
4241
- "cache_read_input": 0.1794,
4242
- "input": 0.966,
4243
- "output": 3.036
5365
+ "cache_read_input": 0.17914,
5366
+ "input": 0.9646,
5367
+ "output": 3.0316
4244
5368
  },
4245
5369
  "openrouter/z-ai/glm-5.2": {
4246
5370
  "cache_read_input": 0.12064,
@@ -4253,14 +5377,14 @@
4253
5377
  "output": 2.2
4254
5378
  },
4255
5379
  "openrouter/z-ai/glm-5.3": {
4256
- "cache_read_input": 0.156,
4257
- "input": 0.84,
4258
- "output": 2.64
5380
+ "cache_read_input": 0.26,
5381
+ "input": 1.4,
5382
+ "output": 4.4
4259
5383
  },
4260
5384
  "openrouter/z-ai/glm-5.3-flash": {
4261
- "cache_read_input": 0.05,
4262
- "input": 0.15,
4263
- "output": 0.5
5385
+ "cache_read_input": 0.01,
5386
+ "input": 0.045,
5387
+ "output": 0.14
4264
5388
  },
4265
5389
  "openrouter/z-ai/glm-5.3-flash:batch": {
4266
5390
  "cache_read_input": 0.012,
@@ -4312,18 +5436,18 @@
4312
5436
  "output": 10.0
4313
5437
  },
4314
5438
  "openrouter/~deepseek/deepseek-flash-latest": {
4315
- "cache_read_input": 0.01,
4316
- "input": 0.04,
4317
- "output": 1.0
5439
+ "cache_read_input": 0.001,
5440
+ "input": 0.035,
5441
+ "output": 0.29
4318
5442
  },
4319
5443
  "openrouter/~deepseek/deepseek-pro-latest": {
4320
- "cache_read_input": 0.25,
4321
- "input": 0.39,
4322
- "output": 2.9
5444
+ "cache_read_input": 0.00777,
5445
+ "input": 0.2442,
5446
+ "output": 0.7326
4323
5447
  },
4324
5448
  "openrouter/~deepseek/deepseek-v4-flash-latest": {
4325
5449
  "cache_read_input": 0.016,
4326
- "input": 0.03,
5450
+ "input": 0.021,
4327
5451
  "output": 0.32
4328
5452
  },
4329
5453
  "openrouter/~google/gemini-flash-latest": {
@@ -4343,9 +5467,9 @@
4343
5467
  "output": 12.0
4344
5468
  },
4345
5469
  "openrouter/~moonshotai/kimi-latest": {
4346
- "cache_read_input": 0.3,
4347
- "input": 1.4,
4348
- "output": 10.75
5470
+ "cache_read_input": 0.11455,
5471
+ "input": 0.9875,
5472
+ "output": 5.53
4349
5473
  },
4350
5474
  "openrouter/~openai/gpt-astra-latest": {
4351
5475
  "cache_read_input": 1.0,
@@ -4393,9 +5517,968 @@
4393
5517
  "output": 0.14
4394
5518
  },
4395
5519
  "openrouter/~z-ai/glm-latest": {
4396
- "cache_read_input": 0.125,
4397
- "input": 0.5625,
4398
- "output": 2.5
5520
+ "cache_read_input": 0.044965,
5521
+ "input": 0.2737,
5522
+ "output": 2.574
5523
+ },
5524
+ "xai/grok-4.20": {
5525
+ "_context_price_threshold_tokens": 199999,
5526
+ "above_context_batch_cache_read_input": 0.32,
5527
+ "above_context_batch_input": 2.0,
5528
+ "above_context_batch_output": 4.0,
5529
+ "above_context_cache_read_input": 0.4,
5530
+ "above_context_image_input": 2.5,
5531
+ "above_context_input": 2.5,
5532
+ "above_context_output": 5.0,
5533
+ "above_context_priority_cache_read_input": 0.8,
5534
+ "above_context_priority_input": 5.0,
5535
+ "above_context_priority_output": 10.0,
5536
+ "batch_cache_read_input": 0.16,
5537
+ "batch_input": 1.0,
5538
+ "batch_output": 2.0,
5539
+ "cache_read_input": 0.2,
5540
+ "image_input": 1.25,
5541
+ "input": 1.25,
5542
+ "output": 2.5,
5543
+ "priority_cache_read_input": 0.4,
5544
+ "priority_input": 2.5,
5545
+ "priority_output": 5.0
5546
+ },
5547
+ "xai/grok-4.20-0309": {
5548
+ "_context_price_threshold_tokens": 199999,
5549
+ "above_context_batch_cache_read_input": 0.32,
5550
+ "above_context_batch_input": 2.0,
5551
+ "above_context_batch_output": 4.0,
5552
+ "above_context_cache_read_input": 0.4,
5553
+ "above_context_image_input": 2.5,
5554
+ "above_context_input": 2.5,
5555
+ "above_context_output": 5.0,
5556
+ "above_context_priority_cache_read_input": 0.8,
5557
+ "above_context_priority_input": 5.0,
5558
+ "above_context_priority_output": 10.0,
5559
+ "batch_cache_read_input": 0.16,
5560
+ "batch_input": 1.0,
5561
+ "batch_output": 2.0,
5562
+ "cache_read_input": 0.2,
5563
+ "image_input": 1.25,
5564
+ "input": 1.25,
5565
+ "output": 2.5,
5566
+ "priority_cache_read_input": 0.4,
5567
+ "priority_input": 2.5,
5568
+ "priority_output": 5.0
5569
+ },
5570
+ "xai/grok-4.20-0309-non-reasoning": {
5571
+ "_context_price_threshold_tokens": 199999,
5572
+ "above_context_batch_cache_read_input": 0.32,
5573
+ "above_context_batch_input": 2.0,
5574
+ "above_context_batch_output": 4.0,
5575
+ "above_context_cache_read_input": 0.4,
5576
+ "above_context_image_input": 2.5,
5577
+ "above_context_input": 2.5,
5578
+ "above_context_output": 5.0,
5579
+ "above_context_priority_cache_read_input": 0.8,
5580
+ "above_context_priority_input": 5.0,
5581
+ "above_context_priority_output": 10.0,
5582
+ "batch_cache_read_input": 0.16,
5583
+ "batch_input": 1.0,
5584
+ "batch_output": 2.0,
5585
+ "cache_read_input": 0.2,
5586
+ "image_input": 1.25,
5587
+ "input": 1.25,
5588
+ "output": 2.5,
5589
+ "priority_cache_read_input": 0.4,
5590
+ "priority_input": 2.5,
5591
+ "priority_output": 5.0
5592
+ },
5593
+ "xai/grok-4.20-0309-reasoning": {
5594
+ "_context_price_threshold_tokens": 199999,
5595
+ "above_context_batch_cache_read_input": 0.32,
5596
+ "above_context_batch_input": 2.0,
5597
+ "above_context_batch_output": 4.0,
5598
+ "above_context_cache_read_input": 0.4,
5599
+ "above_context_image_input": 2.5,
5600
+ "above_context_input": 2.5,
5601
+ "above_context_output": 5.0,
5602
+ "above_context_priority_cache_read_input": 0.8,
5603
+ "above_context_priority_input": 5.0,
5604
+ "above_context_priority_output": 10.0,
5605
+ "batch_cache_read_input": 0.16,
5606
+ "batch_input": 1.0,
5607
+ "batch_output": 2.0,
5608
+ "cache_read_input": 0.2,
5609
+ "image_input": 1.25,
5610
+ "input": 1.25,
5611
+ "output": 2.5,
5612
+ "priority_cache_read_input": 0.4,
5613
+ "priority_input": 2.5,
5614
+ "priority_output": 5.0
5615
+ },
5616
+ "xai/grok-4.20-beta": {
5617
+ "_context_price_threshold_tokens": 199999,
5618
+ "above_context_batch_cache_read_input": 0.32,
5619
+ "above_context_batch_input": 2.0,
5620
+ "above_context_batch_output": 4.0,
5621
+ "above_context_cache_read_input": 0.4,
5622
+ "above_context_image_input": 2.5,
5623
+ "above_context_input": 2.5,
5624
+ "above_context_output": 5.0,
5625
+ "above_context_priority_cache_read_input": 0.8,
5626
+ "above_context_priority_input": 5.0,
5627
+ "above_context_priority_output": 10.0,
5628
+ "batch_cache_read_input": 0.16,
5629
+ "batch_input": 1.0,
5630
+ "batch_output": 2.0,
5631
+ "cache_read_input": 0.2,
5632
+ "image_input": 1.25,
5633
+ "input": 1.25,
5634
+ "output": 2.5,
5635
+ "priority_cache_read_input": 0.4,
5636
+ "priority_input": 2.5,
5637
+ "priority_output": 5.0
5638
+ },
5639
+ "xai/grok-4.20-beta-0309": {
5640
+ "_context_price_threshold_tokens": 199999,
5641
+ "above_context_batch_cache_read_input": 0.32,
5642
+ "above_context_batch_input": 2.0,
5643
+ "above_context_batch_output": 4.0,
5644
+ "above_context_cache_read_input": 0.4,
5645
+ "above_context_image_input": 2.5,
5646
+ "above_context_input": 2.5,
5647
+ "above_context_output": 5.0,
5648
+ "above_context_priority_cache_read_input": 0.8,
5649
+ "above_context_priority_input": 5.0,
5650
+ "above_context_priority_output": 10.0,
5651
+ "batch_cache_read_input": 0.16,
5652
+ "batch_input": 1.0,
5653
+ "batch_output": 2.0,
5654
+ "cache_read_input": 0.2,
5655
+ "image_input": 1.25,
5656
+ "input": 1.25,
5657
+ "output": 2.5,
5658
+ "priority_cache_read_input": 0.4,
5659
+ "priority_input": 2.5,
5660
+ "priority_output": 5.0
5661
+ },
5662
+ "xai/grok-4.20-beta-0309-non-reasoning": {
5663
+ "_context_price_threshold_tokens": 199999,
5664
+ "above_context_batch_cache_read_input": 0.32,
5665
+ "above_context_batch_input": 2.0,
5666
+ "above_context_batch_output": 4.0,
5667
+ "above_context_cache_read_input": 0.4,
5668
+ "above_context_image_input": 2.5,
5669
+ "above_context_input": 2.5,
5670
+ "above_context_output": 5.0,
5671
+ "above_context_priority_cache_read_input": 0.8,
5672
+ "above_context_priority_input": 5.0,
5673
+ "above_context_priority_output": 10.0,
5674
+ "batch_cache_read_input": 0.16,
5675
+ "batch_input": 1.0,
5676
+ "batch_output": 2.0,
5677
+ "cache_read_input": 0.2,
5678
+ "image_input": 1.25,
5679
+ "input": 1.25,
5680
+ "output": 2.5,
5681
+ "priority_cache_read_input": 0.4,
5682
+ "priority_input": 2.5,
5683
+ "priority_output": 5.0
5684
+ },
5685
+ "xai/grok-4.20-beta-0309-reasoning": {
5686
+ "_context_price_threshold_tokens": 199999,
5687
+ "above_context_batch_cache_read_input": 0.32,
5688
+ "above_context_batch_input": 2.0,
5689
+ "above_context_batch_output": 4.0,
5690
+ "above_context_cache_read_input": 0.4,
5691
+ "above_context_image_input": 2.5,
5692
+ "above_context_input": 2.5,
5693
+ "above_context_output": 5.0,
5694
+ "above_context_priority_cache_read_input": 0.8,
5695
+ "above_context_priority_input": 5.0,
5696
+ "above_context_priority_output": 10.0,
5697
+ "batch_cache_read_input": 0.16,
5698
+ "batch_input": 1.0,
5699
+ "batch_output": 2.0,
5700
+ "cache_read_input": 0.2,
5701
+ "image_input": 1.25,
5702
+ "input": 1.25,
5703
+ "output": 2.5,
5704
+ "priority_cache_read_input": 0.4,
5705
+ "priority_input": 2.5,
5706
+ "priority_output": 5.0
5707
+ },
5708
+ "xai/grok-4.20-beta-latest": {
5709
+ "_context_price_threshold_tokens": 199999,
5710
+ "above_context_batch_cache_read_input": 0.32,
5711
+ "above_context_batch_input": 2.0,
5712
+ "above_context_batch_output": 4.0,
5713
+ "above_context_cache_read_input": 0.4,
5714
+ "above_context_image_input": 2.5,
5715
+ "above_context_input": 2.5,
5716
+ "above_context_output": 5.0,
5717
+ "above_context_priority_cache_read_input": 0.8,
5718
+ "above_context_priority_input": 5.0,
5719
+ "above_context_priority_output": 10.0,
5720
+ "batch_cache_read_input": 0.16,
5721
+ "batch_input": 1.0,
5722
+ "batch_output": 2.0,
5723
+ "cache_read_input": 0.2,
5724
+ "image_input": 1.25,
5725
+ "input": 1.25,
5726
+ "output": 2.5,
5727
+ "priority_cache_read_input": 0.4,
5728
+ "priority_input": 2.5,
5729
+ "priority_output": 5.0
5730
+ },
5731
+ "xai/grok-4.20-beta-latest-non-reasoning": {
5732
+ "_context_price_threshold_tokens": 199999,
5733
+ "above_context_batch_cache_read_input": 0.32,
5734
+ "above_context_batch_input": 2.0,
5735
+ "above_context_batch_output": 4.0,
5736
+ "above_context_cache_read_input": 0.4,
5737
+ "above_context_image_input": 2.5,
5738
+ "above_context_input": 2.5,
5739
+ "above_context_output": 5.0,
5740
+ "above_context_priority_cache_read_input": 0.8,
5741
+ "above_context_priority_input": 5.0,
5742
+ "above_context_priority_output": 10.0,
5743
+ "batch_cache_read_input": 0.16,
5744
+ "batch_input": 1.0,
5745
+ "batch_output": 2.0,
5746
+ "cache_read_input": 0.2,
5747
+ "image_input": 1.25,
5748
+ "input": 1.25,
5749
+ "output": 2.5,
5750
+ "priority_cache_read_input": 0.4,
5751
+ "priority_input": 2.5,
5752
+ "priority_output": 5.0
5753
+ },
5754
+ "xai/grok-4.20-beta-latest-reasoning": {
5755
+ "_context_price_threshold_tokens": 199999,
5756
+ "above_context_batch_cache_read_input": 0.32,
5757
+ "above_context_batch_input": 2.0,
5758
+ "above_context_batch_output": 4.0,
5759
+ "above_context_cache_read_input": 0.4,
5760
+ "above_context_image_input": 2.5,
5761
+ "above_context_input": 2.5,
5762
+ "above_context_output": 5.0,
5763
+ "above_context_priority_cache_read_input": 0.8,
5764
+ "above_context_priority_input": 5.0,
5765
+ "above_context_priority_output": 10.0,
5766
+ "batch_cache_read_input": 0.16,
5767
+ "batch_input": 1.0,
5768
+ "batch_output": 2.0,
5769
+ "cache_read_input": 0.2,
5770
+ "image_input": 1.25,
5771
+ "input": 1.25,
5772
+ "output": 2.5,
5773
+ "priority_cache_read_input": 0.4,
5774
+ "priority_input": 2.5,
5775
+ "priority_output": 5.0
5776
+ },
5777
+ "xai/grok-4.20-beta-non-reasoning": {
5778
+ "_context_price_threshold_tokens": 199999,
5779
+ "above_context_batch_cache_read_input": 0.32,
5780
+ "above_context_batch_input": 2.0,
5781
+ "above_context_batch_output": 4.0,
5782
+ "above_context_cache_read_input": 0.4,
5783
+ "above_context_image_input": 2.5,
5784
+ "above_context_input": 2.5,
5785
+ "above_context_output": 5.0,
5786
+ "above_context_priority_cache_read_input": 0.8,
5787
+ "above_context_priority_input": 5.0,
5788
+ "above_context_priority_output": 10.0,
5789
+ "batch_cache_read_input": 0.16,
5790
+ "batch_input": 1.0,
5791
+ "batch_output": 2.0,
5792
+ "cache_read_input": 0.2,
5793
+ "image_input": 1.25,
5794
+ "input": 1.25,
5795
+ "output": 2.5,
5796
+ "priority_cache_read_input": 0.4,
5797
+ "priority_input": 2.5,
5798
+ "priority_output": 5.0
5799
+ },
5800
+ "xai/grok-4.20-beta-reasoning": {
5801
+ "_context_price_threshold_tokens": 199999,
5802
+ "above_context_batch_cache_read_input": 0.32,
5803
+ "above_context_batch_input": 2.0,
5804
+ "above_context_batch_output": 4.0,
5805
+ "above_context_cache_read_input": 0.4,
5806
+ "above_context_image_input": 2.5,
5807
+ "above_context_input": 2.5,
5808
+ "above_context_output": 5.0,
5809
+ "above_context_priority_cache_read_input": 0.8,
5810
+ "above_context_priority_input": 5.0,
5811
+ "above_context_priority_output": 10.0,
5812
+ "batch_cache_read_input": 0.16,
5813
+ "batch_input": 1.0,
5814
+ "batch_output": 2.0,
5815
+ "cache_read_input": 0.2,
5816
+ "image_input": 1.25,
5817
+ "input": 1.25,
5818
+ "output": 2.5,
5819
+ "priority_cache_read_input": 0.4,
5820
+ "priority_input": 2.5,
5821
+ "priority_output": 5.0
5822
+ },
5823
+ "xai/grok-4.20-experimental-beta-0304": {
5824
+ "_context_price_threshold_tokens": 199999,
5825
+ "above_context_batch_cache_read_input": 0.32,
5826
+ "above_context_batch_input": 2.0,
5827
+ "above_context_batch_output": 4.0,
5828
+ "above_context_cache_read_input": 0.4,
5829
+ "above_context_image_input": 2.5,
5830
+ "above_context_input": 2.5,
5831
+ "above_context_output": 5.0,
5832
+ "above_context_priority_cache_read_input": 0.8,
5833
+ "above_context_priority_input": 5.0,
5834
+ "above_context_priority_output": 10.0,
5835
+ "batch_cache_read_input": 0.16,
5836
+ "batch_input": 1.0,
5837
+ "batch_output": 2.0,
5838
+ "cache_read_input": 0.2,
5839
+ "image_input": 1.25,
5840
+ "input": 1.25,
5841
+ "output": 2.5,
5842
+ "priority_cache_read_input": 0.4,
5843
+ "priority_input": 2.5,
5844
+ "priority_output": 5.0
5845
+ },
5846
+ "xai/grok-4.20-experimental-beta-0304-non-reasoning": {
5847
+ "_context_price_threshold_tokens": 199999,
5848
+ "above_context_batch_cache_read_input": 0.32,
5849
+ "above_context_batch_input": 2.0,
5850
+ "above_context_batch_output": 4.0,
5851
+ "above_context_cache_read_input": 0.4,
5852
+ "above_context_image_input": 2.5,
5853
+ "above_context_input": 2.5,
5854
+ "above_context_output": 5.0,
5855
+ "above_context_priority_cache_read_input": 0.8,
5856
+ "above_context_priority_input": 5.0,
5857
+ "above_context_priority_output": 10.0,
5858
+ "batch_cache_read_input": 0.16,
5859
+ "batch_input": 1.0,
5860
+ "batch_output": 2.0,
5861
+ "cache_read_input": 0.2,
5862
+ "image_input": 1.25,
5863
+ "input": 1.25,
5864
+ "output": 2.5,
5865
+ "priority_cache_read_input": 0.4,
5866
+ "priority_input": 2.5,
5867
+ "priority_output": 5.0
5868
+ },
5869
+ "xai/grok-4.20-experimental-beta-0304-reasoning": {
5870
+ "_context_price_threshold_tokens": 199999,
5871
+ "above_context_batch_cache_read_input": 0.32,
5872
+ "above_context_batch_input": 2.0,
5873
+ "above_context_batch_output": 4.0,
5874
+ "above_context_cache_read_input": 0.4,
5875
+ "above_context_image_input": 2.5,
5876
+ "above_context_input": 2.5,
5877
+ "above_context_output": 5.0,
5878
+ "above_context_priority_cache_read_input": 0.8,
5879
+ "above_context_priority_input": 5.0,
5880
+ "above_context_priority_output": 10.0,
5881
+ "batch_cache_read_input": 0.16,
5882
+ "batch_input": 1.0,
5883
+ "batch_output": 2.0,
5884
+ "cache_read_input": 0.2,
5885
+ "image_input": 1.25,
5886
+ "input": 1.25,
5887
+ "output": 2.5,
5888
+ "priority_cache_read_input": 0.4,
5889
+ "priority_input": 2.5,
5890
+ "priority_output": 5.0
5891
+ },
5892
+ "xai/grok-4.20-experimental-beta-latest": {
5893
+ "_context_price_threshold_tokens": 199999,
5894
+ "above_context_batch_cache_read_input": 0.32,
5895
+ "above_context_batch_input": 2.0,
5896
+ "above_context_batch_output": 4.0,
5897
+ "above_context_cache_read_input": 0.4,
5898
+ "above_context_image_input": 2.5,
5899
+ "above_context_input": 2.5,
5900
+ "above_context_output": 5.0,
5901
+ "above_context_priority_cache_read_input": 0.8,
5902
+ "above_context_priority_input": 5.0,
5903
+ "above_context_priority_output": 10.0,
5904
+ "batch_cache_read_input": 0.16,
5905
+ "batch_input": 1.0,
5906
+ "batch_output": 2.0,
5907
+ "cache_read_input": 0.2,
5908
+ "image_input": 1.25,
5909
+ "input": 1.25,
5910
+ "output": 2.5,
5911
+ "priority_cache_read_input": 0.4,
5912
+ "priority_input": 2.5,
5913
+ "priority_output": 5.0
5914
+ },
5915
+ "xai/grok-4.20-experimental-beta-non-reasoning-latest": {
5916
+ "_context_price_threshold_tokens": 199999,
5917
+ "above_context_batch_cache_read_input": 0.32,
5918
+ "above_context_batch_input": 2.0,
5919
+ "above_context_batch_output": 4.0,
5920
+ "above_context_cache_read_input": 0.4,
5921
+ "above_context_image_input": 2.5,
5922
+ "above_context_input": 2.5,
5923
+ "above_context_output": 5.0,
5924
+ "above_context_priority_cache_read_input": 0.8,
5925
+ "above_context_priority_input": 5.0,
5926
+ "above_context_priority_output": 10.0,
5927
+ "batch_cache_read_input": 0.16,
5928
+ "batch_input": 1.0,
5929
+ "batch_output": 2.0,
5930
+ "cache_read_input": 0.2,
5931
+ "image_input": 1.25,
5932
+ "input": 1.25,
5933
+ "output": 2.5,
5934
+ "priority_cache_read_input": 0.4,
5935
+ "priority_input": 2.5,
5936
+ "priority_output": 5.0
5937
+ },
5938
+ "xai/grok-4.20-experimental-beta-reasoning-latest": {
5939
+ "_context_price_threshold_tokens": 199999,
5940
+ "above_context_batch_cache_read_input": 0.32,
5941
+ "above_context_batch_input": 2.0,
5942
+ "above_context_batch_output": 4.0,
5943
+ "above_context_cache_read_input": 0.4,
5944
+ "above_context_image_input": 2.5,
5945
+ "above_context_input": 2.5,
5946
+ "above_context_output": 5.0,
5947
+ "above_context_priority_cache_read_input": 0.8,
5948
+ "above_context_priority_input": 5.0,
5949
+ "above_context_priority_output": 10.0,
5950
+ "batch_cache_read_input": 0.16,
5951
+ "batch_input": 1.0,
5952
+ "batch_output": 2.0,
5953
+ "cache_read_input": 0.2,
5954
+ "image_input": 1.25,
5955
+ "input": 1.25,
5956
+ "output": 2.5,
5957
+ "priority_cache_read_input": 0.4,
5958
+ "priority_input": 2.5,
5959
+ "priority_output": 5.0
5960
+ },
5961
+ "xai/grok-4.20-multi-agent": {
5962
+ "_context_price_threshold_tokens": 199999,
5963
+ "above_context_batch_cache_read_input": 0.32,
5964
+ "above_context_batch_input": 2.0,
5965
+ "above_context_batch_output": 4.0,
5966
+ "above_context_cache_read_input": 0.4,
5967
+ "above_context_image_input": 2.5,
5968
+ "above_context_input": 2.5,
5969
+ "above_context_output": 5.0,
5970
+ "above_context_priority_cache_read_input": 0.8,
5971
+ "above_context_priority_input": 5.0,
5972
+ "above_context_priority_output": 10.0,
5973
+ "batch_cache_read_input": 0.16,
5974
+ "batch_input": 1.0,
5975
+ "batch_output": 2.0,
5976
+ "cache_read_input": 0.2,
5977
+ "image_input": 1.25,
5978
+ "input": 1.25,
5979
+ "output": 2.5,
5980
+ "priority_cache_read_input": 0.4,
5981
+ "priority_input": 2.5,
5982
+ "priority_output": 5.0
5983
+ },
5984
+ "xai/grok-4.20-multi-agent-0309": {
5985
+ "_context_price_threshold_tokens": 199999,
5986
+ "above_context_batch_cache_read_input": 0.32,
5987
+ "above_context_batch_input": 2.0,
5988
+ "above_context_batch_output": 4.0,
5989
+ "above_context_cache_read_input": 0.4,
5990
+ "above_context_image_input": 2.5,
5991
+ "above_context_input": 2.5,
5992
+ "above_context_output": 5.0,
5993
+ "above_context_priority_cache_read_input": 0.8,
5994
+ "above_context_priority_input": 5.0,
5995
+ "above_context_priority_output": 10.0,
5996
+ "batch_cache_read_input": 0.16,
5997
+ "batch_input": 1.0,
5998
+ "batch_output": 2.0,
5999
+ "cache_read_input": 0.2,
6000
+ "image_input": 1.25,
6001
+ "input": 1.25,
6002
+ "output": 2.5,
6003
+ "priority_cache_read_input": 0.4,
6004
+ "priority_input": 2.5,
6005
+ "priority_output": 5.0
6006
+ },
6007
+ "xai/grok-4.20-multi-agent-beta-0309": {
6008
+ "_context_price_threshold_tokens": 199999,
6009
+ "above_context_batch_cache_read_input": 0.32,
6010
+ "above_context_batch_input": 2.0,
6011
+ "above_context_batch_output": 4.0,
6012
+ "above_context_cache_read_input": 0.4,
6013
+ "above_context_image_input": 2.5,
6014
+ "above_context_input": 2.5,
6015
+ "above_context_output": 5.0,
6016
+ "above_context_priority_cache_read_input": 0.8,
6017
+ "above_context_priority_input": 5.0,
6018
+ "above_context_priority_output": 10.0,
6019
+ "batch_cache_read_input": 0.16,
6020
+ "batch_input": 1.0,
6021
+ "batch_output": 2.0,
6022
+ "cache_read_input": 0.2,
6023
+ "image_input": 1.25,
6024
+ "input": 1.25,
6025
+ "output": 2.5,
6026
+ "priority_cache_read_input": 0.4,
6027
+ "priority_input": 2.5,
6028
+ "priority_output": 5.0
6029
+ },
6030
+ "xai/grok-4.20-multi-agent-beta-latest": {
6031
+ "_context_price_threshold_tokens": 199999,
6032
+ "above_context_batch_cache_read_input": 0.32,
6033
+ "above_context_batch_input": 2.0,
6034
+ "above_context_batch_output": 4.0,
6035
+ "above_context_cache_read_input": 0.4,
6036
+ "above_context_image_input": 2.5,
6037
+ "above_context_input": 2.5,
6038
+ "above_context_output": 5.0,
6039
+ "above_context_priority_cache_read_input": 0.8,
6040
+ "above_context_priority_input": 5.0,
6041
+ "above_context_priority_output": 10.0,
6042
+ "batch_cache_read_input": 0.16,
6043
+ "batch_input": 1.0,
6044
+ "batch_output": 2.0,
6045
+ "cache_read_input": 0.2,
6046
+ "image_input": 1.25,
6047
+ "input": 1.25,
6048
+ "output": 2.5,
6049
+ "priority_cache_read_input": 0.4,
6050
+ "priority_input": 2.5,
6051
+ "priority_output": 5.0
6052
+ },
6053
+ "xai/grok-4.20-multi-agent-experimental-beta-0304": {
6054
+ "_context_price_threshold_tokens": 199999,
6055
+ "above_context_batch_cache_read_input": 0.32,
6056
+ "above_context_batch_input": 2.0,
6057
+ "above_context_batch_output": 4.0,
6058
+ "above_context_cache_read_input": 0.4,
6059
+ "above_context_image_input": 2.5,
6060
+ "above_context_input": 2.5,
6061
+ "above_context_output": 5.0,
6062
+ "above_context_priority_cache_read_input": 0.8,
6063
+ "above_context_priority_input": 5.0,
6064
+ "above_context_priority_output": 10.0,
6065
+ "batch_cache_read_input": 0.16,
6066
+ "batch_input": 1.0,
6067
+ "batch_output": 2.0,
6068
+ "cache_read_input": 0.2,
6069
+ "image_input": 1.25,
6070
+ "input": 1.25,
6071
+ "output": 2.5,
6072
+ "priority_cache_read_input": 0.4,
6073
+ "priority_input": 2.5,
6074
+ "priority_output": 5.0
6075
+ },
6076
+ "xai/grok-4.20-multi-agent-experimental-beta-latest": {
6077
+ "_context_price_threshold_tokens": 199999,
6078
+ "above_context_batch_cache_read_input": 0.32,
6079
+ "above_context_batch_input": 2.0,
6080
+ "above_context_batch_output": 4.0,
6081
+ "above_context_cache_read_input": 0.4,
6082
+ "above_context_image_input": 2.5,
6083
+ "above_context_input": 2.5,
6084
+ "above_context_output": 5.0,
6085
+ "above_context_priority_cache_read_input": 0.8,
6086
+ "above_context_priority_input": 5.0,
6087
+ "above_context_priority_output": 10.0,
6088
+ "batch_cache_read_input": 0.16,
6089
+ "batch_input": 1.0,
6090
+ "batch_output": 2.0,
6091
+ "cache_read_input": 0.2,
6092
+ "image_input": 1.25,
6093
+ "input": 1.25,
6094
+ "output": 2.5,
6095
+ "priority_cache_read_input": 0.4,
6096
+ "priority_input": 2.5,
6097
+ "priority_output": 5.0
6098
+ },
6099
+ "xai/grok-4.20-multi-agent-latest": {
6100
+ "_context_price_threshold_tokens": 199999,
6101
+ "above_context_batch_cache_read_input": 0.32,
6102
+ "above_context_batch_input": 2.0,
6103
+ "above_context_batch_output": 4.0,
6104
+ "above_context_cache_read_input": 0.4,
6105
+ "above_context_image_input": 2.5,
6106
+ "above_context_input": 2.5,
6107
+ "above_context_output": 5.0,
6108
+ "above_context_priority_cache_read_input": 0.8,
6109
+ "above_context_priority_input": 5.0,
6110
+ "above_context_priority_output": 10.0,
6111
+ "batch_cache_read_input": 0.16,
6112
+ "batch_input": 1.0,
6113
+ "batch_output": 2.0,
6114
+ "cache_read_input": 0.2,
6115
+ "image_input": 1.25,
6116
+ "input": 1.25,
6117
+ "output": 2.5,
6118
+ "priority_cache_read_input": 0.4,
6119
+ "priority_input": 2.5,
6120
+ "priority_output": 5.0
6121
+ },
6122
+ "xai/grok-4.20-non-reasoning": {
6123
+ "_context_price_threshold_tokens": 199999,
6124
+ "above_context_batch_cache_read_input": 0.32,
6125
+ "above_context_batch_input": 2.0,
6126
+ "above_context_batch_output": 4.0,
6127
+ "above_context_cache_read_input": 0.4,
6128
+ "above_context_image_input": 2.5,
6129
+ "above_context_input": 2.5,
6130
+ "above_context_output": 5.0,
6131
+ "above_context_priority_cache_read_input": 0.8,
6132
+ "above_context_priority_input": 5.0,
6133
+ "above_context_priority_output": 10.0,
6134
+ "batch_cache_read_input": 0.16,
6135
+ "batch_input": 1.0,
6136
+ "batch_output": 2.0,
6137
+ "cache_read_input": 0.2,
6138
+ "image_input": 1.25,
6139
+ "input": 1.25,
6140
+ "output": 2.5,
6141
+ "priority_cache_read_input": 0.4,
6142
+ "priority_input": 2.5,
6143
+ "priority_output": 5.0
6144
+ },
6145
+ "xai/grok-4.20-non-reasoning-gv2": {
6146
+ "_context_price_threshold_tokens": 199999,
6147
+ "above_context_batch_cache_read_input": 0.32,
6148
+ "above_context_batch_input": 2.0,
6149
+ "above_context_batch_output": 4.0,
6150
+ "above_context_cache_read_input": 0.4,
6151
+ "above_context_image_input": 2.5,
6152
+ "above_context_input": 2.5,
6153
+ "above_context_output": 5.0,
6154
+ "above_context_priority_cache_read_input": 0.8,
6155
+ "above_context_priority_input": 5.0,
6156
+ "above_context_priority_output": 10.0,
6157
+ "batch_cache_read_input": 0.16,
6158
+ "batch_input": 1.0,
6159
+ "batch_output": 2.0,
6160
+ "cache_read_input": 0.2,
6161
+ "image_input": 1.25,
6162
+ "input": 1.25,
6163
+ "output": 2.5,
6164
+ "priority_cache_read_input": 0.4,
6165
+ "priority_input": 2.5,
6166
+ "priority_output": 5.0
6167
+ },
6168
+ "xai/grok-4.20-non-reasoning-latest": {
6169
+ "_context_price_threshold_tokens": 199999,
6170
+ "above_context_batch_cache_read_input": 0.32,
6171
+ "above_context_batch_input": 2.0,
6172
+ "above_context_batch_output": 4.0,
6173
+ "above_context_cache_read_input": 0.4,
6174
+ "above_context_image_input": 2.5,
6175
+ "above_context_input": 2.5,
6176
+ "above_context_output": 5.0,
6177
+ "above_context_priority_cache_read_input": 0.8,
6178
+ "above_context_priority_input": 5.0,
6179
+ "above_context_priority_output": 10.0,
6180
+ "batch_cache_read_input": 0.16,
6181
+ "batch_input": 1.0,
6182
+ "batch_output": 2.0,
6183
+ "cache_read_input": 0.2,
6184
+ "image_input": 1.25,
6185
+ "input": 1.25,
6186
+ "output": 2.5,
6187
+ "priority_cache_read_input": 0.4,
6188
+ "priority_input": 2.5,
6189
+ "priority_output": 5.0
6190
+ },
6191
+ "xai/grok-4.20-reasoning": {
6192
+ "_context_price_threshold_tokens": 199999,
6193
+ "above_context_batch_cache_read_input": 0.32,
6194
+ "above_context_batch_input": 2.0,
6195
+ "above_context_batch_output": 4.0,
6196
+ "above_context_cache_read_input": 0.4,
6197
+ "above_context_image_input": 2.5,
6198
+ "above_context_input": 2.5,
6199
+ "above_context_output": 5.0,
6200
+ "above_context_priority_cache_read_input": 0.8,
6201
+ "above_context_priority_input": 5.0,
6202
+ "above_context_priority_output": 10.0,
6203
+ "batch_cache_read_input": 0.16,
6204
+ "batch_input": 1.0,
6205
+ "batch_output": 2.0,
6206
+ "cache_read_input": 0.2,
6207
+ "image_input": 1.25,
6208
+ "input": 1.25,
6209
+ "output": 2.5,
6210
+ "priority_cache_read_input": 0.4,
6211
+ "priority_input": 2.5,
6212
+ "priority_output": 5.0
6213
+ },
6214
+ "xai/grok-4.20-reasoning-gv2": {
6215
+ "_context_price_threshold_tokens": 199999,
6216
+ "above_context_batch_cache_read_input": 0.32,
6217
+ "above_context_batch_input": 2.0,
6218
+ "above_context_batch_output": 4.0,
6219
+ "above_context_cache_read_input": 0.4,
6220
+ "above_context_image_input": 2.5,
6221
+ "above_context_input": 2.5,
6222
+ "above_context_output": 5.0,
6223
+ "above_context_priority_cache_read_input": 0.8,
6224
+ "above_context_priority_input": 5.0,
6225
+ "above_context_priority_output": 10.0,
6226
+ "batch_cache_read_input": 0.16,
6227
+ "batch_input": 1.0,
6228
+ "batch_output": 2.0,
6229
+ "cache_read_input": 0.2,
6230
+ "image_input": 1.25,
6231
+ "input": 1.25,
6232
+ "output": 2.5,
6233
+ "priority_cache_read_input": 0.4,
6234
+ "priority_input": 2.5,
6235
+ "priority_output": 5.0
6236
+ },
6237
+ "xai/grok-4.20-reasoning-latest": {
6238
+ "_context_price_threshold_tokens": 199999,
6239
+ "above_context_batch_cache_read_input": 0.32,
6240
+ "above_context_batch_input": 2.0,
6241
+ "above_context_batch_output": 4.0,
6242
+ "above_context_cache_read_input": 0.4,
6243
+ "above_context_image_input": 2.5,
6244
+ "above_context_input": 2.5,
6245
+ "above_context_output": 5.0,
6246
+ "above_context_priority_cache_read_input": 0.8,
6247
+ "above_context_priority_input": 5.0,
6248
+ "above_context_priority_output": 10.0,
6249
+ "batch_cache_read_input": 0.16,
6250
+ "batch_input": 1.0,
6251
+ "batch_output": 2.0,
6252
+ "cache_read_input": 0.2,
6253
+ "image_input": 1.25,
6254
+ "input": 1.25,
6255
+ "output": 2.5,
6256
+ "priority_cache_read_input": 0.4,
6257
+ "priority_input": 2.5,
6258
+ "priority_output": 5.0
6259
+ },
6260
+ "xai/grok-4.3": {
6261
+ "_context_price_threshold_tokens": 199999,
6262
+ "above_context_batch_cache_read_input": 0.32,
6263
+ "above_context_batch_input": 2.0,
6264
+ "above_context_batch_output": 4.0,
6265
+ "above_context_cache_read_input": 0.4,
6266
+ "above_context_image_input": 2.5,
6267
+ "above_context_input": 2.5,
6268
+ "above_context_output": 5.0,
6269
+ "above_context_priority_cache_read_input": 0.8,
6270
+ "above_context_priority_input": 5.0,
6271
+ "above_context_priority_output": 10.0,
6272
+ "batch_cache_read_input": 0.16,
6273
+ "batch_input": 1.0,
6274
+ "batch_output": 2.0,
6275
+ "cache_read_input": 0.2,
6276
+ "image_input": 1.25,
6277
+ "input": 1.25,
6278
+ "output": 2.5,
6279
+ "priority_cache_read_input": 0.4,
6280
+ "priority_input": 2.5,
6281
+ "priority_output": 5.0
6282
+ },
6283
+ "xai/grok-4.3-latest": {
6284
+ "_context_price_threshold_tokens": 199999,
6285
+ "above_context_batch_cache_read_input": 0.32,
6286
+ "above_context_batch_input": 2.0,
6287
+ "above_context_batch_output": 4.0,
6288
+ "above_context_cache_read_input": 0.4,
6289
+ "above_context_image_input": 2.5,
6290
+ "above_context_input": 2.5,
6291
+ "above_context_output": 5.0,
6292
+ "above_context_priority_cache_read_input": 0.8,
6293
+ "above_context_priority_input": 5.0,
6294
+ "above_context_priority_output": 10.0,
6295
+ "batch_cache_read_input": 0.16,
6296
+ "batch_input": 1.0,
6297
+ "batch_output": 2.0,
6298
+ "cache_read_input": 0.2,
6299
+ "image_input": 1.25,
6300
+ "input": 1.25,
6301
+ "output": 2.5,
6302
+ "priority_cache_read_input": 0.4,
6303
+ "priority_input": 2.5,
6304
+ "priority_output": 5.0
6305
+ },
6306
+ "xai/grok-4.5": {
6307
+ "_context_price_threshold_tokens": 199999,
6308
+ "above_context_cache_read_input": 0.6,
6309
+ "above_context_image_input": 4.0,
6310
+ "above_context_input": 4.0,
6311
+ "above_context_output": 12.0,
6312
+ "above_context_priority_cache_read_input": 1.2,
6313
+ "above_context_priority_input": 8.0,
6314
+ "above_context_priority_output": 24.0,
6315
+ "cache_read_input": 0.3,
6316
+ "image_input": 2.0,
6317
+ "input": 2.0,
6318
+ "output": 6.0,
6319
+ "priority_cache_read_input": 0.6,
6320
+ "priority_input": 4.0,
6321
+ "priority_output": 12.0
6322
+ },
6323
+ "xai/grok-4.5-latest": {
6324
+ "_context_price_threshold_tokens": 199999,
6325
+ "above_context_cache_read_input": 0.6,
6326
+ "above_context_image_input": 4.0,
6327
+ "above_context_input": 4.0,
6328
+ "above_context_output": 12.0,
6329
+ "above_context_priority_cache_read_input": 1.2,
6330
+ "above_context_priority_input": 8.0,
6331
+ "above_context_priority_output": 24.0,
6332
+ "cache_read_input": 0.3,
6333
+ "image_input": 2.0,
6334
+ "input": 2.0,
6335
+ "output": 6.0,
6336
+ "priority_cache_read_input": 0.6,
6337
+ "priority_input": 4.0,
6338
+ "priority_output": 12.0
6339
+ },
6340
+ "xai/grok-4.6": {
6341
+ "_context_price_threshold_tokens": 199999,
6342
+ "above_context_cache_read_input": 1.0,
6343
+ "above_context_data_residency_cache_read_input": 1.1,
6344
+ "above_context_data_residency_input": 4.4,
6345
+ "above_context_data_residency_output": 13.2,
6346
+ "above_context_image_input": 4.0,
6347
+ "above_context_input": 4.0,
6348
+ "above_context_output": 12.0,
6349
+ "above_context_priority_cache_read_input": 2.0,
6350
+ "above_context_priority_data_residency_cache_read_input": 2.2,
6351
+ "above_context_priority_data_residency_input": 8.8,
6352
+ "above_context_priority_data_residency_output": 26.4,
6353
+ "above_context_priority_input": 8.0,
6354
+ "above_context_priority_output": 24.0,
6355
+ "cache_read_input": 0.5,
6356
+ "data_residency_cache_read_input": 0.55,
6357
+ "data_residency_input": 2.2,
6358
+ "data_residency_output": 6.6,
6359
+ "image_input": 2.0,
6360
+ "input": 2.0,
6361
+ "output": 6.0,
6362
+ "priority_cache_read_input": 1.0,
6363
+ "priority_data_residency_cache_read_input": 1.1,
6364
+ "priority_data_residency_input": 4.4,
6365
+ "priority_data_residency_output": 13.2,
6366
+ "priority_input": 4.0,
6367
+ "priority_output": 12.0
6368
+ },
6369
+ "xai/grok-4.7": {
6370
+ "_context_price_threshold_tokens": 199999,
6371
+ "above_context_cache_read_input": 1.0,
6372
+ "above_context_data_residency_cache_read_input": 1.1,
6373
+ "above_context_data_residency_input": 4.4,
6374
+ "above_context_data_residency_output": 13.2,
6375
+ "above_context_image_input": 4.0,
6376
+ "above_context_input": 4.0,
6377
+ "above_context_output": 12.0,
6378
+ "above_context_priority_cache_read_input": 2.0,
6379
+ "above_context_priority_data_residency_cache_read_input": 2.2,
6380
+ "above_context_priority_data_residency_input": 8.8,
6381
+ "above_context_priority_data_residency_output": 26.4,
6382
+ "above_context_priority_input": 8.0,
6383
+ "above_context_priority_output": 24.0,
6384
+ "cache_read_input": 0.5,
6385
+ "data_residency_cache_read_input": 0.55,
6386
+ "data_residency_input": 2.2,
6387
+ "data_residency_output": 6.6,
6388
+ "image_input": 2.0,
6389
+ "input": 2.0,
6390
+ "output": 6.0,
6391
+ "priority_cache_read_input": 1.0,
6392
+ "priority_data_residency_cache_read_input": 1.1,
6393
+ "priority_data_residency_input": 4.4,
6394
+ "priority_data_residency_output": 13.2,
6395
+ "priority_input": 4.0,
6396
+ "priority_output": 12.0
6397
+ },
6398
+ "xai/grok-build-0.1": {
6399
+ "_context_price_threshold_tokens": 199999,
6400
+ "above_context_cache_read_input": 0.4,
6401
+ "above_context_image_input": 2.0,
6402
+ "above_context_input": 2.0,
6403
+ "above_context_output": 4.0,
6404
+ "above_context_priority_cache_read_input": 0.8,
6405
+ "above_context_priority_input": 4.0,
6406
+ "above_context_priority_output": 8.0,
6407
+ "cache_read_input": 0.2,
6408
+ "image_input": 1.0,
6409
+ "input": 1.0,
6410
+ "output": 2.0,
6411
+ "priority_cache_read_input": 0.4,
6412
+ "priority_input": 2.0,
6413
+ "priority_output": 4.0
6414
+ },
6415
+ "xai/grok-build-latest": {
6416
+ "_context_price_threshold_tokens": 199999,
6417
+ "above_context_cache_read_input": 0.6,
6418
+ "above_context_image_input": 4.0,
6419
+ "above_context_input": 4.0,
6420
+ "above_context_output": 12.0,
6421
+ "above_context_priority_cache_read_input": 1.2,
6422
+ "above_context_priority_input": 8.0,
6423
+ "above_context_priority_output": 24.0,
6424
+ "cache_read_input": 0.3,
6425
+ "image_input": 2.0,
6426
+ "input": 2.0,
6427
+ "output": 6.0,
6428
+ "priority_cache_read_input": 0.6,
6429
+ "priority_input": 4.0,
6430
+ "priority_output": 12.0
6431
+ },
6432
+ "xai/grok-code-fast": {
6433
+ "_context_price_threshold_tokens": 199999,
6434
+ "above_context_cache_read_input": 0.4,
6435
+ "above_context_image_input": 2.0,
6436
+ "above_context_input": 2.0,
6437
+ "above_context_output": 4.0,
6438
+ "above_context_priority_cache_read_input": 0.8,
6439
+ "above_context_priority_input": 4.0,
6440
+ "above_context_priority_output": 8.0,
6441
+ "cache_read_input": 0.2,
6442
+ "image_input": 1.0,
6443
+ "input": 1.0,
6444
+ "output": 2.0,
6445
+ "priority_cache_read_input": 0.4,
6446
+ "priority_input": 2.0,
6447
+ "priority_output": 4.0
6448
+ },
6449
+ "xai/grok-code-fast-1": {
6450
+ "_context_price_threshold_tokens": 199999,
6451
+ "above_context_cache_read_input": 0.4,
6452
+ "above_context_image_input": 2.0,
6453
+ "above_context_input": 2.0,
6454
+ "above_context_output": 4.0,
6455
+ "above_context_priority_cache_read_input": 0.8,
6456
+ "above_context_priority_input": 4.0,
6457
+ "above_context_priority_output": 8.0,
6458
+ "cache_read_input": 0.2,
6459
+ "image_input": 1.0,
6460
+ "input": 1.0,
6461
+ "output": 2.0,
6462
+ "priority_cache_read_input": 0.4,
6463
+ "priority_input": 2.0,
6464
+ "priority_output": 4.0
6465
+ },
6466
+ "xai/grok-code-fast-1-0825": {
6467
+ "_context_price_threshold_tokens": 199999,
6468
+ "above_context_cache_read_input": 0.4,
6469
+ "above_context_image_input": 2.0,
6470
+ "above_context_input": 2.0,
6471
+ "above_context_output": 4.0,
6472
+ "above_context_priority_cache_read_input": 0.8,
6473
+ "above_context_priority_input": 4.0,
6474
+ "above_context_priority_output": 8.0,
6475
+ "cache_read_input": 0.2,
6476
+ "image_input": 1.0,
6477
+ "input": 1.0,
6478
+ "output": 2.0,
6479
+ "priority_cache_read_input": 0.4,
6480
+ "priority_input": 2.0,
6481
+ "priority_output": 4.0
4399
6482
  }
4400
6483
  },
4401
6484
  "service_charges": {