Skip to content
Nov 27Fri
Nov 26Thu
  1. DEV Community · LLM69

    Treating a Model Call as a Function Call

    The article demonstrates a TypeScript client that calls the Messages API without an SDK, parses responses, and calculates token costs. It covers repeated context billing, detecting truncated output with stop_reason, and using structured output and tool calls in application workflows.