AI 模型和大型语言模型定价 API

API ID 15342

比较450多种大型语言模型以及热门开源AI模型和数据集的实时令牌定价、上下文长度、模态和工作负载成本估算

100% 正常运行时间 842 ms 平均响应

API 文档

端点

请求
按提供商、模态、免费层级、推理支持、最小上下文窗口、每百万个 token 的最高价格和基准测试智能评分,搜索和筛选 470 多种商业及开放权重 LLM
Endpoint ID: 41001
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41001/list+and+filter+live+llm+models+pricing+and+benchmarks
输入参数

列出并筛选实时大语言模型的定价和基准测试 — 端点功能

对象 描述
provider 可选 Filter by model provider slug as listed by /v1/llm/providers (e.g. openai, anthropic, google, deepseek, meta-llama, qwen). Unknown provider -> 400.
q 可选 Keyword search across model ID, name, and description
modality 可选 Filter by input or output modality present in the live catalog (e.g. text, image, audio, file, video). Unknown modality -> 400.
freeOnly 可选 Return only $0 free models. Accepts true/false (or 1/0); any other value -> 400.
reasoningOnly 可选 Return only models with explicit reasoning capabilities. Accepts true/false (or 1/0); any other value -> 400.
toolsOnly 可选 Return only models supporting tool/function calling. Accepts true/false (or 1/0); any other value -> 400.
minContext 可选 Minimum context window in tokens (e.g. 128000)
maxPromptPer1M 可选 Maximum prompt price in USD per 1M input tokens
minIntelligence 可选 Minimum independent intelligence index score
sort 可选 Specify the sort query parameter value. Allowed values: intelligence_desc, price_asc, price_desc, context_desc, newest.
limit 可选 Maximum models to return (1-150)

剩余免费测试请求:3 / 3。


输入参数

