Skip to content

Models

Pick the model SQLsaber uses for queries.

SQLsaber uses openai:gpt-5.6-sol when no model is configured. saber models reset writes that same identifier.

The provider prefix selects the authentication route:

These models produce strong SQL in practice:

  • anthropic:claude-opus-5
  • openai:gpt-5.6-sol
  • openai-codex:gpt-5.6-sol
  • google:gemini-2.5-pro
  • xai:grok-4.6

The picker also ranks a default for Groq, Mistral, and Cohere when those providers are configured. See saber models list.

Terminal window
saber models list
Terminal window
saber models set

This command lets you:

  1. Choose a configured provider
  2. Select a model
  3. Save it as the default
  4. Configure thinking

For scripts and coding agents, set the model and thinking level without fetching the list:

Terminal window
saber models set openai:gpt-5 --thinking-level medium
saber models set openai-codex:gpt-5.6-sol

Set a model for handoff, viz, or notebook without changing the main model:

Terminal window
saber plugins set handoff model openai:gpt-5
saber plugins set viz model openai:gpt-5
saber plugins set notebook model openai:gpt-5
saber plugins show handoff model
saber plugins unset handoff model

If no plugin model is set, the plugin uses the session model. Changes apply to new CLI sessions. Legacy models --agent commands are no longer supported, and old subagent overrides are ignored. Set those models again through saber plugins.

Terminal window
saber models reset
saber models reset --yes

This writes openai:gpt-5.6-sol again.

Terminal window
saber models current
saber models --help
  1. Run a query
  2. Resume a conversation
  3. Command reference