mix req_llm.model_sync (ReqLLM v1.0.0-rc.3)
View SourceSimplified model synchronization task.
This task fetches model data from models.dev API (which now includes cost data) and saves provider JSON files to the /priv directory.
Usage
# Sync models from models.dev
mix req_llm.model_sync
# Verbose output
mix req_llm.model_sync --verboseOutput Structure
priv/models_dev/providers/
├── anthropic.json # Anthropic models with cost data
├── openai.json # OpenAI models with cost data
├── google.json # Google models with cost data
└── ... # All other providers
Summary
Functions
Execute the synchronization process.