provider
q
modality
freeOnly
reasoningOnly
toolsOnly
minContext
maxPromptPer1M
minIntelligence
sort
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:12.827Z",
        "latencyMs": 38,
        "cached": false,
        "count": 8,
        "totalMatched": 8,
        "totalCatalogModels": 476,
        "sort": "intelligence_desc"
    },
    "data": [
        {
            "id": "anthropic/claude-fable-5.2:batch",
            "name": "Anthropic: Claude Fable 5.2 (batch)",
            "provider": "anthropic",
            "createdAt": "2026-11-09T19:49:41.000Z",
            "description": "Claude Fable 5.2 is Anthropic's most capable model for the most demanding technical work, with gains over Fable 5.1 in coding, reasoning, and vision. In prerelease testing it completed otherwise-infeasible...",
            "contextLength": 1000000,
            "maxCompletionTokens": 128000,
            "modality": "text+image+file->text",
            "inputModalities": [
                "text",
                "image",
                "file"
            ],
            "outputModalities": [
                "text"
            ],
            "isFree": false,
            "pricing": {
                "promptPer1MUsd": 4,
                "completionPer1MUsd": 20,
                "blendedPer1MUsd": 8,
                "cacheReadPer1MUsd": 0.1,
                "cacheWritePer1MUsd": 5,
                "webSearchPerCallUsd": 0.01
            },
            "capabilities": {
                "supportsTools": true,
                "supportsReasoning": true,
                "supportsStructuredOutputs": true,
                "isModerated": true
            },
            "benchmarks": {
                "intelligenceIndex": 64.8,
                "codingIndex": null,
                "agenticIndex": null,
                "engineeringIndex": 72.8,
                "financeIndex": 64.7,
                "legalIndex": 63.3,
                "designBenchmarkElo": 1419.9
            }
        },
        {
            "id": "anthropic/claude-opus-5.5",
            "name": "Anthropic: Claude Opus 5.5",
            "provider": "anthropic",
            "createdAt": "2026-09-22T16:32:12.000Z",
            "description": "Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...",
            "contextLength": 1000000,
            "maxCompletionTokens": 128000,
            "modality": "text+image+file->text",
            "inputModalities": [
                "text",
                "image",
                "file"
            ],
            "outputModalities": [
                "text"
            ],
            "isFree": false,
            "pricing": {
                "promptPer1MUsd": 4,
                "completionPer1MUsd": 20,
                "blendedPer1MUsd": 8,
                "cacheReadPer1MUsd": 0.2,
                "cacheWritePer1MUsd": 5,
                "webSearchPerCallUsd": 0.01
            },
            "capabilities": {
                "supportsTools": true,
                "supportsReasoning": true,
                "supportsStructuredOutputs": true,
                "isModerated": true
            },
            "benchmarks": {
                "intelligenceIndex": 59.1,
                "codingIndex": null,
                "agenticIndex": null,
                "engineeringIndex": 65.3,
                "financeIndex": 59.4,
                "legalIndex": 58,
                "designBenchmarkElo": 1360.7
            }
        },
        {
            "id": "anthropic/claude-opus-5.5:batch",
            "name": "Anthropic: Claude Opus 5.5 (batch)",
            "provider": "anthropic",
            "createdAt": "2026-09-22T16:32:12.000Z",
            "description": "Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...",
            "contextLength": 1000000,
            "maxCompletionTokens": 128000,
            "modality": "text+image+file->text",
            "inputModalities": [
                "text",
                "image",
                "file"
            ],
            "outputModalities": [
                "text"
            ],
            "isFree": false,
            "pricing": {
                "promptPer1MUsd": 2,
                "completionPer1MUsd": 10,
                "blendedPer1MUsd": 4,
                "cacheReadPer1MUsd": 0.1,
                "cacheWritePer1MUsd": 2.5,
                "webSearchPerCallUsd": 0.01
            },
            "capabilities": {
                "supportsTools": true,
                "supportsReasoning": true,
                "supportsStructuredOutputs": true,
                "isModerated": true
            },
            "benchmarks": {
                "intelligenceIndex": 59.1,
                "codingIndex": null,
                "agenticIndex": null,
                "engineeringIndex": 65.3,
                "financeIndex": 59.4,
                "legalIndex": 58,
                "designBenchmarkElo": 1360.7
            }
        }
    ]
}
列出并筛选实时大语言模型的定价和基准测试 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41001/list+and+filter+live+llm+models+pricing+and+benchmarks?provider=anthropic&q=claude&modality=image&freeOnly=false&reasoningOnly=false&toolsOnly=false&minContext=128000&maxPromptPer1M=5&minIntelligence=40&sort=intelligence_desc&limit=30' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
计算指定工作负载下所有匹配的 LLM 的预估总美元成本(输入 + 缓存输入 + 输出 Token)以及每美元智能价值评分。添加 requestsPerMonth 可将每次请求的平均 Token 数转换为月度账单,并计算每次请求的成本。定价采用各模型基础档位的标价(meta.pricingTier = "base");部分提供商在超过长上下文阈值(例如输入 Token >200k)后会收取更高费用,此类附加费用不计入其中
Endpoint ID: 41002
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41002/estimate+and+rank+llm+workload+cost+in+usd
输入参数

估算并排列LLM工作负载成本(美元) — 端点功能

对象 描述
inputTokens 可选 Total input tokens for workload (default 1,000,000)
outputTokens 可选 Total output tokens for workload (default 250,000)
cachedInputTokens 可选 Portion of inputTokens served from prompt cache (must not exceed inputTokens)
requestsPerMonth 可选 Monthly mode.
provider 可选 Only estimate models from this provider slug (e.g. openai, anthropic, google). Unknown provider -> 400.
modality 可选 Only models that accept this input modality (e.g. text, image, audio, file). Unknown modality -> 400.
minContext 可选 Minimum context length required
minIntelligence 可选 Minimum intelligence benchmark index
excludeFree 可选 Exclude free-tier models. Accepts true/false (or 1/0); any other value -> 400.
reasoningOnly 可选 Only models with explicit reasoning support. Accepts true/false (or 1/0); any other value -> 400.
sort 可选 Ranking criterion. Allowed values: cost_asc, value_desc, intelligence_desc.
limit 可选 Maximum models to return (1-100)

剩余免费测试请求:3 / 3。


输入参数

