InferenceIndexer.ai Models API

The Models API from InferenceIndexer.ai — 4 operation(s) for models.

GitHub OpenAPI

Operations 4

GET /v1/models Get Models #
GET /v1/models/{model_id}/endpoints Get Model Endpoints #
GET /v1/models/{model_id}/history Get Model History #
GET /v1/models/{model_id} Get Model #

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/inferenceindexer-ai:inferenceindexer-ai-models-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

inferenceindexer-ai-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: InferenceIndexer Models API
  description: Independent price index for AI inference
  version: 1.2.0
tags:
- name: Models
paths:
  /v1/models:
    get:
      summary: Get Models
      description: Returns all tracked models with current pricing.
      operationId: get_models_v1_models_get
      parameters:
      - name: tier
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^(frontier|standard|budget|micro)$
          - type: 'null'
          title: Tier
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          description: Text search on model id and name
          title: Search
        description: Text search on model id and name
      - name: sort
        in: query
        required: false
        schema:
          type: string
          pattern: ^(blended|input|output|sit_score|sit_adjusted_price)$
          default: sit_adjusted_price
          title: Sort
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Models
  /v1/models/{model_id}/endpoints:
    get:
      summary: Get Model Endpoints
      description: Returns all provider endpoints for a single model (multi-provider pricing).
      operationId: get_model_endpoints_v1_models__model_id__endpoints_get
      parameters:
      - name: model_id
        in: path
        required: true
        schema:
          type: string
          title: Model Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Models
  /v1/models/{model_id}/history:
    get:
      summary: Get Model History
      description: 'Returns historical price data and trends for a single model.


        This is InferenceIndexer''s differentiator: aggregators like OpenRouter

        expose only current price, while this endpoint returns the price over

        time (input, output, and blended $/M), allowing trend analysis and

        historical comparison. Use `days` to control the window (default 30).'
      operationId: get_model_history_v1_models__model_id__history_get
      parameters:
      - name: model_id
        in: path
        required: true
        schema:
          type: string
          title: Model Id
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 365
          minimum: 1
          default: 30
          title: Days
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Models
  /v1/models/{model_id}:
    get:
      summary: Get Model
      description: Returns detailed pricing and metadata for a single model.
      operationId: get_model_v1_models__model_id__get
      parameters:
      - name: model_id
        in: path
        required: true
        schema:
          type: string
          title: Model Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Models
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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