Skip to main content
OpenFang supports 27 LLM providers spanning cloud APIs, self-hosted solutions, and specialized coding assistants. Each provider is configured via environment variables for API keys and optional TOML settings for custom endpoints.

Provider List

OpenFang supports these providers out of the box:

Anthropic

Claude Opus/Sonnet/Haiku

OpenAI

GPT-4o, GPT-4, o1, o3

Google

Gemini 2.0 Flash/Pro

Groq

Ultra-fast inference

DeepSeek

Coding specialists

xAI

Grok models

OpenRouter

Multi-provider routing

Mistral

European open models

Together AI

Open source models

Fireworks

Fast open models

Cohere

Command R+

Perplexity

Search-augmented LLMs

AI21 Labs

Jamba models

Cerebras

Fastest inference

SambaNova

Enterprise inference

Hugging Face

70k+ models

Replicate

Cloud model hosting

Ollama

Local models

vLLM

Self-hosted inference

LM Studio

Desktop inference

Qwen

Alibaba models

MiniMax

Chinese frontier

Zhipu AI

GLM models

Moonshot

Kimi long context

Qianfan

Baidu ERNIE

Bedrock

AWS hosted models

GitHub Copilot

Copilot API

Quick Setup

1. Anthropic (Claude)

Available Models: claude-opus-4-20250514, claude-sonnet-4-20250514, claude-haiku-4.5-20251001, claude-opus-4.6, claude-sonnet-4.6 API Key: Get from console.anthropic.com

2. OpenAI

Available Models: gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-4, o1, o1-mini, o3-mini, gpt-3.5-turbo API Key: Get from platform.openai.com

3. Google Gemini

Available Models: gemini-2.0-flash-exp, gemini-2.0-flash-thinking-exp, gemini-1.5-pro, gemini-1.5-flash, gemini-exp-1206 API Key: Get from aistudio.google.com

4. Groq

Available Models: llama-3.3-70b-versatile, llama-3.1-70b-versatile, llama-3.2-90b-vision-preview, mixtral-8x7b-32768 API Key: Get from console.groq.com Free Tier: 30 requests/minute, 7,000 requests/day

5. DeepSeek

Available Models: deepseek-chat, deepseek-reasoner, deepseek-coder API Key: Get from platform.deepseek.com

6. Ollama (Local)

No API Key Required: Ollama runs locally on your machine. Available Models: Any model from ollama.com/library - llama3.2, mistral, codellama, qwen2.5, etc.

7. OpenRouter

API Key: Get from openrouter.ai/keys Benefits: Access 100+ models through a single API, automatic failover, cost optimization

8. xAI (Grok)

Available Models: grok-beta, grok-vision-beta API Key: Get from console.x.ai

Chinese Providers

Qwen (Alibaba)

Models: qwen-max, qwen-plus, qwen-turbo, qwen3-235b-a22b, qwen-vl-plus, qwen-coder-plus

Zhipu AI (GLM)

Models: glm-4-plus, glm-4-flash, glm-5-20250605, glm-4v-plus, codegeex-4

MiniMax

Models: MiniMax-M2.5, MiniMax-M2.1, minimax-text-01, abab6.5-chat Context: Up to 1M tokens

Moonshot (Kimi)

Models: moonshot-v1-128k, moonshot-v1-32k, moonshot-v1-8k

Baidu Qianfan (ERNIE)

Models: ernie-4.5-8k, ernie-4.0-turbo-8k, ernie-speed-128k

Self-Hosted & Local

vLLM

No API Key Required for local deployment.

LM Studio

  1. Download LM Studio
  2. Load a model (e.g., Llama 3.3 70B)
  3. Start local server (default port 1234)
  4. Configure OpenFang to use it

Enterprise & Cloud

AWS Bedrock

Available Models: bedrock/anthropic.claude-opus-4-6, bedrock/anthropic.claude-sonnet-4-6, bedrock/amazon.nova-pro-v1:0, bedrock/meta.llama3-3-70b-instruct-v1:0

GitHub Copilot

Requires: Active GitHub Copilot subscription

Additional Providers

Mistral AI

Models: mistral-large, mistral-medium, mistral-small, codestral

Together AI

Models: Open source models like Llama, Mixtral, Qwen via fast inference

Fireworks AI

Models: Ultra-fast inference for Llama, Mixtral, DeepSeek

Cohere

Models: command-r-plus, command-r, command

Perplexity

Models: sonar, sonar-pro - search-augmented responses

AI21 Labs

Models: jamba-1.5-large, jamba-1.5-mini

Cerebras

Models: World’s fastest inference (2,000+ tokens/sec)

SambaNova

Models: Enterprise-grade inference platform

Hugging Face

Models: 70,000+ models via Inference API

Replicate

Models: Cloud-hosted open source models

Custom Provider URLs

Override any provider’s base URL:

Provider Status Check

Check which providers are configured:

Multi-Provider Strategy

Troubleshooting

Authentication Errors

Rate Limits

Configure fallback providers to handle rate limits:

Model Not Found

Next Steps

Model Configuration

Configure model routing and fallbacks

Channel Setup

Connect messaging platforms