OpenRouter 型号列表

以更密集的每个代币列表格式返回模型元数据

需要更密集的材料时用GET /v1/models?format=openrouter 按模型列出,包含精确的每个代币价格和上下文长度 令牌、量化、Hugging Face检查点ID、数据中心国家 代码,以及支持的功能枚举。平原GET /v1/models 端点继续返回标准的EmpirioLabs目录形状。

OpenRouter视图只返回被标记为本列表的型号和 每个模型包含以下字段:idhugging_face_idnamecreatedinput_modalitiesoutput_modalitiesquantizationcontext_lengthmax_output_lengthpricingsupported_sampling_parameterssupported_featuresis_readyopenrouterdatacenters

$curl "https://api.empiriolabs.ai/v1/models?format=openrouter"

响应形态

1{
2 "data": [
3 {
4 "id": "qwen3-5-9b",
5 "hugging_face_id": "Qwen/Qwen3.5-9B",
6 "name": "Qwen3.5 9B",
7 "created": 1778976000,
8 "input_modalities": ["text", "image", "video"],
9 "output_modalities": ["text"],
10 "quantization": "fp8",
11 "context_length": 262144,
12 "max_output_length": 32768,
13 "pricing": {
14 "prompt": "0.00000009",
15 "completion": "0.00000013",
16 "image": "0",
17 "request": "0",
18 "input_cache_read": "0.000000045"
19 },
20 "supported_sampling_parameters": [
21 "temperature",
22 "top_p",
23 "top_k",
24 "min_p",
25 "frequency_penalty",
26 "presence_penalty",
27 "repetition_penalty",
28 "stop",
29 "seed",
30 "max_tokens",
31 "logit_bias"
32 ],
33 "supported_features": [
34 "tools",
35 "json_mode",
36 "structured_outputs",
37 "reasoning"
38 ],
39 "is_ready": true,
40 "openrouter": {
41 "slug": "qwen/qwen3.5-9b"
42 },
43 "datacenters": [
44 {
45 "country_code": "JP"
46 }
47 ]
48 }
49 ]
50}

现场笔记

场地含义
id调用API时使用的型号标识符。
hugging_face_id当模型从拥抱脸权重中提供时,Hugging Face检查点标识符。
context_length模型接受的最大总上下文长度,以代币表示。
max_output_length最大生成令牌预算允许一个请求。
pricing美元价格以字符串形式表示,除非字段名称另有说明,否则按代币表示。
input_cache_read缓存输入令牌价格,当缓存令牌计费可用时。
supported_sampling_parameters模型接受的抽样控制。
supported_features高级能力:toolsjson_modestructured_outputsreasoninglogprobsweb_search
is_ready该型号是否应被视为待上市。
openrouter.slug建议该型号使用公共蛞蝓。
datacenters[].country_code当前服务区域的ISO 3166-1 alpha-2代码。