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

# Model Support

> Supported LLM providers — OpenAI, Anthropic, Gemini, Groq, DeepSeek, and more

# Universal Model Support

Model-agnostic through LiteLLM with the provider values supported by the
OmniCoreAgent runtime:

***

## Supported Providers

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
# OpenAI
model_config = {"provider": "openai", "model": "gpt-4o"}

# Anthropic
model_config = {"provider": "anthropic", "model": "claude-3-5-sonnet-20241022"}

# Google Gemini
model_config = {"provider": "gemini", "model": "gemini-2.0-flash-exp"}

# Groq (Ultra-fast)
model_config = {"provider": "groq", "model": "llama-3.1-8b-instant"}

# DeepSeek
model_config = {"provider": "deepseek", "model": "deepseek-chat"}

# Mistral AI
model_config = {"provider": "mistral", "model": "mistral-7b-instruct"}

# Azure OpenAI
model_config = {"provider": "azure", "model": "gpt-4o"}

# OpenRouter (200+ models)
model_config = {"provider": "openrouter", "model": "anthropic/claude-3.5-sonnet"}

# Ollama (Local)
model_config = {"provider": "ollama", "model": "llama3.1:8b", "ollama_host": "http://localhost:11434"}
```

***

## Model Configuration Options

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
model_config = {
    "provider": "openai",
    "model": "gpt-4o",
    "temperature": 0.7,
    "max_tokens": 2000,
    "top_p": 0.95
}
```

***

## Azure OpenAI Configuration

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
model_config = {
    "provider": "azure",
    "model": "gpt-4",
    "azure_endpoint": "https://your-resource.openai.azure.com",
    "azure_api_version": "2024-02-01"
}
```

***

## Ollama Configuration (Local Models)

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
model_config = {
    "provider": "ollama",
    "model": "llama3.1:8b",
    "ollama_host": "http://localhost:11434"
}
```

***

## Environment Variables

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Hosted providers use this single OmniCoreAgent key
export LLM_API_KEY=your_api_key
```

OmniCoreAgent reads `LLM_API_KEY`. Select the provider through
`model_config["provider"]`; do not set provider-specific API-key variables in
OmniCoreAgent configuration.

***

## Provider Selection Guide

| Use Case           | Recommended Provider                        |
| ------------------ | ------------------------------------------- |
| Complex reasoning  | OpenAI (`gpt-4o`), Anthropic (`claude-3.5`) |
| Fast inference     | Groq (`llama-3.1-8b-instant`)               |
| Cost-effective     | DeepSeek (`deepseek-chat`)                  |
| Privacy-sensitive  | Ollama (runs locally)                       |
| Multi-model access | OpenRouter (200+ models)                    |
| Enterprise / Azure | Azure OpenAI                                |

<Tip>
  Switch providers based on your needs — use cheaper models (Groq, DeepSeek) for simple tasks, powerful models (GPT-4o, Claude) for complex reasoning, and local models (Ollama) for privacy-sensitive applications.
</Tip>
