dotfiles/dot_pi/agent/models.json
Anton Volnuhin 74b7f27c06 pi: capture the cursorapi provider and reformat models.json
Local drift that was never added: a cursorapi provider pointing at
http://127.0.0.1:8788/v1, plus the formatting pi itself writes. No key
material -- the apiKey fields hold env var names or the local
placeholder.
2026-08-06 01:59:18 +03:00

562 lines
14 KiB
JSON

{
"providers" : {
"alibaba-code-plan" : {
"api" : "openai-completions",
"apiKey" : "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$ALIBABA_CODE_PLAN_API_KEY\"",
"baseUrl" : "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
"compat" : {
"supportsDeveloperRole" : false
},
"models" : [
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "qwen3.8-max-preview",
"input" : [
"text"
],
"maxTokens" : 131072,
"name" : "Qwen 3.8 Max",
"reasoning" : true
}
]
},
"anthropic-byok" : {
"api" : "anthropic-messages",
"apiKey" : "ANTHROPIC_API_KEY",
"baseUrl" : "https://api.anthropic.com",
"models" : [
{
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "claude-sonnet-4-6",
"input" : [
"text",
"image"
],
"maxTokens" : 4096,
"name" : "claude-sonnet-4-6"
}
]
},
"cursorapi" : {
"api" : "openai-completions",
"apiKey" : "cursor-local",
"authHeader" : true,
"baseUrl" : "http://127.0.0.1:8788/v1",
"models" : [
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.5,
"output" : 2.5
},
"id" : "composer-2.5",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Composer 2.5",
"reasoning" : false
},
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 3,
"output" : 15
},
"id" : "composer-2.5-fast",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Composer 2.5 Fast",
"reasoning" : false
},
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 2,
"output" : 6
},
"id" : "grok-4.5",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Grok 4.5",
"reasoning" : false
},
{
"api" : "openai-completions",
"compat" : {
"maxTokensField" : "max_tokens",
"requiresAssistantAfterToolResult" : false,
"supportsUsageInStreaming" : true
},
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 4,
"output" : 18
},
"id" : "grok-4.5-fast",
"input" : [
"text"
],
"limit" : {
"context" : 200000,
"output" : 65536
},
"maxTokens" : 65536,
"name" : "Grok 4.5 Fast",
"reasoning" : false
}
]
},
"kimi-coding" : {
"apiKey" : "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$KIMI_CODE_API_KEY\"",
"compat" : {
"supportsDeveloperRole" : false
},
"models" : [
{
"api" : "openai-completions",
"baseUrl" : "https://api.kimi.com/coding/v1",
"contextWindow" : 1048576,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "k3",
"input" : [
"text",
"image"
],
"maxTokens" : 32000,
"name" : "Kimi K3",
"reasoning" : true
}
]
},
"screenpipe" : {
"api" : "openai-completions",
"apiKey" : "SCREENPIPE_API_KEY",
"authHeader" : true,
"baseUrl" : "https://api.screenpi.pe/v1",
"models" : [
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "auto",
"input" : [
"text",
"image"
],
"maxTokens" : 32000,
"name" : "Auto (recommended)",
"reasoning" : true
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "glm-4.7",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "GLM-4.7",
"reasoning" : true
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "glm-5",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "GLM-5",
"reasoning" : true
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "kimi-k2.5",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Kimi K2.5",
"reasoning" : true
},
{
"contextWindow" : 524000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "llama-4-maverick",
"input" : [
"text",
"image"
],
"maxTokens" : 8192,
"name" : "Llama 4 Maverick (Vision)",
"reasoning" : true
},
{
"contextWindow" : 512000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "llama-4-scout",
"input" : [
"text",
"image"
],
"maxTokens" : 8192,
"name" : "Llama 4 Scout (Vision)",
"reasoning" : false
},
{
"contextWindow" : 262000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "qwen/qwen3-coder:free",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Qwen3 Coder 480B",
"reasoning" : true
},
{
"contextWindow" : 256000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0,
"output" : 0
},
"id" : "stepfun/step-3.5-flash:free",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Step 3.5 Flash",
"reasoning" : false
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.10000000000000001,
"output" : 0.40000000000000002
},
"id" : "gemini-3-flash",
"input" : [
"text",
"image"
],
"maxTokens" : 65536,
"name" : "Gemini 3 Flash",
"reasoning" : false
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.074999999999999997,
"output" : 0.29999999999999999
},
"id" : "gemini-2.5-flash",
"input" : [
"text",
"image"
],
"maxTokens" : 65536,
"name" : "Gemini 2.5 Flash",
"reasoning" : false
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 1.5,
"cacheWrite" : 18.75,
"input" : 15,
"output" : 75
},
"id" : "claude-opus-4-6",
"input" : [
"text",
"image"
],
"maxTokens" : 32000,
"name" : "Claude Opus 4.6",
"reasoning" : true
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0.29999999999999999,
"cacheWrite" : 3.75,
"input" : 3,
"output" : 15
},
"id" : "claude-sonnet-4-5",
"input" : [
"text",
"image"
],
"maxTokens" : 64000,
"name" : "Claude Sonnet 4.5",
"reasoning" : true
},
{
"contextWindow" : 200000,
"cost" : {
"cacheRead" : 0.080000000000000002,
"cacheWrite" : 1,
"input" : 0.80000000000000004,
"output" : 4
},
"id" : "claude-haiku-4-5",
"input" : [
"text",
"image"
],
"maxTokens" : 64000,
"name" : "Claude Haiku 4.5",
"reasoning" : true
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.065000000000000002,
"output" : 0.26000000000000001
},
"id" : "qwen/qwen3.5-flash-02-23",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Qwen3.5 Flash",
"reasoning" : false
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.26000000000000001,
"output" : 0.38
},
"id" : "deepseek/deepseek-chat",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "DeepSeek V3.2",
"reasoning" : true
},
{
"contextWindow" : 128000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 2.1899999999999999,
"output" : 8.7599999999999998
},
"id" : "deepseek/deepseek-v3.2-speciale",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "DeepSeek V3.2 Speciale",
"reasoning" : true
},
{
"contextWindow" : 131000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 1.5,
"output" : 3
},
"id" : "qwen/qwen3.5-397b-a17b",
"input" : [
"text",
"image"
],
"maxTokens" : 32000,
"name" : "Qwen3.5 397B",
"reasoning" : true
},
{
"contextWindow" : 512000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.11,
"output" : 0.34000000000000002
},
"id" : "meta-llama/llama-4-scout",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Llama 4 Scout",
"reasoning" : false
},
{
"contextWindow" : 256000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 0.5,
"output" : 0.77000000000000002
},
"id" : "meta-llama/llama-4-maverick",
"input" : [
"text"
],
"maxTokens" : 32000,
"name" : "Llama 4 Maverick",
"reasoning" : true
},
{
"contextWindow" : 1000000,
"cost" : {
"cacheRead" : 0,
"cacheWrite" : 0,
"input" : 1.25,
"output" : 10
},
"id" : "gemini-3.1-pro",
"input" : [
"text",
"image"
],
"maxTokens" : 65536,
"name" : "Gemini 3.1 Pro",
"reasoning" : true
}
]
},
"zenmux" : {
"api" : "openai-completions",
"apiKey" : "!. /Users/anton/dev/librenew/.env 2>/dev/null; printf %s \"$ZENMUX_PAYG_KEY\"",
"baseUrl" : "https://zenmux.ai/api/v1",
"models" : [
{
"contextWindow" : 1050000,
"cost" : {
"cacheRead" : 0.5,
"cacheWrite" : 6.25,
"input" : 5,
"output" : 30,
"tiers" : [
{
"cacheRead" : 1,
"cacheWrite" : 12.5,
"input" : 10,
"inputTokensAbove" : 272000,
"output" : 45
}
]
},
"id" : "openai/gpt-5.6-sol",
"input" : [
"text",
"image"
],
"maxTokens" : 128000,
"name" : "GPT 5.6 Sol",
"reasoning" : true
}
]
}
}
}