Tutorials
Use the Anthropic Messages Format Through a Compatible Gateway
Call Claude through a gateway with the Anthropic SDKs: base URL, headers, streaming, a tool-use loop and prompt caching, in Python, Node and curl.
7 min read
Tutorials
Call Claude through a gateway with the Anthropic SDKs: base URL, headers, streaming, a tool-use loop and prompt caching, in Python, Node and curl.
7 min read
Guides
Plain-language definitions of the LLM API terms on pricing pages and in SDK docs, with a worked cost example and the mistake each term commonly causes.
7 min read
Tutorials
A practical method to forecast LLM API spend: counting tokens, the hidden tokens people miss, how prompt caching changes the maths, and three worked examples.
7 min read