Use your own API keys for cost control and billing transparency with official OpenAI and Anthropic models.Documentation Index
Fetch the complete documentation index at: https://factory-docs-auto-sync-jp-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
Add to~/.factory/settings.json:
Getting API Keys
Anthropic
- Sign up at console.anthropic.com
- Navigate to API Keys section
- Create a new API key
- Copy and use in your configuration
OpenAI
- Sign up at platform.openai.com
- Go to API Keys section
- Create a new secret key
- Copy and use in your configuration
Notes
- These configurations use the official APIs with full prompt caching support
- Factory automatically handles prompt caching when available
- Use
/costcommand in CLI to view cost breakdowns and cache hit rates
