EzhuthaaniEzhuthaaniDocs

Search documentation

Find a guide or reference page.

DocsAI

Providers and Models

Configure AI providers, models, API keys, and custom OpenAI-compatible endpoints.

On this page5 sections

Ezhuthaani can use hosted providers, local models, and custom OpenAI-compatible endpoints.

Where Providers Are Used

Provider settings are split by feature:

  • Ezhuthaani Agent uses the provider and model selected in the main AI section
  • Autocomplete uses the provider and model selected in the Autocomplete section
  • External Agents use their own CLI authentication outside Ezhuthaani

This lets you use one model for chat and another model for inline completions.

Built-in Providers

OpenAI

  1. Get an API key from OpenAI
  2. Go to Settings > AI > API Keys
  3. Click Set API Key next to OpenAI
  4. Paste your key and save

Anthropic

  1. Get an API key from Anthropic
  2. Go to Settings > AI > API Keys
  3. Click Set API Key next to Anthropic
  4. Paste your key and save

OpenRouter

  1. Get an API key from OpenRouter
  2. Go to Settings > AI > API Keys
  3. Click Set API Key next to OpenRouter
  4. Paste your key and save

Gemini

  1. Get an API key from Google AI Studio
  2. Go to Settings > AI > API Keys
  3. Click Set API Key next to Gemini
  4. Paste your key and save

xAI Grok

  1. Get an API key from xAI Console
  2. Go to Settings > AI > API Keys
  3. Click Set API Key next to xAI Grok
  4. Paste your key and save

Custom OpenAI-compatible Providers

Use Custom when a provider exposes an OpenAI-compatible chat completions API.

For Ezhuthaani Agent:

  1. Go to Settings > AI
  2. Select Custom as the provider
  3. Enter the model ID exactly as your provider expects it
  4. Enter the provider base URL
  5. Save an API key if the endpoint requires a bearer token

For autocomplete:

  1. Go to Settings > AI > Autocomplete
  2. Select Custom as the autocomplete provider
  3. Enter the model ID, base URL, and optional API key

The base URL can point to either the API root or the chat completions endpoint. For example, https://api.example.com/v1 and https://api.example.com/v1/chat/completions are both valid.

Custom provider models are not discovered automatically. Ezhuthaani sends the model ID you enter directly to the endpoint.

Autocomplete Model Lists

When autocomplete uses OpenRouter, Ezhuthaani loads the model list from the live Ezhuthaani/OpenRouter model endpoint. If the list cannot be loaded, Ezhuthaani leaves the selector empty and lets you retry.

Ezhuthaani does not show hardcoded fallback models as selectable models.

Model Parameters

  • Temperature: lower values are more deterministic, higher values are more creative
  • Max Tokens: limits response length