Documentation Navigation
configure

LLM Models & Custom Parameters

You can specify the LLM models used by Codey. Use the models list command to view all available models:

bash
codey models

#Configuration overrides

Specify your primary model, secondary small model (used for fast, low-cost tasks like title generation), and custom options:

json
{
  "model": "anthropic/claude-sonnet-4-5",
  "small_model": "anthropic/claude-haiku-4-5",
  "provider": {
    "anthropic": {
      "options": {
        "timeout": 60000
      }
    }
  }
}

#Adaptive Reasoning Settings

For models that support extended thinking, you can configure reasoning efforts and token caps:

json
{
  "agent": {
    "deep-thinker": {
      "model": "openai/o1",
      "reasoningEffort": "high",
      "maxSteps": 10
    }
  }
}