Docs
MarkdownClaude Code
Claude Code speaks the Anthropic Messages API. Inferit speaks the OpenAI Chat Completions API. So Claude Code does not work with Inferit directly yet.
Status: roadmap
/anthropic/v1/messages exists only as a stub that returns 501 Not Implemented. The Anthropic-compatible "skin" (request/response translation, streaming events, tool-use mapping) is on the roadmap.
What works today
- Coding agents that accept an OpenAI-compatible provider: OpenCode, Cursor, and anything built on the OpenAI SDK.
- If you must use Claude Code now, an Anthropic-to-OpenAI translation proxy that you run yourself can sit between Claude Code and Inferit. We do not ship, test or support one; behaviour such as tool use and streaming events depends entirely on that proxy.
What is planned
The planned configuration is two environment variables:
bash
# Planned, not available yet:
export ANTHROPIC_BASE_URL=https://api-production-c74b9.up.railway.app/anthropic
export ANTHROPIC_AUTH_TOKEN="$INFERIT_API_KEY"
claudeClaude-branded models are not served on Inferit: today a closed model is a reference row that no seller can list. The plan is for the skin to map Claude Code onto open-weight coding models in the catalog.