Skip to content

Instantly share code, notes, and snippets.

@transitive-bullshit
Created February 17, 2026 20:46
Show Gist options
  • Select an option

  • Save transitive-bullshit/e73c40b8ff6eaedc94f791864a0ee04e to your computer and use it in GitHub Desktop.

Select an option

Save transitive-bullshit/e73c40b8ff6eaedc94f791864a0ee04e to your computer and use it in GitHub Desktop.
current openclaw model preference setup
{
// ...
"auth": {
"profiles": {
"anthropic:default": {
"provider": "anthropic",
"mode": "token"
},
"openai-codex:default": {
"provider": "openai-codex",
"mode": "oauth"
},
"openai:default": {
"provider": "openai",
"mode": "api_key"
},
"openrouter:default": {
"provider": "openrouter",
"mode": "api_key"
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "opus",
"fallbacks": [
"gpt",
"gpt-codex",
"gpt-codex-spark",
"sonnet",
"auto",
"gpt-api"
]
},
"imageModel": {
"primary": "gemini-pro",
"fallbacks": ["gemini-flash"]
},
"models": {
"anthropic/claude-opus-4-6": {
"alias": "opus"
},
"anthropic/claude-sonnet-4-5": {
"alias": "sonnet"
},
"openrouter/openrouter/auto": {
"alias": "auto"
},
"openrouter/google/gemini-3-pro-preview": {
"alias": "gemini-pro"
},
"openrouter/google/gemini-3-flash-preview": {
"alias": "gemini-flash"
},
"openai-codex/gpt-5.2": {
"alias": "gpt"
},
"openai-codex/gpt-5.3-codex": {
"alias": "gpt-codex"
},
"openai-codex/gpt-5.3-codex-spark": {
"alias": "gpt-codex-spark"
},
"openai/gpt-5.2": {
"alias": "gpt-api"
}
},
"workspace": "/Users/tfischer/.openclaw/workspace",
"contextPruning": {
"mode": "cache-ttl",
"ttl": "1h"
},
"compaction": {
"mode": "safeguard"
},
"heartbeat": {
"every": "1h",
"model": "auto",
"target": "last"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment