See Cost Estimation for detailed pricing information and cost-saving tips.
| Aspect | Manual | OpenEvolve |
|---|---|---|
| Initial Learning | Weeks to understand domain | Minutes to start |
| Solution Quality | Depends on expertise | Consistently explores novel approaches |
| Time Investment | Days-weeks per optimization | Hours for complete evolution |
| Reproducibility | Hard to replicate exact process | Perfect reproduction with seeds |
| Scaling | Doesn't scale beyond human capacity | Parallel evolution across islands |
OpenEvolve shines when you need to explore large solution spaces or optimize for multiple objectives simultaneously.
Yes! OpenEvolve supports any OpenAI-compatible API:
- Commercial: OpenAI, Google, Cohere
- Local: Ollama, vLLM, LM Studio, text-generation-webui
- Advanced: OptiLLM for routing and test-time compute
Just set the api_base in your config to point to your endpoint.
Built-in mechanisms prevent stagnation:
- Island migration: Fresh genes from other populations
- Temperature control: Exploration vs exploitation balance
- Diversity maintenance: MAP-Elites prevents convergence
- Artifact feedback: Error messages guide improvements
- Template stochasticity: Randomized prompts break patterns
Manual interventions:
- Increase
num_diverse_programsfor more exploration - Add custom feature dimensions to diversify search
- Use template variations to randomize prompts
- Adjust migration intervals for more cross-pollination
Multiple success metrics:
- Primary Metric: Your evaluator's
combined_scoreor metric average - Convergence: Best score improvement over time
- Diversity: MAP-Elites grid coverage
- Efficiency: Iterations to reach target performance
- Robustness: Performance across different test cases
Use the visualizer to track all metrics in real-time and identify when evolution has converged.
The default database ranks programs by fitness, highest first. Your evaluator
can return a finite score on its own scale. For example, return throughput in
requests per second to favor 120 over 80, or return negative latency in
milliseconds to favor -10 over -25. On the latency scale, --target-score -10
stops when a candidate's combined_score reaches -10 or higher.
If your evaluator uses cascade stages,
set their thresholds to match the scores each stage returns.
The scale also affects fitness-weighted parent sampling. Its minimum weight is 0.001, so two programs with negative scores have equal weight in that sampling step.
If you omit combined_score, the database ranks programs by the mean of their
numeric, non-feature metrics. When only feature metrics are available, it uses
their mean. Return an explicit combined_score when your metrics use different
units or when you want to stop at a target score.