Skip to main content
GET
/
v3
/
models
List models
import requests

url = "https://api.opper.ai/v3/models"

response = requests.get(url)

print(response.text)
{
  "limit": 123,
  "models": [
    {
      "capabilities": [
        "<string>"
      ],
      "context_window": 123,
      "cost": 123,
      "description": "<string>",
      "id": "<string>",
      "model_id": "<string>",
      "name": "<string>",
      "provider": "<string>",
      "provider_display_name": "<string>",
      "quality": "<string>",
      "speed": "<string>",
      "type": "<string>",
      "api_type": "<string>",
      "country": "<string>",
      "deprecated_at": "2023-11-07T05:31:56Z",
      "params": {
        "default_max_tokens": 123,
        "max_tokens": true,
        "embedding": {
          "dimensions": 123,
          "max_input_tokens": 123,
          "supports_dimensions": true
        },
        "image": {
          "default": "<string>",
          "qualities": [
            "<string>"
          ],
          "sizes": [
            "<string>"
          ],
          "styles": [
            "<string>"
          ]
        },
        "image_edit": {
          "aspect_ratios": [
            "<string>"
          ],
          "default": "<string>"
        },
        "realtime": {
          "default_voice": "<string>",
          "input_audio_format": "<string>",
          "output_audio_format": "<string>",
          "sample_rate": 123,
          "supports_tools": true,
          "supports_vad": true,
          "voices": [
            "<string>"
          ]
        },
        "reasoning": {
          "default": "<string>",
          "supported": [
            "<string>"
          ]
        },
        "stt": {
          "default_language": "<string>",
          "formats": [
            "<string>"
          ],
          "languages": [
            "<string>"
          ]
        },
        "temperature": {
          "default": 123,
          "max": 123,
          "min": 123
        },
        "tts": {
          "default_voice": "<string>",
          "max_length": 123,
          "voices": [
            "<string>"
          ]
        },
        "video": {
          "aspect_ratios": [
            "<string>"
          ],
          "max_duration": 123,
          "max_fps": 123,
          "max_frames": 123,
          "resolutions": [
            "<string>"
          ],
          "speed_modes": [
            "<string>"
          ],
          "supports_seed": true
        }
      },
      "pricing": {
        "input": [
          123
        ],
        "output": [
          123
        ],
        "cache_creation": [
          123
        ],
        "cache_creation_1h": [
          123
        ],
        "cached_input": [
          123
        ],
        "image_prices": {},
        "price_per_generation": 123,
        "price_per_m_chars": 123,
        "price_per_minute": 123,
        "price_per_page": 123,
        "price_per_second": 123,
        "thresholds": [
          123
        ]
      },
      "region": "<string>",
      "successor": "<string>"
    }
  ],
  "offset": 123,
  "total": 123
}

Response

Successful response

limit
integer
required
models
object[]
required
offset
integer
required
total
integer
required