# Claude Code

> The state of Claude Code on Inferit: not supported today, because Inferit speaks the OpenAI API; an Anthropic Messages API skin is planned.

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](https://inferit.cc/docs/guides/opencode.md), [Cursor](https://inferit.cc/docs/guides/cursor.md), 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"
claude
```

Claude-branded models are not served on Inferit: sellers list open-weight models they host themselves. The plan is for the skin to map Claude Code onto open-weight coding models in the catalog.

---

Canonical page: https://inferit.cc/docs/guides/claude-code
All pages as markdown: https://inferit.cc/llms.txt
Testnet demo: test tokens, no monetary value.
