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

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)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

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

Hashes for chameleon_code-0.1.4.tar.gz
Algorithm Hash digest
SHA256 52ed44e0425fd0bbf17f590e49014b40c0d7be78d520cea656a0ac950ce6244e
MD5 630e9a726affae09553131d6d0c1ee2d
BLAKE2b-256 d147b4942a0bcf339971b2a2700359dbbe4541800d0926c285be1ea0eb9a543b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chameleon_code-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 81ec3f9484ed1f996b6b68dc12a271afc92be2b233c45f35b4a9cb6840bfee62
MD5 0bec57ee42b10639f22c4d11046fc529
BLAKE2b-256 a690faa7b7d9000a817e47ec9c6358d19ada34a2cec96eaedd392e7f8afcce8a

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