# Kimi K2.8 Preview

> Moonshot AI's K2.8 preview for coding and agent work, close to Kimi K3 with more efficient thinking and 1M context.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `moonshot/kimi-k2.8-preview`
- Status: available
- Released: 2026-09-11
- Context: 1M tokens
- Max output: 1M tokens
- Input: text, image; output: text

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $1.0439 | per 1M tokens |
| Output | $4.3362 | per 1M tokens |
| Cache read | $0.27302 | per 1M tokens |
| Cache write (5 min) | $1.0439 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:moonshot/kimi-k2.8-preview`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Tencent Cloud TokenHub | `tencent:moonshot/kimi-k2.8-preview` | China | $1.0439 | $4.3362 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `moonshot/kimi-k2.8-preview` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `moonshot/kimi-k2.8-preview` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `moonshot/kimi-k2.8-preview` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/moonshot/kimi-k2.8-preview:generateContent | `moonshot/kimi-k2.8-preview` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshot/kimi-k2.8-preview",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/moonshot/kimi-k2.8-preview