inputTokens
outputTokens
cachedInputTokens
requestsPerMonth
provider
modality
minContext
minIntelligence
excludeFree
reasoningOnly
sort
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:12.937Z",
        "latencyMs": 10,
        "cached": true,
        "count": 10,
        "totalMatched": 10,
        "workload": {
            "inputTokens": 50000000000,
            "outputTokens": 12500000000,
            "cachedInputTokens": 0,
            "requestsPerMonth": 50000,
            "perRequest": {
                "inputTokens": 1000000,
                "outputTokens": 250000,
                "cachedInputTokens": 0
            }
        },
        "costPeriod": "month",
        "sort": "cost_asc",
        "pricingTier": "base",
        "pricingNote": "Costs use each model's base-tier list price. Some providers charge higher rates once a request exceeds a long-context threshold (e.g. >200k input tokens); those surcharges are not included."
    },
    "data": [
        {
            "id": "anthropic/claude-sonnet-5.5:batch",
            "name": "Anthropic: Claude Sonnet 5.5 (batch)",
            "provider": "anthropic",
            "contextLength": 1000000,
            "isFree": false,
            "promptPer1MUsd": 1,
            "completionPer1MUsd": 5,
            "estimatedInputCostUsd": 50000,
            "estimatedCachedInputCostUsd": 0,
            "estimatedOutputCostUsd": 62500,
            "estimatedTotalCostUsd": 112500,
            "intelligenceIndex": 54.7,
            "valueScore": 0,
            "costPerRequestUsd": 2.25
        },
        {
            "id": "anthropic/claude-sonnet-5.5",
            "name": "Anthropic: Claude Sonnet 5.5",
            "provider": "anthropic",
            "contextLength": 1000000,
            "isFree": false,
            "promptPer1MUsd": 2,
            "completionPer1MUsd": 10,
            "estimatedInputCostUsd": 100000,
            "estimatedCachedInputCostUsd": 0,
            "estimatedOutputCostUsd": 125000,
            "estimatedTotalCostUsd": 225000,
            "intelligenceIndex": 54.7,
            "valueScore": 0,
            "costPerRequestUsd": 4.5
        },
        {
            "id": "anthropic/claude-opus-5.5:batch",
            "name": "Anthropic: Claude Opus 5.5 (batch)",
            "provider": "anthropic",
            "contextLength": 1000000,
            "isFree": false,
            "promptPer1MUsd": 2,
            "completionPer1MUsd": 10,
            "estimatedInputCostUsd": 100000,
            "estimatedCachedInputCostUsd": 0,
            "estimatedOutputCostUsd": 125000,
            "estimatedTotalCostUsd": 225000,
            "intelligenceIndex": 59.1,
            "valueScore": 0,
            "costPerRequestUsd": 4.5
        }
    ]
}
估算并排列LLM工作负载成本(美元) — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41002/estimate+and+rank+llm+workload+cost+in+usd?inputTokens=1000000&outputTokens=250000&cachedInputTokens=OptionalrequestsPerMonth=50000&provider=anthropic&modality=image&minContext=128000&minIntelligence=40&excludeFree=false&reasoningOnly=false&sort=cost_asc&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
并排比较最多 10 个大语言模型的预估工作负载美元成本、相对于最昂贵模型的节省百分比、能力和基准测试分数。接受精确的模型 ID 或部分名称片段。添加 requestsPerMonth 以计算月度成本和单次请求成本。定价采用每个模型基础层级的标价(meta.pricingTier = "base");部分提供商在超过长上下文阈值时会收取更高费用(例如输入令牌数超过 200k),这些附加费用未计入其中񎢀
Endpoint ID: 41003
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41003/side-by-side+llm+cost+and+benchmark+comparator
输入参数

并排大型语言模型成本与基准测试比较器 — 端点功能

对象 描述
models 必需 Comma-separated model IDs or fragments (e.g. openai/gpt,anthropic/claude,google/gemini)
inputTokens 可选 Input tokens for cost calculation
outputTokens 可选 Output tokens for cost calculation
cachedInputTokens 可选 Cached input tokens
requestsPerMonth 可选 Monthly mode.

剩余免费测试请求:3 / 3。


输入参数

