Chameleon Code - Use any AI model with Claude Code
Project description
Chameleon Code - Use any AI model with Claude Code
Use any AI model with Claude Code.
What is this?
Claude Chameleon is a proxy that translates Claude Code requests to any AI model. Uses OpenRouter by default.
Quick Start
CAM_API_KEY="<YOUR_OPENROUTER_API_KEY>" ./cam.py
Options
--model, -m MODEL Model to use
--small-model SMALL_MODEL Small model for haiku/subagent tasks (defaults to --model)
--max-tokens MAX_TOKENS Maximum tokens per request
--url URL API URL to route to (defaults to OpenRouter)
--api-key API_KEY API key (or set CAM_API_KEY env var)
--server Run server only, connect externally
--port PORT Port to bind to
Examples
# Use with OpenRouter (default)
CAM_API_KEY="sk-or-v1-..." ./cam.py --model deepseek/deepseek-chat
# Use with different API
CAM_API_KEY="sk-..." ./cam.py --url https://api.openai.com/v1 --model gpt-4
# Run server on custom port
CAM_API_KEY="sk-..." ./cam.py --server --port 8080
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chameleon_code-0.1.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chameleon_code-0.1.1.tar.gz.
File metadata
- Download URL: chameleon_code-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05ed886dcc405195bca0dc65eb44cf8fdabe461f6eccac8073e497ca9891a01f
|
|
| MD5 |
809807b6b32a78cf434b8751637feafd
|
|
| BLAKE2b-256 |
19dfbba71d3f91d3cbcdc1f3730956ef4c472d1c8c9753fb6f42ff371ec20c26
|
File details
Details for the file chameleon_code-0.1.1-py3-none-any.whl.
File metadata
- Download URL: chameleon_code-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0d2a1e1bdc6b28ffdff94d1d60017d56df156e5cbf62c97cd355e3bc21f5763
|
|
| MD5 |
9e5a4d2ad5b2eddf135f96688996aa34
|
|
| BLAKE2b-256 |
458fb2baf8a3743befb8429722cfd279b5a520c1fae02685dc17e55030f20bd6
|