somora 2026.930.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +364 -0
- package/bin/node-version.d.mts +3 -0
- package/bin/node-version.mjs +45 -0
- package/bin/somora.mjs +77 -0
- package/config.example.yaml +896 -0
- package/docs/agents.md +677 -0
- package/docs/api.md +3194 -0
- package/docs/browser.md +317 -0
- package/docs/builder.md +331 -0
- package/docs/cache-strategy.md +373 -0
- package/docs/compaction.md +253 -0
- package/docs/display.md +154 -0
- package/docs/dream-phases.md +891 -0
- package/docs/files.md +387 -0
- package/docs/imagegen.md +366 -0
- package/docs/images/somora-hero.png +0 -0
- package/docs/images/somora-mobile-2026-05-23.png +0 -0
- package/docs/images/somora-tui-2026-05-23.png +0 -0
- package/docs/images/somora-web-2026-05-23.png +0 -0
- package/docs/index.md +178 -0
- package/docs/lsp.md +93 -0
- package/docs/mcp.md +332 -0
- package/docs/memory.md +407 -0
- package/docs/mobile.md +310 -0
- package/docs/models.md +379 -0
- package/docs/projects.md +425 -0
- package/docs/realtime-voice.md +293 -0
- package/docs/resources.md +230 -0
- package/docs/sampling.md +128 -0
- package/docs/security.md +189 -0
- package/docs/sentinel.md +295 -0
- package/docs/setup.md +1217 -0
- package/docs/skills.md +501 -0
- package/docs/team.md +189 -0
- package/docs/thinking.md +463 -0
- package/docs/tmux.md +399 -0
- package/docs/tools.md +117 -0
- package/docs/videogen.md +191 -0
- package/docs/voice.md +288 -0
- package/docs/web.md +893 -0
- package/docs/wiki.md +583 -0
- package/npm-shrinkwrap.json +5670 -0
- package/package.json +116 -0
- package/src/attachments/store.ts +196 -0
- package/src/browser/change-stream.ts +31 -0
- package/src/browser/display.ts +108 -0
- package/src/browser/policy.ts +121 -0
- package/src/browser/screencast.ts +374 -0
- package/src/browser/service.ts +1337 -0
- package/src/browser/session.ts +15 -0
- package/src/browser/snapshot.ts +40 -0
- package/src/cli/auth.ts +117 -0
- package/src/cli/codex.ts +41 -0
- package/src/cli/lsp.ts +71 -0
- package/src/cli/resolvers/clawhub.ts +400 -0
- package/src/cli/setup.ts +835 -0
- package/src/cli/skill.ts +619 -0
- package/src/cli/somora.ts +548 -0
- package/src/cli/systemd-unit.ts +72 -0
- package/src/cli/team.ts +148 -0
- package/src/cli/tui/activity-stream.ts +121 -0
- package/src/cli/tui/api.ts +479 -0
- package/src/cli/tui/app.tsx +1169 -0
- package/src/cli/tui/autocomplete.tsx +55 -0
- package/src/cli/tui/commands.ts +913 -0
- package/src/cli/tui/dream-glyphs.ts +22 -0
- package/src/cli/tui/footer.tsx +15 -0
- package/src/cli/tui/format.ts +28 -0
- package/src/cli/tui/header.tsx +279 -0
- package/src/cli/tui/index.tsx +120 -0
- package/src/cli/tui/markdown.tsx +63 -0
- package/src/cli/tui/sampling.ts +162 -0
- package/src/cli/tui/separator.tsx +13 -0
- package/src/cli/tui/state.ts +42 -0
- package/src/cli/tui/stream.ts +330 -0
- package/src/cli/tui/thinking-text.ts +54 -0
- package/src/cli/tui/turn-views.tsx +499 -0
- package/src/cli/tui/types.ts +410 -0
- package/src/cli/tui/work-queue.ts +161 -0
- package/src/cli/update-args.ts +55 -0
- package/src/cli/wiki.ts +406 -0
- package/src/compaction/index.ts +28 -0
- package/src/compaction/midturn.ts +210 -0
- package/src/compaction/policy.ts +154 -0
- package/src/compaction/summarize.ts +691 -0
- package/src/compaction/template.ts +90 -0
- package/src/compaction/types.ts +148 -0
- package/src/config/loader.ts +276 -0
- package/src/config/reload.ts +43 -0
- package/src/config/types.ts +2292 -0
- package/src/dream/deep-actions.ts +324 -0
- package/src/dream/deep-dispatcher.ts +237 -0
- package/src/dream/deep-llm.ts +388 -0
- package/src/dream/deep-prompts.ts +106 -0
- package/src/dream/deep-runner.ts +757 -0
- package/src/dream/deep-skip-cache.ts +199 -0
- package/src/dream/deep-worker.ts +229 -0
- package/src/dream/json-salvage.ts +34 -0
- package/src/dream/judge.ts +188 -0
- package/src/dream/loop-state.ts +286 -0
- package/src/dream/lucid-actions.ts +303 -0
- package/src/dream/lucid-batches.ts +94 -0
- package/src/dream/lucid-prompt.ts +82 -0
- package/src/dream/lucid-runner.ts +744 -0
- package/src/dream/lucid-storage.ts +277 -0
- package/src/dream/lucid-structure.ts +102 -0
- package/src/dream/lucid-types.ts +137 -0
- package/src/dream/lucid-worker.ts +224 -0
- package/src/dream/rem-dedup.ts +502 -0
- package/src/dream/rem-extract.ts +782 -0
- package/src/dream/rem-reset-run.ts +67 -0
- package/src/dream/rem-runner.ts +696 -0
- package/src/dream/rem-worker.ts +527 -0
- package/src/dream/review-window.ts +71 -0
- package/src/dream/scheduler-state.ts +129 -0
- package/src/dream/storage.ts +497 -0
- package/src/dream/types.ts +133 -0
- package/src/dream/wiki-context.ts +133 -0
- package/src/engine/a2a.ts +33 -0
- package/src/engine/availability.ts +63 -0
- package/src/engine/claude-cli.ts +969 -0
- package/src/engine/codex-app-server-client.ts +294 -0
- package/src/engine/codex-bin.ts +49 -0
- package/src/engine/codex-cli.ts +1014 -0
- package/src/engine/codex-dynamic-tools.ts +239 -0
- package/src/engine/codex-home.ts +63 -0
- package/src/engine/codex-thread-config.ts +74 -0
- package/src/engine/context-budget.ts +257 -0
- package/src/engine/engine-meta-labels.ts +211 -0
- package/src/engine/grok-cli.ts +941 -0
- package/src/engine/inline-think.ts +59 -0
- package/src/engine/model-availability.ts +105 -0
- package/src/engine/openai-compatible.ts +2464 -0
- package/src/engine/reasoning-retry.ts +83 -0
- package/src/engine/registry.ts +13 -0
- package/src/engine/replay.ts +195 -0
- package/src/engine/sampling.ts +90 -0
- package/src/engine/thinking-params.ts +264 -0
- package/src/engine/types.ts +269 -0
- package/src/engine/user-tag.ts +24 -0
- package/src/imagegen/aspect.ts +128 -0
- package/src/imagegen/generate.ts +642 -0
- package/src/imagegen/references.ts +75 -0
- package/src/imagegen/types.ts +154 -0
- package/src/lsp/client.ts +183 -0
- package/src/lsp/fake-server.helper.mjs +42 -0
- package/src/lsp/format.ts +29 -0
- package/src/lsp/index.ts +21 -0
- package/src/lsp/manager.ts +238 -0
- package/src/lsp/registry.ts +151 -0
- package/src/mcp/config.ts +117 -0
- package/src/mcp/hub/audit.ts +55 -0
- package/src/mcp/hub/bridge.ts +115 -0
- package/src/mcp/hub/catalog.ts +69 -0
- package/src/mcp/hub/credentials.ts +406 -0
- package/src/mcp/hub/env-expand.ts +14 -0
- package/src/mcp/hub/manager.ts +770 -0
- package/src/mcp/hub/normalize.ts +213 -0
- package/src/mcp/server.ts +368 -0
- package/src/mcp/tool-schema.ts +20 -0
- package/src/media/capabilities.ts +392 -0
- package/src/media/records.ts +175 -0
- package/src/media/store.ts +217 -0
- package/src/media/types.ts +69 -0
- package/src/memory/chunking.ts +168 -0
- package/src/memory/embeddings.ts +262 -0
- package/src/memory/index.ts +15 -0
- package/src/memory/inject.ts +197 -0
- package/src/memory/manager.ts +996 -0
- package/src/memory/registry.ts +176 -0
- package/src/memory/rescan.ts +101 -0
- package/src/memory/retrieval.ts +586 -0
- package/src/memory/shared-index.ts +372 -0
- package/src/memory/slug.ts +39 -0
- package/src/memory/storage.ts +385 -0
- package/src/memory/watcher.ts +134 -0
- package/src/multimodal/blocks.ts +101 -0
- package/src/multimodal/dimensions.ts +214 -0
- package/src/multimodal/load.ts +86 -0
- package/src/multimodal/mime.ts +135 -0
- package/src/multimodal/pdf-render.ts +80 -0
- package/src/multimodal/user-content.ts +266 -0
- package/src/persona/files.ts +144 -0
- package/src/persona/loader.ts +598 -0
- package/src/persona/skill-gating-store.ts +59 -0
- package/src/persona/tool-gating-store.ts +113 -0
- package/src/projects/focus.ts +186 -0
- package/src/projects/prompt-block.ts +106 -0
- package/src/projects/scheme.ts +107 -0
- package/src/projects/store.ts +144 -0
- package/src/projects/types.ts +73 -0
- package/src/sentinel/dispatcher.ts +97 -0
- package/src/sentinel/schedule.ts +271 -0
- package/src/sentinel/scheduler.ts +840 -0
- package/src/sentinel/store.ts +259 -0
- package/src/sentinel/types.ts +221 -0
- package/src/server/activity-stream.ts +160 -0
- package/src/server/ask-calls.ts +137 -0
- package/src/server/ask-wait-graph.ts +171 -0
- package/src/server/async-tasks.ts +199 -0
- package/src/server/builder-busy.ts +86 -0
- package/src/server/builder-prompt.ts +204 -0
- package/src/server/builder-questions.ts +117 -0
- package/src/server/builder-session.ts +249 -0
- package/src/server/chat-aborts.ts +83 -0
- package/src/server/claude-config-dir.ts +71 -0
- package/src/server/claude-credential-sync.ts +454 -0
- package/src/server/env-file.ts +100 -0
- package/src/server/env.ts +115 -0
- package/src/server/heal-session.ts +151 -0
- package/src/server/history-page.ts +46 -0
- package/src/server/index.ts +7244 -0
- package/src/server/lockfile.ts +89 -0
- package/src/server/logger.ts +67 -0
- package/src/server/logs.ts +187 -0
- package/src/server/loopback-fetch.ts +130 -0
- package/src/server/openai-client.ts +89 -0
- package/src/server/prompt-assembly.ts +334 -0
- package/src/server/restart-reconcile.ts +139 -0
- package/src/server/run-turn-fallback.ts +275 -0
- package/src/server/run-turn-types.ts +91 -0
- package/src/server/run-turn.ts +1474 -0
- package/src/server/sanitize-assistant-text.ts +112 -0
- package/src/server/session-export.ts +220 -0
- package/src/server/session-queue.ts +376 -0
- package/src/server/session-workdir.ts +49 -0
- package/src/server/sse-h2-safe.ts +61 -0
- package/src/server/sse-liveness.ts +162 -0
- package/src/server/sse-serializer.ts +161 -0
- package/src/server/start-turn.ts +249 -0
- package/src/server/steer-inbox.ts +107 -0
- package/src/server/tls-keeper.ts +153 -0
- package/src/server/tool-format.ts +167 -0
- package/src/server/turn-framing.ts +52 -0
- package/src/server/turn-origin-kind.ts +74 -0
- package/src/server/turn-origin.ts +40 -0
- package/src/server/work-ledger.ts +975 -0
- package/src/server/workspace.ts +114 -0
- package/src/setup/config-edit.ts +201 -0
- package/src/setup/presets.ts +71 -0
- package/src/setup/prompt.ts +163 -0
- package/src/setup/tailscale.ts +44 -0
- package/src/skills/bin-checks.ts +227 -0
- package/src/skills/bootstrap.ts +347 -0
- package/src/skills/env-scope.ts +175 -0
- package/src/skills/gating.ts +71 -0
- package/src/skills/lint.ts +202 -0
- package/src/skills/load.ts +368 -0
- package/src/skills/path-helpers.ts +102 -0
- package/src/skills/registry.ts +178 -0
- package/src/ssh/exec.ts +142 -0
- package/src/ssh/index.ts +12 -0
- package/src/ssh/known-hosts.ts +109 -0
- package/src/ssh/pool.ts +307 -0
- package/src/storage/sessions.ts +602 -0
- package/src/team/render.ts +149 -0
- package/src/team/resolve.ts +122 -0
- package/src/team/store.ts +124 -0
- package/src/team/types.ts +111 -0
- package/src/team/write.ts +95 -0
- package/src/testing/isolated-home.mts +46 -0
- package/src/tmux/attention-watcher.ts +272 -0
- package/src/tmux/attention.ts +336 -0
- package/src/tmux/list.ts +91 -0
- package/src/tmux/origin-store.ts +102 -0
- package/src/tmux/tui-markers.ts +267 -0
- package/src/tools/agents/ask-cancel.ts +94 -0
- package/src/tools/agents/ask-result.ts +235 -0
- package/src/tools/agents/ask.ts +704 -0
- package/src/tools/agents/builder-dispatch.ts +217 -0
- package/src/tools/agents/images.ts +104 -0
- package/src/tools/agents/index.ts +42 -0
- package/src/tools/agents/long-task-timeouts.ts +39 -0
- package/src/tools/agents/session-list.ts +136 -0
- package/src/tools/agents/session-model.ts +106 -0
- package/src/tools/agents/spawn.ts +845 -0
- package/src/tools/agents/status.ts +589 -0
- package/src/tools/browser/index.ts +6 -0
- package/src/tools/browser/ops.ts +145 -0
- package/src/tools/browser/tools.ts +184 -0
- package/src/tools/builder/short-descriptions.ts +80 -0
- package/src/tools/builder/tools.ts +222 -0
- package/src/tools/docs/index.ts +1 -0
- package/src/tools/docs/tools.ts +228 -0
- package/src/tools/dream/index.ts +11 -0
- package/src/tools/dream/tools.ts +1002 -0
- package/src/tools/exec/allowlist.ts +233 -0
- package/src/tools/exec/background-detach.helper.mts +27 -0
- package/src/tools/exec/blacklist.ts +336 -0
- package/src/tools/exec/concurrency.ts +150 -0
- package/src/tools/exec/fit-output.ts +82 -0
- package/src/tools/exec/index.ts +7 -0
- package/src/tools/exec/internal-env.ts +89 -0
- package/src/tools/exec/job-store.ts +403 -0
- package/src/tools/exec/local.ts +649 -0
- package/src/tools/exec/remote.ts +399 -0
- package/src/tools/exec/tools.ts +934 -0
- package/src/tools/file/analyze.ts +378 -0
- package/src/tools/file/index.ts +2 -0
- package/src/tools/file/local.ts +707 -0
- package/src/tools/file/lsp-hook.ts +72 -0
- package/src/tools/file/persona-guard.ts +61 -0
- package/src/tools/file/policy.ts +292 -0
- package/src/tools/file/read-format.ts +129 -0
- package/src/tools/file/remote.ts +680 -0
- package/src/tools/file/replace.ts +507 -0
- package/src/tools/file/search-window.ts +224 -0
- package/src/tools/file/tools.ts +658 -0
- package/src/tools/file/write-scope.ts +182 -0
- package/src/tools/gating.ts +106 -0
- package/src/tools/image/budget.ts +82 -0
- package/src/tools/image/index.ts +7 -0
- package/src/tools/image/tools.ts +601 -0
- package/src/tools/index.ts +99 -0
- package/src/tools/memory/index.ts +12 -0
- package/src/tools/memory/tools.ts +399 -0
- package/src/tools/projects/index.ts +1 -0
- package/src/tools/projects/tools.ts +643 -0
- package/src/tools/registry.ts +427 -0
- package/src/tools/resources/index.ts +8 -0
- package/src/tools/resources/tools.ts +176 -0
- package/src/tools/resources/visibility.ts +60 -0
- package/src/tools/sentinel/index.ts +1 -0
- package/src/tools/sentinel/tools.ts +592 -0
- package/src/tools/skill/index.ts +4 -0
- package/src/tools/skill/tools.ts +285 -0
- package/src/tools/time/index.ts +5 -0
- package/src/tools/time/tools.ts +123 -0
- package/src/tools/tmux/index.ts +1 -0
- package/src/tools/tmux/local.ts +277 -0
- package/src/tools/tmux/remote.ts +168 -0
- package/src/tools/tmux/tools.ts +1064 -0
- package/src/tools/tool-output.ts +97 -0
- package/src/tools/types.ts +227 -0
- package/src/tools/video/index.ts +1 -0
- package/src/tools/video/tools.ts +425 -0
- package/src/tools/web/fetch.ts +337 -0
- package/src/tools/web/index.ts +4 -0
- package/src/tools/web/tools.ts +186 -0
- package/src/tools/wiki/index.ts +1 -0
- package/src/tools/wiki/tools.ts +445 -0
- package/src/tts/cache-gc.ts +128 -0
- package/src/tts/prepare-for-tts.ts +114 -0
- package/src/tts/service.ts +332 -0
- package/src/types/events.ts +695 -0
- package/src/types/turn-origin.ts +53 -0
- package/src/version.ts +21 -0
- package/src/videogen/dialects.ts +222 -0
- package/src/videogen/generate.ts +484 -0
- package/src/videogen/jobs.ts +178 -0
- package/src/videogen/runner.ts +125 -0
- package/src/videogen/wake.ts +119 -0
- package/src/voice/realtime/call.ts +948 -0
- package/src/voice/realtime/consult.ts +293 -0
- package/src/voice/realtime/fake-provider.ts +134 -0
- package/src/voice/realtime/manager.ts +384 -0
- package/src/voice/realtime/openai-provider.ts +471 -0
- package/src/voice/realtime/persona.ts +227 -0
- package/src/voice/realtime/session-match.ts +116 -0
- package/src/voice/realtime/types.ts +182 -0
- package/src/wiki/conflict.ts +113 -0
- package/src/wiki/explorer.ts +578 -0
- package/src/wiki/index-builder.ts +172 -0
- package/src/wiki/language.ts +134 -0
- package/src/wiki/log-builder.ts +150 -0
- package/src/wiki/map.ts +258 -0
- package/src/wiki/migration/analyze.ts +304 -0
- package/src/wiki/migration/execute.ts +689 -0
- package/src/wiki/migration/refine.ts +402 -0
- package/src/wiki/migration/store.ts +100 -0
- package/src/wiki/move-page.ts +57 -0
- package/src/wiki/structure-file.ts +192 -0
- package/src/wiki/taxonomy.ts +140 -0
- package/src/wiki/templates.ts +163 -0
- package/src/wiki/types.ts +133 -0
- package/templates/skills/README.md +24 -0
- package/templates/skills/_templates/api-wrapper/SKILL.md +26 -0
- package/templates/skills/_templates/cli-wrapper/BOOTSTRAP.md +32 -0
- package/templates/skills/_templates/cli-wrapper/SKILL.md +24 -0
- package/templates/skills/_templates/default/SKILL.md +25 -0
- package/templates/skills/builder-handover/SKILL.md +96 -0
- package/templates/skills/builder-handover/assets/ORDER.md +12 -0
- package/templates/skills/skill-author/SKILL.md +110 -0
- package/tsconfig.json +22 -0
- package/web/dist/assets/index-BaVv6pB2.js +631 -0
- package/web/dist/assets/index-BaVv6pB2.js.map +1 -0
- package/web/dist/assets/index-V3FV3Z25.css +32 -0
- package/web/dist/favicon.svg +8 -0
- package/web/dist/index.html +20 -0
- package/web/package.json +36 -0
- package/web/tsconfig.json +25 -0
- package/web-mobile/dist/apple-touch-icon.png +0 -0
- package/web-mobile/dist/assets/index-BqKt7IMx.css +1 -0
- package/web-mobile/dist/assets/index-X_vRr6cd.js +88 -0
- package/web-mobile/dist/assets/index-X_vRr6cd.js.map +1 -0
- package/web-mobile/dist/favicon.svg +8 -0
- package/web-mobile/dist/icon-192.png +0 -0
- package/web-mobile/dist/icon-512.png +0 -0
- package/web-mobile/dist/index.html +27 -0
- package/web-mobile/dist/manifest.webmanifest +32 -0
- package/web-mobile/dist/service-worker.js +90 -0
- package/web-mobile/package.json +28 -0
- package/web-mobile/tsconfig.json +25 -0
package/docs/models.md
ADDED
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
# Models known to run with somora — per engine, with the settings that work
|
|
2
|
+
|
|
3
|
+
Configuring a model for somora is not "the model", it is "the model
|
|
4
|
+
behind this engine": the same GPT-5.6 has a different usable context
|
|
5
|
+
through Codex than through an API, Qwen wants `xhigh` where somora says
|
|
6
|
+
`high`, Kimi refuses sampling parameters, and a value copied from a
|
|
7
|
+
model card can quietly mis-size the compaction worker. This page
|
|
8
|
+
collects what has been verified against real somora installs — the
|
|
9
|
+
recommended `config.yaml` block per model, and *why* each value is what
|
|
10
|
+
it is. It is maintained by hand; the **verified** column says when a
|
|
11
|
+
row was last checked. Corrections and new rows are welcome as pull
|
|
12
|
+
requests.
|
|
13
|
+
|
|
14
|
+
Field semantics are explained once, at the end of the page, in
|
|
15
|
+
[What each field does, per engine](#what-each-field-does-per-engine).
|
|
16
|
+
Read [compaction.md](compaction.md) for the `contextWindow` story in
|
|
17
|
+
depth.
|
|
18
|
+
|
|
19
|
+
Aliases below are suggestions — pick your own.
|
|
20
|
+
|
|
21
|
+
**What "verified" means.** A dated row went through somora's engine
|
|
22
|
+
matrix on that day, on a live install: basic tools (`time_now`, `exec`,
|
|
23
|
+
`file_read`, `tmux`, `memory_search`, a deferred tool), tools on an SSH
|
|
24
|
+
resource (`exec`, `file_write` / `file_read` / `file_list`, `tmux` on
|
|
25
|
+
another host), `web_fetch`, `agent_ask` to another agent, `spawn_subagent`,
|
|
26
|
+
an image attachment (where the model has vision), `/thinking high`, an
|
|
27
|
+
abort mid-turn, and session memory across turns. Last full run:
|
|
28
|
+
2026-09-05 — claude-fable-5-1, gpt-5.6-terra, gpt-5.5, deepseek-v4-flash,
|
|
29
|
+
qwen3.8-flash-next, all green (DeepSeek: image attachment refused by
|
|
30
|
+
design, no vision).
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## claude-cli — Claude Code subscription
|
|
35
|
+
|
|
36
|
+
Runs through the Claude Agent SDK on your `claude login`. No API key,
|
|
37
|
+
no sampling knobs (the CLI does not expose them), reasoning via the
|
|
38
|
+
SDK's effort levels.
|
|
39
|
+
|
|
40
|
+
```yaml
|
|
41
|
+
providers:
|
|
42
|
+
anthropic:
|
|
43
|
+
engine: claude-cli
|
|
44
|
+
models:
|
|
45
|
+
- id: claude-fable-5-1
|
|
46
|
+
alias: fable
|
|
47
|
+
contextWindow: 1000000
|
|
48
|
+
capabilities: [text, image, pdf, reasoning]
|
|
49
|
+
- id: claude-opus-5
|
|
50
|
+
alias: opus
|
|
51
|
+
contextWindow: 1000000
|
|
52
|
+
capabilities: [text, image, pdf, reasoning]
|
|
53
|
+
- id: claude-sonnet-5
|
|
54
|
+
alias: sonnet
|
|
55
|
+
contextWindow: 1000000
|
|
56
|
+
capabilities: [text, image, pdf, reasoning]
|
|
57
|
+
- id: claude-haiku-4-5
|
|
58
|
+
alias: haiku
|
|
59
|
+
contextWindow: 200000
|
|
60
|
+
capabilities: [text, image, pdf, reasoning]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
| model | contextWindow | notes | verified |
|
|
64
|
+
|---|---|---|---|
|
|
65
|
+
| `claude-fable-5-1` | 1000000 | Frontier model, adaptive thinking always on. The SDK discloses **no thinking text** for it — somora shows a placeholder row that the model thought ([thinking.md](thinking.md#thinking-content--seeing-what-the-model-thought)). No separate reasoning-token count (rolled into `tokens_out`). | 2026-09-03 |
|
|
66
|
+
| `claude-opus-5` | 1000000 | Anthropic's recommendation for most workloads. Thinking text: placeholder, as above. | 2026-09-03 |
|
|
67
|
+
| `claude-sonnet-5` | 1000000 | Same surface as Opus, cheaper on the subscription budget. | 2026-09-03 |
|
|
68
|
+
| `claude-haiku-4-5` | 200000 | Does support extended thinking — keep `reasoning` in `capabilities`, it is missing from most example configs. | 2026-09-03 |
|
|
69
|
+
|
|
70
|
+
**Peculiarities of this engine**
|
|
71
|
+
|
|
72
|
+
- `contextWindow` is the model's real window here: Claude Code sessions
|
|
73
|
+
run against it and compact on their own. The value only feeds the
|
|
74
|
+
compaction-worker choice and the header percentage.
|
|
75
|
+
- Tools reach the model through `ToolSearch` (Claude Code 2.1.142+):
|
|
76
|
+
somora's tools are discovered on demand, so the first call in a
|
|
77
|
+
session is preceded by a `ToolSearch` row. Normal.
|
|
78
|
+
- `thinking` levels map to the SDK's `effort`; `off` disables thinking.
|
|
79
|
+
`reasoning.levels` is honoured but rarely needed — the vocabulary is
|
|
80
|
+
already `low | medium | high`.
|
|
81
|
+
- The claude.ai connectors (Gmail, Calendar, Drive) never exist inside
|
|
82
|
+
a somora session ([security.md](security.md)).
|
|
83
|
+
|
|
84
|
+
## codex-cli — ChatGPT subscription
|
|
85
|
+
|
|
86
|
+
Runs the **bundled** Codex (`@openai/codex`, exact version pinned in
|
|
87
|
+
somora's package.json) as an app-server per turn, on your `codex login`.
|
|
88
|
+
somora hands its tools to Codex as *dynamic tools* — no MCP child, no
|
|
89
|
+
deferred-namespace guessing — so every model Codex offers (gpt-5.5,
|
|
90
|
+
the GPT-5.6 family, GPT-6) reaches the same tool set the other engines
|
|
91
|
+
see. A global `codex` on the host is not used; `somora codex login`
|
|
92
|
+
signs in with the bundled one, and an existing `codex login` is picked
|
|
93
|
+
up automatically ([setup.md](setup.md#openai-via-codex-cli-subscription-no-api-key)).
|
|
94
|
+
|
|
95
|
+
```yaml
|
|
96
|
+
providers:
|
|
97
|
+
openai:
|
|
98
|
+
engine: codex-cli
|
|
99
|
+
models:
|
|
100
|
+
- id: gpt-6-astra
|
|
101
|
+
alias: astra
|
|
102
|
+
contextWindow: 258400 # what codex reports as modelContextWindow (measured 2026-09-11)
|
|
103
|
+
capabilities: [text, image, pdf, reasoning]
|
|
104
|
+
reasoning:
|
|
105
|
+
levels: { "off": low, high: xhigh } # Astra has no `minimal` — map `off` explicitly; `max` deliberately not a default
|
|
106
|
+
- id: gpt-5.6-sol
|
|
107
|
+
alias: gpt56
|
|
108
|
+
contextWindow: 258400 # the codex session window, NOT the 1.05M API window
|
|
109
|
+
capabilities: [text, image, pdf, reasoning]
|
|
110
|
+
reasoning:
|
|
111
|
+
levels: { high: xhigh } # optional: /thinking high → codex xhigh
|
|
112
|
+
- id: gpt-5.6-terra
|
|
113
|
+
alias: terra
|
|
114
|
+
contextWindow: 258400
|
|
115
|
+
capabilities: [text, image, pdf, reasoning]
|
|
116
|
+
- id: gpt-5.6-luna
|
|
117
|
+
alias: luna
|
|
118
|
+
contextWindow: 258400
|
|
119
|
+
capabilities: [text, image, pdf, reasoning]
|
|
120
|
+
- id: gpt-5.5
|
|
121
|
+
alias: gpt55
|
|
122
|
+
contextWindow: 258400
|
|
123
|
+
capabilities: [text, image, pdf, reasoning]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
| model | contextWindow | notes | verified |
|
|
127
|
+
|---|---|---|---|
|
|
128
|
+
| `gpt-6-astra` | 258400 | GPT-6 — hardest problems; code-mode-only like the 5.6 family. Every codex model here reports the same `modelContextWindow` of 258,400 (measured 2026-09-11 against codex 0.153.3; 272000 was a guess and read as an over-full context). Effort vocabulary is `low | medium | high | xhigh | max` — no `minimal`, so a persona without a thinking level (`off`) needs `reasoning: { levels: { "off": low } }`; without it codex-cli retries once with `low` after the 400. | 2026-09-05 (app-server engine) |
|
|
129
|
+
| `gpt-5.6-sol` | 258400 | Flagship — complex coding, research, deepest reasoning. | 2026-09-03 |
|
|
130
|
+
| `gpt-5.6-terra` | 258400 | Workhorse; OpenAI positions it as GPT-5.5-class at lower cost. | 2026-09-05 (app-server engine) |
|
|
131
|
+
| `gpt-5.6-luna` | 258400 | Fast and cheap — extraction, classification, volume. | 2026-09-03 |
|
|
132
|
+
| `gpt-5.5` | 258400 | Still listed by Codex; the one model here that does **not** run code-mode-only. Terra is the equivalent at lower cost. | 2026-09-05 (app-server engine) |
|
|
133
|
+
| `gpt-5.4-mini`, `gpt-5.3-codex` | — | **Retired** for ChatGPT accounts — Codex answers with an error, which surfaces as a failed turn or a crashed compaction worker. Remove them. | 2026-08-31 |
|
|
134
|
+
|
|
135
|
+
**Peculiarities of this engine**
|
|
136
|
+
|
|
137
|
+
- **Ask codex for the window instead of copying it from a model
|
|
138
|
+
card.** Codex runs a session against a window it delivers itself and
|
|
139
|
+
reports on every turn (`modelContextWindow`): **258,400** for every
|
|
140
|
+
model it offers, measured 2026-09-11 on codex 0.153.3, while the API
|
|
141
|
+
window is 1.05M. somora shows that reported number once the first
|
|
142
|
+
turn has run, so a wrong configured value only misleads until then —
|
|
143
|
+
but it also decides whether the model is picked as a compaction
|
|
144
|
+
summariser, so keep it right. 272000, the figure that circulated in
|
|
145
|
+
Codex issues and release notes, is 5 % too high and made a long
|
|
146
|
+
thread read as over-full.
|
|
147
|
+
- Codex compacts the thread itself; somora's `triggerRatio` does not
|
|
148
|
+
apply. `contextWindow` feeds worker choice and display only.
|
|
149
|
+
- Reasoning vocabulary is `minimal | low | medium | high | xhigh |
|
|
150
|
+
max` for the GPT-5.6 family. somora's `high` is sent as `high`
|
|
151
|
+
unless you map it (`levels: { high: xhigh }`). `max` is documented
|
|
152
|
+
by OpenAI for the hardest problems with cost and latency to match —
|
|
153
|
+
map it in a session when you need it, not as a default.
|
|
154
|
+
- **Tools are Codex dynamic tools** in the `somora` namespace
|
|
155
|
+
(`somora_direct` for image-bearing results, `somora_mcp_<server>` for
|
|
156
|
+
external MCP servers). The tools in `codexCli.directTools` sit in the
|
|
157
|
+
model's direct list every turn; the rest is deferred and reached via
|
|
158
|
+
Codex tool search — the developer instructions list their names.
|
|
159
|
+
- Thinking text: Codex emits reasoning *summaries* per thinking phase
|
|
160
|
+
(`summary: auto` on `turn/start`), streamed as the thinking block.
|
|
161
|
+
- **Code Mode.** Since Codex 0.153 the GPT-5.6 family and GPT-6 are
|
|
162
|
+
`code_mode_only`: the model writes a JavaScript cell that calls
|
|
163
|
+
`tools.somora.<tool>(...)` (deferred tools are found through
|
|
164
|
+
`ALL_TOOLS`), Codex's built-in host runs the cell, somora runs the
|
|
165
|
+
tools. That sandbox has no `require`, `process`, `fetch` or filesystem
|
|
166
|
+
(verified 2026-09-05). gpt-5.5 calls the same dynamic tools directly.
|
|
167
|
+
`somora codex debug models` shows the `tool_mode` per model.
|
|
168
|
+
|
|
169
|
+
## grok-cli — SuperGrok / Premium subscription
|
|
170
|
+
|
|
171
|
+
Driven over ACP. Community-maintained adapter, text attachments only,
|
|
172
|
+
no one-shot path (it cannot be a dream or compaction worker).
|
|
173
|
+
|
|
174
|
+
```yaml
|
|
175
|
+
providers:
|
|
176
|
+
xai:
|
|
177
|
+
engine: grok-cli
|
|
178
|
+
models:
|
|
179
|
+
- id: grok-4.5
|
|
180
|
+
alias: grok
|
|
181
|
+
contextWindow: 500000
|
|
182
|
+
capabilities: [text, reasoning]
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
| model | contextWindow | notes | verified |
|
|
186
|
+
|---|---|---|---|
|
|
187
|
+
| `grok-4.5` | 500000 | Effort levels pass through `--reasoning-effort`; `reasoning.levels` honoured. Thinking-text path unverified (no account on the maintainer's side). | 2026-08-25 |
|
|
188
|
+
|
|
189
|
+
## openai-compatible — self-hosted (vLLM, SGLang, oMLX, Ollama, LM Studio)
|
|
190
|
+
|
|
191
|
+
The engine somora owns end to end: its own agent loop, sampling
|
|
192
|
+
parameters, per-model reasoning vocabulary, compaction trigger. The
|
|
193
|
+
values below are the vendor-recommended defaults for each model family,
|
|
194
|
+
applied through somora's `sampling:` block ([sampling.md](sampling.md)).
|
|
195
|
+
|
|
196
|
+
```yaml
|
|
197
|
+
providers:
|
|
198
|
+
local:
|
|
199
|
+
engine: openai-compatible
|
|
200
|
+
baseUrl: http://<your-host>:8000/v1
|
|
201
|
+
apiKey: "<key or anything for a local server>"
|
|
202
|
+
# sendUserTag: true # default — `user: "<agent>/<session>"` on every request so a
|
|
203
|
+
# gateway can attribute spend per agent; false to withhold
|
|
204
|
+
models:
|
|
205
|
+
- id: deepseek-v4-flash # SGLang; behind LiteLLM use the route name (e.g. deepseek-v4-flash-0731)
|
|
206
|
+
alias: deep4flash
|
|
207
|
+
contextWindow: 700000 # = the server's --context-length, not the model's 1M
|
|
208
|
+
capabilities: [text, reasoning]
|
|
209
|
+
sampling: { temperature: 1.0, top_p: 0.95 }
|
|
210
|
+
reasoning:
|
|
211
|
+
levels: { medium: high, high: max }
|
|
212
|
+
- id: deepseek-v4.1-flash # SGLang TP=4 (community SM120 runtime), Engram NVMe offload
|
|
213
|
+
alias: deep41flash
|
|
214
|
+
contextWindow: 700000 # = --context-length
|
|
215
|
+
capabilities: [text, image, reasoning]
|
|
216
|
+
sampling: { temperature: 1.0, top_p: 0.95 }
|
|
217
|
+
maxTokens: 16384 # operational output budget INCLUDING reasoning, not the model's max
|
|
218
|
+
reasoning:
|
|
219
|
+
levels: { "off": none, low: low, medium: high, high: max }
|
|
220
|
+
- id: glm-5.3-flash # vLLM TP=4, native FP8; behind LiteLLM use the route name
|
|
221
|
+
alias: glm
|
|
222
|
+
contextWindow: 700000 # = --max-model-len (model-native 1M; 262k in the reference recipe)
|
|
223
|
+
capabilities: [text, image, reasoning]
|
|
224
|
+
sampling: { temperature: 1.0, top_p: 0.95 } # = the model's generation_config.json (vLLM applies it when nothing is sent)
|
|
225
|
+
maxTokens: 16384
|
|
226
|
+
reasoning:
|
|
227
|
+
levels: { "off": low, low: low, medium: high, high: max } # vocabulary is ONLY low/high/max; anything else = max
|
|
228
|
+
- id: deepseek-v4-flash-vision-exp # SGLang TP=2, same backbone as deepseek-v4-flash + ViT; experimental
|
|
229
|
+
alias: deep4vision
|
|
230
|
+
contextWindow: 700000 # = --context-length (KV pool 859k tokens at mem-fraction 0.90)
|
|
231
|
+
capabilities: [text, image, reasoning]
|
|
232
|
+
sampling: { temperature: 1.0, top_p: 0.95 } # as deepseek-v4-flash
|
|
233
|
+
reasoning:
|
|
234
|
+
levels: { medium: high, high: max } # as deepseek-v4-flash
|
|
235
|
+
- id: qwen3.8-flash-next # vLLM, FP8
|
|
236
|
+
alias: qwen38next
|
|
237
|
+
contextWindow: 524288 # = --max-model-len (YaRN)
|
|
238
|
+
capabilities: [text, image, reasoning]
|
|
239
|
+
sampling: { temperature: 0.6, top_p: 0.95, top_k: 20, min_p: 0 }
|
|
240
|
+
maxTokens: 16384
|
|
241
|
+
reasoning:
|
|
242
|
+
levels: { "off": low, high: xhigh }
|
|
243
|
+
- id: qwen3.5-397b-a17b-awq # vLLM, AWQ INT4
|
|
244
|
+
alias: qwen35big
|
|
245
|
+
contextWindow: 262144
|
|
246
|
+
capabilities: [text, image, reasoning]
|
|
247
|
+
sampling: { temperature: 0.6, top_p: 0.95, top_k: 20, min_p: 0 }
|
|
248
|
+
reasoning:
|
|
249
|
+
levels: { "off": low, high: xhigh }
|
|
250
|
+
- id: qwen3.8-27b-fp8 # vLLM, dense
|
|
251
|
+
alias: qwen38small
|
|
252
|
+
contextWindow: 262144
|
|
253
|
+
capabilities: [text, image, reasoning]
|
|
254
|
+
sampling: { temperature: 0.6, top_p: 0.95, top_k: 20, min_p: 0 }
|
|
255
|
+
reasoning:
|
|
256
|
+
levels: { "off": low, high: xhigh }
|
|
257
|
+
- id: gemma-4-31b-it-8bit # oMLX (Apple Silicon)
|
|
258
|
+
alias: gemma4big
|
|
259
|
+
contextWindow: 131072
|
|
260
|
+
capabilities: [text, image]
|
|
261
|
+
sampling: { temperature: 1.0, top_p: 0.95, top_k: 64 }
|
|
262
|
+
- id: gemma-4-26b-a4b-it-4bit # oMLX
|
|
263
|
+
alias: gemma4small
|
|
264
|
+
contextWindow: 131072
|
|
265
|
+
capabilities: [text, image]
|
|
266
|
+
sampling: { temperature: 1.0, top_p: 0.95, top_k: 64 }
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
| model family | server | contextWindow | sampling | reasoning | notes | verified |
|
|
270
|
+
|---|---|---|---|---|---|---|
|
|
271
|
+
| **DeepSeek V4 Flash** (284B MoE, 13B active) | SGLang, TP=4 | the server's `--context-length` (700000 on a two-GPU profile; 1M only with the whole box) | 1.0 / 0.95 (DeepSeek's agentic/coding recommendation) | vocabulary `low`, `high`, `max`; unknown values are ignored, not rejected → map `high: max`. `off`: omitting the parameter and sending `none` both give 0 reasoning tokens (measured 2026-09-05), so no `off` mapping is needed; `low` reasons via `reasoning_content` (84 tokens on a one-line prompt). On longer prompts without the parameter the reasoning can land inline in the text (`…</think>`); somora splits that into the thinking channel. | no vision; streams `reasoning_content`, full thinking text in the chat; tool calls parsed server-side | 2026-09-05 |
|
|
272
|
+
| **DeepSeek V4.1 Flash** | SGLang, TP=4 (community SM120 runtime, Engram NVMe offload) | `--context-length` 700000 | 1.0 / 0.95 (model card; `top_k` and penalties unset) | vocabulary `none`, `low`, `high`, `max` → map `off: none`, `medium: high`, `high: max`. Measured in four somora sessions: 0 / 55 / 48 / 92 reasoning tokens — the length is stochastic, it does not rise monotonically with the level | native vision (no `analyze_file` worker involved); three real tools in one session (time, file read, remote exec) over 2 rounds; `maxTokens: 16384` is an operational budget that INCLUDES reasoning | 2026-09-11 (somora: thinking levels, native image, tools, multi-turn; gateway: JSON/tools/streaming; synthetic 697k-token request answered correctly in 107 s) |
|
|
273
|
+
| **GLM-5.3-Flash** (321B MoE, 18B active, KDA + sparse-MLA hybrid) | vLLM, TP=4, native FP8, MTP-4, fp8 KV | `--max-model-len` 700000 (KV pool 1.16M tokens with `--kv-cache-memory` 7.5 GiB; needle found at 427k/555k/651k/695k) | 1.0 / 0.95 (`generation_config.json`; vLLM `--generation-config auto` applies it server-side when the request omits sampling) | vocabulary **`low`, `high`, `max` only**; **any other value — including `none` and `medium` — silently becomes `max`** (measured: `none` → 2169 reasoning chars, `low` → 0). Top-level `reasoning_effort` and `chat_template_kwargs.reasoning_effort` are equivalent. `max` makes the model write whole solutions inside `reasoning_content` and hit output caps (31.9k reasoning / 100 output tokens, `finish_reason: length` in an OpenCode run) → map `high: max` only for deliberate use, `medium: high`, `off: low` | native vision (1036 image tokens for 1024×768, correct description; declines to hallucinate unreadable text); tool calls via `glm47` parser, reasoning via `glm45`; ~95 tok/s prose, 200–210 tok/s code (MTP), prefill ~45k tok/s; prefix cache reuses >600k tokens (647k cached → 2 s); 4 GPUs = exclusive profile | 2026-09-06 (backend probes: PONG, tool calls, vision, long-context needles; somora engine matrix pending) |
|
|
274
|
+
| **DeepSeek-V4-Flash-Vision-Exp** (284B MoE, 13B active + 0.5B ViT) | SGLang, TP=2 (preview image sgl-project/sglang#37253 + sm_120 patches) | `--context-length` 700000 (pool 859k at mem-fraction 0.90; 0.85 gives only 203k) | 1.0 / 0.95 | same vocabulary and behaviour as DeepSeek V4 Flash (`low`/`high`/`max`, unknown ignored) | vision verified on synthetic + photo (208–356 image tokens); text/agent quality ≈ Flash-0731 (tool call `deepseekv4` parser verified), 81 tok/s single-stream TP=2; on sm_120 image spans use causal windows (local patch) — small-text OCR is shaky, screenshots/charts fine; experimental per DeepSeek | 2026-09-06 (backend probes; somora engine matrix pending) |
|
|
275
|
+
| **Qwen3.8-Flash-Next** FP8 (176B / 6B active) | vLLM, TP=4 | `--max-model-len`, 524288 with YaRN 2.0 | 0.6 / 0.95 / 20 / min_p 0 (Qwen thinking-mode defaults) | knows no `high` → **400** unless mapped; `none low medium xhigh` accepted; **unset = model default = thinks** (61 reasoning tokens on a one-line prompt, `low` 55, `xhigh` 60, `none` 0, measured 2026-09-05) → map `off: none`, `high: xhigh` | vision verified; `maxTokens: 16384` because reasoning otherwise eats short answers; parsers `qwen3` + `qwen3_xml` | 2026-09-05 |
|
|
276
|
+
| **Qwen3.5-397B-A17B** AWQ INT4 | vLLM, TP=4 | 262144 (`max_model_len`) | same as above | as above, but `none` **unverified** on this backend — keep `off: low` until probed | vision verified; hermes tool parser | 2026-09-03 |
|
|
277
|
+
| **Qwen3.8-27B** FP8, dense | vLLM, 1 GPU | 262144 | same as above | as above, `none` **unverified** — keep `off: low` until probed | vision; `qwen3_coder` tool parser verified | 2026-09-03 |
|
|
278
|
+
| **Gemma 4** 31B / 26B-A4B | oMLX | 131072 | 1.0 / 0.95 / 64 (Gemma team recommendation) | none — no `reasoning` capability | vision; prefill memory guard answers 400 on long prompts → somora's reactive compaction handles it | 2026-09-03 |
|
|
279
|
+
|
|
280
|
+
**Peculiarities of this engine**
|
|
281
|
+
|
|
282
|
+
- `contextWindow` **is** the compaction wall here (`triggerRatio`,
|
|
283
|
+
default 0.8). Use the *server's* limit, not the model card's: a 1M
|
|
284
|
+
value against a 700k backend meant `400 ContextWindowExceededError`
|
|
285
|
+
before somora ever compacted.
|
|
286
|
+
- **A router in front changes the rules.** LiteLLM drops
|
|
287
|
+
`reasoning_effort` unless the model's `allowed_openai_params`
|
|
288
|
+
includes it — every level then answers 200 with identical reasoning
|
|
289
|
+
volume and somora's retry-on-400 never fires. Fix it in the router,
|
|
290
|
+
then verify with `/thinking high` vs `/thinking low` and the 🧠
|
|
291
|
+
count ([thinking.md](thinking.md)).
|
|
292
|
+
- **A self-hosted build can be a community runtime.** The DeepSeek V4.1
|
|
293
|
+
row above was measured on a community SM120 image with NVMe offload,
|
|
294
|
+
not on stock SGLang. The configuration is what was tested there;
|
|
295
|
+
treat the numbers as that setup's behaviour, not as a property of
|
|
296
|
+
the model everywhere.
|
|
297
|
+
- **Reasoning vocabularies differ per family and unknown values are
|
|
298
|
+
not always ignored.** GLM-5.x treats anything but `low`/`high`/`max`
|
|
299
|
+
as `max` — the `none` that somora sends Qwen for `off` is full
|
|
300
|
+
reasoning there. Always map `off` explicitly to the family's lowest
|
|
301
|
+
level and probe with a one-line prompt (reasoning chars must be 0).
|
|
302
|
+
- **vLLM applies the model's `generation_config.json`** when a request
|
|
303
|
+
sends no sampling params (`--generation-config auto`, the default) —
|
|
304
|
+
the `sampling:` block in somora is then a *documented* value, not the
|
|
305
|
+
only place the default lives. SGLang does not do this.
|
|
306
|
+
- Backends that stream reasoning but report no `reasoning_tokens` get
|
|
307
|
+
an **estimated** 🧠 count with a tilde.
|
|
308
|
+
- `analyze_file` (vision worker) uses this engine only — a CLI-engine
|
|
309
|
+
model cannot be a vision worker. Dream and compaction workers may also
|
|
310
|
+
run on `claude-cli` and `codex-cli`; only `grok-cli` has no one-shot
|
|
311
|
+
path.
|
|
312
|
+
|
|
313
|
+
## openai-compatible — hosted via OpenRouter
|
|
314
|
+
|
|
315
|
+
Same engine, `wire`-specific details: reasoning goes as a nested
|
|
316
|
+
`reasoning: { effort }` object (`reasoning.param: reasoning`), PDFs can
|
|
317
|
+
go native (`pdfMode: native`), image references travel as data URLs.
|
|
318
|
+
|
|
319
|
+
```yaml
|
|
320
|
+
providers:
|
|
321
|
+
openrouter:
|
|
322
|
+
engine: openai-compatible
|
|
323
|
+
baseUrl: https://openrouter.ai/api/v1
|
|
324
|
+
apiKey: "<your key>"
|
|
325
|
+
pdfMode: native
|
|
326
|
+
models:
|
|
327
|
+
- id: anthropic/claude-haiku-4.5
|
|
328
|
+
alias: orhaiku
|
|
329
|
+
contextWindow: 200000
|
|
330
|
+
capabilities: [text, image, pdf]
|
|
331
|
+
- id: minimax/minimax-m3
|
|
332
|
+
alias: minimax3
|
|
333
|
+
contextWindow: 1048576
|
|
334
|
+
capabilities: [text, image, reasoning]
|
|
335
|
+
sampling: { temperature: 1.0, top_p: 0.95, top_k: 40 }
|
|
336
|
+
reasoning: { param: reasoning }
|
|
337
|
+
- id: moonshotai/kimi-k3
|
|
338
|
+
alias: kimi3
|
|
339
|
+
contextWindow: 1048576
|
|
340
|
+
capabilities: [text, image, reasoning]
|
|
341
|
+
reasoning: { param: reasoning }
|
|
342
|
+
- id: deepseek/deepseek-v4-pro-0813
|
|
343
|
+
alias: deep4pro
|
|
344
|
+
contextWindow: 1048576
|
|
345
|
+
capabilities: [text, reasoning]
|
|
346
|
+
sampling: { temperature: 1.0, top_p: 0.95 }
|
|
347
|
+
reasoning: { param: reasoning }
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
| model | contextWindow | sampling | notes | verified |
|
|
351
|
+
|---|---|---|---|---|
|
|
352
|
+
| `anthropic/claude-haiku-4.5` | 200000 | — | Useful as the **last, always-reachable vision worker** in a `vision.worker` chain — the subscription Haiku cannot be one (CLI engines are not vision workers). Costs API money. | 2026-09-03 |
|
|
353
|
+
| `minimax/minimax-m3` | 1048576 | 1.0 / 0.95 / 40 (model card) | image and video input; vocabulary `low/medium/high` = somora's default, no `levels` needed | 2026-09-03 |
|
|
354
|
+
| `moonshotai/kimi-k3` | 1048576 | **none — on purpose.** Moonshot fixes temperature 1.0 / top_p 0.95 server-side and documents "leave the parameters out". | vocabulary `low/medium/high` | 2026-09-03 |
|
|
355
|
+
| `deepseek/deepseek-v4-pro-0813` | 1048576 | 1.0 / 0.95 | no vision; the hosted big sibling of a local V4 Flash — a good fallback when the local box is off | 2026-09-03 |
|
|
356
|
+
|
|
357
|
+
**Watch the fallback.** When a hosted key expires, somora's model fallback
|
|
358
|
+
chain answers the turn with the next configured model and the chat header
|
|
359
|
+
shows that model — the `engine.fail` line in the server log (`401 API key
|
|
360
|
+
expired`) is the only loud signal. Check the header, not just the reply.
|
|
361
|
+
|
|
362
|
+
## What each field does, per engine
|
|
363
|
+
|
|
364
|
+
| field | openai-compatible | claude-cli | codex-cli | grok-cli |
|
|
365
|
+
|---|---|---|---|---|
|
|
366
|
+
| `contextWindow` | compaction trigger (`triggerRatio ×`), worker choice, display — use the **server's** limit | worker choice, display — native window is right | worker choice, display — use the **Codex session window** (258,400, what codex reports as `modelContextWindow`), not the API window | worker choice, display |
|
|
367
|
+
| `capabilities` | gates attachments (`image`, `pdf`) and whether `thinking` is sent (`reasoning`) | same | same | same |
|
|
368
|
+
| `reasoning.levels` | somora level → wire value (Qwen `xhigh`, DeepSeek `max`) | honoured (rarely needed) | honoured — `xhigh`/`max` for GPT-5.6 | honoured |
|
|
369
|
+
| `reasoning.param` | `reasoning_effort` (default), nested `reasoning` for OpenRouter, or `chat_template_kwargs` | — | — | — |
|
|
370
|
+
| `sampling` | sent on every call, dropped once if the backend rejects a key | ignored (not exposed by the CLI) | ignored | ignored |
|
|
371
|
+
| `maxTokens` | output cap on every call incl. dream workers | — | — | — |
|
|
372
|
+
| `fallback` | availability chain on unreachable / 5xx | same | same | same |
|
|
373
|
+
| `sendUserTag` (provider) | `user: "<agent>/<session>"` on every request, `<agent>/rem`, `<agent>/deep`, `lucid/<pass>`, `<agent>/compaction`, `<agent>/analyze_file` for workers — a gateway groups cost per agent and session (LiteLLM stores it in the `end_user` column of its spend logs, not `user`); default on, `false` to withhold | — | — | — |
|
|
374
|
+
|
|
375
|
+
**Minimum versions**: Node.js ≥ 22.13 (every `somora` command refuses
|
|
376
|
+
an older Node), a current Claude Code. Codex needs no separate install
|
|
377
|
+
— somora bundles the exact version pinned in its `package.json`. A CLI
|
|
378
|
+
engine's tools and lock-down are re-audited after every CLI update
|
|
379
|
+
([security.md](security.md)).
|