models
inputTokens
outputTokens
cachedInputTokens
requestsPerMonth
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:12.996Z",
        "latencyMs": 7,
        "cached": true,
        "count": 3,
        "unmatched": [],
        "workload": {
            "inputTokens": 50000000000,
            "outputTokens": 12500000000,
            "cachedInputTokens": 0,
            "requestsPerMonth": 50000,
            "perRequest": {
                "inputTokens": 1000000,
                "outputTokens": 250000,
                "cachedInputTokens": 0
            }
        },
        "costPeriod": "month",
        "pricingTier": "base",
        "pricingNote": "Costs use each model's base-tier list price. Some providers charge higher rates once a request exceeds a long-context threshold (e.g. >200k input tokens); those surcharges are not included."
    },
    "data": [
        {
            "id": "google/gemini-4-neon",
            "name": "Google: Gemini 4 Neon",
            "provider": "google",
            "contextLength": 1048576,
            "isFree": false,
            "promptPer1MUsd": 3,
            "completionPer1MUsd": 15,
            "estimatedInputCostUsd": 150000,
            "estimatedCachedInputCostUsd": 0,
            "estimatedOutputCostUsd": 187500,
            "estimatedTotalCostUsd": 337500,
            "intelligenceIndex": 61.5,
            "valueScore": 0,
            "capabilities": {
                "supportsTools": true,
                "supportsReasoning": true,
                "supportsStructuredOutputs": true,
                "isModerated": false
            },
            "benchmarks": {
                "intelligenceIndex": 61.5,
                "codingIndex": null,
                "agenticIndex": null,
                "engineeringIndex": 67,
                "financeIndex": 65.1,
                "legalIndex": 63.8,
                "designBenchmarkElo": 1373.9
            },
            "inputModalities": [
                "audio",
                "file",
                "image"
            ],
            "costPerRequestUsd": 6.75,
            "savingsVsMostExpensivePercent": 62.5
        },
        {
            "id": "openai/gpt-6.2-astra-pro",
            "name": "OpenAI: GPT-6.2 Astra Pro",
            "provider": "openai",
            "contextLength": 1050000,
            "isFree": false,
            "promptPer1MUsd": 8,
            "completionPer1MUsd": 40,
            "estimatedInputCostUsd": 400000,
            "estimatedCachedInputCostUsd": 0,
            "estimatedOutputCostUsd": 500000,
            "estimatedTotalCostUsd": 900000,
            "intelligenceIndex": null,
            "valueScore": null,
            "capabilities": {
                "supportsTools": true,
                "supportsReasoning": true,
                "supportsStructuredOutputs": true,
                "isModerated": true
            },
            "benchmarks": {
                "intelligenceIndex": null,
                "codingIndex": null,
                "agenticIndex": null,
                "engineeringIndex": null,
                "financeIndex": null,
                "legalIndex": null,
                "designBenchmarkElo": null
            },
            "inputModalities": [
                "file",
                "image",
                "text"
            ],
            "costPerRequestUsd": 18,
            "savingsVsMostExpensivePercent": 0
        },
        {
            "id": "anthropic/claude-fable-5.2",
            "name": "Anthropic: Claude Fable 5.2",
            "provider": "anthropic",
            "contextLength": 1000000,
            "isFree": false,
            "promptPer1MUsd": 8,
            "completionPer1MUsd": 40,
            "estimatedInputCostUsd": 400000,
            "estimatedCachedInputCostUsd": 0,
            "estimatedOutputCostUsd": 500000,
            "estimatedTotalCostUsd": 900000,
            "intelligenceIndex": 64.8,
            "valueScore": 0,
            "capabilities": {
                "supportsTools": true,
                "supportsReasoning": true,
                "supportsStructuredOutputs": true,
                "isModerated": true
            },
            "benchmarks": {
                "intelligenceIndex": 64.8,
                "codingIndex": null,
                "agenticIndex": null,
                "engineeringIndex": 72.8,
                "financeIndex": 64.7,
                "legalIndex": 63.3,
                "designBenchmarkElo": 1419.9
            },
            "inputModalities": [
                "text",
                "image",
                "file"
            ],
            "costPerRequestUsd": 18,
            "savingsVsMostExpensivePercent": 0
        }
    ]
}
并排大型语言模型成本与基准测试比较器 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41003/side-by-side+llm+cost+and+benchmark+comparator?models=openai/gpt,anthropic/claude,google/gemini&inputTokens=1000000&outputTokens=250000&cachedInputTokens=OptionalrequestsPerMonth=50000' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
所有 AI 提供商的汇总摘要,包括模型数量、免费套餐、中位数定价、最大上下文长度和基准测试排名最高的模型
Endpoint ID: 41004
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41004/list+ai+model+providers+and+pricing+benchmarks
输入参数

列出 AI 模型提供商和定价基准 — 端点功能

对象 描述
limit 可选 Maximum providers to return (1-150)

剩余免费测试请求:3 / 3。


输入参数

limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:13.092Z",
        "latencyMs": 6,
        "cached": true,
        "count": 50,
        "totalProviders": 68,
        "totalModels": 476
    },
    "data": [
        {
            "provider": "openai",
            "modelCount": 106,
            "freeModelCount": 0,
            "maxContextLength": 1050000,
            "cheapestPaidPromptPer1MUsd": 0.024,
            "medianPaidPromptPer1MUsd": 1.25,
            "topBenchmarkedModel": {
                "id": "openai/gpt-6.2-astra",
                "name": "OpenAI: GPT-6.2 Astra",
                "intelligenceIndex": 62.2
            }
        },
        {
            "provider": "google",
            "modelCount": 49,
            "freeModelCount": 4,
            "maxContextLength": 1048576,
            "cheapestPaidPromptPer1MUsd": 0.04,
            "medianPaidPromptPer1MUsd": 0.75,
            "topBenchmarkedModel": {
                "id": "google/gemini-4-neon",
                "name": "Google: Gemini 4 Neon",
                "intelligenceIndex": 61.5
            }
        },
        {
            "provider": "qwen",
            "modelCount": 42,
            "freeModelCount": 0,
            "maxContextLength": 1024000,
            "cheapestPaidPromptPer1MUsd": 0.03,
            "medianPaidPromptPer1MUsd": 0.22,
            "topBenchmarkedModel": {
                "id": "qwen/qwen4-max",
                "name": "Qwen: Qwen4 Max",
                "intelligenceIndex": 42.8
            }
        }
    ]
}
列出 AI 模型提供商和定价基准 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41004/list+ai+model+providers+and+pricing+benchmarks?limit=50' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
Hugging Face 开源模型实时排名,包含点赞数、下载量、许可证、流水线标签和趋势评分
Endpoint ID: 41005
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41005/hugging+face+trending+and+top+open-source+models
输入参数

Hugging Face 热门趋势和顶级开源模型 — 端点功能

对象 描述
sort 可选 Ranking order. Allowed values: trending, downloads, likes, recent.
search 可选 Keyword search (e.g. llama, qwen, flux, whisper)
pipeline 可选 Pipeline tag filter (e.g. text-generation, image-text-to-text, automatic-speech-recognition)
library 可选 Library filter (e.g. transformers, diffusers, gguf)
limit 可选 Maximum models (1-100)

剩余免费测试请求:3 / 3。


输入参数

sort
search
pipeline
library
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:13.562Z",
        "latencyMs": 248,
        "cached": false,
        "count": 20,
        "sort": "trending"
    },
    "data": [
        {
            "id": "nvidia/Qwen3.8-27B-NVFP4-QAD",
            "author": "nvidia",
            "pipelineTag": "text-generation",
            "libraryName": "Model Optimizer",
            "license": "other",
            "likes": 105,
            "downloads": 4204,
            "trendingScore": 33,
            "gated": false,
            "lastModified": null,
            "tags": [
                "Model Optimizer",
                "safetensors",
                "qwen3_5"
            ]
        },
        {
            "id": "0bserverx/Qwen3.8-27B-Heretic-Abliterated-Uncensored-GGUF",
            "author": "0bserverx",
            "pipelineTag": "text-generation",
            "libraryName": "transformers",
            "license": "apache-2.0",
            "likes": 949,
            "downloads": 1277902,
            "trendingScore": 18.2,
            "gated": false,
            "lastModified": null,
            "tags": [
                "transformers",
                "safetensors",
                "gguf"
            ]
        },
        {
            "id": "OBLITERATUS/Qwen3.8-27B-OBLITERATED",
            "author": "OBLITERATUS",
            "pipelineTag": "text-generation",
            "libraryName": "mlx",
            "license": "apache-2.0",
            "likes": 1760,
            "downloads": 644997,
            "trendingScore": 16.799999999999997,
            "gated": false,
            "lastModified": null,
            "tags": [
                "mlx",
                "safetensors",
                "gguf"
            ]
        }
    ]
}
Hugging Face 热门趋势和顶级开源模型 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41005/hugging+face+trending+and+top+open-source+models?sort=trending&search=qwen&pipeline=text-generation&library=transformers&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
实时查看 Hugging Face 上热门和下载量最高的开放式 AI 数据集
Endpoint ID: 41006
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41006/hugging+face+trending+ai+datasets
输入参数

Hugging Face 热门 AI 数据集 — 端点功能

对象 描述
sort 可选 Sort order of the results. Allowed values: trending, downloads, likes, recent.
search 可选 Free-text search keywords.
limit 可选 Maximum number of items to return.

