LMSpeed 模型 API:获取公开模型详情
按 slug 获取一个已发布标准模型。 该接口适用于模型资料页和详情视图。默认响应包含核心元数据、聚合的 LMSpeed 速度统计、由基准测试得出的价格摘要、性能摘要和主要基准测试指标。 `include=benchmarks` 会返回足够渲染基准测试卡片、详细分数组、排行榜片段和类目性能图表的公开数据:指标值、排名、参与排名数量、指标方向、聚合标记、评测日期、标准误、置信度、更新时间、附近排行榜模型、可直接展示的基准测试分组,以及类目性能覆盖率/分数。 `include=pricing` 会返回输入、输出、混合价格等基准测试价格指标。`include=capabilities` 会添加解析后的模型能力元数据。内部来源字段会被有意省略。 公开展示该接口数据时,必须添加指向 https://lmspeed.net 的可见反向链接。 返链示例:Source: LMSpeed.net (https://lmspeed.net)。 请在你的服务侧缓存响应,并避免发送大量重复请求。
按 slug 获取一个已发布标准模型。
该接口适用于模型资料页和详情视图。默认响应包含核心元数据、聚合的 LMSpeed 速度统计、由基准测试得出的价格摘要、性能摘要和主要基准测试指标。
include=benchmarks 会返回足够渲染基准测试卡片、详细分数组、排行榜片段和类目性能图表的公开数据:指标值、排名、参与排名数量、指标方向、聚合标记、评测日期、标准误、置信度、更新时间、附近排行榜模型、可直接展示的基准测试分组,以及类目性能覆盖率/分数。
include=pricing 会返回输入、输出、混合价格等基准测试价格指标。include=capabilities 会添加解析后的模型能力元数据。内部来源字段会被有意省略。
公开展示该接口数据时,必须添加指向 https://lmspeed.net 的可见反向链接。
返链示例:Source: LMSpeed.net (https://lmspeed.net)。
请在你的服务侧缓存响应,并避免发送大量重复请求。
Authorization
publicApiKey 用于 LMSpeed 模型数据的免费公开密钥。公开密钥永不过期,限额为每天 1000 次请求。
In: header
Path Parameters
标准模型 slug。
Query Parameters
用于本地化模型描述的语言。数值指标和价格不受语言影响。
"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
application/json
curl -X GET "https://example.com/api/v1/models/deepseek-v4-pro?include=benchmarks%2Ccapabilities" \ -H "x-api-key: string"核心模型元数据、性能摘要、价格摘要、基准测试数量和主要基准测试指标。
{ "tier": "free", "locale": "en", "attribution": { "required": true, "name": "LMSpeed", "url": "https://lmspeed.net" }, "data": { "slug": "deepseek-v4-pro", "name": "DeepSeek V4 Pro", "lmspeed_url": "https://lmspeed.net/model/deepseek-v4-pro", "developer": "DeepSeek", "release_date": "2026-04-24T03:17:59.000Z", "context_window_tokens": 1048576, "max_output_tokens": 384000, "performance_summary": { "average_tokens_per_second": 49.85478210449219, "average_first_token_latency": 7150.391125488281 }, "pricing_summary": { "input_price_per_million": 1.74, "output_price_per_million": 3.48, "blended_price_per_million": 2.175, "updated_at": "2026-05-18T16:00:18.721Z" }, "benchmark_count": 53, "benchmark_summary": [ { "metric_key": "overall_score", "label": "Overall score", "group": "aggregate", "value": 82, "unit": "index", "rank": 10, "ranked_count": 77, "higher_is_better": true, "is_aggregate": true, "eval_date": "2026-04-24T00:00:00.000Z", "stderr": null, "confidence": 2, "updated_at": "2026-06-16T05:22:40.309Z", "nearby_models": [ { "slug": "mimo-v2-pro", "name": "MiMo-V2-Pro", "value": 84, "rank": 7 }, { "slug": "deepseek-v4-pro", "name": "DeepSeek V4 Pro", "value": 82, "rank": 10 } ] } ] }}{ "error": { "code": "string", "message": "string", "details": null }}{ "error": { "code": "string", "message": "string", "details": null }}{ "error": { "code": "string", "message": "string", "details": null }}{ "error": { "code": "string", "message": "string", "details": null }}