Supported Providers
OpenAI
GPT-4o, GPT-4o-mini, and more
Anthropic
Claude 3.5 Sonnet, Haiku, and Opus
Google Gemini
Gemini 2.0 Flash, Pro, and more
Mistral AI
Mistral Large, Medium, and Small
Ollama
Local models including Llama, Qwen, and more
HuggingFace
Open source models via HuggingFace
Cohere
Command R+, Command R, and more
Custom
Use the
BaseLLM
class to implement your own providerMore Coming Soon
NOMOS is continuously expanding support for new LLM providers
OpenAI
Anthropic
Google Gemini
Mistral AI
Ollama (Local Models)
HuggingFace
Cohere
YAML Configuration
You can specify LLM configuration in your YAML config file:- OpenAI
- Anthropic
- Mistral
- Google Gemini
- Ollama
- HuggingFace
- Cohere
Advanced Configuration
Custom Parameters
You can pass additional parameters to LLM providers:YAML Advanced Configuration
Multiple LLMs
Multiple LLMs can be defined to use different models for specific purposes. For example, you might configure one model optimized for coding tasks and another for general conversation. This flexibility allows you to tailor the behavior of your application to different use cases, improving efficiency and user experience.Troubleshooting
API Key Not Found
API Key Not Found
Ensure environment variables are set correctly in your shell profile or
.env.local
fileModel Not Available
Model Not Available
Check that the model name is correct and available in your region
Rate Limits
Rate Limits
Implement retry logic or use different models with higher rate limits
Local Models (Ollama)
Local Models (Ollama)
Ensure Ollama is running (
ollama serve
) and the model is pulled (ollama pull model-name
)Error Handling
NOMOS includes built-in error handling and retry mechanisms:Performance Tips
Choose the Right Model
Use smaller models for simple tasks to reduce latency and costs
Configure Temperature
Lower values (0.1-0.3) for consistent responses
Set Max Tokens
Limit response length to control costs and latency
Use Local Models
Ollama for development or when data privacy is important
Model Documentation
For the most up-to-date list of available models, refer to the official documentation:Anthropic Claude Models
Official Claude models documentation
OpenAI Models
Complete OpenAI models reference
Google Gemini Models
Vertex AI Generative AI models
Mistral Models
Mistral AI models overview
Ollama Model Library
Browse available local models
HuggingFace Models
Explore HuggingFace model hub
Cohere Models
Cohere models documentation