---
title: Zed-Hosted Models - Zed
description: AI models available via Zed Pro including Claude Fable 5, Claude Sonnet 5, GPT-5.6, and Gemini 3. Pricing, context windows, and tool call support.
---

# Zed-Hosted Models

Zed's plans offer hosted versions of major LLMs with higher rate limits than direct API access. Model availability is updated regularly. To use your own API keys instead, see [LLM Providers](../ai/llm-providers.md). For general setup, see [AI Quick Start](../ai/quick-start.md).

> **Note:** Claude Fable 5, Claude Opus models, GPT-5.5 pro, and GPT-5.4 pro are only available on Zed Pro and Zed Business.

| Model             | Provider  | Token Type          | Provider Price per 1M tokens | Zed Price per 1M tokens |
| ----------------- | --------- | ------------------- | ---------------------------- | ----------------------- |
| Claude Fable 5    | Anthropic | Input               | $10.00                       | $11.00                  |
|                   | Anthropic | Output              | $50.00                       | $55.00                  |
|                   | Anthropic | Input - Cache Write | $12.50                       | $13.75                  |
|                   | Anthropic | Input - Cache Read  | $1.00                        | $1.10                   |
| Claude Opus 4.5   | Anthropic | Input               | $5.00                        | $5.50                   |
|                   | Anthropic | Output              | $25.00                       | $27.50                  |
|                   | Anthropic | Input - Cache Write | $6.25                        | $6.875                  |
|                   | Anthropic | Input - Cache Read  | $0.50                        | $0.55                   |
| Claude Opus 4.6   | Anthropic | Input               | $5.00                        | $5.50                   |
|                   | Anthropic | Output              | $25.00                       | $27.50                  |
|                   | Anthropic | Input - Cache Write | $6.25                        | $6.875                  |
|                   | Anthropic | Input - Cache Read  | $0.50                        | $0.55                   |
| Claude Opus 4.7   | Anthropic | Input               | $5.00                        | $5.50                   |
|                   | Anthropic | Output              | $25.00                       | $27.50                  |
|                   | Anthropic | Input - Cache Write | $6.25                        | $6.875                  |
|                   | Anthropic | Input - Cache Read  | $0.50                        | $0.55                   |
| Claude Opus 4.8   | Anthropic | Input               | $5.00                        | $5.50                   |
|                   | Anthropic | Output              | $25.00                       | $27.50                  |
|                   | Anthropic | Input - Cache Write | $6.25                        | $6.875                  |
|                   | Anthropic | Input - Cache Read  | $0.50                        | $0.55                   |
| Claude Sonnet 5   | Anthropic | Input               | $2.00                        | $2.20                   |
|                   | Anthropic | Output              | $10.00                       | $11.00                  |
|                   | Anthropic | Input - Cache Write | $2.50                        | $2.75                   |
|                   | Anthropic | Input - Cache Read  | $0.20                        | $0.22                   |
| Claude Sonnet 4.5 | Anthropic | Input               | $3.00                        | $3.30                   |
|                   | Anthropic | Output              | $15.00                       | $16.50                  |
|                   | Anthropic | Input - Cache Write | $3.75                        | $4.125                  |
|                   | Anthropic | Input - Cache Read  | $0.30                        | $0.33                   |
| Claude Sonnet 4.6 | Anthropic | Input               | $3.00                        | $3.30                   |
|                   | Anthropic | Output              | $15.00                       | $16.50                  |
|                   | Anthropic | Input - Cache Write | $3.75                        | $4.125                  |
|                   | Anthropic | Input - Cache Read  | $0.30                        | $0.33                   |
| Claude Haiku 4.5  | Anthropic | Input               | $1.00                        | $1.10                   |
|                   | Anthropic | Output              | $5.00                        | $5.50                   |
|                   | Anthropic | Input - Cache Write | $1.25                        | $1.375                  |
|                   | Anthropic | Input - Cache Read  | $0.10                        | $0.11                   |
| GPT-5.6 Sol       | OpenAI    | Input               | $5.00                        | $5.50                   |
|                   | OpenAI    | Output              | $30.00                       | $33.00                  |
|                   | OpenAI    | Input - Cache Write | $6.25                        | $6.875                  |
|                   | OpenAI    | Cached Input        | $0.50                        | $0.55                   |
| GPT-5.6 Terra     | OpenAI    | Input               | $2.50                        | $2.75                   |
|                   | OpenAI    | Output              | $15.00                       | $16.50                  |
|                   | OpenAI    | Input - Cache Write | $3.125                       | $3.4375                 |
|                   | OpenAI    | Cached Input        | $0.25                        | $0.275                  |
| GPT-5.6 Luna      | OpenAI    | Input               | $1.00                        | $1.10                   |
|                   | OpenAI    | Output              | $6.00                        | $6.60                   |
|                   | OpenAI    | Input - Cache Write | $1.25                        | $1.375                  |
|                   | OpenAI    | Cached Input        | $0.10                        | $0.11                   |
| GPT-5.5 pro       | OpenAI    | Input               | $30.00                       | $33.00                  |
|                   | OpenAI    | Output              | $180.00                      | $198.00                 |
| GPT-5.5           | OpenAI    | Input               | $5.00                        | $5.50                   |
|                   | OpenAI    | Output              | $30.00                       | $33.00                  |
|                   | OpenAI    | Cached Input        | $0.50                        | $0.55                   |
| GPT-5.4 pro       | OpenAI    | Input               | $30.00                       | $33.00                  |
|                   | OpenAI    | Output              | $180.00                      | $198.00                 |
| GPT-5.4           | OpenAI    | Input               | $2.50                        | $2.75                   |
|                   | OpenAI    | Output              | $15.00                       | $16.50                  |
|                   | OpenAI    | Cached Input        | $0.025                       | $0.0275                 |
| GPT-5.3-Codex     | OpenAI    | Input               | $1.75                        | $1.925                  |
|                   | OpenAI    | Output              | $14.00                       | $15.40                  |
|                   | OpenAI    | Cached Input        | $0.175                       | $0.1925                 |
| GPT-5.2           | OpenAI    | Input               | $1.75                        | $1.925                  |
|                   | OpenAI    | Output              | $14.00                       | $15.40                  |
|                   | OpenAI    | Cached Input        | $0.175                       | $0.1925                 |
| GPT-5.2-Codex     | OpenAI    | Input               | $1.75                        | $1.925                  |
|                   | OpenAI    | Output              | $14.00                       | $15.40                  |
|                   | OpenAI    | Cached Input        | $0.175                       | $0.1925                 |
| GPT-5 mini        | OpenAI    | Input               | $0.25                        | $0.275                  |
|                   | OpenAI    | Output              | $2.00                        | $2.20                   |
|                   | OpenAI    | Cached Input        | $0.025                       | $0.0275                 |
| GPT-5 nano        | OpenAI    | Input               | $0.05                        | $0.055                  |
|                   | OpenAI    | Output              | $0.40                        | $0.44                   |
|                   | OpenAI    | Cached Input        | $0.005                       | $0.0055                 |
| Gemini 3.1 Pro    | Google    | Input               | $2.00                        | $2.20                   |
|                   | Google    | Output              | $12.00                       | $13.20                  |
| Gemini 3.5 Flash  | Google    | Input               | $1.50                        | $1.65                   |
|                   | Google    | Output              | $9.00                        | $9.90                   |
| Gemini 3 Flash    | Google    | Input               | $0.50                        | $0.55                   |
|                   | Google    | Output              | $3.00                        | $3.30                   |

