This document explains how to use the new batch benchmarking functionality to test all untested models from OpenRouter.
The system now automatically:
- Fetches all available models from OpenRouter API
- Compares them with your current
benchmark-config.json - Identifies untested models
- Provides multiple ways to run benchmarks for these models
cd src
npm run fetch-modelsThis will:
- Fetch all models from OpenRouter API
- Compare with your current config
- Generate
untested-models.jsonwith the list - Generate
benchmark-untested-models.shbatch script - Display a summary of untested models by provider
chmod +x benchmark-untested-models.sh
./benchmark-untested-models.sh- Go to the GitHub Actions tab
- Run the "Batch benchmark untested models" workflow
- Configure parameters:
max_models: Number of models to test (default: 10)start_from: Starting index for pagination (default: 0)
npm run benchmark -- --model="provider/model-name"The new benchmark-batch.yml workflow provides:
- Automatic model discovery: Fetches latest models from OpenRouter
- Configurable batch size: Test 1-50+ models per run
- Pagination support: Process models in chunks
- Automatic PR creation: Results are submitted as PRs
- Error handling: Continues even if individual models fail
- @alrocar mentions: You'll be notified of new results
max_models: Maximum number of models to benchmark (default: 10)start_from: Starting index for pagination (default: 0)
- First batch: Run with default settings (10 models)
- Continue: Run with
start_from=10to get next 10 models - Large batch: Set
max_models=50for bigger batches
{
"generated_at": "2025-09-14T13:11:40.339Z",
"total_count": 280,
"models": [
{
"provider": "qwen",
"model": "qwen-plus-2025-07-28",
"modelId": "qwen/qwen-plus-2025-07-28"
}
]
}A bash script that runs benchmarks for all untested models with:
- Progress indicators
- Error handling
- Automatic delays between runs
- Success/failure reporting
As of the last run, there are 280 untested models across multiple providers:
- qwen: 31 models
- openai: 29 models
- mistralai: 27 models
- google: 22 models
- meta-llama: 19 models
- deepseek: 16 models
- And many more providers...
- Start small: Begin with 5-10 models to test the workflow
- Monitor results: Check PRs for any issues or patterns
- Use pagination: Process models in batches to avoid timeouts
- Review failures: Some models may not be suitable for SQL generation
- Update config: The system automatically updates
benchmark-config.json
- API Rate Limits: The script includes delays between requests
- Model Failures: Some models may not support the required format
- Provider Issues: New providers are automatically added to config
- Timeout: Use smaller batch sizes for large runs
If a batch fails partway through:
- Check the last successful model in the PR
- Use
start_fromparameter to resume from that point - Adjust
max_modelsif needed
This batch system integrates seamlessly with:
- Individual model testing (
--modelparameter) - Existing GitHub Actions
- Current benchmark infrastructure
- Result validation and PR creation
The system maintains backward compatibility while adding powerful batch capabilities.