剩余免费测试请求:3 / 3。


输入参数

sort
search
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:13.893Z",
        "latencyMs": 284,
        "cached": false,
        "count": 20,
        "sort": "trending"
    },
    "data": [
        {
            "id": "MoreThought/Fable-5.1-Max-Reasoning-Filtered-10000x",
            "author": "MoreThought",
            "likes": 706,
            "downloads": 5728,
            "trendingScore": 9,
            "gated": false,
            "lastModified": "2026-10-10T12:16:08.000Z",
            "tags": [
                "task_categories:text-generation",
                "task_categories:question-answering",
                "language:en"
            ]
        },
        {
            "id": "AJ-Gonzalez/qwen4-max-reasoning-250x",
            "author": "AJ-Gonzalez",
            "likes": 153,
            "downloads": 611,
            "trendingScore": 4.5,
            "gated": false,
            "lastModified": "2026-11-16T07:44:40.000Z",
            "tags": [
                "task_categories:text-generation",
                "source_datasets:xtools-at/Xiaomi-MiMo-2.6-Pro-High-Reasoning-250x",
                "source_datasets:TeichAI/claude-4.5-opus-high-reasoning-250x"
            ]
        },
        {
            "id": "IFM/Math-Reasoning",
            "author": "IFM",
            "likes": 42,
            "downloads": 111239,
            "trendingScore": 3,
            "gated": false,
            "lastModified": "2026-09-02T07:01:02.000Z",
            "tags": [
                "task_categories:text-generation",
                "license:apache-2.0",
                "size_categories:1B<n<10B"
            ]
        }
    ]
}
Hugging Face 热门 AI 数据集 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41006/hugging+face+trending+ai+datasets?sort=trending&search=reasoning&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
实时查看 Hugging Face 上热门的交互式 Spaces 和 AI 演示,可按 SDK(gradio、docker、streamlit、static)筛选
Endpoint ID: 41007
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41007/hugging+face+trending+ai+spaces+and+demos
输入参数

Hugging Face 上热门的 AI Spaces 和演示 — 端点功能

对象 描述
sort 可选 Sort order of the results. Allowed values: trending, likes, recent.
search 可选 Free-text search keywords.
sdk 可选 Space SDK to filter by, e.g. gradio. Allowed values: gradio, docker, streamlit, static.
limit 可选 Maximum number of items to return.

剩余免费测试请求:3 / 3。


输入参数

sort
search
sdk
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:14.301Z",
        "latencyMs": 345,
        "cached": false,
        "count": 20,
        "sort": "trending",
        "sdk": "gradio"
    },
    "data": [
        {
            "id": "victor/LongCat-Video-Avatar-1.6",
            "author": "victor",
            "sdk": "gradio",
            "likes": 35,
            "trendingScore": 15,
            "createdAt": "2026-11-16T16:01:30.000Z",
            "tags": [
                "gradio",
                "region:us"
            ]
        },
        {
            "id": "CumaSystem/Omni-videos-custom",
            "author": "CumaSystem",
            "sdk": "gradio",
            "likes": 124,
            "trendingScore": 13,
            "createdAt": "2026-08-25T23:52:14.000Z",
            "tags": [
                "gradio",
                "text-to-video",
                "image-to-video"
            ]
        },
        {
            "id": "FrameAI4687/Omni-Video-Factory",
            "author": "FrameAI4687",
            "sdk": "gradio",
            "likes": 1673,
            "trendingScore": 12,
            "createdAt": "2026-02-15T06:09:12.000Z",
            "tags": [
                "gradio",
                "region:us"
            ]
        }
    ]
}
Hugging Face 上热门的 AI Spaces 和演示 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41007/hugging+face+trending+ai+spaces+and+demos?sort=trending&search=video&sdk=gradio&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
Hugging Face Daily Papers 最新精选 AI 研究论文,附带 AI 生成的摘要、关键词、社区点赞数、GitHub 代码链接和 arXiv PDF 直链
Endpoint ID: 41008
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41008/hugging+face+daily+ai+research+papers
输入参数

Hugging Face 每日 AI 研究论文 — 端点功能

对象 描述
search 可选 Keyword filter across title, AI summary, and AI keywords
minUpvotes 可选 Minimum community upvotes
sort 可选 Sort order of the results. Allowed values: upvotes, newest.
limit 可选 Maximum number of items to return.

剩余免费测试请求:3 / 3。


