Skip to content

Instantly share code, notes, and snippets.

@wayanjimmy
Last active April 22, 2026 01:37
Show Gist options
  • Select an option

  • Save wayanjimmy/118b3af9099b88c2eaa0ea3656addfd6 to your computer and use it in GitHub Desktop.

Select an option

Save wayanjimmy/118b3af9099b88c2eaa0ea3656addfd6 to your computer and use it in GitHub Desktop.
pi coding agent configuration - models, themes, packages
{
"providers": {
"cpa-ant": {
"baseUrl": "http://127.0.0.1:8317",
"apiKey": "CLI_PROXY_API_KEY",
"api": "anthropic-messages",
"models": [
{
"id": "claude-haiku-4.5",
"name": "Claude Haiku 4.5",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 144000,
"maxTokens": 32000
}
]
},
"cpa": {
"baseUrl": "http://127.0.0.1:8317/v1",
"apiKey": "CLI_PROXY_API_KEY",
"api": "openai-completions",
"models": [
{
"id": "qwen3.5-plus",
"name": "Qwen 3.5 Plus (DS)",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0.4,
"output": 2.4,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 983616,
"maxTokens": 32768,
"compat": {
"thinkingFormat": "qwen",
"supportsDeveloperRole": false
}
},
{
"id": "qwen3-coder-next",
"name": "Qwen 3 Coder Next (DS)",
"reasoning": false,
"input": ["text"],
"cost": {
"input": 0.12,
"output": 0.75,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 204800,
"maxTokens": 32768,
"compat": {
"supportsDeveloperRole": false
}
},
{
"id": "dashscope-glm-5",
"name": "GLM-5 (DS)",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0.8,
"output": 2.56,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 202752,
"maxTokens": 16384,
"compat": {
"thinkingFormat": "qwen",
"supportsDeveloperRole": false
}
},
{
"id": "glm-5-turbo",
"name": "GLM-5 Turbo",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 1.2,
"output": 4,
"cacheRead": 0.24,
"cacheWrite": 0
},
"contextWindow": 203000,
"maxTokens": 32768,
"compat": {
"thinkingFormat": "zai",
"supportsDeveloperRole": false
}
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5 (Ark)",
"reasoning": false,
"input": ["text"],
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 256000,
"maxTokens": 4096
},
{
"id": "glm-4.7",
"name": "GLM 4.7 (Ark)",
"reasoning": false,
"input": ["text"],
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 4096
},
{
"id": "glm-5.1",
"name": "GLM-5.1",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 1,
"output": 3.2,
"cacheRead": 0.2,
"cacheWrite": 0
},
"contextWindow": 256000,
"maxTokens": 32768,
"compat": {
"thinkingFormat": "zai",
"supportsDeveloperRole": false
}
},
{
"id": "kimi-k2p5-turbo",
"name": "Kimi K2.5 Turbo (FirePass)",
"reasoning": false,
"input": ["text", "image"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 8192
},
{
"id": "gemini-3-flash-preview",
"name": "Gemini 3 Flash Preview",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1048576,
"maxTokens": 65535
},
{
"id": "deepseek-v3.2",
"name": "DeepSeek V3.2",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0.26,
"output": 0.38,
"cacheRead": 0.13,
"cacheWrite": 0
},
"contextWindow": 163840,
"maxTokens": 4096,
"compat": {
"thinkingFormat": "deepseek",
"supportsDeveloperRole": true
}
},
{
"id": "gemini-3.1-flash-lite",
"name": "Gemini 3.1 Flash Lite",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0.25,
"output": 1.5,
"cacheRead": 0.025,
"cacheWrite": 0.083
},
"contextWindow": 1048576,
"maxTokens": 65536
},
{
"id": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0.3,
"output": 2.5,
"cacheRead": 0.075,
"cacheWrite": 0
},
"contextWindow": 1048576,
"maxTokens": 65536
},
{
"id": "gemini-2.5-flash-lite",
"name": "Gemini 2.5 Flash Lite",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0.1,
"output": 0.4,
"cacheRead": 0.025,
"cacheWrite": 0
},
"contextWindow": 1048576,
"maxTokens": 65536
},
{
"id": "coder-model",
"name": "Coder Model",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0.12,
"output": 0.75,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1000000,
"maxTokens": 65536,
"compat": {
"thinkingFormat": "qwen",
"supportsDeveloperRole": false
}
},
{
"id": "gpt-5.3-codex",
"name": "GPT-5.3 Codex",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 1.75,
"output": 14,
"cacheRead": 0.175,
"cacheWrite": 0
},
"contextWindow": 272000,
"maxTokens": 128000
},
{
"id": "copilot-gpt5-mini",
"name": "GPT-5-mini (Copilot)",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 264000,
"maxTokens": 64000
},
{
"id": "copilot-raptor",
"name": "Raptor Mini (Copilot)",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 264000,
"maxTokens": 64000
}
]
}
}
}
{
"defaultProvider": "cpa",
"defaultModel": "glm-5-turbo",
"defaultThinkingLevel": "low",
"theme": "dark",
"compaction": {
"enabled": true,
"reserveTokens": 20000,
"keepRecentTokens": 20000
},
"retry": {
"enabled": true,
"maxRetries": 2,
"baseDelayMs": 2000
},
"enabledModels": [
"cpa/gpt-5.3-codex",
"cpa/glm-5-turbo",
"cpa/glm-5.1",
"cpa/gemini-2.5-flash",
"cpa/gemini-2.5-flash-lite",
"cpa-ant/claude-haiku-4.5",
"cpa/copilot-gpt5-mini",
"cpa/kimi-k2p5-turbo",
"cpa/kimi-k2.5",
"cpa/copilot-raptor"
],
"lastChangelogVersion": "0.68.0",
"hideThinkingBlock": false,
"packages": [
{
"source": "git:github.com/wayanjimmy/agent-stuff",
"extensions": [
"pi-extensions/web-search.ts",
"pi-extensions/whimsical.ts",
"pi-extensions/xurl.ts"
],
"skills": [
"sourcegraph",
"gemini-cli",
"qwen-cli"
]
},
"git:github.com/wayanjimmy/pi-bash-live-view",
"git:github.com/SamuelLHuber/pi-fff@v0.2.5"
],
"collapseChangelog": false,
"quietStartup": false,
"skills": [],
"doubleEscapeAction": "none",
"treeFilterMode": "default"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment