Pricing

List pricing history for a (provider, model, tokenClass) triple

Changed on
get/api/pricing/{provider}/{model}/{tokenClass}

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/pricing/{provider}/{model}/{tokenClass}
  • Auth
    HTTP bearer

Path parameters

provider'claude' | 'claude-managed' | 'codex' | 'pi' | 'opencode' | 'devin' | 'gemini' | 'acp' | 'dsh' | 'amp' | 'cursor' | 'grok' | 'fx' required
modelstring required
tokenClass'input' | 'cached_input' | 'output' | 'cache_write' | 'cache_write_1h' | 'web_search' | 'runtime_hour' | 'acu' required

Response

Pricing rows (latest first)

Changes

    • warning

      added the new fx enum value to the // response property for the response status

    • info

      added the new enum value fx to the path request parameter provider

    • warning

      added the new grok enum value to the // response property for the response status

    • info

      added the new enum value grok to the path request parameter provider