API Reference

Models

List all available AI models with current pricing data. Supports search, filtering, and sorting.

List Models

GET/modelsPublic — no auth

Query Parameters

ParameterTypeDefaultDescription
searchstringFilter by model name or provider
sortstringname_ascOne of: name_asc, name_desc, price_asc, price_desc
limitnumber12Results per page (max 1000)
pagenumber1Page number for pagination
categorystringFilter by category: LLM, Image, Audio, Video, etc.
providerstringFilter by provider name (partial match)

Response Schema

JSON
{
  "data": [
    {
      "id": 42,
      "name": "GPT-4o",
      "slug": "gpt-4o",
      "provider": "OpenAI",
      "price_input": 0.005,
      "price_output": 0.015,
      "unit": "1k_tokens",
      "context_window": 128000,
      "confidence": 0.98,
      "status": "active"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 12,
    "total": 247,
    "totalPages": 21
  }
}

Submit a Model

POST/models🔐 Signed-in session

Submit a new AI model for inclusion in the database. This is a dashboard action authenticated by your logged-in session (cookie) — it is not exposed to API keys. Submitted models go through a review process before becoming publicly visible.

Code Examples

JavaScript
const res = await fetch(
  'https://api.tallyify.com/models?search=gpt&sort=price_asc&limit=10'
);
const { data, pagination } = await res.json();
console.log(data.map(m => m.name));