UnoRouter Pricing API

The Pricing API from UnoRouter, for pricing.

GitHub OpenAPI

Operations 6

GET /api/pricing Get Pricing #
GET /api/pricing/catalog Get Pricing Catalog #
GET /api/pricing/catalog/model Get Pricing Catalog Model #
GET /api/pricing/counts Get Pricing Counts #
GET /api/pricing/model-groups Get Pricing Model Groups #
GET /api/pricing/vendors Get Pricing Vendors #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/unorouter-com:unorouter-com-pricing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unorouter-com-pricing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: ' '
  title: New Pricing API
  version: 0.0.1
tags:
- name: Pricing
paths:
  /api/pricing:
    get:
      operationId: getPricing
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingData'
            application/xml:
              schema:
                $ref: '#/components/schemas/PricingData'
          description: OK
      security:
      - {}
      summary: Get Pricing
      tags:
      - Pricing
  /api/pricing/catalog:
    get:
      operationId: getPricingCatalog
      parameters:
      - description: Include description and metadata (browse/compare need them; the model picker does not)
        in: query
        name: full
        schema:
          type: boolean
      - description: Only models served by this vendor, newest first (the vendor page)
        in: query
        name: vendor
        schema:
          type: string
      - description: Comma-separated endpoint types; keeps only models served by one of them, newest first
        in: query
        name: endpoint
        schema:
          type: string
      - description: Only models of this modality (text, image, video, audio, embedding), newest first
        in: query
        name: type
        schema:
          type: string
      - description: Also return models whose every lane is currently down, flagged online=false (the sitemap needs them; the picker does not)
        in: query
        name: include_offline
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCatalogData'
            application/xml:
              schema:
                $ref: '#/components/schemas/PricingCatalogData'
          description: OK
      security:
      - {}
      summary: Get Pricing Catalog
      tags:
      - Pricing
  /api/pricing/catalog/model:
    get:
      operationId: getPricingCatalogModel
      parameters:
      - description: Model name to look up (returns it even when all channels are offline)
        in: query
        name: model
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCatalogDetail'
            application/xml:
              schema:
                $ref: '#/components/schemas/PricingCatalogDetail'
          description: OK
      security:
      - {}
      summary: Get Pricing Catalog Model
      tags:
      - Pricing
  /api/pricing/counts:
    get:
      operationId: getPricingCounts
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCatalogCounts'
            application/xml:
              schema:
                $ref: '#/components/schemas/PricingCatalogCounts'
          description: OK
      security:
      - {}
      summary: Get Pricing Counts
      tags:
      - Pricing
  /api/pricing/model-groups:
    get:
      operationId: getPricingModelGroups
      parameters:
      - description: Model name to look up (returns it even when all channels are offline)
        in: query
        name: model
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingModelGroupsData'
            application/xml:
              schema:
                $ref: '#/components/schemas/PricingModelGroupsData'
          description: OK
      security:
      - {}
      summary: Get Pricing Model Groups
      tags:
      - Pricing
  /api/pricing/vendors:
    get:
      operationId: getPricingVendors
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVendorsData'
            application/xml:
              schema:
                $ref: '#/components/schemas/PricingVendorsData'
          description: OK
      security:
      - {}
      summary: Get Pricing Vendors
      tags:
      - Pricing
