-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrossmodel.config.example.json
More file actions
21 lines (16 loc) · 1.4 KB
/
Copy pathcrossmodel.config.example.json
File metadata and controls
21 lines (16 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"_comment": "Copy to crossmodel.config.json (next to bench/providers.mjs) to register your own model aliases. Merged over the built-ins, so reusing a key replaces it. Easiest path: run /crossmodel-setup instead of writing this by hand.",
"models": {
"_comment_models": "Aliases are what you type in --model and in routing.json. Keep them short — you will type them constantly.",
"fast": { "provider": "codex", "model": "gpt-5.6-luna" },
"smart": { "provider": "codex", "model": "gpt-5.6-sol" },
"local": { "provider": "ollama", "model": "qwen2.5-coder" },
"gem": { "provider": "gemini", "model": "gemini-2.5-pro" }
},
"_comment_providers": "Adding a NEW provider needs an args() builder, which JSON cannot express — it belongs in bench/providers.mjs as a pull request. Built in: codex, opencode, gemini, ollama, claude.",
"_comment_opencode": "opencode is provider-neutral: it reaches OpenRouter, Ollama, OpenAI, Google and anything OpenAI-compatible through one adapter, so the model string is 'provider/model' as opencode spells it. Run 'opencode models' to see what your install offers. It supports --write under the permission policy in ~/.claude/crossmodel/permissions.json.",
"_example_opencode": {
"free": { "provider": "opencode", "model": "opencode/deepseek-v4-flash-free" },
"router": { "provider": "opencode", "model": "openrouter/deepseek/deepseek-v3" }
}
}