Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chameleon_code-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for chameleon_code-0.1.1.tar.gz
Algorithm Hash digest
SHA256 05ed886dcc405195bca0dc65eb44cf8fdabe461f6eccac8073e497ca9891a01f
MD5 809807b6b32a78cf434b8751637feafd
BLAKE2b-256 19dfbba71d3f91d3cbcdc1f3730956ef4c472d1c8c9753fb6f42ff371ec20c26

See more details on using hashes here.

File details

Details for the file chameleon_code-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for chameleon_code-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0d2a1e1bdc6b28ffdff94d1d60017d56df156e5cbf62c97cd355e3bc21f5763
MD5 9e5a4d2ad5b2eddf135f96688996aa34
BLAKE2b-256 458fb2baf8a3743befb8429722cfd279b5a520c1fae02685dc17e55030f20bd6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page