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
uv tool install chameleon-code
CHAM_API_KEY="<YOUR_OPENROUTER_API_KEY>" cham
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 CHAM_API_KEY env var)
--server Run server only, connect externally
--port PORT Port to bind to
Examples
# Use with OpenRouter (default)
CHAM_API_KEY="sk-or-v1-..." cham --model deepseek/deepseek-chat
# Use with different API
CHAM_API_KEY="sk-..." cham --url https://api.openai.com/v1 --model gpt-4
# Run server on custom port
CHAM_API_KEY="sk-..." cham --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.4.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.4.tar.gz.
File metadata
- Download URL: chameleon_code-0.1.4.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 |
52ed44e0425fd0bbf17f590e49014b40c0d7be78d520cea656a0ac950ce6244e
|
|
| MD5 |
630e9a726affae09553131d6d0c1ee2d
|
|
| BLAKE2b-256 |
d147b4942a0bcf339971b2a2700359dbbe4541800d0926c285be1ea0eb9a543b
|
File details
Details for the file chameleon_code-0.1.4-py3-none-any.whl.
File metadata
- Download URL: chameleon_code-0.1.4-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 |
81ec3f9484ed1f996b6b68dc12a271afc92be2b233c45f35b4a9cb6840bfee62
|
|
| MD5 |
0bec57ee42b10639f22c4d11046fc529
|
|
| BLAKE2b-256 |
a690faa7b7d9000a817e47ec9c6358d19ada34a2cec96eaedd392e7f8afcce8a
|