File size: 12,019 Bytes
c714c52 d616434 a94607f d616434 a94607f d616434 a94607f d616434 a94607f d616434 a94607f d616434 784968f 2a17a50 470d837 e862b49 470d837 e862b49 470d837 e862b49 470d837 e862b49 470d837 e862b49 470d837 72d49a3 e862b49 72d49a3 e862b49 72d49a3 e862b49 72d49a3 e862b49 72d49a3 470d837 d616434 c714c52 d616434 c714c52 8b22735 d616434 a0163ec | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | # โโ Configuration Module โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
"""Configuraรงรฃo independente sem imports circulares"""
TEXT_MODELS = {
# โโ KILO BACKEND (do maior para o menor porte) โโโโโโโโโโโโโโโโโโโโโโโโโโ
"nemotron-ultra-free": {
"backend": "kilo",
"model_id": "nvidia/nemotron-3-ultra-550b-a55b:free",
"label": "Nemotron Ultra 550B (free)",
"desc": "๐ Kilo free โข 550B NVIDIA",
},
"hy3-free": {
"backend": "kilo",
"model_id": "tencent/hy3:free",
"label": "Hy3 295B (free)",
"desc": "๐ฅ Kilo free โข 295B MoE Tencent",
},
"nemotron-super-free": {
"backend": "kilo",
"model_id": "nvidia/nemotron-3-super-120b-a12b:free",
"label": "Nemotron Super 120B (free)",
"desc": "๐ Kilo free โข 120B NVIDIA",
},
"laguna-free": {
"backend": "kilo",
"model_id": "poolside/laguna-m.1:free",
"label": "Laguna M.1 (free)",
"desc": "โก Kilo free โข Poolside",
},
"laguna-xs-free": {
"backend": "kilo",
"model_id": "poolside/laguna-xs-2.1:free",
"label": "Laguna XS 2.1 (free)",
"desc": "โก Kilo free โข coding agent 33B",
},
"nemotron-nano-omni-free": {
"backend": "kilo",
"model_id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
"label": "Nemotron Nano Omni 30B (free)",
"desc": "โก Kilo free โข multimodal + reasoning",
},
"north-mini-code-free": {
"backend": "kilo",
"model_id": "cohere/north-mini-code:free",
"label": "North Mini Code (free)",
"desc": "๐ป Kilo free โข Cohere coding",
},
"openrouter-auto-free": {
"backend": "kilo",
"model_id": "openrouter/free",
"label": "OpenRouter Auto (free)",
"desc": "๐ฒ Kilo free โข roteador automรกtico",
},
# โโ OPENROUTER BACKEND (texto, do maior para o menor porte) โโโโโโโโโโโโโ
"gemma4-31b-free": {
"backend": "openrouter",
"model_id": "google/gemma-4-31b-it:free",
"label": "Gemma 4 31B (free)",
"desc": "๐ฅ OpenRouter free โข Google",
},
"nemotron-nano30b-free": {
"backend": "openrouter",
"model_id": "nvidia/nemotron-3-nano-30b-a3b:free",
"label": "Nemotron Nano 30B (free)",
"desc": "โก OpenRouter free โข rรกpido",
},
"gemma4-26b-free": {
"backend": "openrouter",
"model_id": "google/gemma-4-26b-a4b-it:free",
"label": "Gemma 4 26B A4B (free)",
"desc": "๐ฅ OpenRouter free โข Google",
},
"gptoss-20b-free": {
"backend": "openrouter",
"model_id": "openai/gpt-oss-20b:free",
"label": "GPT-OSS 20B (free)",
"desc": "๐ค OpenRouter free โข OpenAI open-weight",
},
"nemotron-vl-free": {
"backend": "openrouter",
"model_id": "nvidia/nemotron-nano-12b-v2-vl:free",
"label": "Nemotron Nano 12B VL (free)",
"desc": "๐ OpenRouter free โข visรฃo + texto",
},
"nemotron-nano9b-free": {
"backend": "openrouter",
"model_id": "nvidia/nemotron-nano-9b-v2:free",
"label": "Nemotron Nano 9B (free)",
"desc": "โก OpenRouter free โข ultra rรกpido",
},
# โโ OPENROUTER BACKEND (รกudio โ geraรงรฃo de mรบsica, PAGO) โโโโโโโโโโโโโโโโ
"lyria-pro-preview": {
"backend": "openrouter",
"model_id": "google/lyria-3-pro-preview",
"label": "Lyria 3 Pro (รกudio)",
"desc": "๐ต OpenRouter โข geraรงรฃo de mรบsica (pago: $0.08/mรบsica)",
"paid": True,
},
"lyria-clip-preview": {
"backend": "openrouter",
"model_id": "google/lyria-3-clip-preview",
"label": "Lyria 3 Clip (รกudio)",
"desc": "๐ต OpenRouter โข geraรงรฃo de mรบsica curta (pago: $0.04/clipe)",
"paid": True,
},
# โโ GROQ BACKEND โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
"llama33-70b-groq": {
"backend": "groq",
"model_id": "llama-3.3-70b-versatile",
"label": "Llama 3.3 70B (Groq)",
"desc": "โก Groq free โข ultra rรกpido, LPU",
},
"gptoss120b-groq": {
"backend": "groq",
"model_id": "openai/gpt-oss-120b",
"label": "GPT-OSS 120B (Groq)",
"desc": "๐ฅ Groq free โข open-weight OpenAI",
},
"gptoss20b-groq": {
"backend": "groq",
"model_id": "openai/gpt-oss-20b",
"label": "GPT-OSS 20B (Groq)",
"desc": "โก Groq free โข rรกpido",
},
"qwen36-27b-groq": {
"backend": "groq",
"model_id": "qwen/qwen3.6-27b",
"label": "Qwen3.6 27B (Groq)",
"desc": "๐ Groq free โข Alibaba via LPU",
},
"llama31-8b-groq": {
"backend": "groq",
"model_id": "llama-3.1-8b-instant",
"label": "Llama 3.1 8B (Groq)",
"desc": "โก Groq free โข instant",
},
"compound-groq": {
"backend": "groq",
"model_id": "groq/compound",
"label": "Compound (Groq)",
"desc": "๐ ๏ธ Groq free โข agente com tool-use nativo",
},
# โโ MISTRAL BACKEND โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
"mistral-small-mst": {
"backend": "mistral",
"model_id": "mistral-small-latest",
"label": "Mistral Small (free)",
"desc": "๐ซ๐ท Mistral free โข geral",
},
"open-nemo-mst": {
"backend": "mistral",
"model_id": "open-mistral-nemo",
"label": "Mistral Nemo (free)",
"desc": "๐ซ๐ท Mistral free โข open-weight",
},
"ministral8b-mst": {
"backend": "mistral",
"model_id": "ministral-8b-latest",
"label": "Ministral 8B (free)",
"desc": "โก Mistral free โข rรกpido",
},
"ministral3b-mst": {
"backend": "mistral",
"model_id": "ministral-3b-latest",
"label": "Ministral 3B (free)",
"desc": "โก Mistral free โข ultra rรกpido",
},
"devstral-mst": {
"backend": "mistral",
"model_id": "devstral-latest",
"label": "Devstral (free)",
"desc": "๐ป Mistral free โข especialista cรณdigo",
},
"magistral-small-mst": {
"backend": "mistral",
"model_id": "magistral-small-latest",
"label": "Magistral Small (free)",
"desc": "๐ง Mistral free โข reasoning",
},
# โโ GEMINI BACKEND โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
"gemma4-26b-google": {
"backend": "gemini",
"model_id": "gemma-4-26b-a4b-it",
"label": "Gemma 4 26B (Google direto)",
"desc": "๐ฅ Google free โข sem thinkingConfig",
"rpd": 14400,
"rpm": 30,
},
"gemma4-31b-google": {
"backend": "gemini",
"model_id": "gemma-4-31b-it",
"label": "Gemma 4 31B (Google direto)",
"desc": "๐ฅ Google free โข sem thinkingConfig",
"rpd": 14400,
"rpm": 30,
},
"gemini31-flash-lite": {
"backend": "gemini",
"model_id": "gemini-3.1-flash-lite",
"label": "Gemini 3.1 Flash Lite",
"desc": "โก Google free โข leve, cota maior",
"rpd": 500,
"rpm": 15,
},
"gemini35-flash": {
"backend": "gemini",
"model_id": "gemini-3.5-flash",
"label": "Gemini 3.5 Flash",
"desc": "โจ Google free โข mais recente",
"rpd": 20,
"rpm": 5,
},
"gemini3-flash-preview": {
"backend": "gemini",
"model_id": "gemini-3-flash-preview",
"label": "Gemini 3 Flash Preview",
"desc": "๐ฌ Google free โข preview",
"rpd": 20,
"rpm": 5,
},
"gemini-flash-lite-latest": {
"backend": "gemini",
"model_id": "gemini-flash-lite-latest",
"label": "Gemini Flash Lite (latest)",
"desc": "โก Google free โข leve, 20/dia",
"rpd": 20,
"rpm": 10,
},
# โโ TRANSFORMERS BACKEND โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
"gemma-1b": {
"backend": "transformers",
"id": "google/gemma-3-1b-it",
"label": "Gemma 3 1B",
"desc": "Rรกpido โข conversaรงรฃo geral",
},
"qwen-coder-3b": {
"backend": "transformers",
"id": "Qwen/Qwen2.5-Coder-3B-Instruct",
"label": "Qwen2.5-Coder 3B",
"desc": "Especialista em cรณdigo",
},
# โโ GGUF BACKEND โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
"gemma-4b": {
"backend": "gguf",
"repo": "bartowski/google_gemma-3-4b-it-GGUF",
"file": "google_gemma-3-4b-it-Q4_K_M.gguf",
"label": "Gemma 3 4B",
"desc": "โก Rรกpido โข bem mais forte que o 1B โข ~2.5GB",
},
"gemma-12b": {
"backend": "gguf",
"repo": "bartowski/google_gemma-3-12b-it-GGUF",
"file": "google_gemma-3-12b-it-Q4_K_M.gguf",
"label": "Gemma 3 12B",
"desc": "๐ Gemma mais forte โข ~7.3GB",
},
"llama32-3b": {
"backend": "gguf",
"repo": "bartowski/Llama-3.2-3B-Instruct-GGUF",
"file": "Llama-3.2-3B-Instruct-Q4_K_M.gguf",
"label": "Llama 3.2 3B",
"desc": "โก Rรกpido โข teste e bate-papo โข ~2GB",
},
"llama31-8b": {
"backend": "gguf",
"repo": "bartowski/Meta-Llama-3.1-8B-Instruct-GGUF",
"file": "Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf",
"label": "Llama 3.1 8B",
"desc": "Cรณdigo + matemรกtica โข ~5GB",
},
"hermes3-8b": {
"backend": "gguf",
"repo": "NousResearch/Hermes-3-Llama-3.1-8B-GGUF",
"file": "Hermes-3-Llama-3.1-8B.Q4_K_M.gguf",
"label": "Nous-Hermes 3 8B",
"desc": "Escrita criativa โข ~5GB",
},
"qwen-14b-gguf": {
"backend": "gguf",
"repo": "bartowski/Qwen2.5-14B-Instruct-GGUF",
"file": "Qwen2.5-14B-Instruct-Q4_K_M.gguf",
"label": "Qwen2.5 14B GGUF",
"desc": "๐ฅ Mais forte โข mais lento (~9GB)",
},
"deepseek-r1-distill-14b": {
"backend": "gguf",
"repo": "bartowski/DeepSeek-R1-Distill-Qwen-14B-GGUF",
"file": "DeepSeek-R1-Distill-Qwen-14B-Q4_K_M.gguf",
"label": "DeepSeek R1 Distill 14B",
"desc": "๐งฎ Raciocรญnio avanรงado โข ~9GB GGUF",
},
}
DEFAULT_MODEL_KEY = "ministral3b-mst"
IMAGE_MODEL_ID = "stabilityai/sd-turbo"
# โโ Transcription Models โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TRANSCRIPTION_MODELS = {
"whisper-turbo": {
"model_id": "whisper-large-v3-turbo",
"label": "Whisper Large v3 Turbo (Groq)",
"desc": "๐๏ธ Groq free โข rรกpido",
},
"whisper-v3": {
"model_id": "whisper-large-v3",
"label": "Whisper Large v3 (Groq)",
"desc": "๐๏ธ Groq free โข mais preciso",
},
}
|