---
title: "coding.sh diff-calls · coding.sh docs"
description: "Show what changed between two model calls, and why the second missed the prompt cache. Every option of coding.sh diff-calls, from its own --help."
canonical: https://coding.sh/docs/cli/diff-calls
human_url: https://coding.sh/docs/cli/diff-calls
markdown_url: https://coding.sh/docs/cli/diff-calls.md
agents_url: https://coding.sh/agents.md
llms_url: https://coding.sh/llms.txt
updated: 2026-11-11
---

# coding.sh diff-calls

Show what changed between two model calls, and why the second missed the prompt cache. Every option of coding.sh diff-calls, from its own --help.

coding.sh diff-calls --help

```
coding.sh diff-calls <A> [b]

  Show what changed between two model calls, and why the second missed the prompt cache

Arguments
  a             A model call: its id, a unique prefix of one (6+ characters), or <session>#<n> (#-1 is the last)
  b             The call to compare it with (default: compare a with the call before it in its session)

Examples
  coding.sh diff-calls 9f1c2e4a7b3d
  coding.sh diff-calls 'latest#3' 'latest#4'
  coding.sh diff-calls 9f1c2e 4b7d1a --json

Notes
  Compares model, settings, tool definitions, the system prompt (line by line) and the message history, in the order the prompt cache reads them. Needs calls logged by coding.sh proxy; in capture mode metadata it compares hashes only.
```

[All commands](https://coding.sh/docs/cli) · [Global options](https://coding.sh/docs/cli#global)

To set coding.sh up for a user, follow the agent workflow at [/agents.md](https://coding.sh/agents.md).
