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.0.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.0.tar.gz.
File metadata
- Download URL: chameleon_code-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d4f68244bcf9227a405be98e15c2b5aee6db3a0c84cade45c47427237095a41
|
|
| MD5 |
889039dfdf482add08fe858aa2e4a96e
|
|
| BLAKE2b-256 |
5250cd234dbe43cfa82127b0ccb15cc192c9b0b7658bfa16383aa045d8126e92
|
File details
Details for the file chameleon_code-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chameleon_code-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cad69b612e6c27a9a944b1a7e487a8d48e39accf6d686e2a26f4e9d4e30ca03d
|
|
| MD5 |
c89feb8f537040652d89556a136656b7
|
|
| BLAKE2b-256 |
8d55982aff37d48aa135cf7d47d5ea1bbeaee4878cfd1ba4a54dac1d988be72f
|