---
title: "Claude Fable 5.2 API: pricing and setup — AI Creator API"
description: "Claude Fable 5.2 API for Claude Code, Cline, OpenCode and Aider: $2.25 per 1M input and $11.25 per 1M output tokens, pay as you go."
url: https://llm.aicreator.app/en/models/claude-fable-5-2/
lang: en
updated: 2026-11-11
---

# Claude Fable 5.2 API

Claude Fable 5.2 by Anthropic on one AI Creator API key, in Claude Code, Cline, OpenCode and Aider. You pay for the actual tokens; the balance is in dollars, topped up by card or crypto.

## Price per 1M tokens

Prices as of November 11, 2026

| Tokens                 | AI Creator API |
| ---------------------- | -------------- |
| Input                  | $2.25          |
| Cache read             | $0.057         |
| Cache write, 5 minutes | $2.813         |
| Cache write, 1 hour    | $4.50          |
| Output                 | $11.25         |

- A dash means the model has no such price. Cache reads and writes are counted apart from input: a token lands in one counter only.
- Every model and its prices are on the [pricing page](https://llm.aicreator.app/en/pricing/).

## Specs

| Property               | Value                                       |
| ---------------------- | ------------------------------------------- |
| Id for the model field | `claude-fable-5-2`                          |
| Alias                  | `fable`                                     |
| Vendor                 | Anthropic                                   |
| Protocols              | OpenAI Chat Completions, Anthropic Messages |
| Context                | 1M tokens                                   |
| Max output             | 64K tokens                                  |

## How to connect

You need an `sk-aic-…` key: the dashboard issues it after you sign in. Then set up your tool.

### Claude Code

The model to work on is set by `ANTHROPIC_MODEL`; the other variables pin the models behind Claude Code’s names, or it may send an id we do not list. In detail: [the Claude Code setup](https://llm.aicreator.app/en/docs/claude-code/).

```bash
unset ANTHROPIC_API_KEY
export ANTHROPIC_BASE_URL=https://api.aicreator.app
export ANTHROPIC_AUTH_TOKEN=sk-aic-…
export ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-5-5
export ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-5-5
export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-5-5
export ANTHROPIC_DEFAULT_FABLE_MODEL=claude-fable-5-2
export ANTHROPIC_MODEL=claude-fable-5-2
claude
```

### Cline, OpenCode, Aider and the OpenAI SDK

The OpenAI Chat Completions protocol, model id `claude-fable-5-2`. Tool setup: [Cline](https://llm.aicreator.app/en/docs/cline/), [OpenCode](https://llm.aicreator.app/en/docs/opencode/), [Aider](https://llm.aicreator.app/en/docs/aider/). Check the key with a request:

```bash
curl https://api.aicreator.app/v1/chat/completions \
  -H "Authorization: Bearer $AIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-fable-5-2", "messages": [{"role": "user", "content": "Hello"}]}'
```

## Other Anthropic models

- [Claude Opus 5.5](https://llm.aicreator.app/en/models/claude-opus-5-5/) input $0.248 / output $1.24
- [Claude Opus 5](https://llm.aicreator.app/en/models/claude-opus-5/) input $0.255 / output $1.273
- [Claude Opus 4.8](https://llm.aicreator.app/en/models/claude-opus-4-8/) input $0.319 / output $1.593
- [Claude Opus 4.7](https://llm.aicreator.app/en/models/claude-opus-4-7/) input $0.828 / output $4.14
- [Claude Opus 4.6](https://llm.aicreator.app/en/models/claude-opus-4-6/) input $0.252 / output $1.26
- [Claude Sonnet 5.5](https://llm.aicreator.app/en/models/claude-sonnet-5-5/) input $0.147 / output $0.733
- [Claude Sonnet 5](https://llm.aicreator.app/en/models/claude-sonnet-5/) input $0.133 / output $0.662
- [Claude Sonnet 4.6](https://llm.aicreator.app/en/models/claude-sonnet-4-6/) input $0.486 / output $2.43
- [Claude Haiku 5.5](https://llm.aicreator.app/en/models/claude-haiku-5-5/) input $0.123 / output $0.734
- [Claude Haiku 4.5](https://llm.aicreator.app/en/models/claude-haiku-4-5/) input $0.193 / output $0.965
- [Claude Fable 5.1](https://llm.aicreator.app/en/models/claude-fable-5-1/) input $0.411 / output $2.055
- [Claude Fable 5](https://llm.aicreator.app/en/models/claude-fable-5/) input $0.515 / output $2.571
