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

# Messages API: GLM, DeepSeek, Kimi & Grok Models

> Call GLM, DeepSeek, Kimi and Grok models through APIXO's Messages-compatible endpoint with exact model IDs, streaming, and standard token prices.

These models use the Anthropic Messages-compatible request and response format. They are separate model families; protocol compatibility does not make them Claude models. For Claude models, see the [Claude gateway](https://apixo.ai/docs/models/text/claude.md).

## Compare Messages models and pricing

| Model | Model ID | Recommended for | Input | Output | Cache write | Cache read | Savings |
| - | - | - | -: | -: | -: | -: | -: |
| GLM 5.3 | `glm-5.3` | Model-specific Messages integrations | \$0.9 | \$3.15 | \$0 | \$0.225 | 25% |
| GLM 5.2 | `glm-5.2` | Model-specific Messages integrations | \$0.9 | \$3.15 | \$0 | \$0.225 | 25% |
| GLM 5.1 | `glm-5.1` | Model-specific Messages integrations | \$0.9 | \$3.15 | \$0 | \$0.225 | 25% |
| DeepSeek V4.1 Flash | `deepseek-flash` | Model-specific Messages integrations | \$0.18 | \$0.72 | \$0 | \$0.0036 | 40% |
| DeepSeek V4 Pro | `deepseek-v4-pro` | Model-specific Messages integrations | \$0.792 | \$2.376 | \$0 | \$0.0264 | 40% |
| Kimi K3.1 Pro | `kimi-k3.1-pro` | Model-specific Messages integrations | \$1.5492 | \$8.10344 | \$1.5492 | \$0.15488 | 20% |
| Kimi K3 | `kimi-k3` | Model-specific Messages integrations | \$2.38336 | \$11.9168 | \$2.38336 | \$0.23832 | 20% |
| Kimi K2.7 Code | `kimi-k2.7-code` | Model-specific Messages integrations | \$0.77456 | \$3.21752 | \$0 | \$0.15488 | 20% |
| Kimi K2.6 | `kimi-k2.6` | Model-specific Messages integrations | \$0.77456 | \$3.21752 | \$0 | \$0.13112 | 20% |
| Grok 4.7 | `grok-4.7` | Model-specific Messages integrations | \$1.2 | \$3.6 | \$0 | \$0.3 | 40% |
| Grok 4.6 | `grok-4.6` | Model-specific Messages integrations | \$1.2 | \$3.6 | \$0 | \$0.3 | 40% |
| Grok 4.5 | `grok-4.5` | Model-specific Messages integrations | \$1.2 | \$3.6 | \$0 | \$0.18 | 40% |

Prices are in USD per 1 million tokens. Prices verified: 2026-11-18. Savings compare standard input prices with regular market reference prices. GLM standard prices are 75% of the reference price, Kimi prices are 80%, and DeepSeek and Grok prices are 60%. Account-specific prices may differ. A \$0 cache-write rate means no separate cache-write charge in this rate card. See [API Pricing](https://apixo.ai/pricing/api).

## What to change

| Setting | APIXO value |
| - | - |
| SDK Base URL | `https://llm.apixo.ai` |
| Raw HTTP path | `POST /v1/messages` |
| Request URL | `https://llm.apixo.ai/v1/messages` |
| API key header | `x-api-key` |
| API key value | `$APIXO_API_KEY` |
| Required version header | `anthropic-version: 2023-06-01` |
| Model location | Request body `model` |

## Quickstart

```bash theme={null}
curl https://llm.apixo.ai/v1/messages \
  -H "x-api-key: $APIXO_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.3","max_tokens":256,"messages":[{"role":"user","content":"Reply with OK."}]}'
```

```python theme={null}
import os
from anthropic import Anthropic

client = Anthropic(api_key=os.environ["APIXO_API_KEY"], base_url="https://llm.apixo.ai")
response = client.messages.create(
    model="glm-5.3",
    max_tokens=256,
    messages=[{"role": "user", "content": "Reply with OK."}],
)
print(response.content)
```

Change only `model` to use another ID from this page. `deepseek-flash` is the published call ID for DeepSeek V4.1 Flash. Use Messages for the Grok text models on this page; the Grok image and video task APIs are separate products.

## Streaming and usage

Add `"stream": true` to the same request body to receive Messages SSE events. Responses report actual token usage, including cache reads and writes when present. Billing separates ordinary input, output, cache-read and cache-write tokens. Keep the API key server-side and use [API Pricing](https://apixo.ai/pricing/api) for current rates.

## Supported Messages models

* `glm-5.3`
* `glm-5.2`
* `glm-5.1`
* `deepseek-flash`
* `deepseek-v4-pro`
* `kimi-k3.1-pro`
* `kimi-k3`
* `kimi-k2.7-code`
* `kimi-k2.6`
* `grok-4.7`
* `grok-4.6`
* `grok-4.5`

## Remote MCP availability

Use `list_models` with `integration_type: llm_gateway` to discover these model IDs. Pass the selected ID to `get_model_schema` for the Messages contract or to `get_integration_guide` for server-side SDK setup. [APIXO MCP](https://apixo.ai/docs/integrations/mcp)

## Related links

* [Supported LLM models](https://apixo.ai/docs/llm/supported-models.md)
* [Claude Messages API](https://apixo.ai/docs/models/text/claude.md)
* [Compatible SDKs](https://apixo.ai/docs/llm/official-sdks.md)
* [Streaming](https://apixo.ai/docs/llm/streaming.md)
* [Authentication](https://apixo.ai/docs/llm/authentication.md)
* [Errors and retry](https://apixo.ai/docs/llm/errors-retry.md)


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