PromptingTools v0.91.0
Breaking changes
None!
Added
- Added
TokenUsagestruct for standardized token usage tracking across all LLM providers (input/output tokens, cache tokens, reasoning tokens, cost, elapsed time). Newusagefield added toAIMessage,DataMessage, andAIToolRequestwith backwards compatibility for legacytokens,cost,elapsedfields. - Added cache-aware cost calculation with provider-specific discounts via
call_cost_with_cacheandCACHE_DISCOUNTS. - Added support for OpenAI's GPT-5.3 Codex model (
gpt-5.3-codex, aliasgpt53/gpt53c). GPT-5.3 Codex is OpenAI's most capable agentic coding model combining frontier coding and reasoning capabilities. 400K context, 128K output. Requires the Responses API. - Added support for Anthropic's Claude Opus 4.6 model (
claude-opus-4-6, aliasclaudeo). Claude Opus 4.6 is Anthropic's latest Opus-class model with 1M context and 128K output.
Commits
Merged pull requests: