66 lines
2.2 KiB
YAML
66 lines
2.2 KiB
YAML
model_list:
|
|
# Default OpenAI Codex model via chatgpt.com/backend-api.
|
|
- model_name: "gpt-5.6-sol"
|
|
litellm_params:
|
|
model: "codex/cx-5.6-sol"
|
|
custom_llm_provider: "codex"
|
|
|
|
# DeepSeek via API directa — alias thsllm para no exponer el proveedor en trazas
|
|
- model_name: "thsllm-chat"
|
|
litellm_params:
|
|
model: "deepseek/deepseek-chat"
|
|
api_key: "os.environ/DEEPSEEK_API_KEY"
|
|
|
|
- model_name: "thsllm-reasoner"
|
|
litellm_params:
|
|
model: "deepseek/deepseek-reasoner"
|
|
api_key: "os.environ/DEEPSEEK_API_KEY"
|
|
|
|
- model_name: "thsllm-v4-pro"
|
|
litellm_params:
|
|
model: "deepseek/deepseek-v4-pro"
|
|
api_key: "os.environ/DEEPSEEK_API_KEY"
|
|
|
|
# OpenAI Codex via chatgpt.com/backend-api (auth auto-renovada)
|
|
# Internal model names use "cx-" prefix to avoid clash with litellm.open_ai_chat_completion_models.
|
|
# The provider strips "cx-" and prepends "gpt-" to get the actual Codex API model name.
|
|
- model_name: "gpt-5.5"
|
|
litellm_params:
|
|
model: "codex/cx-5.5"
|
|
custom_llm_provider: "codex"
|
|
|
|
- model_name: "gpt-5.3-codex"
|
|
litellm_params:
|
|
model: "codex/cx-5.3-codex"
|
|
custom_llm_provider: "codex"
|
|
|
|
- model_name: "gpt-5.4-mini"
|
|
litellm_params:
|
|
model: "codex/cx-5.4-mini"
|
|
custom_llm_provider: "codex"
|
|
|
|
- model_name: "gpt-5.2"
|
|
litellm_params:
|
|
model: "codex/cx-5.2"
|
|
custom_llm_provider: "codex"
|
|
|
|
# Anthropic through the Claude Code OAuth cache. The clx- prefix prevents
|
|
# LiteLLM from selecting its native provider before the custom handler can
|
|
# refresh the mounted credentials. The handler delegates the actual request
|
|
# transformation back to LiteLLM's native Anthropic implementation.
|
|
- model_name: "claude-sonnet-5"
|
|
litellm_params:
|
|
model: "claudeoauth/clx-sonnet-5"
|
|
custom_llm_provider: "claudeoauth"
|
|
num_retries: 0
|
|
|
|
litellm_settings:
|
|
drop_params: true
|
|
# custom_provider_map va dentro de litellm_settings para que se cargue
|
|
# antes de que el router inicialice el model_list
|
|
custom_provider_map:
|
|
- provider: "codex"
|
|
custom_handler: codex_provider.codex_provider
|
|
- provider: "claudeoauth"
|
|
custom_handler: claude_provider.claude_oauth_provider
|