Skip to main content
Claude models are available on LaoZhang API again from October 18, 2026, at Anthropic’s list prices. Call them with a default-group API key in the Anthropic Messages or the OpenAI-compatible format, or point Claude Code at LaoZhang API.
  • Published: October 18, 2026
  • Last verified: October 18, 2026
  • Status: active; available in the default and claude_code token groups

Key details

Models and prices

Prices from LaoZhang API’s public pricing as of October 18, 2026, in US dollars per 1M tokens:
  • Prompt caching is supported. Cache-read prices are in the model catalog, and cache writes cost 1.25× the input price.
  • When a claude-haiku-5-5 prompt exceeds 100,000 tokens, counting cache reads and writes, the whole request is billed at $0.5 input and $2.5 output. See tiered pricing in the catalog.
  • Current prices are in the model catalog and on the console pricing page.

Make a request

Create an API key in Token management with the default token group and the Usage first (recommended) or Usage-based billing mode, then export it:
  • In the Anthropic Messages format, the answer is in the content[] blocks whose type is text. In the OpenAI-compatible format, it is in choices[0].message.content.
  • For streaming, tool use, and prompt caching, see the Claude protocol reference.
  • For a complete Claude Code configuration, see Claude Code setup with LaoZhang API.
  • Check token usage and the charge for each request in call logs.

Current limits

Check these differences from Anthropic’s own API before you switch:
  • Each response is capped at 32,768 output tokens. A larger max_tokens is reduced to the cap.
  • document content blocks, such as PDFs, are not supported. Extract the text and send it instead.
  • Anthropic server tools such as web_search, web_fetch, and code_execution are not supported, and requests that declare them return 400. Claude Code’s WebSearch tool doesn’t work for the same reason.
  • /v1/messages/count_tokens, Message Batches, and the Files API are not available.
See Claude model limits for the full list.

Who this affects

  • Applies to: projects that call Claude models through LaoZhang API, and anyone using Claude Code or the Anthropic SDKs. Any API key in the default or claude_code group with the Usage first or Usage-based billing mode can call these models.
  • Unchanged: no existing model changed. Integrations that call glm-5.2 or deepseek-v4-pro over Anthropic Messages keep working as they are.

FAQ

Why does claude-haiku-4-5 return a 503?

claude-haiku-4-5-20251001 is not one of the 11 models listed. Use claude-haiku-5-5 instead. Claude Code runs background tasks on that model by default, so set ANTHROPIC_DEFAULT_HAIKU_MODEL as shown in Claude Code setup with LaoZhang API.

What should I do about an occasional 529?

A 529 means upstream capacity is busy, which can happen at peak times. Retry after a short wait; the Anthropic SDKs retry 529 automatically by default.

Do I need an Anthropic account?

No. Your LaoZhang API key and base URL are all you need.