Models and providers
A provider is where Mewrk sends model requests: an API service you add with a key, your ChatGPT account, or the Claude Code login on your computer. You add providers and their models in Settings, and pick the model and reasoning effort under the composer.
Add a provider
Providers live in Settings → Providers → Model providers. Open it with the Settings button at the bottom of the sidebar, or ⌘, (Ctrl, on Windows).
A fresh install has two built-in providers: Claude Agent, enabled and in use, and OpenAI Codex, off until you sign in with ChatGPT. Claude Agent starts with no models: find Claude Code and sign in, then Fetch models and add the ones you want.
To add your own:
- Click Add provider under the provider list.
- Type a Provider name, choose its Chat protocol, and click Add.
- Paste the key into API Key. It is saved when the field loses focus; emptying the field deletes the stored key.
- Check API address; the line under it shows where chat requests go. The address of AWS Bedrock and Google Vertex AI is derived from identity fields, and Azure OpenAI's depends on your resource, so for these three click the gear beside it for the identity fields. Requests are refused until those marked
*are filled: Mewrk names the missing one before the request goes out, instead of waiting for an ambiguous error (such as a 404) from the upstream. - Add models.
Keys go to the system's credential store, never into conversations (where). On macOS, choose Always Allow when asked about Mewrk Safe Storage.
Chat protocols
Pick the API format the service documents, not its brand.
| Chat protocol | Default address | Notes |
|---|---|---|
| OpenAI Responses | https://api.openai.com/v1 |
|
| OpenAI Chat Completions | https://api.openai.com/v1 |
The default choice. |
| Anthropic Messages | https://api.anthropic.com/v1 |
Also for Anthropic-style endpoints. |
| Google Gemini | https://generativelanguage.googleapis.com/v1beta |
|
| xAI | https://api.x.ai/v1 |
|
| Azure OpenAI | none: enter your resource's address | The model ID is the deployment name. How to write the address follows the table. Optional api-version. |
| AWS Bedrock | none: leave blank, Mewrk derives it from the region | Bedrock API key. Needs AWS region. |
| Google Vertex AI | none: leave blank, Mewrk derives it from the project and location | Vertex API key (express mode). Needs GCP project and GCP location. |
| OpenAI Compatible | none | Other OpenAI-style servers, such as relays and local model servers. |
For Azure OpenAI, enter the resource address up to /openai, such as https://<resource>.openai.azure.com/openai, and do not end it with /v1: for an *.openai.azure.com address, Mewrk adds /v1/responses and the api-version itself. An address on any other domain, such as your own gateway, is used as written, with only /responses added and no api-version. Left blank, api-version uses the default; pinning a version you have not verified is worse than leaving it blank.
DeepSeek, for example, works as OpenAI Chat Completions or OpenAI Responses at https://api.deepseek.com, or as Anthropic Messages at https://api.deepseek.com/anthropic/v1.
The API address must use https://. Addresses on your own network (localhost, names ending in .localhost or .local, loopback and private IPs) may use http:// and need no key, as for Ollama or LM Studio. Any other address needs a key, as do Bedrock and Vertex.
Manage providers
- The switch in the provider's header turns it off; its models then leave the model menu.
- The list order is the order of the model menu. Drag a row, or press ⌥↑ / ⌥↓ (Alt↑ / Alt↓ on Windows). Reordering is off while the list is searched or filtered to enabled or disabled providers.
- Deleting a provider also deletes its stored key. The two built-ins cannot be deleted.
- The gear next to the name opens Provider settings, where you rename the provider, change its API format, or edit its identity fields.
Sign in with ChatGPT
OpenAI Codex runs Codex models on your ChatGPT subscription's allowance instead of an API key.
- Select OpenAI Codex and click Sign in with ChatGPT.
- Authorize on the page that opens in your system browser. The provider is then enabled.
- Click Fetch models and add the models you want. Signing in adds none.
The sign-in token stays on this computer (where). Once signed in, settings show the account's email and subscription plan. Sign out disables the provider and deletes the sign-in.
OpenAI Codex's chat address belongs to the ChatGPT backend and normally needs no change. Local test stub address in Provider settings (the gear beside the name) is for test stubs only: blank uses the ChatGPT backend, and only an address on your own network is accepted (see the end of Chat protocols), because the ChatGPT sign-in is only meaningful at OpenAI and is never handed to another remote address.
Use your Claude Code login
Claude Agent runs the claude command installed on this computer, and Mewrk downloads nothing. It looks on PATH, in the common install locations and in the copy inside the Claude desktop app; MEWRK_CLAUDE_BIN names one explicitly. It uses that Claude Code's login, from a claude.ai subscription or a Console account.
- Under Claude Code, check that Mewrk found it. If it didn't, install Claude Code and click Re-check. Versions older than 2.1.284 are refused.
- If the panel does not say Signed in to Claude Code, click Open a terminal to sign in, follow the terminal's prompts, then return to Mewrk and click Re-check. Once signed in, the provider is enabled.
- Click Fetch models and add the models you want (Add models); Claude Agent has none until you do.
Copy command copies a command that runs the same sign-in in any terminal.
Claude Code does the sign-in itself and keeps it on this computer. Mewrk never reads, copies or forwards any credential in it; it only asks Claude Code for the sign-in status, to show Signed in to Claude Code and the account details (privacy).
Mewrk turns off Claude Code's own tools, CLAUDE.md, settings files, hooks, plugins, MCP servers, compaction and background tasks, and ignores ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL and CLAUDE_CODE_OAUTH_TOKEN. The one exception is a Native web search or fetch: for that one isolated request, Mewrk switches on Claude Code's own WebSearch or WebFetch, which run on the same login, and a fetch may open only the pages the request names. A Context window above 200,000 gives Claude Code its 1M-token budget.
For a claude.ai login, Fetch models lists the models Anthropic's model selector offers the account (Claude Code asks for them as you fetch, and Mewrk waits up to six seconds for a stale list to refresh); with an API key, or offline, you get the list built into the installed Claude Code.
No version is pinned, so a new Claude Code release can change how this provider behaves.
Add models
The model menu offers exactly the models in a provider's Models list. There is no per-model switch; remove models you do not want.
Fetch models opens Discover models, the provider's catalog: click a row to add or remove that model, or use Add group and Add all results. With a blank address, AWS Bedrock and Google Vertex AI have no catalog to fetch, so Fetch models is not offered. Models already in your list keep the values they have; to pick up a changed limit, edit the model, or remove it and add it again.
To add a model by hand, click + (Add a model manually), type the Model ID exactly as the provider expects it, and click Save.
The minus button on a model or group header removes it at once, without confirmation.
Model properties
The gear on a model opens Model properties. Changes apply when you click Save.
| Property | Default | What it changes |
|---|---|---|
| Model ID | required | The model value sent to the provider, and the name in the model menu. |
| Display name | the ID | The name in the settings list. |
| Group | from the ID | The collapsible group in the settings list. |
| Context window | blank | What the context meter measures against. Auto-compact, both the handoff and native compaction, needs it. |
| Maximum output | blank | Output-token limit per request. When blank, Anthropic Messages and AWS Bedrock send 32,000; other protocols leave it to the provider. |
| Cache lifetime (minutes) | 30 | How long after a request the prompt cache counts as warm; meanwhile Mewrk asks before a setting change discards it. |
| Vision | from the catalog; off when added by hand | Lets images reach the model. When off, a conversation with images cannot be sent on this model. |
| Mid-conversation tools | on for known models | Lets tool discovery, auto-compact, plan mode and newly enabled tools join a running conversation. The tools reach the model through the protocol's own append interface instead of rewriting the tool list at the head of the prompt, so the prompt cache survives. Works on Anthropic Messages, OpenAI Responses, Azure OpenAI, OpenAI Codex and Claude Agent. Otherwise tools are fixed at the first request: no auto-compact or Tool discovery, and Plan only if it was on from the start. |
| Mid-conversation system prompts | on for known models | Instructions that start partway through, such as plan mode's guidance, are appended as a system message at the point they apply from, leaving the system prompt at the head alone, so the prompt cache survives; otherwise they arrive as a message from Mewrk. No effect on Gemini, Bedrock, Vertex or Claude Agent. |
| Asynchronous tool calls | on for known models (GPT-6 Astra and later on OpenAI's API, every GPT-6 model on OpenAI Codex) | agent_spawn and workflow are declared asynchronous: the model keeps working while the task runs, and the task's result arrives as that call's output rather than as a message from Mewrk. OpenAI Responses, Azure OpenAI and OpenAI Codex only. |
| Native compaction | on for known models (GPT-5 and later on OpenAI's API, every model on OpenAI Codex) | Offers native compaction as the auto-compact method, and new conversations pick it: past its threshold the provider compacts the context into one item and the work carries on in a new conversation that starts from it. Without it, auto-compact has only the handoff. OpenAI Responses, Azure OpenAI and OpenAI Codex only. |
| Prompt caching | on | Anthropic Messages only. Mewrk places cache breakpoints the way Claude Code does: one on the stable system-prompt prefix, one on the system prompt's per-step tail, and one on the last message that can take a marker. Claude only caches what the client marks, so turning this off means no caching at all. On other protocols this has no effect, and Mewrk sends no cache markers. |
| Reasoning field form | Encrypted on OpenAI Responses, OpenAI Codex and Azure OpenAI; Plaintext elsewhere | Matters only on those three, where Mewrk always asks for encrypted reasoning so thinking replays across tool calls; this setting decides how thinking is shown. Choose Plaintext for endpoints that stream readable reasoning text, such as DeepSeek or many relays, to see it as thinking. |
For a relay or a model Mewrk does not know, set the two Mid-conversation switches, Asynchronous tool calls and Native compaction by what the endpoint accepts.
Choose a model
The model button under the composer lists the models of every enabled provider.
Note The model you pick applies to the whole app, not only this conversation: the next request of every conversation uses it.
Reasoning effort, beside it, belongs to the conversation: low, medium, high, extra or max, default medium. Your pick also becomes the starting level for new conversations. A model that does not take the chosen level gets the highest one it takes below it, or else its lowest; on Claude Agent, Claude Code uses high instead.
Agent roles can set their own model and Reasoning effort. A role whose model is not in an enabled provider's list cannot be called.