> **Warn:** Anthropic retains prompts and outputs sent to Claude Fable 5 for at least 30 days for trust and safety purposes. The no-training commitment still applies, and Zed does not retain your prompts or outputs. See [Provider Safety Retention for Designated Models](../ai/privacy-and-security.md#provider-safety-retention).

The Claude Sonnet 5 prices shown above use Anthropic's introductory pricing through August 31, 2026.

## Recent Model Retirements {#recent-model-retirements}

Zed no longer offers the models below:

- Claude Opus 4.1 → Claude Opus 4.5, Claude Opus 4.6, Claude Opus 4.7, or Claude Opus 4.8
- Claude Sonnet 4 → Claude Sonnet 4.5 or Claude Sonnet 4.6
- Claude Sonnet 3.7 (retired February 19, 2026) → Claude Sonnet 4.5 or Claude Sonnet 4.6
- GPT-5.1 and GPT-5 → GPT-5.2 or GPT-5.2-Codex
- Gemini 2.5 Pro → Gemini 3.1 Pro
- Gemini 3 Pro (retired March 26, 2026) → Gemini 3.1 Pro
- Gemini 2.5 Flash → Gemini 3 Flash or Gemini 3.5 Flash
- Grok 4, Grok 4 Fast, Grok 4 Fast (Non-Reasoning), and Grok Code Fast 1 ([retired May 15, 2026](https://docs.x.ai/developers/migration/may-15-retirement)). Zed no longer offers hosted xAI models.

## Usage {#usage}

Any usage of a Zed-hosted model will be billed at the Zed Price (rightmost column above). See [Plans & Pricing](./plans-and-pricing.md) for details on Zed's plans and limits for use of hosted models.

Because Zed-hosted Gemini models do not use Google context caching, Gemini usage is billed only as input and output tokens; there is no separate cached-input price for these models. This preserves zero-data-retention behavior for hosted Gemini requests. For background, see Google's Vertex AI documentation on [context caching](https://cloud.google.com/vertex-ai/generative-ai/docs/context-cache/context-cache-overview) and [zero data retention](https://cloud.google.com/vertex-ai/generative-ai/docs/vertex-ai-zero-data-retention).

> LLMs can enter unproductive loops that require user intervention. Monitor longer-running tasks and interrupt if needed.

## Context Windows {#context-windows}

A context window is the maximum span of text and code an LLM can consider at once, including both the input prompt and output generated by the model.

| Model             | Provider  | Zed-Hosted Context Window |
| ----------------- | --------- | ------------------------- |
| Claude Fable 5    | Anthropic | 1M                        |
| Claude Opus 4.5   | Anthropic | 200k                      |
| Claude Opus 4.6   | Anthropic | 1M                        |
| Claude Opus 4.7   | Anthropic | 1M                        |
| Claude Opus 4.8   | Anthropic | 1M                        |
| Claude Sonnet 5   | Anthropic | 1M                        |
| Claude Sonnet 4.5 | Anthropic | 200k                      |
| Claude Sonnet 4.6 | Anthropic | 1M                        |
| Claude Haiku 4.5  | Anthropic | 200k                      |
| GPT-5.6 Sol       | OpenAI    | 272k input / 400k total   |
| GPT-5.6 Terra     | OpenAI    | 272k input / 400k total   |
| GPT-5.6 Luna      | OpenAI    | 272k input / 400k total   |
| GPT-5.5 pro       | OpenAI    | 272k input / 400k total   |
| GPT-5.5           | OpenAI    | 272k input / 400k total   |
| GPT-5.4 pro       | OpenAI    | 272k input / 400k total   |
| GPT-5.4           | OpenAI    | 272k input / 400k total   |
| GPT-5.3-Codex     | OpenAI    | 272k input / 400k total   |
| GPT-5.2           | OpenAI    | 272k input / 400k total   |
| GPT-5.2-Codex     | OpenAI    | 272k input / 400k total   |
| GPT-5 mini        | OpenAI    | 272k input / 400k total   |
| GPT-5 nano        | OpenAI    | 272k input / 400k total   |
| Gemini 3.1 Pro    | Google    | 200k                      |
| Gemini 3.5 Flash  | Google    | 1M                        |
| Gemini 3 Flash    | Google    | 1M                        |

> Zed currently limits hosted Gemini 3.1 Pro requests to 200k tokens because pricing changes above that context size.

Each Agent thread in Zed maintains its own context window.
The more prompts, attached files, and responses included in a session, the larger the context window grows.

Start a new thread for each distinct task to keep context focused.

## Tool Calls {#tool-calls}

Models can use [tools](../ai/tools.md) to interface with your code, search the web, and perform other useful functions.
