Skip to content

Models Overview

This page provides an overview of all available model classes in mini-SWE-agent.

Model Classes

Class Shortcut Endpoint Toolcalls Description
LitellmModel litellm /completion Default model using LiteLLM for broad provider support (OpenAI, Anthropic, 100+ providers)
LitellmTextbasedModel litellm_textbased /completion LiteLLM with text-based actions (no native tool calling)
LitellmResponseModel litellm_response /response LiteLLM with OpenAI Responses API and native tool calling
OpenRouterModel openrouter /completion OpenRouter API integration
OpenRouterTextbasedModel openrouter_textbased /completion OpenRouter with text-based actions
OpenRouterResponseModel openrouter_response /response OpenRouter Responses API with native tool calling
PortkeyModel portkey /completion Portkey AI gateway integration
PortkeyResponseAPIModel portkey_response /response Portkey with Responses API support
RequestyModel requesty /completion Requesty API integration
DeterministicModel deterministic N/A Returns predefined outputs (for testing)
RouletteModel Meta Randomly selects from multiple models
InterleavingModel Meta Alternates between models in sequence