Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore(cost-map): add openai cached image input prices from the pricing page (#43143)

berriai-litellm-provider-info-sync[bot]e106dbd8ba9b
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index ad4e8228742..5a207dc4c02 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -32165,6 +32165,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-1.5": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-12-01",
@@ -32185,6 +32186,7 @@
"supports_pdf_input": true
},
"gpt-image-1.5-2025-12-16": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-12-01",
@@ -32205,6 +32207,7 @@
"supports_pdf_input": true
},
"gpt-image-2": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.25e-07,
"input_cost_per_token": 5e-06,
@@ -32223,12 +32226,14 @@
"supports_pdf_input": true
},
"gpt-image-2-2026-04-21": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
"mode": "image_generation",
"input_cost_per_image_token": 8e-06,
"output_cost_per_image_token": 3e-05,
+ "source": "https://developers.openai.com/api/docs/pricing",
"supported_endpoints": [
"/v1/images/generations",
"/v1/images/edits"
@@ -32237,6 +32242,7 @@
"supports_pdf_input": true
},
"gpt-image-2.5-flare": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -32252,6 +32258,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-2.5-flare-2026-09-08": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -32267,6 +32274,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-2.5-sunburst": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -32282,6 +32290,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-2.5-sunburst-2026-09-08": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -35114,6 +35123,7 @@
"supports_minimal_reasoning_effort": true
},
"gpt-image-1": {
+ "cache_read_input_image_token_cost": 2.5e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-10-23",
@@ -35131,6 +35141,7 @@
]
},
"gpt-image-1-mini": {
+ "cache_read_input_image_token_cost": 2.5e-07,
"cache_read_input_token_cost": 2e-07,
"cache_read_input_token_cost_batches": 1e-07,
"deprecation_date": "2026-12-01",
@@ -35150,6 +35161,7 @@
"gpt-realtime": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"deprecation_date": "2027-01-20",
"input_cost_per_audio_token": 3.2e-05,
@@ -35185,6 +35197,7 @@
"gpt-realtime-1.5": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"input_cost_per_audio_token": 3.2e-05,
"input_cost_per_image_token": 5e-06,
@@ -35219,6 +35232,7 @@
"gpt-realtime-2": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"input_cost_per_audio_token": 3.2e-05,
"input_cost_per_image_token": 5e-06,
@@ -35253,6 +35267,7 @@
"gpt-realtime-2.1": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"input_cost_per_audio_token": 3.2e-05,
"input_cost_per_image_token": 5e-06,
@@ -35289,6 +35304,7 @@
"gpt-realtime-2.1-mini": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_image_token_cost": 8e-08,
"cache_read_input_token_cost": 6e-08,
"input_cost_per_audio_token": 1e-05,
"input_cost_per_image_token": 8e-07,
@@ -35325,6 +35341,7 @@
"gpt-realtime-mini": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_image_token_cost": 8e-08,
"cache_read_input_token_cost": 6e-08,
"deprecation_date": "2027-01-20",
"input_cost_per_audio_token": 1e-05,
@@ -35360,6 +35377,7 @@
"gpt-realtime-2025-08-28": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"deprecation_date": "2027-01-20",
"input_cost_per_audio_token": 3.2e-05,
@@ -56036,6 +56054,7 @@
"gpt-realtime-mini-2025-12-15": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_image_token_cost": 8e-08,
"cache_read_input_token_cost": 6e-08,
"input_cost_per_audio_token": 1e-05,
"input_cost_per_image_token": 8e-07,
@@ -56128,6 +56147,7 @@
]
},
"chatgpt-image-latest": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-12-01",
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index ad4e8228742..5a207dc4c02 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -32165,6 +32165,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-1.5": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-12-01",
@@ -32185,6 +32186,7 @@
"supports_pdf_input": true
},
"gpt-image-1.5-2025-12-16": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-12-01",
@@ -32205,6 +32207,7 @@
"supports_pdf_input": true
},
"gpt-image-2": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.25e-07,
"input_cost_per_token": 5e-06,
@@ -32223,12 +32226,14 @@
"supports_pdf_input": true
},
"gpt-image-2-2026-04-21": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
"mode": "image_generation",
"input_cost_per_image_token": 8e-06,
"output_cost_per_image_token": 3e-05,
+ "source": "https://developers.openai.com/api/docs/pricing",
"supported_endpoints": [
"/v1/images/generations",
"/v1/images/edits"
@@ -32237,6 +32242,7 @@
"supports_pdf_input": true
},
"gpt-image-2.5-flare": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -32252,6 +32258,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-2.5-flare-2026-09-08": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -32267,6 +32274,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-2.5-sunburst": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -32282,6 +32290,7 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"gpt-image-2.5-sunburst-2026-09-08": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "openai",
@@ -35114,6 +35123,7 @@
"supports_minimal_reasoning_effort": true
},
"gpt-image-1": {
+ "cache_read_input_image_token_cost": 2.5e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-10-23",
@@ -35131,6 +35141,7 @@
]
},
"gpt-image-1-mini": {
+ "cache_read_input_image_token_cost": 2.5e-07,
"cache_read_input_token_cost": 2e-07,
"cache_read_input_token_cost_batches": 1e-07,
"deprecation_date": "2026-12-01",
@@ -35150,6 +35161,7 @@
"gpt-realtime": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"deprecation_date": "2027-01-20",
"input_cost_per_audio_token": 3.2e-05,
@@ -35185,6 +35197,7 @@
"gpt-realtime-1.5": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"input_cost_per_audio_token": 3.2e-05,
"input_cost_per_image_token": 5e-06,
@@ -35219,6 +35232,7 @@
"gpt-realtime-2": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"input_cost_per_audio_token": 3.2e-05,
"input_cost_per_image_token": 5e-06,
@@ -35253,6 +35267,7 @@
"gpt-realtime-2.1": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"input_cost_per_audio_token": 3.2e-05,
"input_cost_per_image_token": 5e-06,
@@ -35289,6 +35304,7 @@
"gpt-realtime-2.1-mini": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_image_token_cost": 8e-08,
"cache_read_input_token_cost": 6e-08,
"input_cost_per_audio_token": 1e-05,
"input_cost_per_image_token": 8e-07,
@@ -35325,6 +35341,7 @@
"gpt-realtime-mini": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_image_token_cost": 8e-08,
"cache_read_input_token_cost": 6e-08,
"deprecation_date": "2027-01-20",
"input_cost_per_audio_token": 1e-05,
@@ -35360,6 +35377,7 @@
"gpt-realtime-2025-08-28": {
"cache_creation_input_audio_token_cost": 4e-07,
"cache_read_input_audio_token_cost": 4e-07,
+ "cache_read_input_image_token_cost": 5e-07,
"cache_read_input_token_cost": 4e-07,
"deprecation_date": "2027-01-20",
"input_cost_per_audio_token": 3.2e-05,
@@ -56036,6 +56054,7 @@
"gpt-realtime-mini-2025-12-15": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_image_token_cost": 8e-08,
"cache_read_input_token_cost": 6e-08,
"input_cost_per_audio_token": 1e-05,
"input_cost_per_image_token": 8e-07,
@@ -56128,6 +56147,7 @@
]
},
"chatgpt-image-latest": {
+ "cache_read_input_image_token_cost": 2e-06,
"cache_read_input_token_cost": 1.25e-06,
"cache_read_input_token_cost_batches": 6.3e-07,
"deprecation_date": "2026-12-01",