components:
  schemas:
    ImageParamRange:
      properties:
        default:
          format: double
          nullable: true
          type: number
        max:
          format: double
          nullable: true
          type: number
        min:
          format: double
          nullable: true
          type: number
      type: object
    PricingModelGroupsData:
      description: PricingModelGroupsData schema
      properties:
        auto_chain:
          items:
            type: string
          type: array
        enable_groups:
          items:
            type: string
          type: array
        group_providers:
          additionalProperties:
            $ref: '#/components/schemas/GroupDataPolicy'
          type: object
        group_ratio:
          additionalProperties:
            format: double
            type: number
          type: object
        own_purpose:
          $ref: '#/components/schemas/OwnPurposeSummary'
      required:
      - auto_chain
      - enable_groups
      - group_providers
      - group_ratio
      type: object
    PricingCatalogData:
      description: PricingCatalogData schema
      properties:
        counts:
          $ref: '#/components/schemas/PricingCatalogCounts'
        first_free_model:
          type: string
        models:
          items:
            $ref: '#/components/schemas/PricingCatalogModel'
          type: array
        supported_endpoint:
          additionalProperties:
            $ref: '#/components/schemas/EndpointInfo'
          type:
          - object
          - 'null'
        vendors:
          items:
            $ref: '#/components/schemas/PricingVendor'
          type: array
      required:
      - counts
      - models
      - vendors
      type: object
    PricingModel:
      properties:
        audio_completion_ratio:
          format: double
          nullable: true
          type: number
        audio_ratio:
          format: double
          nullable: true
          type: number
        billing_expr:
          type: string
        billing_mode:
          type: string
        cache_ratio:
          format: double
          nullable: true
          type: number
        completion_ratio:
          format: double
          type: number
        create_cache_ratio:
          format: double
          nullable: true
          type: number
        created_time:
          format: int64
          type: integer
        description:
          type: string
        enable_groups:
          items:
            type: string
          type: array
        grid_pricing: {}
        icon:
          type: string
        image_ratio:
          format: double
          nullable: true
          type: number
        is_free:
          type: boolean
        metadata:
          type: string
        model_name:
          type: string
        model_price:
          format: double
          type: number
        model_ratio:
          format: double
          type: number
        online:
          type: boolean
        owner_by:
          type: string
        pricing_version:
          type: string
        quota_type:
          type: integer
        supported_endpoint_types:
          items:
            type: string
          type:
          - array
          - 'null'
        tags:
          type: string
        vendor_id:
          type: integer
      required:
      - completion_ratio
      - enable_groups
      - is_free
      - metadata
      - model_name
      - model_price
      - model_ratio
      - online
      - owner_by
      - quota_type
      - supported_endpoint_types
      type: object
    PricingCatalogModel:
      properties:
        avg_latency_ms:
          format: double
          nullable: true
          type: number
        chat:
          type: boolean
        description:
          type: string
        fixed_price:
          format: double
          type: number
        icon:
          type: string
        input_price:
          format: double
          type: number
        is_fixed_price:
          type: boolean
        is_free:
          type: boolean
        metadata:
          $ref: '#/components/schemas/ModelMetadata'
        model_name:
          type: string
        online:
          type: boolean
        original_fixed_price:
          format: double
          nullable: true
          type: number
        original_input_price:
          format: double
          nullable: true
          type: number
        original_output_price:
          format: double
          nullable: true
          type: number
        output_price:
          format: double
          type: number
        own_purpose:
          $ref: '#/components/schemas/OwnPurposeSummary'
        release_ts:
          format: int64
          type: integer
        success_rate:
          format: double
          nullable: true
          type: number
        supported_endpoint_types:
          items:
            type: string
          type: array
        tags:
          items:
            type: string
          type: array
        type:
          type: string
        uptime_24h:
          format: double
          nullable: true
          type: number
        vendor:
          type: string
        vendor_id:
          type: integer
      required:
      - chat
      - fixed_price
      - input_price
      - is_fixed_price
      - is_free
      - model_name
      - online
      - output_price
      - release_ts
      - supported_endpoint_types
      - tags
      - type
      - vendor
      - vendor_id
      type: object
    GroupDataPolicy:
      properties:
        onward_unvetted:
          type: boolean
        prompts:
          type: string
        seat_country:
          type: string
        transfer:
          type: string
        unsafe_third_country:
          type: boolean
      required:
      - onward_unvetted
      - prompts
      - transfer
      - unsafe_third_country
      type: object
    PricingVendor:
      properties:
        description:
          type: string
        icon:
          type: string
        id:
          type: integer
        name:
          type: string
      required:
      - id
      - name
      type: object
    OwnPurposeSummary:
      properties:
        consent_required:
          type: boolean
        countries:
          items:
            type: string
          type: array
        trains_or_retains:
          type: boolean
      required:
      - consent_required
      - countries
      - trains_or_retains
      type: object
    ImageParams:
      properties:
        backgroundChoices:
          items:
            type: string
          type:
          - array
          - 'null'
        cfg:
          $ref: '#/components/schemas/ImageParamRange'
        defaultCfg:
          format: double
          nullable: true
          type: number
        defaultHeight:
          type: integer
        defaultSampler:
          type: string
        defaultSteps:
          type: integer
        defaultWidth:
          type: integer
        endpoint:
          type: string
        maxReferenceImages:
          type: integer
        outputFormatChoices:
          items:
            type: string
          type:
          - array
          - 'null'
        qualityChoices:
          items:
            type: string
          type:
          - array
          - 'null'
        samplers:
          items:
            type: string
          type:
          - array
          - 'null'
        steps:
          $ref: '#/components/schemas/ImageParamRange'
        supportsAdetailer:
          type: boolean
        supportsCfg:
          type: boolean
        supportsHiresFix:
          type: boolean
        supportsLoraChain:
          type: boolean
        supportsMaskImage:
          type: boolean
        supportsNegativePrompt:
          type: boolean
        supportsReferences:
          type: boolean
        supportsSampler:
          type: boolean
        supportsSeed:
          type: boolean
        supportsSeedImage:
          type: boolean
        supportsSize:
          type: boolean
        supportsSteps:
          type: boolean
        supportsStrength:
          type: boolean
      required:
      - defaultHeight
      - defaultSampler
      - defaultSteps
      - defaultWidth
      - maxReferenceImages
      - supportsAdetailer
      - supportsCfg
      - supportsHiresFix
      - supportsLoraChain
      - supportsMaskImage
      - supportsNegativePrompt
      - supportsReferences
      - supportsSampler
      - supportsSeed
      - supportsSeedImage
      - supportsSize
      - supportsSteps
      - supportsStrength
      type: object
    ModelMetadata:
      properties:
        categories:
          items:
            type: string
          type:
          - array
          - 'null'
        contextWindow:
          type: integer
        defaultParameters:
          additionalProperties:
            format: double
            nullable: true
            type: number
          type:
          - object
          - 'null'
        deprecationDate:
          type: string
        expirationDate:
          type: string
        huggingFaceId:
          type: string
        imageParams:
          $ref: '#/components/schemas/ImageParams'
        inputModalities:
          items:
            type: string
          type:
          - array
          - 'null'
        isModerated:
          type: boolean
        isReasoning:
          type: boolean
        knowledgeCutoff:
          type: string
        maxInputTokens:
          type: integer
        maxOutputTokens:
          type: integer
        mode:
          type: string
        outputModalities:
          items:
            type: string
          type:
          - array
          - 'null'
        quantization:
          type: string
        reasoningEfforts:
          items:
            type: string
          type:
          - array
          - 'null'
        releaseDate:
          type: string
        releaseTs:
          format: int64
          type: integer
        series:
          type: string
        supportedParameters:
          items:
            type: string
          type:
          - array
          - 'null'
        supportedParametersAll:
          items:
            type: string
          type:
          - array
          - 'null'
        supportsAssistantPrefill:
          type: boolean
        supportsAudio:
          type: boolean
        supportsAudioOutput:
          type: boolean
        supportsCache:
          type: boolean
        supportsCodeExecution:
          type: boolean
        supportsComputerUse:
          type: boolean
        supportsFileSearch:
          type: boolean
        supportsNativeStreaming:
          type: boolean
        supportsNativeStructuredOutput:
          type: boolean
        supportsParallelTools:
          type: boolean
        supportsPdf:
          type: boolean
        supportsResponseFormat:
          type: boolean
        supportsServiceTier:
          type: boolean
        supportsSystemMessages:
          type: boolean
        supportsTools:
          type: boolean
        supportsUrlContext:
          type: boolean
        supportsVideo:
          type: boolean
        supportsVision:
          type: boolean
        supportsWebSearch:
          type: boolean
        tokenizer:
          type: string
      required:
      - releaseTs
      type: object
    PricingVendorModel:
      properties:
        chat:
          type: boolean
        is_free:
          type: boolean
        model_name:
          type: string
        release_ts:
          format: int64
          type: integer
        tag:
          type: string
        vendor:
          type: string
      required:
      - chat
      - is_free
      - model_name
      - release_ts
      - tag
      - vendor
      type: object
    EndpointInfo:
      properties:
        method:
          type: string
        path:
          type: string
      required:
      - method
      - path
      type: object
    PricingVendorsData:
      description: PricingVendorsData schema
      properties:
        model_vendors:
          items:
            $ref: '#/components/schemas/PricingVendorModel'
          type: array
        vendor_names:
          items:
            type: string
          type: array
      required:
      - model_vendors
      - vendor_names
      type: object
    ModelSquareOrder:
      properties:
        recommended:
          items:
            type: string
          type:
          - array
          - 'null'
        requests:
          items:
            type: string
          type:
          - array
          - 'null'
        tokens:
          items:
            type: string
          type:
          - array
          - 'null'
      required:
      - recommended
      - requests
      - tokens
      type: object
    PricingCatalogCounts:
      properties:
        free:
          type: integer
        models:
          type: integer
        paid:
          type: integer
        vendors:
          type: integer
      required:
      - free
      - models
      - paid
      - vendors
      type: object
    PricingCatalogDetail:
      description: PricingCatalogDetail schema
      properties:
        auto_chain:
          items:
            type: string
          type: array
        avg_latency_ms:
          format: double
          nullable: true
          type: number
        billing_expr:
          type: string
        cache_ratio:
          format: double
          nullable: true
          type: number
        chat:
          type: boolean
        completion_ratio:
          format: double
          type: number
        create_cache_ratio:
          format: double
          nullable: true
          type: number
        created_time:
          format: int64
          type: integer
        description:
          type: string
        enable_groups:
          items:
            type: string
          type: array
        fixed_price:
          format: double
          type: number
        grid_min_ratio:
          format: double
          type: number
        grid_pricing:
          items:
            additionalProperties: {}
            type: object
          type:
          - array
          - 'null'
        group_providers:
          additionalProperties:
            $ref: '#/components/schemas/GroupDataPolicy'
          type: object
        group_ratio:
          additionalProperties:
            format: double
            type: number
          type: object
        icon:
          type: string
        input_price:
          format: double
          type: number
        is_fixed_price:
          type: boolean
        is_free:
          type: boolean
        is_tiered:
          type: boolean
        metadata:
          $ref: '#/components/schemas/ModelMetadata'
        model_name:
          type: string
        model_ratio:
          format: double
          type: number
        online:
          type: boolean
        original_fixed_price:
          format: double
          nullable: true
          type: number
        original_input_price:
          format: double
          nullable: true
          type: number
        original_output_price:
          format: double
          nullable: true
          type: number
        output_price:
          format: double
          type: number
        own_purpose:
          $ref: '#/components/schemas/OwnPurposeSummary'
        release_ts:
          format: int64
          type: integer
        success_rate:
          format: double
          nullable: true
          type: number
        supported_endpoint_types:
          items:
            type: string
          type: array
        tags:
          items:
            type: string
          type: array
        type:
          type: string
        uptime_24h:
          format: double
          nullable: true
          type: number
        vendor:
          type: string
        vendor_id:
          type: integer
      required:
      - auto_chain
      - chat
      - completion_ratio
      - enable_groups
      - fixed_price
      - grid_min_ratio
      - group_providers
      - group_ratio
      - input_price
      - is_fixed_price
      - is_free
      - is_tiered
      - model_name
      - model_ratio
      - online
      - output_price
      - release_ts
      - supported_endpoint_types
      - tags
      - type
      - vendor
      - vendor_id
      type: object
    PricingData:
      description: PricingData schema
      properties:
        auto_groups:
          items:
            type: string
          type: array
        data:
          items:
            $ref: '#/components/schemas/PricingModel'
          type: array
        group_ratio:
          additionalProperties:
            format: double
            type: number
          type:
          - object
          - 'null'
        model_order:
          $ref: '#/components/schemas/ModelSquareOrder'
        show_original_price:
          type: boolean
        success:
          type: boolean
        supported_endpoint:
          additionalProperties:
            $ref: '#/components/schemas/EndpointInfo'
          type:
          - object
          - 'null'
        usable_group:
          additionalProperties:
            type: string
          type:
          - object
          - 'null'
        vendors:
          items:
            $ref: '#/components/schemas/PricingVendor'
          type: array
      required:
      - auto_groups
      - data
      - group_ratio
      - model_order
      - show_original_price
      - success
      - supported_endpoint
      - usable_group
      - vendors
      type: object
  securitySchemes:
    accessToken:
      description: System access token for dashboard API routes. Must be paired with New-Api-User header.
      in: header
      name: Authorization
      type: apiKey
    anthropicApiKey:
      description: Anthropic-style API key. Used by /v1/messages and /v1/models.
      in: header
      name: x-api-key
      type: apiKey
    bearerAuth:
      description: API token (sk-...). Used by relay routes (/v1/*) and token-based query endpoints.
      scheme: bearer
      type: http
    newApiUser:
      description: User ID header. Required together with the access token or session cookie for dashboard API routes.
      in: header
      name: New-Api-User
      type: apiKey
    sessionAuth:
      description: Session cookie from /api/user/login. Used by dashboard routes as an alternative to access token.
      in: cookie
      name: session
      type: apiKey