模型
使用 OneKeyLLM 暴露的 /v1/models 目录。
OneKeyLLM 暴露模型目录:
curl https://api.tokapi.ai/v1/models每个条目遵循 Model schema。
| Field | Type |
|---|---|
id | string |
object | string |
created | integer |
owned_by | string |
name | string |
family | string |
attachment | boolean |
reasoning | boolean |
tool_call | boolean |
structured_output | boolean |
temperature | boolean |
knowledge | string |
release_date | string |
last_updated | string |
modalities | object |
open_weights | boolean |
cost | object |
limit | object |
按客户端选择模型
Codex 的模型在 ~/.codex/config.toml 中设置。
model = "gpt-5.4"如果 Claude Code 的 picker 中没有目标模型,可以通过环境变量指定。
ANTHROPIC_MODEL="claude-sonnet-4-6" claude