---
title: "Model Family"
method: GET
path: "/model-families/{family_name}"
tags: ["Models"]
---

# Model Family

`GET /model-families/{family_name}`

## Request

- Base URL: `https://api.deepinfra.com`
- URL: `https://api.deepinfra.com/model-families/{family_name}`
- Auth: none declared

## Path parameters

- `family_name` string, required

## Response `200`

Successful Response

- ModelFamilyOut
  - `name` string, required: Model family name
  - `title` string, required: Model family title
  - `description` string, required: Model family description
  - `developer` string, required: Model family developer organization
  - `meta_title` string, nullable: Meta title for SEO
  - `meta_description` string, nullable: Meta description for SEO
  - `featured_models` string[], required
  - `pp_sections_out` PricingPageSectionOut[], required
    - `section_id` string, required
    - `ptype` 'tokens' | 'time' | 'uptime' | 'input_length' | 'input_tokens' | 'input_character_length' | 'image_units' | 'output_length' | 'frame_units', required
    - `title` string, required
    - `description` string, required
    - `mf_description` string: Model family description for this section, if applicable. Will use description from the section if not set
    - `entries` PricingPageEntryOut[], required
      - `model_name` string, required
      - `short_name` string, required
      - `max_tokens` integer, nullable: The maximum context size of this model, if applicable
      - `pricing` union, required
        - ModelPricingTime
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_sec` number, required
        - ModelPricingTokens
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_input_token` number, required
          - `cents_per_output_token` number, required
          - `rate_per_input_token_cached` number, nullable
          - `rate_per_input_token_cache_write` number, nullable
          - `rate_per_service_tier_priority` number, nullable
          - `rate_per_service_tier_flex` number, nullable
          - `rate_per_explicit_cache_write_token` object, nullable
          - `explicit_cache_granularity_tokens` integer, nullable
        - ModelPricingInputLength
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_input_sec` number, required
        - ModelPricingInputTokens
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_input_token` number, required
          - `cents_per_image_token` number, nullable: Price of image tokens, when billed separately from input tokens. The tokens of input items that contain an image are image tokens, their text included.
        - ModelPricingUptime
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_sec` number, required
        - ModelPricingInputCharacterLength
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_input_chars` number, required
        - ModelPricingImageUnits
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_image_unit` number, required
          - `default_width` integer, required
          - `default_height` integer, required
          - `default_iterations` integer, required
          - `default_price_cents` number, nullable
          - `usage_from_cost` boolean, required
        - ModelPricingOutputLength
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_output_sec` number, required
        - ModelPricingFrameUnits
          - `discount` number, nullable: Promotional discount; you are charged price * (1 - discount)
          - `discount_ends_at` integer, nullable: Unix timestamp (seconds) when the discount ends, null when it has no scheduled end
          - `short` string, nullable: Short description of the pricing, ideal for cards and headers
          - `full` string, nullable: Full description of the pricing, perfect for details
          - `table` object, nullable: Could be used to generate pricing tables
          - `type` string
          - `cents_per_frame_unit` number, required
  - `faq_entries` FAQEntryOut[]: List of FAQ entries for this model family, ordered by their order field
    - `faq_id` string, required: FAQ entry ID, usually the question
    - `question` string, required: FAQ question
    - `answer` string, required: FAQ answer in markdown format
    - `order` integer: order of the FAQ entry in the list, lower numbers come first

## Other responses

- `404`: Not Found
- `422`: Validation Error

## Changes

- **2026-10-21** `3cdfc05fe22f`: 1 info
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #4: ModelPricingInputTokens]/cents_per_image_token` to the response with the `200` status
- **2026-08-15** `1ff37a4f6190`: 18 info
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #1: ModelPricingTime]/discount` to the response with the `200` status
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #1: ModelPricingTime]/discount_ends_at` to the response with the `200` status
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #2: ModelPricingTokens]/discount` to the response with the `200` status
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #2: ModelPricingTokens]/discount_ends_at` to the response with the `200` status
  - …14 more
- **2026-08-11** `79ff347d29e2`: 2 info
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #2: ModelPricingTokens]/explicit_cache_granularity_tokens` to the response with the `200` status
  - added the optional property `pp_sections_out/items/entries/items/pricing/anyOf[subschema #2: ModelPricingTokens]/rate_per_explicit_cache_write_token` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/deepinfra/apis/deepinfra-api/changes/model-families/:family_name/get.md)

---

[API](https://skmtc.dev/deepinfra/apis/deepinfra-api.md) · [All operations](https://skmtc.dev/deepinfra/apis/deepinfra-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deepinfra/apis/deepinfra-api/revisions/28e9378465ca?raw)
