Skip to content

Models

SQLsaber supports many LLM models across different providers.

This guide covers model selection, configuration, and recommendations for the best SQL query generation.

SQLsaber uses Claude Opus 4.6 by default, which provides excellent SQL generation capabilities with good speed and accuracy.

While SQLsaber supports a lot of models, we recommend the following for best results:

  • Claude Opus 4.5, 4.6, Sonnet 4.6
  • Gemini 3 Pro, 3.1 Pro
  • Codex-5.2, 5.3
Terminal window
saber models list

Change the default model:

Terminal window
saber models set

This interactive command lets you:

  1. Choose from configured providers
  2. Select a specific model
  3. Set it as your default
  4. Configure thinking

You can override the model used by subagents like handoff and viz without changing the main model:

Terminal window
saber models set --agent handoff
saber models set --agent viz

If no override is set, the subagent uses the main model.

Return to the original default (Claude Opus 4.6):

Terminal window
saber models reset

Check your current model and available options:

Terminal window
saber models current
saber models --help

After configuring your models:

  1. Learn different ways to query your data
  2. Set up memory for better context
  3. Manage conversation threads
  4. Explore the command reference