From fc988d2a32f2d9185d01b1246c7d94befa058331 Mon Sep 17 00:00:00 2001 From: Botbot Date: Thu, 27 Aug 2026 22:03:33 -0600 Subject: [PATCH] MVP models: DeepSeek V4 Flash (default) + GPT-OSS 120B (fallback). Drop Llama, Gemma. --- inference-coop/cloudron-litellm/config.yaml | 29 ++++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/inference-coop/cloudron-litellm/config.yaml b/inference-coop/cloudron-litellm/config.yaml index 79db4a7..d88c59a 100644 --- a/inference-coop/cloudron-litellm/config.yaml +++ b/inference-coop/cloudron-litellm/config.yaml @@ -1,31 +1,34 @@ # LiteLLM config for inference.coop # MVP config: Tinfoil only (TEE-protected, privacy-first) +# Two models: DeepSeek V4 Flash (default, best agents) + GPT-OSS 120B (cheapest) # Provider key set via environment variable or Admin UI model_list: - - model_name: gpt-oss-120b - litellm_params: - model: openai/gpt-oss-120b - api_base: https://api.tinfoil.sh/v1 - api_key: os.environ/TINFOIL_API_KEY - + # DeepSeek V4 Flash — default model + # Best agent performance (Terminal Bench 2.1: 82.7, DeepSWE: 54.4) + # MoE, 1M context, tool calling, $0.30/$0.70 per M tokens - model_name: deepseek-v4-flash litellm_params: model: openai/deepseek-v4-flash api_base: https://api.tinfoil.sh/v1 api_key: os.environ/TINFOIL_API_KEY - - model_name: gemma4-31b + # GPT-OSS 120B — lightweight fallback + # Built for agentic workflows, web search + code execution + # Apache 2.0, $0.15/$0.60 per M tokens + - model_name: gpt-oss-120b litellm_params: - model: openai/gemma4-31b + model: openai/gpt-oss-120b api_base: https://api.tinfoil.sh/v1 api_key: os.environ/TINFOIL_API_KEY - - model_name: llama3-3-70b - litellm_params: - model: openai/llama3-3-70b - api_base: https://api.tinfoil.sh/v1 - api_key: os.environ/TINFOIL_API_KEY +# Fallback: if DeepSeek is down, use GPT-OSS +router_settings: + num_retries: 2 + timeout: 30 + fallbacks: + - deepseek-v4-flash: + - gpt-oss-120b general_settings: master_key: os.environ/LITELLM_MASTER_KEY