diff options
| author | Dax Raad <[email protected]> | 2025-06-20 15:22:41 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-06-20 15:22:41 -0400 |
| commit | 61160dc22039a2b37b2afb4b876ec684f7be1913 (patch) | |
| tree | 62959f6b90bd132dae107032f49ee068f1861259 /README.md | |
| parent | 98734ff28cf3d706d97ac87cf1e57fb69a62c43a (diff) | |
| download | opencode-61160dc22039a2b37b2afb4b876ec684f7be1913.tar.gz opencode-61160dc22039a2b37b2afb4b876ec684f7be1913.zip | |
docs: readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -52,30 +52,6 @@ $ bun run packages/opencode/src/index.ts ### FAQ -#### How do I use this with OpenRouter? - -OpenRouter is not in the Models.dev database yet, but you can configure it manually. - -```json title="opencode.json" -{ - "$schema": "https://opencode.ai/config.json", - "provider": { - "openrouter": { - "npm": "@openrouter/ai-sdk-provider", - "name": "OpenRouter", - "options": {}, - "models": { - "anthropic/claude-3.5-sonnet": { - "name": "Claude 3.5 Sonnet" - } - } - } - } -} -``` - -And then to configure an api key you can do `opencode auth login` and select "Other -> 'openrouter'" - #### How is this different than Claude Code? It's very similar to Claude Code in terms of capability. Here are the key differences: |
