llmhosting-ai Prices.json API

The Prices.json API from llmhosting-ai — 1 operation(s) for prices.json.

Operations 1

GET /api/prices.json Normalized LLM API prices per provider — models priced by 2+ providers (top 300… #

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/llmhosting-ai:llmhosting-ai-prices-json-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

llmhosting-ai-prices-json-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Llmhosting Ai Prices.json API
  version: 1.0.0
  contact:
    url: https://llmhosting.ai
  license:
    name: CC BY 4.0
    url: https://creativecommons.org/licenses/by/4.0/
  description: 'Operations tagged Prices.json across 2 of this provider''s published API definitions: openapi.json, llmhosting-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://llmhosting.ai
tags:
- name: Prices.json
paths:
  /api/prices.json:
    get:
      operationId: getLlmPrices
      summary: Normalized LLM API prices per provider — models priced by 2+ providers (top 300…
      responses:
        '200':
          description: All tracked models with per-provider pricing
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated:
                    type: string
                    format: date-time
                    description: Last data refresh (ISO 8601)
                  source:
                    type: string
                    const: https://llmhosting.ai
                  attribution:
                    type: string
                    description: License and upstream-source note
                  models:
                    type: array
                    items:
                      type: object
                      properties:
                        slug:
                          type: string
                          description: Model slug, e.g. "gpt-4o"
                        name:
                          type: string
                          description: Human display name
                        providers:
                          type: array
                          items:
                            type: object
                            properties:
                              provider:
                                type: string
                                description: Provider slug, e.g. "openai", "vast"
                              input_per_m:
                                type: number
                                description: USD per 1M input tokens
                              output_per_m:
                                type: number
                                description: USD per 1M output tokens
                              cache_read_per_m:
                                type:
                                - number
                                - 'null'
                                description: USD per 1M cached input tokens, null when unpublished
                              context:
                                type:
                                - number
                                - 'null'
                                description: Context window in tokens, null when unknown
                          description: Sorted cheapest-first by input price
      tags:
      - Prices.json
    servers:
    - url: https://llmhosting.ai
externalDocs:
  description: Human docs and the llmhosting.ai MCP server, the interactive alternative to raw JSON
  url: https://llmhosting.ai/mcp-docs
x-refined-from:
- openapi.json
- llmhosting-ai-openapi.json