# OpenCompress ## Docs - [API Key Management](https://opencompress.mintlify.app/api-reference/api-keys.md): Create, list, and revoke API keys programmatically. - [Authentication](https://opencompress.mintlify.app/api-reference/authentication.md): How to authenticate with the OpenCompress API. - [Chat Completions](https://opencompress.mintlify.app/api-reference/chat-completions.md): POST /v1/chat/completions — Create a compressed chat completion. - [Errors](https://opencompress.mintlify.app/api-reference/errors.md): HTTP status codes and error response format. - [Models](https://opencompress.mintlify.app/api-reference/models.md): Model identifiers and pricing for all supported models. - [API Overview](https://opencompress.mintlify.app/api-reference/overview.md): OpenAI-compatible REST API with transparent prompt compression. - [How Billing Works](https://opencompress.mintlify.app/billing/how-billing-works.md): Per-request billing with full transparency. - [Manage Balance](https://opencompress.mintlify.app/billing/manage-balance.md): Add funds and monitor your account balance. - [Pricing](https://opencompress.mintlify.app/billing/pricing.md): Pay only for what we save you. No savings, no fee. - [BYOK Mode](https://opencompress.mintlify.app/features/byok-mode.md): Bring Your Own Key — use your existing LLM API key with OpenCompress. - [Compression Engine](https://opencompress.mintlify.app/features/compression-engine.md): Technical deep-dive into the OpenCompress compression pipeline. - [Rate Limits](https://opencompress.mintlify.app/features/rate-limits.md): API rate limits and how to handle them. - [Supported Models](https://opencompress.mintlify.app/features/supported-models.md): All LLM models available through OpenCompress. - [How It Works](https://opencompress.mintlify.app/how-it-works.md): Five compression layers that compound to reduce token usage by 30-40%. - [cURL](https://opencompress.mintlify.app/integration/curl.md): Test the OpenCompress API from your terminal. - [LangChain](https://opencompress.mintlify.app/integration/langchain.md): Use OpenCompress with LangChain for compressed agent and chain workflows. - [OpenAI SDK](https://opencompress.mintlify.app/integration/openai-sdk.md): Use the official OpenAI Python or TypeScript SDK with OpenCompress. - [Python (requests)](https://opencompress.mintlify.app/integration/python-sdk.md): Call the OpenCompress API directly with Python requests. - [Streaming](https://opencompress.mintlify.app/integration/streaming.md): Real-time streaming responses with server-sent events. - [Introduction](https://opencompress.mintlify.app/introduction.md): The compression layer between your app and any LLM. Save 30-40% on every API call. - [Quick Start](https://opencompress.mintlify.app/quickstart.md): Start compressing LLM calls in under 2 minutes. Two lines of code. ## OpenAPI Specs - [openapi](https://opencompress.mintlify.app/api-reference/openapi.json)