Skip to main content
Get a comprehensive list of all AI models available through the Swarms API. This endpoint provides information about supported models from various providers including OpenAI, Anthropic, Groq, and others.
The /v1/models/available endpoint returns all models currently supported by the Swarms API, including their capabilities and limitations.

Quick Start

Understanding the Response

The models endpoint returns a flat list of all available model identifiers, filtered by your subscription tier:
By default, this list also includes models fetched live from OpenRouter (cached for 5 minutes) and prefixed with openrouter/ (e.g. openrouter/aion-labs/aion-3.0). The base catalog is precomputed and cached server-side, so this endpoint is cheap to call.

OpenAI-Compatible Model List

If you use the OpenAI SDK (or any client that discovers models via GET /v1/models), the same tier-filtered catalog is available in the standard OpenAI list format:
Each entry has id (the model identifier you pass as model_name or model), object (always "model"), created, and owned_by (the resolved provider, e.g. openai, anthropic). See the OpenAI-Compatible Endpoint reference for using these models with the OpenAI SDK.

Model Selection Guide

For Text Generation

Model Capabilities

Dynamic Model Selection

Model Performance Comparison

Cost Optimization

Error Handling

Best Practices

  1. Cache Results: Cache the models list to avoid frequent API calls
  2. Handle Changes: Models may be added or removed over time
  3. Fallback Logic: Always have fallback models for reliability
  4. Version Awareness: Be aware of model versioning and deprecation
  5. Cost Monitoring: Track usage costs for different models
  6. Performance Testing: Test model performance for your specific use cases
  7. Documentation Review: Check model-specific limitations and capabilities

Integration Examples

Model Selection in Agent Creation

Batch Processing with Model Optimization