Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions providers/openai/chatgpt-image-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
costs:
- cache_read_input_token_cost: 0.00000125
input_cost_per_image_token: 0.000008
input_cost_per_token: 0.000005
output_cost_per_image_token: 0.000032
output_cost_per_token: 0.00001
region: "*"
features:
- chat
- image
- image_input
- prompt_caching
- system_messages
- text
- vision
mode: image
model: chatgpt-image-latest
removeParams:
- stream
- tool_choice
- parallel_tool_calls
sources:
- https://developers.openai.com/api/docs/models/chatgpt-image-latest
- https://developers.openai.com/docs/pricing
21 changes: 21 additions & 0 deletions providers/openai/computer-use-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,26 @@ costs:
- input_cost_per_token: 0.000003
output_cost_per_token: 0.000012
region: "*"
features:
- chat
- function_calling
- vision
- image_input
- system_messages
- tool_choice
limits:
context_window: 8192
max_output_tokens: 1024
max_tokens: 1024
mode: chat
model: computer-use-preview
params:
- defaultValue: 128
key: max_tokens
maxValue: 1024
minValue: 1
removeParams:
- stream
sources:
- https://developers.openai.com/api/docs/models/computer-use-preview
thinking: true
1 change: 1 addition & 0 deletions providers/openai/dall-e-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ costs:
region: "*"
features:
- image
isDeprecated: true
limits:
max_tokens: 4096
mode: image
Expand Down
1 change: 1 addition & 0 deletions providers/openai/dall-e-3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ costs:
region: "*"
features:
- image
isDeprecated: true
limits:
max_tokens: 4096
mode: image
Expand Down
9 changes: 8 additions & 1 deletion providers/openai/gpt-3.5-turbo-0125.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
costs:
- input_cost_per_token: 5.e-7
input_cost_per_token_batches: 2.5e-7
output_cost_per_token: 0.0000015
output_cost_per_token_batches: 7.5e-7
region: "*"
features:
- function_calling
Expand All @@ -9,10 +11,11 @@ features:
- tools
- system_messages
- tool_choice
- prompt_caching
limits:
context_window: 16385
max_input_tokens: 16385
max_output_tokens: 4096
max_tokens: 4096
mode: chat
model: gpt-3.5-turbo-0125
params:
Expand All @@ -34,3 +37,7 @@ params:
skipValues:
- null
type: string
sources:
- https://developers.openai.com/api/docs/models/gpt-3.5-turbo
- https://developers.openai.com/api/docs/pricing
- https://developers.openai.com/api/docs/guides/prompt-caching
1 change: 1 addition & 0 deletions providers/openai/gpt-3.5-turbo-1106.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ features:
- system_messages
- tool_choice
- prompt_caching
isDeprecated: true
limits:
max_input_tokens: 16385
max_output_tokens: 4096
Expand Down
1 change: 1 addition & 0 deletions providers/openai/gpt-3.5-turbo-16k.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ features:
- system_messages
- tool_choice
- prompt_caching
isDeprecated: true
limits:
max_input_tokens: 16385
max_output_tokens: 4096
Expand Down
10 changes: 7 additions & 3 deletions providers/openai/gpt-3.5-turbo.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
costs:
- input_cost_per_token: 5.e-7
input_cost_per_token_batches: 2.5e-7
output_cost_per_token: 0.0000015
output_cost_per_token_batches: 7.5e-7
region: "*"
features:
- function_calling
- parallel_function_calling
- chat
- tools
- system_messages
- tool_choice
- prompt_caching
limits:
context_window: 16385
max_input_tokens: 16385
max_output_tokens: 4096
max_tokens: 4096
mode: chat
model: gpt-3.5-turbo
params:
- key: max_tokens
maxValue: 4096
- defaultValue: null
key: response_format
options:
Expand All @@ -33,3 +35,5 @@ params:
skipValues:
- null
type: string
sources:
- https://developers.openai.com/api/docs/models/gpt-3.5-turbo
9 changes: 6 additions & 3 deletions providers/openai/gpt-4-turbo-2024-04-09.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ features:
- function_calling
- parallel_function_calling
- vision
- image_input
- chat
- image
- tools
- system_messages
- tool_choice
- prompt_caching
- pdf_input
limits:
context_window: 128000
max_input_tokens: 128000
max_output_tokens: 4096
max_tokens: 4096
mode: chat
model: gpt-4-turbo-2024-04-09
params:
Expand All @@ -37,3 +37,6 @@ params:
skipValues:
- null
type: string
sources:
- https://developers.openai.com/api/docs/models/gpt-4-turbo
- https://developers.openai.com/api/docs/guides/prompt-caching/
9 changes: 6 additions & 3 deletions providers/openai/gpt-4-turbo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ features:
- function_calling
- parallel_function_calling
- vision
- image_input
- chat
- image
- tools
- system_messages
- tool_choice
- prompt_caching
- pdf_input
limits:
context_window: 128000
max_input_tokens: 128000
max_output_tokens: 4096
max_tokens: 4096
mode: chat
model: gpt-4-turbo
params:
Expand All @@ -37,3 +37,6 @@ params:
skipValues:
- null
type: string
sources:
- https://developers.openai.com/api/docs/models/gpt-4-turbo
- https://developers.openai.com/api/docs/guides/prompt-caching/
6 changes: 5 additions & 1 deletion providers/openai/gpt-4.1-2025-04-14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ features:
- response_schema
- pdf_input
limits:
context_window: 1047576
max_input_tokens: 1047576
max_output_tokens: 32768
max_tokens: 4096
max_tokens: 32768
mode: chat
model: gpt-4.1-2025-04-14
params:
Expand Down Expand Up @@ -62,3 +63,6 @@ params:
type: string
removeParams:
- max_tokens
sources:
- https://developers.openai.com/api/docs/models/gpt-4.1
- https://developers.openai.com/api/docs/deprecations
7 changes: 5 additions & 2 deletions providers/openai/gpt-4.1-mini-2025-04-14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ features:
- function_calling
- parallel_function_calling
- vision
- image_input
- chat
- image
- tools
- system_messages
- tool_choice
- prompt_caching
- response_schema
- pdf_input
limits:
context_window: 1047576
max_input_tokens: 1047576
max_output_tokens: 32768
max_tokens: 4096
max_tokens: 32768
mode: chat
model: gpt-4.1-mini-2025-04-14
params:
Expand Down Expand Up @@ -62,3 +63,5 @@ params:
type: string
removeParams:
- max_tokens
sources:
- https://developers.openai.com/api/docs/models/gpt-4.1-mini
8 changes: 6 additions & 2 deletions providers/openai/gpt-4.1-mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ features:
- parallel_function_calling
- vision
- chat
- image
- image_input
- tools
- system_messages
- tool_choice
- prompt_caching
- response_schema
- pdf_input
limits:
context_window: 1047576
max_input_tokens: 1047576
max_output_tokens: 32768
max_tokens: 4096
max_tokens: 32768
mode: chat
model: gpt-4.1-mini
params:
Expand Down Expand Up @@ -62,3 +63,6 @@ params:
type: string
removeParams:
- max_tokens
sources:
- https://developers.openai.com/api/docs/models/gpt-4.1-mini
- https://developers.openai.com/api/docs/deprecations/
6 changes: 5 additions & 1 deletion providers/openai/gpt-4.1-nano-2025-04-14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ features:
- response_schema
- pdf_input
limits:
context_window: 1047576
max_input_tokens: 1047576
max_output_tokens: 32768
max_tokens: 4096
max_tokens: 32768
mode: chat
model: gpt-4.1-nano-2025-04-14
params:
Expand Down Expand Up @@ -62,3 +63,6 @@ params:
type: string
removeParams:
- max_tokens
sources:
- https://developers.openai.com/api/docs/models/gpt-4.1-nano
- https://developers.openai.com/api/docs/pricing
9 changes: 7 additions & 2 deletions providers/openai/gpt-4.1-nano.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ features:
- parallel_function_calling
- vision
- chat
- image
- image_input
- tools
- system_messages
- tool_choice
- prompt_caching
- response_schema
- pdf_input
limits:
context_window: 1047576
max_input_tokens: 1047576
max_output_tokens: 32768
max_tokens: 4096
max_tokens: 32768
mode: chat
model: gpt-4.1-nano
params:
Expand Down Expand Up @@ -62,3 +63,7 @@ params:
type: string
removeParams:
- max_tokens
sources:
- https://developers.openai.com/api/docs/models/gpt-4.1-nano
- https://developers.openai.com/api/docs/pricing
- https://developers.openai.com/api/docs/deprecations/
6 changes: 5 additions & 1 deletion providers/openai/gpt-4.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ features:
- response_schema
- pdf_input
limits:
context_window: 1047576
max_input_tokens: 1047576
max_output_tokens: 32768
max_tokens: 4096
max_tokens: 32768
mode: chat
model: gpt-4.1
params:
Expand Down Expand Up @@ -62,3 +63,6 @@ params:
type: string
removeParams:
- max_tokens
sources:
- https://developers.openai.com/api/docs/models/gpt-4.1
- https://developers.openai.com/api/docs/pricing
11 changes: 9 additions & 2 deletions providers/openai/gpt-4.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
costs:
- input_cost_per_token: 0.00003
input_cost_per_token_batches: 0.000015
output_cost_per_token: 0.00006
output_cost_per_token_batches: 0.00003
region: "*"
features:
- function_calling
- chat
- tools
- system_messages
- tool_choice
- prompt_caching
limits:
context_window: 8192
max_input_tokens: 8192
max_output_tokens: 4096
max_output_tokens: 8192
max_tokens: 8192
mode: chat
model: gpt-4
params:
- key: max_tokens
maxValue: 8192
sources:
- https://developers.openai.com/api/docs/models/gpt-4
- https://developers.openai.com/api/docs/pricing
- https://developers.openai.com/api/docs/deprecations/
Loading