Chutes

CURL

Need an API token? Get one here

Make a direct Curl request to the API using the following command:

bash

1
curl -X POST \
2
		https://llm.chutes.ai/v1/chat/completions \
3
		-H "Authorization: Bearer $CHUTES_API_TOKEN" \
4
	-H "Content-Type: application/json" \
5
	-d '  {
6
    "model": "zai-org/GLM-4.6V",
7
    "messages": [
8
      {
9
        "role": "user",
10
        "content": "Tell me a 250 word story."
11
      }
12
    ],
13
    "stream": true,
14
    "max_tokens": 1024,
15
    "temperature": 0.7
16
  }'
chutes api
Chutes API

Run Anything with the Chutes API

Use our API to run any AI model you can imagine, without having to worry about infrastructure. Can't find something? Create your own Chute in seconds.