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 Sonnet 4.5 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:

  • GPT-5
  • Claude Sonnet 4.5, 4.0, 3.7
  • Claude Opus 4, 4.1
  • Gemini 2.5 Pro
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

Return to the original default (Claude Sonnet 4):

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