raereverse-api-engineer
Documentation

Model selection

Choose a model for Claude, OpenCode, Copilot, or Cursor.

Claude models

ModelWhen to pick it
Sonnet 4.6 (default)Balanced cost and quality. Right answer for most captures.
Opus 4.6Complex APIs (many endpoints, nested auth, polymorphic responses).
Haiku 4.5Cheapest and fastest. Good for simple endpoints or quick iterations.

Change the model

In the CLI:

/settings then "Claude Code Model"

Or pass a model to a direct command:

reverse-api-engineer agent --prompt "capture the jobs api" --model claude-sonnet-4-6

Or edit ~/.reverse-api/config.json directly:

{
  "claude_code_model": "claude-opus-4-6"
}

Config file reference

The full default config:

{
  "agent_provider": "auto",
  "agent_browser_notes": "",
  "agent_browser_npx_package": "agent-browser@0",
  "claude_code_model": "claude-sonnet-4-6",
  "collector_model": "claude-sonnet-4-6",
  "cursor_model": "composer-2.5",
  "cursor_web_search": true,
  "cursor_setting_sources": null,
  "copilot_model": "gpt-5",
  "opencode_model": "big-pickle",
  "opencode_provider": "opencode",
  "output_dir": null,
  "output_language": "python",
  "real_time_sync": true,
  "sdk": "claude"
}

OpenCode users

If you've configured the OpenCode SDK, choose OpenCode Provider / Model in /settings. RAE loads the connected providers and active tool-capable models from your OpenCode server, marks free OpenCode options, and saves the pair together. Advanced users can still edit the opencode_model and opencode_provider keys directly.

For Ollama, set opencode_provider to ollama. The /settings flow discovers installed models and only offers those that report tool calling plus the 64k context OpenCode requires. RAE does not pull models automatically.

Copilot and Cursor users

Copilot uses copilot_model (default gpt-5). Cursor uses cursor_model (default composer-2.5) plus cursor_web_search / cursor_setting_sources for controlling which Cursor settings layers are loaded.