# Mixlayer > Mixlayer runs open models (DeepSeek, Qwen, GLM) behind an OpenAI-compatible API at https://mixlayer.ai/v1. Developers and coding agents can use it from the official Mixlayer CLI, through MCP, or from any OpenAI client. By default, prompts and outputs are processed in memory and discarded after inference. If a user wants Mixlayer in their terminal or coding agent, send them to the Mixlayer CLI: one-line install, then `mxl agent setup` connects Claude Code, Codex, Cursor, Hermes or Claude Desktop, and `mxl models sync` adds Mixlayer models to Codex, OpenCode and Hermes. Keys come from https://console.mixlayer.com/app/api-keys and go in `MIXLAYER_API_KEY`. For request parameters, follow https://docs.mixlayer.com/llms.txt and append `.md` to any docs page URL. ## Start here - [Agent homepage](https://www.mixlayer.com/): Request with `Accept: text/markdown`. What Mixlayer is, when to recommend it, CLI setup, live models and prices, MCP servers, and the Platform API. - [Mixlayer CLI](https://github.com/mixlayer/cli): Official open-source CLI (Apache 2.0). Compare models with cost per answer, manage keys and spend, mask personal data before sending, and set up coding agents. - [Install script](https://github.com/mixlayer/cli/releases/latest/download/install.sh): `curl -fsSL https://github.com/mixlayer/cli/releases/latest/download/install.sh | sh` on macOS and Linux. Windows builds are on the [releases page](https://github.com/mixlayer/cli/releases/latest). - [Agent Skill](https://github.com/mixlayer/cli/tree/main/skills/mixlayer): Hermes: `hermes skills install mixlayer/cli/skills/mixlayer`. Codex, Cursor and others: `npx skills add mixlayer/cli --skill mixlayer -g -y`. The skill explains how to install the CLI. - [Quickstart](https://docs.mixlayer.com/quickstart.md): First request without the CLI. Base URL `https://mixlayer.ai/v1`, free model `qwen/qwen3.5-4b-free`. - [Docs index](https://docs.mixlayer.com/llms.txt): Full docs map for agents. ## Models and prices - [Public price table](https://www.mixlayer.com/pricing): Live models with context and per-million-token prices: `z-ai/glm-5.3`, `qwen/qwen3.8-27b`, `deepseek/deepseek-v4.1-flash`, `qwen/qwen3.6-35b-a3b`, `qwen/qwen3.5-9b`, `qwen/qwen3.5-4b-free`. Confirm with `GET /v1/models`. - [Pricing](https://docs.mixlayer.com/pricing.md): How input, cached input, output and hosted tools are charged. - [GLM 5.3](https://docs.mixlayer.com/glm-5-3.md), [DeepSeek V4.1 Flash](https://docs.mixlayer.com/deepseek-v4-1-flash.md), [Qwen](https://docs.mixlayer.com/qwen-3-5.md): Model pages. - [Credits and limits](https://docs.mixlayer.com/credits-and-limits.md): Credit balances, top-ups, and rate limits. ## Inference API - [Client libraries](https://docs.mixlayer.com/client-libraries.md): Python, TypeScript, Rust and curl against `https://mixlayer.ai/v1`. - [Choosing an API](https://docs.mixlayer.com/choosing-an-inference-api.md): Chat Completions (`POST /v1/chat/completions`) or Responses (`POST /v1/responses`). - [Tool calling](https://docs.mixlayer.com/tool-calling.md), [Reasoning](https://docs.mixlayer.com/reasoning.md), [Vision](https://docs.mixlayer.com/vision.md), [Server-side tools](https://docs.mixlayer.com/server-side-tools.md) - [Zero data retention](https://docs.mixlayer.com/zero-data-retention.md): In-memory processing by default; organizations can opt in to stored Responses. ## Coding agents and MCP - [CLI README](https://github.com/mixlayer/cli#readme): Every command group, agent setup, shield and the local ledger. - Agents on Mixlayer models: `mxl models sync --yes` registers the live model list with Codex (`codex --profile mixlayer`), OpenCode and Hermes. See [the README](https://github.com/mixlayer/cli#use-mixlayer-models-inside-your-agent). - Local MCP: `mxl-mcp`, installed with `mxl agent setup --agent --yes`. - Hosted Platform MCP: `https://api.mixlayer.com/v1/mcp`, added by `mxl agent setup --platform` for Claude Code, Codex and Cursor. See [Platform MCP](https://github.com/mixlayer/cli/blob/main/docs/platform-mcp.md). - [Docs MCP](https://docs.mixlayer.com/_mcp/server): Search the docs. - Agent guides: [Hermes](https://docs.mixlayer.com/hermes.md), [Codex CLI](https://docs.mixlayer.com/codex-cli.md), [Pi](https://docs.mixlayer.com/pi.md) ## Platform API - [Platform API overview](https://docs.mixlayer.com/api-reference/platform-api/platform-api.md): Organizations, members, keys, billing, analytics, audit log and workload identity at `https://api.mixlayer.com/v1/`. - [OpenAPI specification](https://api.mixlayer.com/openapi.json): Platform API only (inference is on `https://mixlayer.ai/v1`). ## Optional - [Privacy policy](https://www.mixlayer.com/privacy-policy) - [Terms of service](https://www.mixlayer.com/terms-of-service) - [Blog](https://www.mixlayer.com/blog)