# Mixlayer Docs ## Instructions for AI Agents - For clean Markdown of any page, append `.md` to the page URL - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mixlayer.com/_mcp/server ## Docs - [Introduction](https://docs.mixlayer.com/introduction.md): Welcome to the Mixlayer Docs! - [Quickstart](https://docs.mixlayer.com/quickstart.md): Make your first request to Mixlayer in under a minute - [Choosing an Inference API](https://docs.mixlayer.com/choosing-an-inference-api.md): Decide between Chat Completions and Responses for your Mixlayer application - [Client Libraries](https://docs.mixlayer.com/client-libraries.md): Use Mixlayer from Python, TypeScript, Rust, or curl with any OpenAI-compatible client - [Pricing](https://docs.mixlayer.com/pricing.md): Understand how Mixlayer calculates inference and hosted-tool charges - [Credits & Limits](https://docs.mixlayer.com/credits-and-limits.md): Understand Mixlayer credit balances, automatic top-ups, and RPM and TPM rate limits - [API Keys](https://docs.mixlayer.com/api-keys.md): Creating and managing API keys for Mixlayer - [Models](https://docs.mixlayer.com/models.md): Model families available through Mixlayer - [Qwen 3.5/3.6](https://docs.mixlayer.com/qwen-3-5.md): Available Qwen models, thinking modes, and recommended sampling settings - [Kimi K2.7 Code](https://docs.mixlayer.com/kimi-k2-7-code.md): Guidance for coding and agentic workloads with Kimi K2.7 Code - [GLM 5.2](https://docs.mixlayer.com/glm-5-2.md): Guidance for long-context and agentic workloads with GLM 5.2 - [Zero Data Retention](https://docs.mixlayer.com/zero-data-retention.md): Keep prompts and outputs private with zero data retention and organization-level retention controls - [Vision](https://docs.mixlayer.com/vision.md): Send images and PDFs to vision-capable Mixlayer models - [Embeddings](https://docs.mixlayer.com/embeddings.md): Turn text into vectors for search, retrieval, and similarity - [Tool Calling](https://docs.mixlayer.com/tool-calling.md): Let Mixlayer models call your functions to fetch data or take action - [Server-Side Tools](https://docs.mixlayer.com/server-side-tools.md): Use Mixlayer-hosted tools, including Exa-powered web search - [Reasoning](https://docs.mixlayer.com/reasoning.md): Enable extended chain-of-thought reasoning and read the model's thinking - [Pi](https://docs.mixlayer.com/pi.md): Use Mixlayer inside the Pi coding harness with the pi-mixlayer extension - [Codex CLI](https://docs.mixlayer.com/codex-cli.md): Use Mixlayer in Codex CLI with a separate profile - [Hermes](https://docs.mixlayer.com/hermes.md): Use Mixlayer models in Hermes Agent - [Inference APIs](https://docs.mixlayer.com/api-reference/inference-ap-is/inference-apis.md): Run open-source models through Mixlayer's OpenAI-compatible inference APIs - [Platform API](https://docs.mixlayer.com/api-reference/platform-api/platform-api.md): Manage Mixlayer organizations, models, billing, analytics, and API keys ## API Docs - Inference APIs > Responses [Create a response](https://docs.mixlayer.com/api-reference/inference-ap-is/responses/responses.md) - Inference APIs > Responses [Open a Responses WebSocket](https://docs.mixlayer.com/api-reference/inference-ap-is/responses/responses-websocket.md) - Inference APIs > Chat Completions [Create a chat completion](https://docs.mixlayer.com/api-reference/inference-ap-is/chat-completions/chat-completions.md) - Inference APIs > Completions (legacy) [Create a text completion](https://docs.mixlayer.com/api-reference/inference-ap-is/completions-legacy/completions.md) - Inference APIs > Embeddings [Create embeddings](https://docs.mixlayer.com/api-reference/inference-ap-is/embeddings/embeddings.md) - Inference APIs > Models [List models](https://docs.mixlayer.com/api-reference/inference-ap-is/models/list-models.md) - Platform API > Billing Accounts [Get a billing account](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/get-billing-account.md) - Platform API > Billing Accounts [Enable or update automatic prepaid refills](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/set-auto-refill-for-billing-account.md) - Platform API > Billing Accounts [Disable automatic prepaid refills](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/disable-auto-refill-for-billing-account.md) - Platform API > Billing Accounts [Purchase prepaid credit](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/create-refill-for-billing-account.md) - Platform API > Billing Accounts [List prepaid credit purchases](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/list-refills-for-billing-account.md) - Platform API > Billing Accounts [Get a prepaid credit purchase](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/get-refill-for-billing-account.md) - Platform API > Billing Accounts [Get billing spend controls](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/get-spend-controls-for-billing-account.md) - Platform API > Billing Accounts [Update billing spend controls](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/set-spend-controls-for-billing-account.md) - Platform API > Billing Accounts [Get current draft invoice usage](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/get-open-invoices-for-billing-account.md) - Platform API > Billing Accounts [Get billing usage spend](https://docs.mixlayer.com/api-reference/platform-api/billing-accounts/get-usage-spend-for-billing-account.md) - Platform API > Organizations [List available organizations](https://docs.mixlayer.com/api-reference/platform-api/organizations/list-organizations.md) - Platform API > Organizations [Get an organization](https://docs.mixlayer.com/api-reference/platform-api/organizations/get-organization.md) - Platform API > Organizations [Update an organization](https://docs.mixlayer.com/api-reference/platform-api/organizations/update-organization.md) - Platform API > Organizations [List models available to an organization](https://docs.mixlayer.com/api-reference/platform-api/organizations/list-org-models.md) - Platform API > Organizations [Request access to a model for an organization](https://docs.mixlayer.com/api-reference/platform-api/organizations/request-model-access.md) - Platform API > Organizations [Get organization resource counts](https://docs.mixlayer.com/api-reference/platform-api/organizations/get-organization-resources.md) - Platform API > Organizations [List pending organization invitations](https://docs.mixlayer.com/api-reference/platform-api/organizations/list-org-invites.md) - Platform API > Organizations [Invite a user to an organization](https://docs.mixlayer.com/api-reference/platform-api/organizations/create-org-invite.md) - Platform API > Organizations [Revoke an organization invitation](https://docs.mixlayer.com/api-reference/platform-api/organizations/delete-org-invite.md) - Platform API > Organizations [Resend an organization invitation](https://docs.mixlayer.com/api-reference/platform-api/organizations/resend-org-invite.md) - Platform API > Organizations [List organization members](https://docs.mixlayer.com/api-reference/platform-api/organizations/list-org-members.md) - Platform API > Organizations [Remove an organization member](https://docs.mixlayer.com/api-reference/platform-api/organizations/delete-org-member.md) - Platform API > Organizations [Update an organization member](https://docs.mixlayer.com/api-reference/platform-api/organizations/update-org-member.md) - Platform API > Analytics [Get an organization analytics overview](https://docs.mixlayer.com/api-reference/platform-api/analytics/get-overview.md) - Platform API > Analytics [List inference sequences](https://docs.mixlayer.com/api-reference/platform-api/analytics/get-sequences.md) - Platform API > Analytics [Get an inference sequence](https://docs.mixlayer.com/api-reference/platform-api/analytics/get-sequence-by-id.md) - Platform API > API Key Management [List API keys](https://docs.mixlayer.com/api-reference/platform-api/api-key-management/list-api-keys.md) - Platform API > API Key Management [Create an API key](https://docs.mixlayer.com/api-reference/platform-api/api-key-management/create-api-key.md) - Platform API > API Key Management [Delete an API key](https://docs.mixlayer.com/api-reference/platform-api/api-key-management/delete-api-key.md) - Platform API > API Key Management [Update an API key](https://docs.mixlayer.com/api-reference/platform-api/api-key-management/update-api-key.md) - Platform API > API Key Management [Rotate an API key secret](https://docs.mixlayer.com/api-reference/platform-api/api-key-management/rotate-api-key.md) - Platform API > Audit Logs [List organization audit log entries](https://docs.mixlayer.com/api-reference/platform-api/audit-logs/list-audit-log.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.mixlayer.com/openapi.json) - [OpenAPI YAML](https://docs.mixlayer.com/openapi.yaml)