Claude Sonnet 4.5 (latest)

Models

Model details

Model
claude-sonnet-4.5
Provider
github-copilot
API
anthropic-messages
Base URL
https://api.individual.githubcopilot.com
Input
text, image
Reasoning
Yes
Context window
200,000
Max tokens
32,000
Show configuration
{
  "providers": {
    "github-copilot": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "claude-sonnet-4.5",
          "name": "Claude Sonnet 4.5 (latest)",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 200000,
          "maxTokens": 32000,
          "cost": {
            "input": 3,
            "output": 15,
            "cacheRead": 0.3,
            "cacheWrite": 3.75
          },
          "compat": {
            "supportsEagerToolInputStreaming": false
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://api.individual.githubcopilot.com"
    }
  }
}

Pricing

USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.

Pricing rates for Claude Sonnet 4.5 (latest)
Request inputInputOutputCache readCache write
All requests$3$15$0.3$3.75

Session cost calculator

Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.

Session shape
Rounded median shapes from recent Pi agent sessions.
Warm-request cache reuse
Effective token reuse combines partial hits and occasional complete misses.
Estimated session$0.00
Uncached input
Cache reads
Uncached prefixes
Cache writes
Output
Without caching

The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.

Compatibility flags

Effective values after applying Pi's API defaults and model overrides.

Effective compatibility flags for Claude Sonnet 4.5 (latest)
FeatureValue
supportsEagerToolInputStreamingNo
supportsLongCacheRetentionYes
sendSessionAffinityHeadersNo
supportsCacheControlOnToolsYes
supportsTemperatureYes
forceAdaptiveThinkingNo
allowEmptySignatureNo