LMSpeed 模型 API:列出并搜索公开模型
列出已发布的标准模型,或按模型名称、slug、描述搜索。 该接口适用于模型目录页、模型选择器、搜索结果和对比表。默认响应较为紧凑,包含身份信息、本地化描述、聚合速度统计和性能摘要。 只在需要时使用 `include` 展开更丰富的模型区块。`include=benchmarks` 会添加公开基准测试行、可直接展示的 `benchmark_groups` 和 `category_performance`;`include=pricing` 会添加公开基准测试价格指标;`include=capabilities` 会添加解析后的能力元数据。 公开展示该接口数据时,必须添加指向 https://lmspeed.net 的可见反向链接。 返链示例:Source: LMSpeed.net (https://lmspeed.net)。 请在你的服务侧缓存响应,并避免发送大量重复请求。
列出已发布的标准模型,或按模型名称、slug、描述搜索。
该接口适用于模型目录页、模型选择器、搜索结果和对比表。默认响应较为紧凑,包含身份信息、本地化描述、聚合速度统计和性能摘要。
只在需要时使用 include 展开更丰富的模型区块。include=benchmarks 会添加公开基准测试行、可直接展示的 benchmark_groups 和 category_performance;include=pricing 会添加公开基准测试价格指标;include=capabilities 会添加解析后的能力元数据。
公开展示该接口数据时,必须添加指向 https://lmspeed.net 的可见反向链接。
返链示例:Source: LMSpeed.net (https://lmspeed.net)。
请在你的服务侧缓存响应,并避免发送大量重复请求。
Authorization
publicApiKey 用于 LMSpeed 模型数据的免费公开密钥。公开密钥永不过期,限额为每天 1000 次请求。
In: header
Query Parameters
用于匹配模型名称、slug 和描述的搜索词。
从 1 开始的页码。
1 <= value1每页返回的模型数量。大于 100 的值会被拒绝。
1 <= value <= 10050模型列表排序方式。popular 是默认目录顺序。
"popular"Value in
- "popular"
- "recent"
- "newest"
- "alphabetical"
用于本地化模型描述的语言。数值指标和价格不受语言影响。
"en"Value in
- "en"
- "zh"
- "ru"
用逗号分隔的展开项。列表响应支持:benchmarks、pricing、capabilities。
Header Parameters
在 LMSpeed 设置页创建的免费公开 API 密钥。请通过 x-api-key 请求头原样发送。
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/models?q=deepseek+v4+pro&include=" \ -H "x-api-key: string"{ "tier": "free", "locale": "en", "attribution": { "required": true, "name": "LMSpeed", "url": "https://lmspeed.net" }, "data": { "models": [ { "id": 33442, "slug": "deepseek-v4-pro", "name": "DeepSeek V4 Pro", "lmspeed_url": "https://lmspeed.net/model/deepseek-v4-pro", "description": "DeepSeek V4 Pro 是 DeepSeek 系列的大语言模型,提供高级推理、代码生成和多模态能力。", "developer": "DeepSeek", "release_date": "2026-04-24T03:17:59.000Z", "context_window_tokens": 1048576, "max_output_tokens": 384000, "documentation_url": null, "huggingface_url": null, "stats": { "total_tests": 160, "average_tokens_per_second": 49.85478210449219, "average_first_token_latency": 7150.391125488281, "last_test_at": "2026-05-18T13:13:55.186Z" }, "performance_summary": { "average_tokens_per_second": 49.85478210449219, "average_first_token_latency": 7150.391125488281 } } ], "pagination": { "page": 1, "page_size": 3, "total": 1, "total_pages": 1 } }}{ "error": { "code": "string", "message": "string", "details": null }}{ "error": { "code": "string", "message": "string", "details": null }}{ "error": { "code": "string", "message": "string", "details": null }}LMSpeed 免费公开模型数据 API
申请免费的 LMSpeed API Key,查询公开模型元数据、benchmark 跑分、价格指标和能力信息。
LMSpeed 模型 API:获取公开模型详情 GET
按 slug 获取一个已发布标准模型。 该接口适用于模型资料页和详情视图。默认响应包含核心元数据、聚合的 LMSpeed 速度统计、由基准测试得出的价格摘要、性能摘要和主要基准测试指标。 `include=benchmarks` 会返回足够渲染基准测试卡片、详细分数组、排行榜片段和类目性能图表的公开数据:指标值、排名、参与排名数量、指标方向、聚合标记、评测日期、标准误、置信度、更新时间、附近排行榜模型、可直接展示的基准测试分组,以及类目性能覆盖率/分数。 `include=pricing` 会返回输入、输出、混合价格等基准测试价格指标。`include=capabilities` 会添加解析后的模型能力元数据。内部来源字段会被有意省略。 公开展示该接口数据时,必须添加指向 https://lmspeed.net 的可见反向链接。 返链示例:Source: LMSpeed.net (https://lmspeed.net)。 请在你的服务侧缓存响应,并避免发送大量重复请求。