| ▲ | orliesaurus 2 days ago | |
Is there a way to do this directly by using claudecode CLI (which I already have installed) and openrouter?? | ||
| ▲ | vitaflo 2 days ago | parent | next [-] | |
Yes, Deepseek even documents how: https://api-docs.deepseek.com/quick_start/agent_integrations... | ||
| ▲ | theanonymousone 2 days ago | parent | prev | next [-] | |
Yes, from Claude Code themselves: https://code.claude.com/docs/en/llm-gateway | ||
| ▲ | jubilanti 2 days ago | parent | prev | next [-] | |
Here's a oneliner: | ||
| ▲ | 2 days ago | parent | prev | next [-] | |
| [deleted] | ||
| ▲ | gnat 2 days ago | parent | prev | next [-] | |
This repo's README explains how it works and you can do it yourself. claude looks for environment variables that say which API endpoint to talk to, which key to pass, which model name to use for haiku/sonnet/opus-level workloads, etc. | ||
| ▲ | 2 days ago | parent | prev | next [-] | |
| [deleted] | ||
| ▲ | mobeigi 2 days ago | parent | prev | next [-] | |
Been using Claude as a harness to OpenRouter for a while now. It's a nice setup if you don't mind API based billing. | ||
| ▲ | 2 days ago | parent | prev [-] | |
| [deleted] | ||