输入参数

search
minUpvotes
sort
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:14.716Z",
        "latencyMs": 353,
        "cached": false,
        "count": 20,
        "totalDailyPapers": 60,
        "sort": "upvotes"
    },
    "data": [
        {
            "arxivId": "2611.34232",
            "title": "OS-Omni: Benchmarking Generalist Computer-Using Agents on Long-Horizon Workflows Across Platforms",
            "publishedAt": "2026-11-24T19:00:00.000Z",
            "upvotes": 104,
            "numComments": 3,
            "organization": "Touchstone AI",
            "authorsCount": 76,
            "topAuthors": [
                "Hui Shen",
                "Yunta Hsieh",
                "Jianing Ma"
            ],
            "aiSummary": "A live cross-platform benchmark evaluates computer-using agents on long-horizon workflows across Windows, Ubuntu, macOS, iOS, Android, and Web, showing that current agents remain far from platform-robust computer use and trail humans on iOS and macOS.",
            "aiKeywords": [
                "computer-using agents",
                "generalist agent",
                "long-horizon workflows"
            ],
            "summary": "Computer-using agents are increasingly expected to complete realistic user goals rather than isolated GUI actions. However, existing benchmarks typically isolate web, mobile, or desktop environments, leaving it unclear whether a single generalist agent can execute long-horizon workflows that span multiple operating systems and persistent application states. We introduce OS-Omni, a live…",
            "githubRepo": "github.com/OS-Copilot/OS-Omni"
        },
        {
            "arxivId": "2611.34813",
            "title": "Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models",
            "publishedAt": "2026-11-24T19:00:00.000Z",
            "upvotes": 59,
            "numComments": 5,
            "organization": "Carnegie Mellon University",
            "authorsCount": 14,
            "topAuthors": [
                "Dezhi Luo",
                "Fengyuan Yu",
                "Haotian Zhang"
            ],
            "aiSummary": null,
            "aiKeywords": [],
            "summary": "Video generation models are increasingly evaluated as visual reasoners: given a first frame and a natural-language prompt, can the model produce the video in which the specified task is carried out? The paradigm is considered advantageous because the reasoning is native to the visual medium, unfolding directly in the frames rather than through language or code. Whether this native route is in…",
            "githubRepo": null
        },
        {
            "arxivId": "2611.34290",
            "title": "StateWeaver: Multi-Agent Coordination of Story-State Transitions for Long-Horizon Video Generation",
            "publishedAt": "2026-11-24T19:00:00.000Z",
            "upvotes": 27,
            "numComments": 2,
            "organization": null,
            "authorsCount": 9,
            "topAuthors": [
                "Modi Jin",
                "Xuying Zhang",
                "Yijing Guo"
            ],
            "aiSummary": "StateWeaver improves long-video generation by preserving cross-shot consistency and updating visual references through active state tracking and hierarchical collaboration.",
            "aiKeywords": [
                "video foundation models",
                "agentic workflows",
                "long-video consistency"
            ],
            "summary": "Modern video foundation models generate high-quality short clips, but preserving long-video consistency and correctly depicting event-driven state changes remain challenging. Existing agentic workflows face these challenges because continual planning and repair accumulate context, while reference updates remain limited. We introduce StateWeaver, which combines Active States and Hierarchical…",
            "githubRepo": "github.com/ghost233lism/StateWeaver"
        }
    ]
}
Hugging Face 每日 AI 研究论文 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/41008/hugging+face+daily+ai+research+papers?search=agent&minUpvotes=Optionalsort=upvotes&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
使用 o200k_base 编码(GPT-4o、GPT-4.1、GPT-5 和 o 系列的分词器;在 API 中精确计算,不进行网络调用)统计文本的词元数量;如果提供了模型,则按该模型的输入词元价格计算文本费用。只有使用 o200k_base 的模型,isExactForModel 才为 true;对于其他所有模型(包括使用 cl100k_base 的 GPT-4 / GPT-3.5、Claude、Gemini、Llama 等),词元数量均为估算值,说明中会注明这一点。
Endpoint ID: 42708
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/42708/count+tokens+in+a+text+and+its+input+cost
输入参数

统计文本中的 Token 数量及其输入成本 — 端点功能

对象 描述
text 必需 Text to tokenize (1 to 200,000 characters; mind URL length limits, POST accepts the same in a JSON body). Exact count up to 10,000 characters; longer texts get an estimate labelled estimated: true.
model 可选 Model id or name fragment from /v1/llm/models (e.g. openai/gpt-4o-mini). Adds model pricing and inputCostUsd.

