Presets: Configuration That Actually Makes Sense
Stop hardcoding AI settings like it’s 2019 Presets transform your LLM workflows from messy, scattered configurations into clean, reusable templates. Think of them as your AI’s favorite outfits—perfectly tailored for specific occasions and ready to wear at a moment’s notice.What Are Presets?
Your AI’s wardrobe for every occasion Presets are named configuration bundles that package everything your model needs to shine in specific scenarios. Instead of repeating the same complex settings across your codebase, create once and reference everywhere. Real-world preset examples:- 🎯
email-copywriter
→ Persuasive marketing content with high creativity - 📞
inbound-classifier
→ Lightning-fast customer inquiry sorting - 👨💻
code-reviewer
→ Thorough, constructive PR analysis - 💬
customer-support
→ Empathetic, solution-focused responses
- 🎭 Model selection and fallback chains
- 🚀 Provider routing (optimize for speed, cost, or quality)
- 🧠 System prompts that set the perfect tone
- ⚙️ Generation parameters (temperature, top_p, max tokens)
- 🎛️ Provider inclusion/exclusion rules
⚡ Quick Start
From zero to AI hero in 30 seconds Step 1: Create your preset in the AnyAPI dashboard Step 2: Reference it in your code🎯 Why Presets Are a Game-Changer
Clean Code, Clear Intent
Deploy-Free Optimization
Update your AI behavior without touching code:- 🔄 Switch to newer, better models instantly
- 📝 Refine system prompts based on performance data
- ⚡ Adjust parameters for different quality/speed trade-offs
- 💰 Optimize provider routing to reduce costs
Team Collaboration Made Simple
- Marketing tweaks copy generation presets
- DevOps optimizes routing preferences
- Product managers adjust model behavior
- Developers focus on application logic
🛠️ Three Ways to Use Presets
Direct Reference (Recommended)
Clean and semantic—your code tells a story:Explicit Preset Field
When you need to be extra clear:Smart Overrides
Use preset defaults but customize on the fly:🎛️ Preset Management
Your mission control for AI configurations Head to the AnyAPI dashboard to craft your perfect presets. Each one includes: 🏷️ Name & Identity- Unique identifier that makes sense to your team
- Description explaining the preset’s purpose
- Primary model selection
- Backup models for bulletproof reliability
- Provider routing preferences (speed vs. cost vs. quality)
- System prompts that set the perfect personality
- Temperature, top_p, and other generation parameters
- Token limits and response formatting rules
- Provider inclusion/exclusion lists
- Custom headers and metadata
- Usage tracking and analytics tags
💡 Pro Tips
🎯 Be Specific: Name your presets based on their job, not their settings.blog-writer-casual
beats gpt4-temp07-1000tokens
.
🔄 Version Control: Use descriptive names like email-v2-summer-campaign
when testing major changes.
⚖️ Balance Act: Mix high-quality primary models with cost-effective fallbacks for optimal spend.
📊 Monitor Performance: Track which presets perform best and iterate based on real usage data.
Ready to bring order to your AI chaos? Start building presets that actually make sense.