Models
How the agent gets a model, the credentials Sinatra supports, and the models you can pick.
The agent's intelligence comes from the LLM behind it. Sinatra is the orchestration layer; you choose which model runs and how it is paid for.
Choosing model access
Every account, including existing and paid accounts, requires its own model credentials. An owner or admin can add an Anthropic or OpenRouter API key shared with authorized workspace members. Each member can connect a personal subscription in Settings → Models for the tasks they trigger. Your provider's charges and usage limits apply separately from your Sinatra plan; Sinatra never bills for model usage. Token and cost diagnostics are estimates, not amounts owed to Sinatra, including when your provider subscription covers usage.
You can connect more than one credential. Automatic defaults depend on the triggering member's connections and the workspace's shared keys. An owner can set a shared engine/model default in Settings → Models. Explicit repository settings and personal repository preferences take priority.
Credentials
| Credential | How you connect it | Reaches |
|---|---|---|
| Anthropic | Owner/admin pastes a workspace API key | Claude models |
| OpenRouter | Owner/admin pastes a workspace API key | The openrouter/* entries below |
| ChatGPT / Codex | Each member connects their subscription in setup or Settings | The member's tasks using supported OpenAI models |
| Claude subscription | Each member connects in setup or Settings | The member's tasks using Claude models |
| SuperGrok | Each member connects their subscription in setup or Settings | The member's tasks using xai-oauth/* models on oh-my-pi |
| Cursor | Each member connects their subscription in setup or Settings | The member's tasks using cursor/* models on oh-my-pi |
Connecting ChatGPT uses OpenAI's device-code sign-in: you copy a code, enter it on OpenAI and approve. OpenAI asks for a paid ChatGPT plan (Plus, Pro, Business, Enterprise or Edu) with Device code authorization for Codex turned on in ChatGPT Settings → Security; on a Business, Enterprise or Edu workspace an admin turns it on. You can close the window after approving: Sinatra keeps checking for the 15 minutes the code lasts, unless Sinatra restarts meanwhile, in which case connect again.
There is no direct OpenAI API-key field in Sinatra. The openai-codex/* entries below require a personal ChatGPT / Codex connection. An OpenRouter key should be paired with one of the listed openrouter/* models; it does not supply a personal Codex, SuperGrok or Cursor connection.
On Cursor's X Subscription plans, third-party models in Cursor (Claude, GPT) are billed at API prices through top-ups, while Grok models use the plan's included usage.
Personal subscriptions belong to one member in one workspace. Connecting yours does not provide subscription access to teammates. A personal subscription takes precedence over a shared API key when it can serve the selected model.
Pasted keys are encrypted per workspace with envelope encryption, and the encryption is bound to the workspace, so a key stored in one workspace cannot be decrypted in another.
Before each OMP launch, Sinatra replaces stored Claude and SuperGrok subscription credentials with the credential selected for that agent. A warm OMP process restarts when that subscription credential changes, while retaining the requested conversation session.
Engines
An engine is the agent harness that runs inside the sandbox. The engine decides how model names are written.
claude-codeuses short Anthropic names likeopus-5-5.oh-my-pi(default) uses provider-qualified slugs for Anthropic, OpenRouter, Codex, SuperGrok and Cursor models. Codex models useopenai-codex/*.
A model must belong to the engine you picked. Settings → Models offers only compatible pairs. Sinatra cannot resume an engine's conversation history in a different engine, so an engine change starts a fresh agent conversation while the workstream record remains.
OpenCode is no longer supported. Choose a supported engine and model under Settings → Models. For Codex models, use the openai-codex/ prefix instead of openai/. Changing engines starts a fresh agent conversation; existing OpenCode session history cannot be resumed.
Repository-level model choice is retired
Repositories no longer choose the engine, model or reasoning effort. Sinatra rejects a repository's .sinatrarc.json if it contains engine, agent.model or agent.effort, regardless of the value. Remove those keys and choose Settings → Models → Your default instead; owners can also set the workspace default. The repository's Agent tab no longer offers an engine, model or effort control. Sinatra copied each member's most recently saved per-repository model to their default if they had none. Other repository settings are unchanged.
Supported models
claude-code engine (Claude models)
| Model | Effort levels |
|---|---|
sonnet-5-5 | low, medium, high, xhigh, max |
opus-5-5 | low, medium, high, xhigh, max |
fable-5-1 | low, medium, high, xhigh, max |
haiku | none |
sonnet (Sonnet 4.6) | low, medium, high, max |
opus (Opus 4.7) | low, medium, high, xhigh, max |
opus-4-8 | low, medium, high, xhigh, max |
opus-5 | low, medium, high, xhigh, max |
fable-5 | low, medium, high, xhigh, max |
oh-my-pi engine (full slugs)
The default snapshot uses OMP 18.10.4. Existing sandboxes and custom snapshots also need a runtime that supports the selected model; changing model preferences does not upgrade their CLI. In-flight workflow chains retain their original worker build, so use a newly started chain for a newly added model.
| Model | Credential | Effort levels |
|---|---|---|
anthropic/claude-sonnet-5-5 | Anthropic | low, medium, high, xhigh, max |
anthropic/claude-opus-5-5 | Anthropic | low, medium, high, xhigh, max |
anthropic/claude-fable-5-1 | Anthropic | low, medium, high, xhigh, max |
anthropic/claude-haiku-4-5 | Anthropic | low, medium, high, xhigh |
anthropic/claude-sonnet-4-6 | Anthropic | low, medium, high |
anthropic/claude-opus-4-7 | Anthropic | low, medium, high, xhigh |
anthropic/claude-opus-4-8 | Anthropic | low, medium, high, xhigh |
anthropic/claude-opus-5 | Anthropic | low, medium, high, xhigh, max |
anthropic/claude-fable-5 | Anthropic | low, medium, high, xhigh, max |
openrouter/anthropic/claude-sonnet-5.5 | OpenRouter | low, medium, high, xhigh, max |
openrouter/anthropic/claude-opus-5.5 | OpenRouter | low, medium, high, xhigh, max |
openrouter/anthropic/claude-fable-5.1 | OpenRouter | low, medium, high, xhigh, max |
openrouter/anthropic/claude-opus-4.8 | OpenRouter | low, medium, high |
openrouter/anthropic/claude-opus-5 | OpenRouter | low, medium, high, xhigh, max |
openrouter/anthropic/claude-fable-5 | OpenRouter | low, medium, high, xhigh, max |
openai-codex/gpt-6.1-sol | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-6-luna | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-6-astra | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-6-sol | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-5.6-sol | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-5.6-terra | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-5.6-luna | Codex | low, medium, high, xhigh, max |
openai-codex/gpt-5.5 | Codex | low, medium, high, xhigh |
openai-codex/gpt-5.4 | Codex | low, medium, high, xhigh |
openai-codex/gpt-5.4-mini | Codex | low, medium, high, xhigh |
xai-oauth/grok-4.7 | SuperGrok | low, medium, high, xhigh |
xai-oauth/grok-4.6 | SuperGrok | low, medium, high, xhigh |
xai-oauth/grok-4.5 | SuperGrok | low, medium, high, xhigh |
cursor/grok-4.7 | Cursor | low, medium, high, xhigh |
cursor/cursor-grok-4.6 | Cursor | low, medium, high, xhigh |
cursor/composer-2.5 | Cursor | none |
cursor/claude-opus-5-5 | Cursor | low, medium, high, xhigh, max |
cursor/gpt-5.6-sol | Cursor | low, medium, high, xhigh, max |
ChatGPT plans don't all include the same Codex models: lower plans often lack the newest one. Pick a model your plan lists.
The credential column names the model's connection. A personal Claude subscription can also serve Anthropic models. These tables describe the combinations Sinatra accepts, not every model sold by each provider.
Default model
Your default
In Settings → Models → Your default model, any member can save an engine, a compatible model and, optionally, a reasoning effort for the work they ask Sinatra to do in that workspace, including replies on someone else's task. It applies in every repository and takes priority over the workspace default. Clear removes it. The same page shows what your tasks run on now and why, and warns when that model needs a credential you haven't connected.
Workspace default
In Settings → Models → Workspace default, an owner can save an engine, a compatible model and, optionally, a reasoning effort for the whole workspace. Only an owner can change it, so only an owner sees it. Reset to automatic removes the shared preference.
From highest to lowest priority: your default, the workspace default, then automatic selection. A repository's .sinatrarc and a repository's Agent tab don't take part.
A default's effort travels with its engine/model pairing. Sinatra uses your personal default's effort when that pairing is chosen, otherwise the workspace default's effort when its pairing is chosen. A chosen default saved without an effort runs at medium, even when a lower-priority default chose another level for its own model. Stored per-repository effort overrides are ignored. The effort dropdown lists only the levels the chosen model supports and is disabled for models with none.
To see how this works out for one repository, open it and choose the Agent tab. Next task here shows the engine, model and effort your next task there runs on, and which setting chose each.
Changes apply to agents started afterwards, including on tasks that have not selected a repository. An agent already running keeps its selected pairing, including its checkout verification. Saving a preference does not provide credentials or change billing eligibility. Each triggering member must still have access to the selected model.
A task started from the CLI, MCP or API can name its own model. It takes priority over every preference above, for every agent on that task, and the model picks its engine. Sinatra accepts the models settings offer.
Automatic selection
If neither your default nor a workspace default is saved, Sinatra selects a model from your available credentials, in this order:
- A personal Claude subscription uses
anthropic/claude-opus-5-5onoh-my-piatmediumeffort. - A personal Codex subscription uses the newest Sol model your ChatGPT account offers (for example
openai-codex/gpt-6-sol), onoh-my-piatmediumeffort, ahead of raw API keys. If your account offers no Sol model, Sinatra uses the first model in the account's list instead, and runs a Luna model such asopenai-codex/gpt-6-lunaathigheffort. Sinatra checks the account's model list with Codex once a day, and again whenever Codex turns a model down, and usesopenai-codex/gpt-6.1-soluntil it has a list. - A single Anthropic key uses
anthropic/claude-opus-5-5onoh-my-piatmediumeffort. - A single OpenRouter key uses
openrouter/anthropic/claude-opus-5.5onoh-my-piatmediumeffort. - With several keys connected, Sinatra picks the alphabetically first connected provider that has a usable default.
- A personal SuperGrok subscription, when you have none of the above, uses
xai-oauth/grok-4.7onoh-my-piatmediumeffort. - A personal Cursor connection, when you have none of the above, uses
cursor/grok-4.7onoh-my-piatmediumeffort.
Without usable own credentials, tasks are blocked with own_credentials_required. Connect a personal subscription or ask an owner/admin to add a workspace API key. A paid Sinatra plan does not provide model access.
Choosing a model does not create its required credential. A missing credential for the selected model blocks the run.
SuperGrok and Cursor come last: with a Claude or ChatGPT subscription or an API key also available, Sinatra picks that instead, and SuperGrok ranks above Cursor. To run on one of them anyway, save an oh-my-pi xai-oauth/* or cursor/* model as your default.
Effort
Reasoning effort controls how hard the model thinks. Choose it alongside the engine and model in Settings → Models → Your default, or, as an owner, in the workspace default. It cannot be set in a repository's .sinatrarc.json or Agent tab. A chosen default without an effort uses medium; without either default, automatic selection keeps its credential-based model and effort choices. Not every model supports every level, and models with no effort levels (such as haiku) ignore effort. The exact range per model is in the tables above.