ggml-org · llama.cpp b12855
llama.cpp exposes speed metrics in its Anthropic-compatible API
The local inference server adds prompt processing and generation statistics to its Anthropic-compatible endpoint responses. Clients that use these metrics, such as llama-swap, can display them instead of an unavailable value.
What changes
The timings field is added to non-streaming responses and to the final message_delta event in streaming, as in the OpenAI-compatible interfaces. The message_stop event remains unchanged. This is a public prerelease under the MIT license.