剩余免费测试请求:3 / 3。


输入参数

text
model
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:13.149Z",
        "latencyMs": 8,
        "cached": true,
        "encoding": "o200k_base",
        "exactCountMaxChars": 10000
    },
    "data": {
        "characters": 13,
        "tokenCount": 4,
        "estimated": false,
        "estimateMethod": null,
        "encoding": "o200k_base",
        "isExactForModel": true,
        "approximateTokensCharsDiv4": 4,
        "model": {
            "id": "openai/gpt-4o-mini",
            "name": "OpenAI: GPT-4o-mini",
            "promptPer1MUsd": 0.15,
            "inputCostUsd": 6.0e-7
        },
        "note": "Exact o200k_base count (GPT-4o, GPT-4.1, GPT-5, o-series). Chat message formatting adds a few tokens per message, not included."
    }
}
统计文本中的 Token 数量及其输入成本 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/42708/count+tokens+in+a+text+and+its+input+cost?text=Hello, world!&model=openai/gpt-4o-mini' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出实时目录中提供同一个模型的所有服务商,以及每个服务商自己的每百万 token 提示词价格/补全价格/缓存价格、上下文和输出限制、量化方式、工具和结构化输出支持情况、实时状态,以及最近 5 分钟、30 分钟和 1 天的正常运行时间百分比(无近期数据时为 null)。status 是端点状态码:0 = 正常运行(isOperational 为 true);负值表示端点性能下降或近期发生故障
Endpoint ID: 42709
GET https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/42709/per-provider+endpoints+prices+status+and+uptime+for+a+model
输入参数

模型的各提供商端点价格状态和运行时间 — 端点功能

对象 描述
model 必需 Exact model id from /v1/llm/models (e.g. openai/gpt-4o-mini, meta-llama/llama-3.3-70b-instruct:free).

剩余免费测试请求:3 / 3。


输入参数

model
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-28T03:47:13.242Z",
        "latencyMs": 18,
        "cached": false,
        "model": "openai/gpt-4o-mini",
        "count": 2,
        "operationalCount": 2
    },
    "data": {
        "id": "openai/gpt-4o-mini",
        "name": "OpenAI: GPT-4o-mini",
        "endpoints": [
            {
                "provider": "Azure",
                "tag": "azure",
                "quantization": null,
                "contextLength": 128000,
                "maxCompletionTokens": 16384,
                "maxPromptTokens": null,
                "promptPer1MUsd": 0.15,
                "completionPer1MUsd": 0.6,
                "cacheReadPer1MUsd": 0.075,
                "status": 0,
                "isOperational": true,
                "uptimeLast5mPercent": 100,
                "uptimeLast30mPercent": 100,
                "uptimeLast1dPercent": 100,
                "supportsTools": false,
                "supportsStructuredOutputs": true,
                "supportsImplicitCaching": true
            },
            {
                "provider": "OpenAI",
                "tag": "openai",
                "quantization": null,
                "contextLength": 128000,
                "maxCompletionTokens": 16384,
                "maxPromptTokens": null,
                "promptPer1MUsd": 0.15,
                "completionPer1MUsd": 0.6,
                "cacheReadPer1MUsd": 0.075,
                "status": 0,
                "isOperational": true,
                "uptimeLast5mPercent": 100,
                "uptimeLast30mPercent": 100,
                "uptimeLast1dPercent": 100,
                "supportsTools": true,
                "supportsStructuredOutputs": true,
                "supportsImplicitCaching": true
            }
        ]
    }
}
模型的各提供商端点价格状态和运行时间 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15342/ai+models+and+llm+pricing+api/42709/per-provider+endpoints+prices+status+and+uptime+for+a+model?model=openai/gpt-4o-mini' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 AI 模型和大型语言模型定价 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

比较 450 多种大型语言模型以及热门开源 AI 模型和数据集的实时令牌价格、上下文长度、模态和工作负载成本估算

AI 模型和大型语言模型定价 API FAQs

来自 OpenAI、Anthropic、Google、Meta、Mistral 和 DeepSeek 等主要专有模型及开放权重模型提供商的 450 多种模型

是。将输入令牌数和输出令牌数传递给成本估算端点,以按预计总支出对模型进行排名。

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API