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.3.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.3.tar.gz.
File metadata
- Download URL: chameleon_code-0.1.3.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 |
bcd6b280e4ff449ce101f1259baa14ab898989b08915acd645c36123bebb32b0
|
|
| MD5 |
b320df1ee19f1a9d31557a8031d2080f
|
|
| BLAKE2b-256 |
a3d38ac55cc2e42b7ca32be18e6aabe81c8a7a502baea126127d743da5480d5b
|
File details
Details for the file chameleon_code-0.1.3-py3-none-any.whl.
File metadata
- Download URL: chameleon_code-0.1.3-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 |
d607eb32234cec908eceba72d2742900e62507a54f049a631b68b553971fa4e6
|
|
| MD5 |
44747f7a5c03c306a35a504b202fe9f8
|
|
| BLAKE2b-256 |
55bd14c5c6391811c5b77a157c336e110b278c1df5ff7edbf52712398dd81bbb
|