claudish-oai
v6.10.4
Published
Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models
Downloads
73
Maintainers
Readme
🔮 Claudish (OpenAI Path Fork)
Claude Code. Any Model. Custom Endpoints.
A fork of Claudish with a small but critical fix for custom OpenAI-compatible providers.
What's Different?
This fork modifies the OpenAI provider's API path:
| | Original | This Fork |
|--|----------|-----------|
| API Path | /v1/chat/completions | /chat/completions |
Why?
Some OpenAI-compatible gateways and proxies don't use the /v1/ prefix in their endpoints. For example:
- Kilo Gateway — custom routing without
/v1/ - Self-hosted proxies — simplified endpoint paths
- Enterprise gateways — custom URL schemes
If you've ever seen errors like:
404 Not Found: /v1/chat/completions...when your provider expects /chat/completions, this fork fixes that.
Installation
npm install -g claudish-oaiUsage
Same as upstream Claudish. Works with any OpenAI-compatible endpoint that uses /chat/completions:
# Set your custom base URL
export OPENAI_BASE_URL=https://your-gateway.example.com
# Run with any model
claudish --model gpt-4o "explain this code"The Change
Single file modified: src/providers/provider-definitions.ts
- apiPath: "/v1/chat/completions"
+ apiPath: "/chat/completions"That's it. One line. No other changes.
Based on Claudish by MadAppGang
Full documentation → claudish.com
