forked from zaber-dev/free-ai-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
84 lines (62 loc) · 2.77 KB
/
Copy path.env.example
File metadata and controls
84 lines (62 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# =================================================================
# Free-AI Gateway - Environment Variables Configuration
# =================================================================
# Server & Network Configuration (apps/gateway)
PORT=3000
HOST=0.0.0.0
LOG_LEVEL=info
# =================================================================
# Core Routing & Resilience Configuration (optional overrides)
# =================================================================
# Number of consecutive failures before opening circuit breaker (Default: 3)
CIRCUIT_BREAKER_FAILURE_THRESHOLD=3
# Cooldown period in milliseconds before testing half-open state (Default: 60000)
CIRCUIT_BREAKER_COOLDOWN_MS=60000
# =================================================================
# Provider API Keys
# Populate the keys for the providers you wish to enable.
# =================================================================
# --- 1. LLM, Vision & Multimodal Providers ---
# Google AI Studio (Gemini 2.5, 3.x, Gemma 4) - https://aistudio.google.com/
GOOGLE_API_KEY=
# Groq (Ultra-fast Llama 3.3, GPT-OSS, Compound) - https://console.groq.com/
GROQ_API_KEY=
# SambaNova Cloud (DeepSeek V3, Llama 3.3 70B) - https://cloud.sambanova.ai/
SAMBANOVA_API_KEY=
# NVIDIA NIM (Nemotron 3/3.5, Llama 3.3, GLM) - https://build.nvidia.com/
NVIDIA_API_KEY=
# Cohere (Command A/R, Embed 4, Rerank 3.5) - https://cohere.com/
COHERE_API_KEY=
# OpenRouter (Free tier aggregate models) - https://openrouter.ai/
OPENROUTER_API_KEY=
# OpenCode Zen (Code-specialized models) - https://opencode.zen/
OPENCODE_API_KEY=
# Bazaarlink.ai (DeepSeek V4, Qwen 3.7 Flash) - https://bazaarlink.ai/
BAZAARLINK_API_KEY=
# aimlapi.com (Gemma 3 27B, Mistral) - https://aimlapi.com/
AIMLAPI_API_KEY=
# OVHcloud AI Endpoints - https://www.ovhcloud.com/en/public-cloud/ai-endpoints/
OVHCLOUD_API_KEY=
# --- 2. Embedding, Reranking & Vector AI ---
# Voyage AI (State-of-the-art Embeddings) - https://www.voyageai.com/
VOYAGE_API_KEY=
# Jina AI (Embeddings & Cross-Encoder Reranking) - https://jina.ai/
JINA_API_KEY=
# --- 3. Web Search & Retrieval APIs ---
# Exa AI (Neural Web Search) - https://exa.ai/
EXA_API_KEY=
# Tavily (LLM Search Engine) - https://tavily.com/
TAVILY_API_KEY=
# --- 4. Serverless Inference & Cloud Models ---
# Hugging Face Inference API - https://huggingface.co/settings/tokens
HUGGINGFACE_API_KEY=
# Cloudflare Workers AI - https://dash.cloudflare.com/
CLOUDFLARE_API_TOKEN=
CLOUDFLARE_ACCOUNT_ID=
# Google Cloud Platform (Translation, Speech, Vision) - https://console.cloud.google.com/
GCP_API_KEY=
# --- 5. Document Processing & Utility APIs ---
# Unstructured.io (Document OCR & RAG Partitioning) - https://unstructured.io/
UNSTRUCTURED_API_KEY=
# MyMemory Translation API - https://mymemory.translated.net/
MYMEMORY_API_KEY=