Quickstart
You’ll have a working chat completion in three steps.
1. Get an API key
Sign up at console.mixlayer.com and create an API key from the API Keys page in the console. Export it in your shell:
2. Send your first request
Mixlayer is OpenAI-compatible. The base URL is https://models.mixlayer.ai/v1.
curl
Python
file=quickstart.sh
qwen/qwen3.5-4b-free is on the free tier and great for trying
things out. See the Models page for the full catalog.
3. Go deeper
- Client Libraries — install instructions and examples for Python, TypeScript, Rust, and curl
- Chat Completions — full reference for every supported request parameter
- Tool Calling — let the model invoke your functions
- Reasoning — read the model’s chain of thought