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

# Inference Modelsdev Models

> Returns the available models in the models.dev `api.json` schema.

This API is available without authentication.



## OpenAPI

````yaml /weave/reference/service-api/openapi.json get /inference/modelsdev/models
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /inference/modelsdev/models:
    get:
      tags:
        - Inference
      summary: Inference Modelsdev Models
      description: |-
        Returns the available models in the models.dev `api.json` schema.

        This API is available without authentication.
      operationId: inference_modelsdev_models_inference_modelsdev_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  $ref: '#/components/schemas/ModelsDevProvider'
                type: object
                title: >-
                  Response Inference Modelsdev Models Inference Modelsdev Models
                  Get
components:
  schemas:
    ModelsDevProvider:
      properties:
        id:
          type: string
          title: Id
          description: Provider identifier, derived from the folder name.
        name:
          type: string
          title: Name
          description: Display name of the provider.
        npm:
          type: string
          title: Npm
          description: AI SDK package name.
        env:
          items:
            type: string
          type: array
          title: Env
          description: Environment variable keys for authentication.
        doc:
          type: string
          title: Doc
          description: Link to provider documentation.
        api:
          anyOf:
            - type: string
            - type: 'null'
          title: Api
          description: >-
            OpenAI-compatible API endpoint. Required only when using
            @ai-sdk/openai-compatible.
        models:
          additionalProperties:
            $ref: '#/components/schemas/ModelsDevModel'
          type: object
          title: Models
          description: Mapping of model id -> model.
      type: object
      required:
        - id
        - name
        - npm
        - env
        - doc
      title: ModelsDevProvider
      description: A provider entry in the models.dev schema.
    ModelsDevModel:
      properties:
        id:
          type: string
          title: Id
          description: Model identifier used by the AI SDK.
        name:
          type: string
          title: Name
          description: Display name.
        attachment:
          type: boolean
          title: Attachment
          description: File attachment support.
        reasoning:
          type: boolean
          title: Reasoning
          description: Chain-of-thought reasoning support.
        tool_call:
          type: boolean
          title: Tool Call
          description: Tool calling support.
        structured_output:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Structured Output
          description: Dedicated structured output feature.
        temperature:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Temperature
          description: Temperature control support.
        knowledge:
          anyOf:
            - type: string
            - type: 'null'
          title: Knowledge
          description: Knowledge cutoff in YYYY-MM or YYYY-MM-DD format.
        release_date:
          type: string
          title: Release Date
          description: First public release date (YYYY-MM-DD).
        last_updated:
          type: string
          title: Last Updated
          description: Most recent update date (YYYY-MM-DD).
        open_weights:
          type: boolean
          title: Open Weights
          description: Public weights availability.
        status:
          anyOf:
            - type: string
              enum:
                - alpha
                - beta
                - deprecated
            - type: 'null'
          title: Status
          description: Lifecycle status of the model.
        interleaved:
          anyOf:
            - type: boolean
            - $ref: '#/components/schemas/Interleaved'
            - type: 'null'
          title: Interleaved
          description: Reasoning interleaving support.
        cost:
          anyOf:
            - $ref: '#/components/schemas/Cost'
            - type: 'null'
          description: Pricing information.
        limit:
          anyOf:
            - $ref: '#/components/schemas/Limit'
            - type: 'null'
          description: Token limits.
        modalities:
          anyOf:
            - $ref: '#/components/schemas/Modalities'
            - type: 'null'
          description: Supported input and output modalities.
      type: object
      required:
        - id
        - name
        - attachment
        - reasoning
        - tool_call
        - release_date
        - last_updated
        - open_weights
      title: ModelsDevModel
      description: A single model entry in the models.dev schema.
    Interleaved:
      properties:
        field:
          type: string
          enum:
            - reasoning_content
            - reasoning_details
          title: Field
          description: Format identifier for interleaved reasoning.
      type: object
      required:
        - field
      title: Interleaved
      description: Reasoning interleaving support details.
    Cost:
      properties:
        input:
          type: number
          title: Input
          description: Cost per million input tokens (USD).
        output:
          type: number
          title: Output
          description: Cost per million output tokens (USD).
        reasoning:
          anyOf:
            - type: number
            - type: 'null'
          title: Reasoning
          description: Cost per million reasoning tokens (USD).
        cache_read:
          anyOf:
            - type: number
            - type: 'null'
          title: Cache Read
          description: Cost per million cached read tokens (USD).
        cache_write:
          anyOf:
            - type: number
            - type: 'null'
          title: Cache Write
          description: Cost per million cached write tokens (USD).
        input_audio:
          anyOf:
            - type: number
            - type: 'null'
          title: Input Audio
          description: Cost per million audio input tokens (USD).
        output_audio:
          anyOf:
            - type: number
            - type: 'null'
          title: Output Audio
          description: Cost per million audio output tokens (USD).
      type: object
      required:
        - input
        - output
      title: Cost
      description: Costs are expressed in USD per million tokens.
    Limit:
      properties:
        context:
          type: integer
          title: Context
          description: Maximum context window in tokens.
        input:
          type: integer
          title: Input
          description: Maximum input tokens.
        output:
          type: integer
          title: Output
          description: Maximum output tokens.
      type: object
      required:
        - context
        - input
        - output
      title: Limit
      description: Token limits for a model.
    Modalities:
      properties:
        input:
          items:
            type: string
          type: array
          title: Input
          description: Supported input types (e.g. text, image, audio, video, pdf).
        output:
          items:
            type: string
          type: array
          title: Output
          description: Supported output types.
      type: object
      required:
        - input
        - output
      title: Modalities
      description: Supported input and output modalities.

````