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

# List model metadata

> Lists model metadata.

<Warning>
  This endpoint is experimental and may change or be removed without notice.
</Warning>


## OpenAPI

````yaml get /v1/explore/metadata
openapi: 3.1.0
info:
  description: REST API for management of Baseten resources
  title: Baseten management API
  version: 1.0.0
servers:
  - url: https://api.baseten.co
security:
  - BearerAuth: []
paths:
  /v1/explore/metadata:
    get:
      summary: Lists model metadata
      description: Lists all live model metadata rows, e.g. for model pickers.
      parameters:
        - name: cursor
          in: query
          required: false
          description: >-
            Opaque cursor returned by a previous page. Omit to fetch the first
            page.
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
            title: Cursor
        - name: limit
          in: query
          required: false
          description: Maximum number of items to return.
          schema:
            default: 100
            maximum: 1000
            minimum: 1
            title: Limit
            type: integer
        - name: provider
          in: query
          required: false
          description: >-
            Filter to a provider by slug prefix, e.g. 'anthropic'. Preserved by
            the cursor; if repeated, must match the original filter.
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
            title: Provider
        - name: q
          in: query
          required: false
          description: >-
            Case-insensitive substring search over metadata slugs. Preserved by
            the cursor; if repeated, must match the original filter.
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
            title: Q
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExploreMetadataResponseV1'
      x-codeSamples:
        - lang: bash
          source: |
            curl --request GET \
            --url https://api.baseten.co/v1/explore/metadata \
            --header "Authorization: Bearer $BASETEN_API_KEY"
        - lang: python
          source: |-
            import requests
            import os
            API_KEY = os.environ.get("BASETEN_API_KEY", "<YOUR_API_KEY>")
            url = "https://api.baseten.co/v1/explore/metadata"

            headers = {"Authorization": f"Bearer {API_KEY}"}

            response = requests.request(
                "GET",
                url,
                headers=headers,
                params={'cursor': None, 'provider': None, 'q': None}
            )

            print(response.text)
components:
  schemas:
    ExploreMetadataResponseV1:
      properties:
        items:
          description: Items in this page.
          items:
            $ref: '#/components/schemas/ExploreMetadataV1'
          title: Items
          type: array
        pagination:
          $ref: '#/components/schemas/PaginationResponseV1'
          description: Pagination metadata for the page.
      required:
        - items
        - pagination
      title: ExploreMetadataResponseV1
      type: object
    ExploreMetadataV1:
      properties:
        slug:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Metadata slug, e.g. 'anthropic/claude-opus-4'; null for rows without
            one.
          title: Slug
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          description: Model display name, when available.
          title: Display Name
        release_date:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          description: >-
            Model release date. Month-only source dates use the first day of
            that month.
          title: Release Date
        provider:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Provider key derived from the slug prefix, e.g. 'anthropic'; null
            for unprefixed slugs.
          title: Provider
        context_window:
          anyOf:
            - type: integer
            - type: 'null'
          description: Total context window in tokens.
          title: Context Window
        max_output_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          description: Maximum output tokens per response.
          title: Max Output Tokens
        input_modalities:
          description: Accepted input modalities.
          items:
            type: string
          title: Input Modalities
          type: array
        tools:
          anyOf:
            - type: boolean
            - type: 'null'
          description: Whether the model supports tool calling.
          title: Tools
        reasoning_effort_levels:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Reasoning effort levels the model supports.
          title: Reasoning Effort Levels
        parallel_tool_calls:
          anyOf:
            - type: boolean
            - type: 'null'
          description: Whether the model supports parallel tool calls.
          title: Parallel Tool Calls
        supported_api_formats:
          anyOf:
            - $ref: '#/components/schemas/ExploreMetadataAPIFormatsV1'
            - type: 'null'
          description: API formats the model supports.
        cost:
          anyOf:
            - $ref: '#/components/schemas/ExploreCostV1'
            - type: 'null'
          description: Provider list prices in USD per 1M tokens, when available.
      required:
        - slug
        - display_name
        - release_date
        - provider
        - context_window
        - max_output_tokens
        - input_modalities
        - tools
        - reasoning_effort_levels
        - parallel_tool_calls
        - supported_api_formats
        - cost
      title: ExploreMetadataV1
      type: object
    PaginationResponseV1:
      properties:
        has_more:
          description: Whether more items exist after this page.
          title: Has More
          type: boolean
        cursor:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Opaque cursor to pass into the next request. Null when there is no
            next page.
          title: Cursor
      required:
        - has_more
      title: PaginationResponseV1
      type: object
    ExploreMetadataAPIFormatsV1:
      properties:
        messages:
          default: false
          description: Anthropic Messages API support.
          title: Messages
          type: boolean
        responses:
          default: false
          description: OpenAI Responses API support.
          title: Responses
          type: boolean
        chat_completions:
          default: false
          description: OpenAI Chat Completions API support.
          title: Chat Completions
          type: boolean
      title: ExploreMetadataAPIFormatsV1
      type: object
    ExploreCostV1:
      properties:
        input:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M input tokens, when available.
          title: Input
        output:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M output tokens, when available.
          title: Output
        cache_read:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M input tokens read from cache, when available.
          title: Cache Read
        cache_write:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M input tokens written to cache, when available.
          title: Cache Write
        long_context:
          anyOf:
            - $ref: '#/components/schemas/ExploreCostValuesV1'
            - type: 'null'
          default: null
          description: >-
            Prices for long-context requests, when the provider tiers by context
            length.
      title: ExploreCostV1
      type: object
    ExploreCostValuesV1:
      properties:
        input:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M input tokens, when available.
          title: Input
        output:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M output tokens, when available.
          title: Output
        cache_read:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M input tokens read from cache, when available.
          title: Cache Read
        cache_write:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          description: USD per 1M input tokens written to cache, when available.
          title: Cache Write
      title: ExploreCostValuesV1
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send `Authorization: Bearer <api_key>`. The legacy `Authorization:
        Api-Key <api_key>` scheme is also accepted.

````