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]

add azure/gpt-image-1 pricing (#10327)

Marty Sullivan11bb62212330
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index eb4b9f721e3..6ab58486bc9 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -2866,7 +2866,77 @@
"output_cost_per_token": 0.000000,
"litellm_provider": "azure",
"mode": "embedding"
- },
+ },
+ "azure/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/low/1024-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.0490417e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/medium/1024-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/high/1024-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.59263611e-7,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/low/1024-x-1536/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.0172526e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/medium/1024-x-1536/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/high/1024-x-1536/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.58945719e-7,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/low/1536-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.0172526e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/medium/1536-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/high/1536-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.58945719e-7,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
"azure/standard/1024-x-1024/dall-e-3": {
"input_cost_per_pixel": 0.0000000381469,
"output_cost_per_token": 0.0,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index eb4b9f721e3..6ab58486bc9 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -2866,7 +2866,77 @@
"output_cost_per_token": 0.000000,
"litellm_provider": "azure",
"mode": "embedding"
- },
+ },
+ "azure/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/low/1024-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.0490417e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/medium/1024-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/high/1024-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.59263611e-7,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/low/1024-x-1536/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.0172526e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/medium/1024-x-1536/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/high/1024-x-1536/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.58945719e-7,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/low/1536-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.0172526e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/medium/1536-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 4.0054321e-8,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
+ "azure/high/1536-x-1024/gpt-image-1": {
+ "mode": "image_generation",
+ "input_cost_per_pixel": 1.58945719e-7,
+ "output_cost_per_pixel": 0.0,
+ "litellm_provider": "azure",
+ "supported_endpoints": ["/v1/images/generations"]
+ },
"azure/standard/1024-x-1024/dall-e-3": {
"input_cost_per_pixel": 0.0000000381469,
"output_cost_per_token": 0.0,