Overview
The Models API provides endpoints to query available AI models configured in DeerFlow. Models are configured in the application’s configuration file and include metadata about their capabilities.List All Models
GET /api/models
Retrieve a list of all available AI models configured in the system
Response
List of all configured models with their metadata
Example Request
Example Response
Get Model Details
GET /api/models/{model_name}
Retrieve detailed information about a specific AI model by its name
Path Parameters
The unique name of the model to retrieve (e.g.,
gpt-4, claude-3-opus)Response
Unique identifier for the model
Human-readable name
Model description
Whether model supports thinking mode
Whether model supports reasoning effort
Example Request
Example Response
Error Responses
Model not found
Model Capabilities
Thinking Mode
Models withsupports_thinking: true can use extended thinking/reasoning capabilities. This is typically available in Claude models.
Reasoning Effort
Models withsupports_reasoning_effort: true support configurable reasoning effort levels (e.g., OpenAI’s o1 series). This allows you to control how much computational effort the model applies to reasoning.
Use Cases
Frontend Model Selection
Use the/api/models endpoint to populate model selection dropdowns:
Capability Detection
Check if a specific model supports certain features:Related
Gateway Overview
Learn about the Gateway API
Configuration
Configure AI models