37Our expense assistant sometimes adds up line items wrong. Why does a model that writes code fail at sums, and what do you change?▼mediumNewAnthropicOpenAI◆ premiumLanguage models predict tokens rather than calculate. Let the model extract numbers and let code do the maths, then check the result against the printed total.Practise this question →Read answer →
35We're adding hosted web search and code execution to our API. Do we price them per call, per token, per container-hour, or bundle them?▼mediumNewAnthropicOpenAIGoogle◆ premiumEach tool has a different cost driver: search licences per query, retrieved content as tokens, containers by time. Price each on its driver, decide whether retrieved text is billed, and bundle cheap tools with expensive ones.Practise this question →Read answer →