"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .aabenchmarkentry import AABenchmarkEntry, AABenchmarkEntryTypedDict
from .dabenchmarkentry import DABenchmarkEntry, DABenchmarkEntryTypedDict
from openrouter.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ModelBenchmarksTypedDict(TypedDict):
    r"""Third-party benchmark rankings for this model. Omitted when no benchmark data is available."""

    design_arena: List[DABenchmarkEntryTypedDict]
    r"""Design Arena ELO rankings across arena+category pairs."""
    artificial_analysis: NotRequired[AABenchmarkEntryTypedDict]
    r"""Artificial Analysis benchmark index scores."""


class ModelBenchmarks(BaseModel):
    r"""Third-party benchmark rankings for this model. Omitted when no benchmark data is available."""

    design_arena: List[DABenchmarkEntry]
    r"""Design Arena ELO rankings across arena+category pairs."""

    artificial_analysis: Optional[AABenchmarkEntry] = None
    r"""Artificial Analysis benchmark index scores."""
