Skip to main content
Prism exposes OpenAI Chat Completions and Anthropic Messages. Choose the format your coding agent already uses.

Claude Code

Claude Code uses the Anthropic Messages API. Point it at Prism with environment variables:
To persist the configuration:
Save this as ~/.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:
Use the Chat Completions wire format. Prism V0 does not expose the OpenAI Responses endpoint.

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.
Last modified on September 9, 2026