/v1/messages, so you can point Claude Code at Phaseo without changing your prompts.
If you want Claude Code to read the live Phaseo documentation during a session, add the Docs MCP server too.
Set up with the Phaseo CLI
Phaseo CLI: Claude Code API Key that expires after 90 days and has a $100 monthly spend limit, stores it in the OS credential store, and configures Claude Code’s gateway and API-key helper. The helper creates a new key when the old one expires. No plaintext key is written to Claude Code settings.
Manual configuration
Pick a model (optional)
SetANTHROPIC_MODEL if you want a fixed default. Use model ids listed in Models.
Start Claude Code
Endpoint mapping
- Claude Code calls Anthropic-style endpoints (
/v1/messages). - Phaseo handles those requests through Anthropic Messages.
Compatibility notes
ANTHROPIC_AUTH_TOKENis sent as anAuthorizationheader, which Phaseo accepts.- You can also set
ANTHROPIC_MODELto A Phaseo model id when you want Claude Code to use one default model. - Current limitation: streaming + tools on Anthropic Messages can return
400 invalid_request. If your workflow depends on streamed tool loops, test this path before broad rollout.