Skip to content
View as Markdown

Kiln docs

Kiln API — AI inference you call with the OpenAI SDK

Call AI models with the OpenAI SDK. Set base_url and an API key to start.

Point your OpenAI SDK at Kiln.

Point base_url at Kiln and use an API key that starts with sk-bk-…. Put your key in the examples below, then run them. Some parameters are not supported yet; see Known limitations in the API reference.

bash
curl https://api.bricksum.com/v1/chat/completions \
  -H "Authorization: Bearer sk-bk-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-32b",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Up and running in 5 minutes

  1. Create an API key in the console
  2. Set base_url to https://api.bricksum.com/v1
  3. Send a first request and read usage in the response

Using an AI coding assistant?

/llms.txt is a machine-readable index of every page here. Give it to Claude Code or Cursor so the agent can read these docs while it sets up Kiln.