Skip to content
Discussion options

You must be logged in to vote

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:

  1. Get an API key from https://openrouter.ai
  2. Set environment variables before launching OpenClaude:
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
openclaude

Or use /provider inside OpenClaude and select OpenAI-compatible, then set the base URL and model.

A few notes:

  • The base URL must be https://openrouter.ai/api/v1 (not just openrouter.ai)
  • The model name…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sudomarc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants