> ## Documentation Index
> Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get LLM metrics per model

> Returns the same LLM measures per provider and model, ranked by `sort`, the rest folded into `others`. Requires the `manage:read` scope.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/llm/models/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/usage/llm/models/:
    get:
      tags:
        - Usage
      summary: Get LLM metrics per model
      description: >-
        Returns the same LLM measures per provider and model, ranked by `sort`,
        the rest folded into `others`. Requires the `manage:read` scope.
      operationId: manage_usage_llm_models_retrieve
      parameters:
        - in: query
          name: api_key
          schema:
            type: string
        - in: query
          name: begin
          schema:
            type: string
            format: date-time
        - in: query
          name: billing
          schema:
            enum:
              - all
              - eden
              - own_keys
            type: string
            default: eden
            minLength: 1
          description: |-
            * `all` - all
            * `eden` - eden
            * `own_keys` - own_keys
        - in: query
          name: end
          schema:
            type: string
            format: date-time
        - in: query
          name: exclude_api_key
          schema:
            type: string
        - in: query
          name: exclude_model
          schema:
            type: string
        - in: query
          name: exclude_provider
          schema:
            type: string
        - in: query
          name: exclude_subfeature
          schema:
            type: string
        - in: query
          name: exclude_user
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
            maximum: 50
            minimum: 1
            default: 10
        - in: query
          name: model
          schema:
            type: string
        - in: query
          name: order
          schema:
            enum:
              - desc
              - asc
            type: string
            default: desc
            minLength: 1
          description: |-
            * `desc` - desc
            * `asc` - asc
        - in: query
          name: provider
          schema:
            type: string
        - in: query
          name: sort
          schema:
            enum:
              - attempts
              - cost
              - cache_hit_rate
              - error_rate
              - ttft_p50_ns
              - latency_p95_ns
            type: string
            default: attempts
            minLength: 1
          description: |-
            * `attempts` - attempts
            * `cost` - cost
            * `cache_hit_rate` - cache_hit_rate
            * `error_rate` - error_rate
            * `ttft_p50_ns` - ttft_p50_ns
            * `latency_p95_ns` - latency_p95_ns
        - in: query
          name: subfeature
          schema:
            type: string
        - in: query
          name: user
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: ''
      security:
        - ManagementKeyAuth: []
components:
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.