A Look at Antml: The Anthropic Markup Language

Kara’s NonsenseA Look at ANTML: The Anthropic Markup LanguageA brief trip into the depths of Anthropic’s APIby karashiiro|October 30, 2025| 0 0 This is what Anthropic API requests look like:{ “model”: “claude-sonnet-4-5”, “max_tokens”: 1000, “messages”: [ { “role”: “user”, “content”: “What should I search for to find the latest developments in renewable energy?” } ] }Choose a model, set a token limit, and pass an array of messages. Want to enable extended thinking? Add another parameter:{ “model”: “claude-sonnet-4-5”, “max_tokens”: 1000, “thinking”: { “type”: “enabled”, “budget_tokens”: 500, }, “messages”: [ { “role”: “user”, “content”: “What should I search for to find the latest developments in renewable energy?” } ] }Now, how does the API know when the model is…

Read more on Hacker News