diff --git a/.tests/lab/fake-private/.chezmoiignore b/.tests/lab/fake-private/.chezmoiignore index 34eb7cd..47b5e40 100644 --- a/.tests/lab/fake-private/.chezmoiignore +++ b/.tests/lab/fake-private/.chezmoiignore @@ -37,7 +37,7 @@ ops/** # Generated at apply time by run_after_50-secrets.sh, never tracked anywhere. # If this line is ever removed, `chezmoi add` on a finished machine sweeps the -# seven API keys straight into the repo. +# six API keys straight into the repo. .config/zsh/secrets.zsh # The per-machine delta that Q5 puts opposite the base settings.json below. diff --git a/.tests/lab/fake-private/dot_local/bin/private_executable_dotsecrets.tmpl b/.tests/lab/fake-private/dot_local/bin/private_executable_dotsecrets.tmpl index 8681647..ba24939 100644 --- a/.tests/lab/fake-private/dot_local/bin/private_executable_dotsecrets.tmpl +++ b/.tests/lab/fake-private/dot_local/bin/private_executable_dotsecrets.tmpl @@ -9,7 +9,7 @@ # THE ONE INVARIANT: a failed or partial fetch leaves a working secrets.zsh # exactly as it was. Every value is fetched into a 600-mode temp file first, # and that file is renamed over the real one only after all of them have -# arrived. Six keys out of seven is a machine that was fine a moment ago and +# arrived. Five keys out of six is a machine that was fine a moment ago and # now silently cannot reach one provider -- worse than a machine that says the # refresh failed and carries on with yesterday's keys. # diff --git a/dot_pi/agent/models.json b/dot_pi/agent/models.json index c9ba98b..fae4700 100644 --- a/dot_pi/agent/models.json +++ b/dot_pi/agent/models.json @@ -1,5 +1,76 @@ { "providers": { + "openrouter": { + "apiKey": "$OPENROUTER_API_KEY", + "models": [ + { + "id": "deepseek/deepseek-v4-pro", + "name": "DeepSeek V4 Pro (OpenRouter)", + "reasoning": true, + "input": [ + "text" + ], + "contextWindow": 1048576, + "maxTokens": 384000, + "cost": { + "input": 0.2088, + "output": 0.4176, + "cacheRead": 0.0174, + "cacheWrite": 0 + } + }, + { + "id": "deepseek/deepseek-v4-flash", + "name": "DeepSeek V4 Flash (OpenRouter)", + "reasoning": true, + "input": [ + "text" + ], + "contextWindow": 1048576, + "maxTokens": 943717, + "cost": { + "input": 0.091, + "output": 0.182, + "cacheRead": 0.0182, + "cacheWrite": 0 + } + }, + { + "id": "moonshotai/kimi-k3.1-pro", + "name": "Kimi K3.1 Pro (OpenRouter)", + "reasoning": true, + "input": [ + "text", + "image" + ], + "contextWindow": 1048576, + "maxTokens": 943718, + "cost": { + "input": 2, + "output": 10, + "cacheRead": 0.2, + "cacheWrite": 0 + } + }, + { + "id": "qwen/qwen4-max", + "name": "Qwen4 Max (OpenRouter)", + "reasoning": true, + "input": [ + "text", + "image" + ], + "contextWindow": 1000000, + "maxTokens": 131072, + "cost": { + "input": 1.425, + "output": 4.275, + "cacheRead": 0.07125, + "cacheWrite": 1.78125 + } + } + ] + }, "deepseek": { "baseUrl": "https://api.deepseek.com", "api": "openai-completions",