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 openai/dall-e base pricing entries (#19133)

Ostap Bodnarce1a2c3209ef
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index a130aefa5de..ec55c251a70 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -7826,6 +7826,24 @@
"supports_tool_choice": true,
"supports_vision": true
},
+ "dall-e-2": {
+ "input_cost_per_image": 0.02,
+ "litellm_provider": "openai",
+ "mode": "image_generation",
+ "supported_endpoints": [
+ "/v1/images/generations",
+ "/v1/images/edits",
+ "/v1/images/variations"
+ ]
+ },
+ "dall-e-3": {
+ "input_cost_per_image": 0.04,
+ "litellm_provider": "openai",
+ "mode": "image_generation",
+ "supported_endpoints": [
+ "/v1/images/generations"
+ ]
+ },
"deepseek-chat": {
"cache_read_input_token_cost": 2.8e-08,
"input_cost_per_token": 2.8e-07,