Astralane / Developers
Anthropic Messages
A text-only public Messages protocol, separate from the generic Anthropic upstream adapter.
Request shape
POST /v1/messages accepts model, text messages, optional text system content, required max_tokens, stream, temperature, routing, and zdr. Use Bearer authentication or x-api-key.
Streaming and usage
SSE emits message_start, content_block_start, content_block_delta, content_block_stop, message_delta, and message_stop. Because final upstream input usage is not known before text starts, initial input usage is zero; exact input/cache/output tokens are authoritative in the final platform.billing.usage extension. Test this subset against your client.
Unsupported functionality
The public Messages endpoint does not accept tools, images, thinking controls, prompt cache controls, or beta features. This does not imply Claude Code compatibility. Anthropic upstream cache-write usage is rejected because a cache-write billing rate is not modeled in this release.
Native core and mock HTTP checks have run. Full dependency install, PostgreSQL/Redis integration, production builds, and browser flows still require local verification. See the repository verification report before deployment.