> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatandbuild.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Models

> Choose the right AI model for your development tasks

## Available Models

ChatAndBuild supports multiple AI providers and models, each with unique strengths for different development tasks.

### Anthropic

<AccordionGroup>
  <Accordion title="Claude Sonnet 4.5 and 3.7" icon="brain">
    **Brainiac**: Sonnet maps your pages, defines logic, and scaffolds code - like a real dev team.

    * Excellent at following instructions
    * Our go-to model for full-stack planning and app architecture

    <Icon icon="head-side-brain" /> Use Case: "Build a portfolio app with a contact form and animations"

    \*\*Sonnet 4.5: \*\*

    * The smartest model in the Claude 4 family, optimized for everyday use
    * We recommend Claude Sonnet 4.5 as the default choice
    * Balances high intelligence with cost-effectiveness for production use

    **Sonnet 3.7:**

    * Predecessor to the Claude 4 serie
    * Strong coding capabilities but with less advanced reasoning than Claude 4 models
  </Accordion>
</AccordionGroup>

### OpenAI

<AccordionGroup>
  <Accordion title="GPT-5 and GPT-4o" icon="book-open-cover">
    **The Reasoning Powerhouse:** GPT-5 tackles complex problems with advanced reasoning and creativity

    * Good for explaining complex concepts
    * Ideal for analysis, writing, coding, and creative tasks

    <Icon icon="book-open-cover" /> Use Case: "Analyze this research paper and write a comprehensive summary with key insights"

    <Info>
      **GPT-5** **vs GPT-4o**: GPT-5 offers superior reasoning for complex problems, while 4o provides faster responses for standard tasks
    </Info>
  </Accordion>
</AccordionGroup>

### Deepseek Models

<AccordionGroup>
  <Accordion title="Deepseek" icon="whale">
    **The Backend Boss: Deepseek handles logic, routing, and data storage with ease.**

    * Strong multimodal capabilities
    * Excellent code generation
    * Good for explaining complex concepts

    <Icon icon="wrench" /> Use Case: "Connect this form to a Supabase database and store user entries."

    <Info>
      **Avaliable models: Deepseek-V3(Newest), Deepseek-Coder, Deepseek-Reasoner**
    </Info>
  </Accordion>
</AccordionGroup>

### Google

<AccordionGroup>
  <Accordion title="Gemini 2.5 Flash and Pro" icon="sparkles">
    **Speed  & Deep Thinker**: Flash delivers lightning-fast responses for everyday coding tasks, while Pro brings advanced reasoning for complex architectural challenges - Google's dynamic duo for different needs
  </Accordion>
</AccordionGroup>

## Configuration

### Using Your Own API Keys

You can configure your own API keys for better control and potentially lower costs:

1. Download .json API template Settings -> Data Management - > Downlaod Template
2. Paste your API keys:

<Tabs>
  <Tab title="OpenAI">
    * Go to [OpenAI API Keys](https://platform.openai.com/api-keys)
    * Create a new API key
  </Tab>

  <Tab title="Anthropic">
    * Visit [Anthropic Console](https://console.anthropic.com/)
    * Generate an API key
  </Tab>

  <Tab title="Google">
    * Go to [Google AI Studio](https://aistudio.google.com/)
    * Get your API key
  </Tab>
</Tabs>

3. Import back to ChatAndBuild by clicking "Import API keys"

### Switching Models Mid-Conversation

You can change models during a conversation:

1. Click the model selector in the chat interface
2. Choose a different model
3. The conversation context carries over
4. New responses use the selected model

<Warning>
  Some models may interpret previous context differently, so switching mid-conversation might affect response quality.
</Warning>

<Note>
  Model availability and pricing may vary. Check the [pricing page](/docs/billing/plans) for current rates and limits.
</Note>
