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

# Models Info



## OpenAPI

````yaml https://api.deepinfra.com/openapi.json get /models/{model_name}
openapi: 3.1.0
info:
  title: DeepInfra API
  description: >-
    The DeepInfra API provides serverless AI inference, custom model
    deployments, and GPU rentals.
  version: 1.0.0
servers:
  - url: https://api.deepinfra.com
security: []
tags:
  - name: Chat Completions
    description: OpenAI and Anthropic-compatible chat completion endpoints for LLMs.
  - name: Text Completions
    description: OpenAI-compatible text completion endpoints.
  - name: Embeddings
    description: Generate text embeddings for search and RAG.
  - name: Image Generation
    description: Generate, edit, and create variations of images.
  - name: Audio
    description: OpenAI-compatible speech synthesis, transcription, and translation.
  - name: Text to Speech
    description: ElevenLabs-compatible TTS endpoints and voice management.
  - name: Inference
    description: Native DeepInfra inference API for models and deployments.
  - name: Dedicated Models
    description: Deploy and manage private model instances with autoscaling.
  - name: GPU Rentals
    description: Rent dedicated GPU containers.
  - name: Models
    description: Browse, search, and manage AI models.
  - name: Files & Batches
    description: File uploads and batch processing.
  - name: LoRA Adapters
    description: Create, manage, and query LoRA adapter models.
  - name: Agents
    description: Manage agent-framework instances (OpenClaw and friends).
  - name: Sandboxes
    description: Create and manage isolated sandbox environments.
  - name: Account
    description: User profile, team management, and rate limits.
  - name: Authentication
    description: API tokens, SSH keys, scoped JWTs, and login flows.
  - name: Billing
    description: Payment methods, usage tracking, and billing.
  - name: Logs & Metrics
    description: Query inference logs, deployment logs, and usage metrics.
  - name: Utilities
    description: Feedback submission and CLI version.
