Anthropic Messages API
The Anthropic SDK base URL is https://api.fenno.ai. It adds /v1/messages itself; do not use the OpenAI /v1 base URL in this SDK.
| Method | Path | Reference |
|---|---|---|
| POST | /v1/messages | Create a message |
| POST | /v1/messages/count_tokens | Count input tokens |
Headers
x-api-key: <FENNO_API_KEY>
anthropic-version: 2023-06-01
Content-Type: application/jsonDifferences from Chat Completions
- System guidance is the top-level
system, not an arbitrary system message insidemessages. max_tokensis required for message generation.contentcan contain text, images, documents, tool calls, tool results or model-specific blocks.- Tool schemas use
input_schema; results usetool_resultblocks in user messages. - Streaming uses named message/content-block events instead of Chat delta objects.
Model access, vision, thinking and caching remain model-specific. Do not assume support for upstream hosted tools, batches or files because the Anthropic SDK includes those APIs.
For general ID discovery, see model queries; a model-list entry alone does not prove native Messages support. See Claude Code setup and the official Messages documentation .