Settings
Configure provider API keys in budgetforge/backend/.env
API keys are stored on the backend only. They are never sent to the browser. Only the project bf-xxx key is used by client apps.
Provider API Keys
Read-only referenceOpenAIRequired for /proxy/openai
OPENAI_API_KEYgpt-4ogpt-4o-minigpt-4-turbogpt-3.5-turboo1o1-minio3-mini
AnthropicRequired for /proxy/anthropic
ANTHROPIC_API_KEYclaude-opus-4-7claude-sonnet-4-6claude-haiku-4-5
Google GeminiRequired for /proxy/google (OpenAI-compat endpoint)
GOOGLE_API_KEYgemini-2.0-flashgemini-1.5-progemini-1.5-flashgemini-2.0-flash-thinking
DeepSeekRequired for /proxy/deepseek (OpenAI-compat endpoint)
DEEPSEEK_API_KEYdeepseek-chatdeepseek-reasoner
OllamaLocal — no API key needed. Default: http://localhost:11434
OLLAMA_BASE_URLllama3mistralqwen3gemma3… any local model
Alert Configuration
OptionalConfigure your SMTP server to receive email alerts when a budget threshold is reached.
Proxy Endpoints
POST
/proxy/openai/v1/chat/completionsOpenAI · Drop-in replacementPOST
/proxy/anthropic/v1/messagesAnthropic · Anthropic SDK formatPOST
/proxy/google/v1/chat/completionsGoogle · OpenAI-compatPOST
/proxy/deepseek/v1/chat/completionsDeepSeek · OpenAI-compatPOST
/proxy/ollama/api/chatOllama · Free, tokens counted