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

# Get Decision Models and Prices

> List the available decision models and their price per million input and output tokens.



## OpenAPI

````yaml https://api.swarms.world/openapi.json get /v1/decision/models
openapi: 3.1.0
info:
  title: Swarms API
  description: >-
    Swarms API provides scalable, secure orchestration for multi-agent systems.
    Access robust endpoints for managing agents and swarms, automating
    workflows, and monitoring execution. Requires an API key—see the [API Keys
    page](https://swarms.world/platform/api-keys). Refer to [Swarms API
    Documentation](https://docs.swarms.ai) for guides and details.
  version: 1.0.0
servers:
  - url: https://api.swarms.world
    description: Swarms Production API
security: []
paths:
  /v1/decision/models:
    get:
      tags:
        - Decision Models
      summary: Get Decision Models and Prices
      description: >-
        List the available decision models and their price per million input and
        output tokens.
      operationId: get_decision_models_v1_decision_models_get
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionModelsOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DecisionModelsOutput:
      properties:
        status:
          type: string
          title: Status
          description: Status of the request, success when completed.
        models:
          items:
            $ref: '#/components/schemas/DecisionModelPrice'
          type: array
          title: Models
          description: Every decision model available, with its price.
      type: object
      required:
        - status
        - models
      title: DecisionModelsOutput
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DecisionModelPrice:
      properties:
        name:
          type: string
          title: Name
          description: Model name to pass as model_name or model.
        description:
          type: string
          title: Description
          description: The model's provider and price.
        release_date:
          type: string
          title: Release Date
          description: >-
            Kept for TypeSafe SDK compatibility; empty because providers do not
            publish a release date for every model or alias.
          default: ''
        provider:
          type: string
          title: Provider
          description: Provider that runs the model.
        input_cost_per_1m:
          type: number
          title: Input Cost Per 1M
          description: Price per 1 million input tokens in USD.
        output_cost_per_1m:
          type: number
          title: Output Cost Per 1M
          description: Price per 1 million output tokens in USD.
      type: object
      required:
        - name
        - description
        - provider
        - input_cost_per_1m
        - output_cost_per_1m
      title: DecisionModelPrice
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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