paths:
  /models/{model_name}:
    get:
      tags:
        - Models
      summary: Models Info
      operationId: models_info_models__model_name__get
      parameters:
        - name: model_name
          in: path
          required: true
          schema:
            type: string
            title: Model Name
        - name: version
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Version
        - name: xi-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Xi-Api-Key
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelInfoOut'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeepError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ModelInfoOut:
      properties:
        model_name:
          type: string
          title: Model Name
        type:
          type: string
          title: Type
        tags:
          items:
            type: string
          type: array
          title: Tags
        reported_type:
          type: string
          title: Reported Type
        version:
          type: string
          title: Version
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        mf_description:
          anyOf:
            - type: string
            - type: 'null'
          title: Mf Description
        featured:
          type: boolean
          title: Featured
        owner:
          type: boolean
          title: Owner
          default: false
        public:
          type: boolean
          title: Public
        curl_inv:
          type: string
          title: Curl Inv
        cmdline_inv:
          type: string
          title: Cmdline Inv
        txt_docs:
          type: string
          title: Txt Docs
        out_example:
          type: string
          title: Out Example
        out_docs:
          type: string
          title: Out Docs
        in_schema:
          title: In Schema
        out_schema:
          title: Out Schema
        in_fields:
          anyOf:
            - items:
                $ref: '#/components/schemas/ModelFieldInfo'
              type: array
            - type: 'null'
          title: In Fields
        pricing:
          anyOf:
            - $ref: '#/components/schemas/ModelPricingTime'
            - $ref: '#/components/schemas/ModelPricingUptime'
            - $ref: '#/components/schemas/ModelPricingTokens'
            - $ref: '#/components/schemas/ModelPricingInputLength'
            - $ref: '#/components/schemas/ModelPricingInputTokens'
            - $ref: '#/components/schemas/ModelPricingInputCharacterLength'
            - $ref: '#/components/schemas/ModelPricingImageUnits'
            - $ref: '#/components/schemas/ModelPricingOutputLength'
            - $ref: '#/components/schemas/ModelPricingFrameUnits'
          title: Pricing
        doc_blocks:
          anyOf:
            - items:
                $ref: '#/components/schemas/ModelDocBlock'
              type: array
            - type: 'null'
          title: Doc Blocks
        short_doc_block:
          anyOf:
            - $ref: '#/components/schemas/ModelDocBlock'
            - type: 'null'
        schemas:
          items:
            $ref: '#/components/schemas/SchemaVariant'
          type: array
          title: Schemas
        meta:
          additionalProperties: true
          type: object
          title: Meta
          default: {}
        max_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Tokens
        max_output_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Output Tokens
        replaced_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Replaced By
        deprecated:
          anyOf:
            - type: integer
            - type: 'null'
          title: Deprecated
        quantization:
          anyOf:
            - type: string
            - type: 'null'
          title: Quantization
        mmlu:
          anyOf:
            - type: number
            - type: 'null'
          title: Mmlu
        expected:
          anyOf:
            - type: string
            - type: 'null'
          title: Expected
        import_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Import Time
        is_partner:
          type: boolean
          title: Is Partner
          default: false
        is_custom_deployable:
          type: boolean
          title: Is Custom Deployable
          default: false
        mf_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Mf Name
        mf_title:
          anyOf:
            - type: string
            - type: 'null'
          title: Mf Title
      type: object
      required:
        - model_name
        - type
        - tags
        - reported_type
        - version
        - featured
        - public
        - curl_inv
        - cmdline_inv
        - txt_docs
        - out_example
        - out_docs
        - pricing
        - schemas
      title: ModelInfoOut
    DeepError:
      properties:
        error:
          type: string
          title: Error
          description: Error
          examples:
            - Model not found
      type: object
      required:
        - error
      title: DeepError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ModelFieldInfo:
      properties:
        name:
          type: string
          title: Name
        parent:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent
        ftype:
          type: string
          title: Ftype
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        allowed:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Allowed
        default:
          title: Default
        examples:
          items: {}
          type: array
          title: Examples
          default: []
        minimum:
          anyOf:
            - type: number
            - type: 'null'
          title: Minimum
        exclusiveMinimum:
          anyOf:
            - type: number
            - type: 'null'
          title: Exclusiveminimum
        maximum:
          anyOf:
            - type: number
            - type: 'null'
          title: Maximum
        exclusiveMaximum:
          anyOf:
            - type: number
            - type: 'null'
          title: Exclusivemaximum
      type: object
      required:
        - name
        - ftype
      title: ModelFieldInfo
    ModelPricingTime:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: time
        cents_per_sec:
          type: number
          title: Cents Per Sec
      type: object
      required:
        - cents_per_sec
      title: ModelPricingTime
    ModelPricingUptime:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: uptime
        cents_per_sec:
          type: number
          title: Cents Per Sec
      type: object
      required:
        - cents_per_sec
      title: ModelPricingUptime
    ModelPricingTokens:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: tokens
        cents_per_input_token:
          type: number
          title: Cents Per Input Token
        cents_per_output_token:
          type: number
          title: Cents Per Output Token
        rate_per_input_token_cached:
          anyOf:
            - type: number
            - type: 'null'
          title: Rate Per Input Token Cached
        rate_per_input_token_cache_write:
          anyOf:
            - type: number
            - type: 'null'
          title: Rate Per Input Token Cache Write
        rate_per_service_tier_priority:
          anyOf:
            - type: number
            - type: 'null'
          title: Rate Per Service Tier Priority
        rate_per_service_tier_flex:
          anyOf:
            - type: number
            - type: 'null'
          title: Rate Per Service Tier Flex
      type: object
      required:
        - cents_per_input_token
        - cents_per_output_token
      title: ModelPricingTokens
    ModelPricingInputLength:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: input_length
        cents_per_input_sec:
          type: number
          title: Cents Per Input Sec
      type: object
      required:
        - cents_per_input_sec
      title: ModelPricingInputLength
    ModelPricingInputTokens:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: input_tokens
        cents_per_input_token:
          type: number
          title: Cents Per Input Token
      type: object
      required:
        - cents_per_input_token
      title: ModelPricingInputTokens
    ModelPricingInputCharacterLength:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: input_character_length
        cents_per_input_chars:
          type: number
          title: Cents Per Input Chars
      type: object
      required:
        - cents_per_input_chars
      title: ModelPricingInputCharacterLength
    ModelPricingImageUnits:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: image_units
        cents_per_image_unit:
          type: number
          title: Cents Per Image Unit
        default_width:
          type: integer
          title: Default Width
        default_height:
          type: integer
          title: Default Height
        default_iterations:
          type: integer
          title: Default Iterations
        default_price_cents:
          anyOf:
            - type: number
            - type: 'null'
          title: Default Price Cents
        usage_from_cost:
          type: boolean
          title: Usage From Cost
      type: object
      required:
        - cents_per_image_unit
        - default_width
        - default_height
        - default_iterations
        - usage_from_cost
      title: ModelPricingImageUnits
    ModelPricingOutputLength:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: output_length
        cents_per_output_sec:
          type: number
          title: Cents Per Output Sec
      type: object
      required:
        - cents_per_output_sec
      title: ModelPricingOutputLength
    ModelPricingFrameUnits:
      properties:
        short:
          anyOf:
            - type: string
            - type: 'null'
          title: Short
          description: Short description of the pricing, ideal for cards and headers
          examples:
            - $0.15 / second
        full:
          anyOf:
            - type: string
            - type: 'null'
          title: Full
          description: Full description of the pricing, perfect for details
          examples:
            - $0.15 / second for 1080P, $0.10 / second for 720P
        table:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Table
          description: Could be used to generate pricing tables
          examples:
            - columns:
                - resolution
                - $ cost per second
              rows:
                - - 780P
                  - $0.10
                - - 1080P
                  - $0.15
        type:
          type: string
          title: Type
          default: frame_units
        cents_per_frame_unit:
          type: number
          title: Cents Per Frame Unit
      type: object
      required:
        - cents_per_frame_unit
      title: ModelPricingFrameUnits
    ModelDocBlock:
      properties:
        key:
          $ref: '#/components/schemas/ModelDocBlockKey'
        url:
          type: string
          title: Url
      type: object
      required:
        - key
        - url
      title: ModelDocBlock
    SchemaVariant:
      properties:
        key:
          $ref: '#/components/schemas/SchemaVariantKey'
        url:
          type: string
          title: Url
      type: object
      required:
        - key
        - url
      title: SchemaVariant
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ModelDocBlockKey:
      type: string
      enum:
        - http
        - http-bge-m3-multimodal
        - http-bagel-multimodal
        - deepctl
        - js-text-gen
        - js-emb
        - js-text-to-img
        - js-speech-to-text
        - openai-python
        - openai-python-short
        - openai-http
        - openai-js
        - openai-js-short
        - openai-speech-http
        - openai-speech-python
        - openai-speech-js
        - openai-images-http
        - openai-images-python
        - openai-images-js
        - openai-images-variations-http
        - openai-images-variations-python
        - openai-images-variations-js
        - openai-images-edits-http
        - openai-images-edits-python
        - openai-images-edits-js
        - openai-comp-python
        - openai-comp-python-short
        - openai-comp-http
        - openai-comp-js
        - openai-comp-js-short
        - openai-emb-py
        - openai-emb-http
        - openai-emb-js
        - openai-tts-http
        - openai-tts-python
        - openai-tts-js
        - elevenlabs-tts-http
        - elevenlabs-tts-python
        - elevenlabs-tts-js
        - create-voice-http
        - create-voice-python
        - create-voice-js
        - read-voice-http
        - read-voice-python
        - read-voice-js
        - update-voice-http
        - update-voice-python
        - update-voice-js
        - delete-voice-http
        - delete-voice-python
        - delete-voice-js
        - list-voices-http
        - list-voices-python
        - list-voices-js
        - ai-sdk-js
        - ai-sdk-js-short
      title: ModelDocBlockKey
    SchemaVariantKey:
      type: string
      enum:
        - default
        - openai-completions
        - openai-chat-completions
        - openai-embeddings
        - openai-speech-to-text
        - openai-tts
        - openai-images
        - openai-images-variations
        - openai-images-edits
        - elevenlabs-tts
        - create-voice
        - read-voice
        - update-voice
        - delete-voice
        - list-voices
        - ai-sdk
      title: SchemaVariantKey
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````