CostBench Usage API

The Usage API from CostBench — 1 operation(s) for usage.

GitHub OpenAPI

Operations 1

0 of 1 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 1 more answered but could not be checked against a schema. Checked 2026-11-11. how this works · status file

GET /api/v2/usage/{slug} LLM/API usage rate card (+ optional cost estimate) observed #

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/costbench-com:costbench-com-usage-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

costbench-com-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CostBench Verified Cost-Intelligence Usage API
  version: 2.0.0
  description: 'Verified, sourced software pricing intelligence for 3,290+ products — true costs, hidden fees, contract terms, negotiation data, price history. Every claim carries its sources + a confidence/verification envelope, plus a license map (''owned'' | ''restricted'') — restricted fields (third-party medians) are not licensed for commercial reuse. Also available as an MCP server at https://costbench.com/mcp. Docs + free-tier terms: https://costbench.com/api-docs.'
  contact:
    url: https://costbench.com
servers:
- url: https://costbench.com
tags:
- name: Usage
paths:
  /api/v2/usage/{slug}:
    get:
      summary: LLM/API usage rate card (+ optional cost estimate)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        example: openai-api
      - name: inputTokens
        in: query
        schema:
          type: integer
      - name: outputTokens
        in: query
        schema:
          type: integer
      - name: model
        in: query
        schema:
          type: string
      responses:
        '200':
          description: rates[] (+ estimate when tokens given)
        '404':
          description: Not found
      tags:
      - Usage
      operationId: getApiV2UsageBySlug
      x-operation-id-source: derived
x-attribution: Data from CostBench (https://costbench.com). Every claim is sourced; verify pricing on the vendor site before purchase.