> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hostlinku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Opus 4.8

> Claude Opus 4.8 is Anthropic's high-capability Opus model for complex reasoning and agentic coding, with text/image input, text output, a 1M context window,...

## Overview

Claude Opus 4.8 is Anthropic's high-capability Opus model for complex reasoning and agentic coding, with text/image input, text output, a 1M context window, and 128K max output.

| Property | Value |
| - | - |
| Provider | Anthropic |
| Slug | `claude-opus-4-8` |
| Context | 1,000,000 tokens |
| Max output | 128,000 tokens |
| Input | text, image |
| Output | text |
| Release | 2026-05-28 |
| Tags | reasoning |

## Capabilities

* `text`
* `vision`
* `image-input`
* `file-input`
* `pdf-input`
* `tool-calling`
* `function-calling`
* `structured-outputs`
* `json-mode`
* `streaming`
* `reasoning`
* `extended-thinking`
* `code-execution`
* `web-search`
* `code-generation`
* `long-context`
* `multilingual`
* `multimodal`

## Pricing

| Item | Price |
| - | - |
| Input (prompt) | \$5 |
| Output (completion) | \$25 |
| Cache read | \$0.5 |
| Cache write | \$6.25 |

Prices are customer prices per **1M tokens** for a Hostlinku API key, with 1 kredit = \$1. Actual cost per request follows the API key's Service Mode and may change; check [Console](https://console.hostlinku.com/models) or `GET /v1/models` for current values.

## Supported endpoints

| Endpoint | Format | Support |
| - | - | - |
| `POST /v1/chat/completions` | OpenAI Chat Completions | available |
| `POST /v1/messages` | Anthropic Messages | native |
| `POST /v1/responses` | OpenAI Responses | adapted (bridge) |

Endpoint and model availability follow the catalog and the API key's Service Mode. If a model is unavailable for that mode, the request may be rejected with `400 MODEL_NOT_IN_SERVICE_MODE`.

## Example request

```bash theme={null}
curl https://api.hostlinku.com/v1/chat/completions \
  -H "Authorization: Bearer sk-isi-api-key-kamu" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-8",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

## Related models

* [Claude Fable 5](https://docs.hostlinku.com/en/models/claude-fable-5.md)
* [Claude Fable 5.1](https://docs.hostlinku.com/en/models/claude-fable-5-1.md)
* [Claude Haiku 4.5](https://docs.hostlinku.com/en/models/claude-haiku-4-5.md)
* [Claude Opus 4.6](https://docs.hostlinku.com/en/models/claude-opus-4-6.md)
* [Claude Opus 4.7](https://docs.hostlinku.com/en/models/claude-opus-4-7.md)
* [Claude Opus 5](https://docs.hostlinku.com/en/models/claude-opus-5.md)

[← Back to the model catalog](https://docs.hostlinku.com/en/models.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.