Claude Code
Claude Code uses the Anthropic Messages API. Point it at Prism with environment variables:~/.claude/settings.json. Prefer an environment variable or secret
injection mechanism over writing a real key directly into the file.
Claude Code tools use the normal Anthropic tool_use and tool_result loop.
Streaming, system prompts, and conversation history use the standard Messages
format.
OpenAI-compatible harnesses
For an agent that accepts an OpenAI-compatible provider, configure:Codex compatibility
Current Codex clients use the OpenAI Responses API. Prism V0 serves Chat Completions and Messages, not Responses, so Codex does not connect directly. Use a gateway that translates Responses requests to Chat Completions, or use an agent harness with native Chat Completions support.Choose models by role
Measure your own workload before routing production traffic. Context size,
tool-schema size, cache reuse, and output length all affect end-to-end latency.