feat: initial model catalog with 196 models across 39 providers
Community-maintained TOML catalog for LibreFang. New models can be added via PR without requiring a LibreFang binary release. Includes validation script, bilingual docs, and GitHub templates.
This commit is contained in:
commit
21c82e335c
47 files changed
+3668
No files matched your search
@@ -0,0 +1,245 @@
|
||||
# OpenAI — https://openai.com
|
||||
# Models: 18 (including 2 Codex variants)
|
||||
|
||||
[provider]
|
||||
id = "openai"
|
||||
display_name = "OpenAI"
|
||||
api_key_env = "OPENAI_API_KEY"
|
||||
base_url = "https://api.openai.com/v1"
|
||||
key_required = true
|
||||
|
||||
[[models]]
|
||||
id = "gpt-4o"
|
||||
display_name = "GPT-4o"
|
||||
tier = "smart"
|
||||
context_window = 128000
|
||||
max_output_tokens = 16384
|
||||
input_cost_per_m = 2.50
|
||||
output_cost_per_m = 10.0
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = ["gpt4", "gpt4o"]
|
||||
|
||||
[[models]]
|
||||
id = "gpt-4o-mini"
|
||||
display_name = "GPT-4o Mini"
|
||||
tier = "fast"
|
||||
context_window = 128000
|
||||
max_output_tokens = 16384
|
||||
input_cost_per_m = 0.15
|
||||
output_cost_per_m = 0.60
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = ["gpt4-mini"]
|
||||
|
||||
[[models]]
|
||||
id = "gpt-4.1"
|
||||
display_name = "GPT-4.1"
|
||||
tier = "frontier"
|
||||
context_window = 1047576
|
||||
max_output_tokens = 32768
|
||||
input_cost_per_m = 2.00
|
||||
output_cost_per_m = 8.00
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-4.1-mini"
|
||||
display_name = "GPT-4.1 Mini"
|
||||
tier = "balanced"
|
||||
context_window = 1047576
|
||||
max_output_tokens = 32768
|
||||
input_cost_per_m = 0.40
|
||||
output_cost_per_m = 1.60
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-4.1-nano"
|
||||
display_name = "GPT-4.1 Nano"
|
||||
tier = "fast"
|
||||
context_window = 1047576
|
||||
max_output_tokens = 32768
|
||||
input_cost_per_m = 0.10
|
||||
output_cost_per_m = 0.40
|
||||
supports_tools = true
|
||||
supports_vision = false
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "o3"
|
||||
display_name = "o3"
|
||||
tier = "frontier"
|
||||
context_window = 200000
|
||||
max_output_tokens = 100000
|
||||
input_cost_per_m = 2.00
|
||||
output_cost_per_m = 8.00
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "o3-mini"
|
||||
display_name = "o3-mini"
|
||||
tier = "smart"
|
||||
context_window = 200000
|
||||
max_output_tokens = 100000
|
||||
input_cost_per_m = 1.10
|
||||
output_cost_per_m = 4.40
|
||||
supports_tools = true
|
||||
supports_vision = false
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "o4-mini"
|
||||
display_name = "o4-mini"
|
||||
tier = "smart"
|
||||
context_window = 200000
|
||||
max_output_tokens = 100000
|
||||
input_cost_per_m = 1.10
|
||||
output_cost_per_m = 4.40
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-4-turbo"
|
||||
display_name = "GPT-4 Turbo"
|
||||
tier = "smart"
|
||||
context_window = 128000
|
||||
max_output_tokens = 4096
|
||||
input_cost_per_m = 10.00
|
||||
output_cost_per_m = 30.00
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-3.5-turbo"
|
||||
display_name = "GPT-3.5 Turbo"
|
||||
tier = "fast"
|
||||
context_window = 16385
|
||||
max_output_tokens = 4096
|
||||
input_cost_per_m = 0.50
|
||||
output_cost_per_m = 1.50
|
||||
supports_tools = true
|
||||
supports_vision = false
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-5"
|
||||
display_name = "GPT-5"
|
||||
tier = "frontier"
|
||||
context_window = 400000
|
||||
max_output_tokens = 128000
|
||||
input_cost_per_m = 1.25
|
||||
output_cost_per_m = 10.0
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-5-mini"
|
||||
display_name = "GPT-5 Mini"
|
||||
tier = "balanced"
|
||||
context_window = 400000
|
||||
max_output_tokens = 128000
|
||||
input_cost_per_m = 0.25
|
||||
output_cost_per_m = 2.0
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = ["gpt5-mini"]
|
||||
|
||||
[[models]]
|
||||
id = "gpt-5-nano"
|
||||
display_name = "GPT-5 Nano"
|
||||
tier = "fast"
|
||||
context_window = 400000
|
||||
max_output_tokens = 128000
|
||||
input_cost_per_m = 0.05
|
||||
output_cost_per_m = 0.40
|
||||
supports_tools = true
|
||||
supports_vision = false
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-5.1"
|
||||
display_name = "GPT-5.1"
|
||||
tier = "frontier"
|
||||
context_window = 400000
|
||||
max_output_tokens = 128000
|
||||
input_cost_per_m = 1.25
|
||||
output_cost_per_m = 10.0
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
[[models]]
|
||||
id = "gpt-5.2"
|
||||
display_name = "GPT-5.2"
|
||||
tier = "frontier"
|
||||
context_window = 400000
|
||||
max_output_tokens = 128000
|
||||
input_cost_per_m = 1.75
|
||||
output_cost_per_m = 14.0
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = ["gpt5"]
|
||||
|
||||
[[models]]
|
||||
id = "gpt-5.2-pro"
|
||||
display_name = "GPT-5.2 Pro"
|
||||
tier = "frontier"
|
||||
context_window = 400000
|
||||
max_output_tokens = 128000
|
||||
input_cost_per_m = 1.75
|
||||
output_cost_per_m = 14.0
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = []
|
||||
|
||||
# Codex variants (same OpenAI driver & API key)
|
||||
|
||||
[[models]]
|
||||
id = "codex/gpt-4.1"
|
||||
display_name = "GPT-4.1 (Codex)"
|
||||
tier = "frontier"
|
||||
context_window = 1047576
|
||||
max_output_tokens = 32768
|
||||
input_cost_per_m = 2.00
|
||||
output_cost_per_m = 8.00
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = ["codex", "codex-4.1"]
|
||||
|
||||
[[models]]
|
||||
id = "codex/o4-mini"
|
||||
display_name = "o4-mini (Codex)"
|
||||
tier = "smart"
|
||||
context_window = 200000
|
||||
max_output_tokens = 100000
|
||||
input_cost_per_m = 1.10
|
||||
output_cost_per_m = 4.40
|
||||
supports_tools = true
|
||||
supports_vision = true
|
||||
supports_streaming = true
|
||||
aliases = ["codex-o4"]
|
||||
Reference in new issue
Block a user