Skip to content

Latest commit

 

History

History
83 lines (73 loc) · 2.48 KB

File metadata and controls

83 lines (73 loc) · 2.48 KB

Configuration Reference

Config file

~/.free-coding-models.json is created automatically on first run (permissions 0600).

{
  "apiKeys": {
    "nvidia":      "nvapi-xxx",
    "groq":        "gsk_xxx",
    "cerebras":    "csk_xxx",
    "openrouter":  "sk-or-xxx",
    "huggingface": "hf_xxx",
    "replicate":   "r8_xxx",
    "deepinfra":   "di_xxx",
    "siliconflow": "sk_xxx",
    "together":    "together_xxx",
    "cloudflare":  "cf_xxx",
    "perplexity":  "pplx_xxx",
    "zai":         "zai-xxx"
  },
  "providers": {
    "nvidia":      { "enabled": true },
    "groq":        { "enabled": true },
    "cerebras":    { "enabled": true },
    "openrouter":  { "enabled": true },
    "huggingface": { "enabled": true },
    "replicate":   { "enabled": true },
    "deepinfra":   { "enabled": true },
    "siliconflow": { "enabled": true },
    "together":    { "enabled": true },
    "cloudflare":  { "enabled": true },
    "perplexity":  { "enabled": true },
    "zai":         { "enabled": true }
  },
  "settings": {
    "hideUnconfiguredModels": true
  },
  "favorites": [
    "nvidia/deepseek-ai/deepseek-v3.2"
  ]
}

Environment variables

Env vars always take priority over the config file.

Variable Provider
NVIDIA_API_KEY NVIDIA NIM
GROQ_API_KEY Groq
CEREBRAS_API_KEY Cerebras
SAMBANOVA_API_KEY SambaNova
OPENROUTER_API_KEY OpenRouter
HUGGINGFACE_API_KEY / HF_TOKEN Hugging Face
REPLICATE_API_TOKEN Replicate
DEEPINFRA_API_KEY / DEEPINFRA_TOKEN DeepInfra
CODESTRAL_API_KEY Mistral Codestral
HYPERBOLIC_API_KEY Hyperbolic
SCALEWAY_API_KEY Scaleway
GOOGLE_API_KEY Google AI Studio
SILICONFLOW_API_KEY SiliconFlow
TOGETHER_API_KEY Together AI
CLOUDFLARE_API_TOKEN / CLOUDFLARE_API_KEY Cloudflare Workers AI
CLOUDFLARE_ACCOUNT_ID Cloudflare (required for endpoint URL)
PERPLEXITY_API_KEY / PPLX_API_KEY Perplexity
ZAI_API_KEY ZAI
DASHSCOPE_API_KEY Alibaba Cloud (DashScope)

Runtime settings

Setting Default Description
Ping timeout 15 s Per-request timeout. Slow models get more time.
Ping cadence 2 s → 10 s → 30 s Fast burst at startup, then normal, then idle slowdown
Configured-only on Only show providers with API keys. Toggle with E.
Favorites persistent Stored in config file, survive app restarts and updates