Skip to content

如何使用openRouter的模型? #4

@kpking

Description

@kpking

比如我想用OopenRouter里的免费模型测试一下。在settings.json添加了代理地址和key了,也添加了"model": "qwen/qwen3.6-plus-preview:free"这一行。运行进入正常。提问出错
─── Claude Code v2.1.88 ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back! │ Run /init to create a CLAUDE.md file with instructions for Cla…│
│ │ ─────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity │
│ ▝▜█████▛▘ │ No recent activity │
│ ▘▘ ▝▝ │ │
│ │ │
│ qwen/qwen3.6-plus-preview:free · API Usage Billing │ │
│ D:\ojbk\Open-ClaudeCode │ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

↑ Opus now defaults to 1M context · 5x more room, same pricing

print("Hello, OpenRouter!")
✽ Symbioting… ●SThere's an issue with the selected modelu(qwen/qwen3.6-plus-preview:free).cItrmay not exist@ortyoupmayanotlhave-access
───to─it.─Run─/model─to─pick─a─different─model.────────────

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions