How to setup openclaude with openrouter #527
|
I tried setting up openclaude with openrouter using this model : NVIDIA: Nemotron 3 Super (free) |
Replies: 4 comments
|
i did put my base url to this: https://openrouter.ai/api/v1 |
Trt with ollama or you can use with codex or gemini both are giving free usage, and also you can use via ollama |
|
Yes, you can use OpenClaude for free through providers that offer free tiers (Ollama locally, or free models on OpenRouter like you are trying). For OpenRouter specifically, the setup steps are:
export OPENAI_API_KEY="your-openrouter-key"
export OPENAI_BASE_URL="https://openrouter.ai/api/v1"
export OPENAI_MODEL="nvidia/nemotron-3-super-120b-a12b:free"
export CLAUDE_CODE_USE_OPENAI=1
openclaudeOr use A few notes:
If you are still stuck after trying these steps, paste your setup details (with the key redacted) and we can troubleshoot. |

Yes, you can use OpenClaude for free through providers that offer free tiers (Ollama locally, or free models on OpenRouter like you are trying).
For OpenRouter specifically, the setup steps are:
Or use
/providerinside OpenClaude and select OpenAI-compatible, then set the base URL and model.A few notes:
https://openrouter.ai/api/v1(not justopenrouter.ai)