API Reference

GET /v1/models

Returns all available LLM models and their pricing.

GEThttps://promptdiff.bizmarq.com/api/v1/models

Parameters

No parameters. Requires authentication (Bearer token).

Response

response.json
{
  "models": [
    {
      "id": "claude-haiku-4-5",
      "name": "Claude Haiku 4.5",
      "provider": "anthropic",
      "input_per_1m": 0.80,
      "output_per_1m": 4.00
    },
    {
      "id": "gpt-4o-mini",
      "name": "GPT-4o Mini",
      "provider": "openai",
      "input_per_1m": 0.15,
      "output_per_1m": 0.60
    },
    {
      "id": "gemini-2.5-flash",
      "name": "Gemini 2.5 Flash",
      "provider": "google",
      "input_per_1m": 0.15,
      "output_per_1m": 0.60
    },
    {
      "id": "grok-3-mini",
      "name": "Grok 3 Mini",
      "provider": "xai",
      "input_per_1m": 0.30,
      "output_per_1m": 0.50
    }
  ]
}

Example

bash
curl https://promptdiff.bizmarq.com/api/v1/models \
  -H "Authorization: Bearer pd_your_api_key_here"