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

# llm pricing

> Token prices + context windows for LLMs, normalized from the LiteLLM dataset (refreshed daily). Returns `{ models, total, returned, source, updated_at }`.



## OpenAPI

````yaml /openapi.json get /v1/llm/pricing
openapi: 3.1.0
info:
  title: fetchbean API
  version: v1
  description: >-
    One key for web search, page reads, weather, social data, and raw provider
    access.
servers:
  - url: https://api.fetchbean.com
security:
  - apiKeyAuth: []
paths:
  /v1/llm/pricing:
    get:
      tags:
        - Data
      summary: llm pricing
      description: >-
        Token prices + context windows for LLMs, normalized from the LiteLLM
        dataset (refreshed daily). Returns `{ models, total, returned, source,
        updated_at }`.
      parameters:
        - name: model
          in: query
          schema:
            type: string
          description: Exact model name (case-insensitive).
        - name: provider
          in: query
          schema:
            type: string
          description: e.g. openai, anthropic, bedrock.
        - name: mode
          in: query
          schema:
            type: string
          description: chat, embedding, image_generation, ...
        - name: contains
          in: query
          schema:
            type: string
          description: Model-name substring match.
        - name: limit
          in: query
          schema:
            type: integer
          description: 1–500 (default 50).
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            billable:
              type: boolean
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your fetchbean API key (fb_…). Keys are not accepted through
        Authorization.

````