Comparison
OpenAI-compatible vs native Anthropic Messages
LLMcode exposes the same models over two interfaces: an OpenAI-compatible shape and native Anthropic Messages. The model is the same; the client and the endpoint differ.
Updated
| Criterion | OpenAI-compatible | Anthropic Messages |
|---|---|---|
| Base URL | https://llmcode.io/v1 | https://llmcode.io (no /v1) |
| Auth | Authorization: Bearer | x-api-key + anthropic-version header |
| Endpoints | /chat/completions, /responses, /embeddings | /v1/messages |
| Best for | OpenAI SDK, Cursor, LangChain, n8n | Claude Code, Anthropic SDK clients |
| Streaming | Chat completions | Messages |
Same catalog, two dialects
The published profiles are identical across both interfaces. You choose the protocol by which client you already use, not by which model you want.
The model field accepts the same profile name in both shapes.
Which to pick
If your codebase imports the OpenAI SDK or a tool speaks that protocol, use the compatible shape and keep the client unchanged.
If your tool is Anthropic-native, such as Claude Code, use Messages to keep tool calling and thinking parameters native.
Where they differ in practice
Responses and embeddings endpoints exist only on the compatible side. Anthropic Messages has no embeddings counterpart.
Streaming is supported for chat and messages. Responses with stream: true is not available in this version.
Published model prices
USD per 1M tokens. The numbers come from the public catalog on every page rebuild — this is the sale price, not an estimate.
| Model | Input | Output | Cache |
|---|---|---|---|
| Claude Opus 5.5 | $2.70 | $8.00 | $0.14 |
| DeepSeek Flash | $0.50 | $2.00 | $0.01 |
| Claude Sonnet 5.5 | $1.33 | $6.67 | $0.07 |
| DeepSeek V4 Pro | $2.20 | $6.60 | $0.07 |
Top-up from $10, balance in USD. 1 USD = 1,000,000 UT. No subscription and no auto-charge.
Questions
Do I pay differently per interface?
No. The price is per model and per token, identical across both protocols.
Can one key use both?
Yes. A key is not tied to a protocol.
Which base URL for the OpenAI SDK?
https://llmcode.io/v1 with a Bearer key.
Which base URL for Claude Code?
https://llmcode.io with ANTHROPIC_AUTH_TOKEN set to your key.