# CrofAI API Documentation > CrofAI is an OpenAI-compatible API with lower cost. Use the same SDK, access multiple models, and pay less for inference. Supports Chat Completions, Streaming, Vision, Reasoning Models, Tool Use, Structured Outputs, and Prompt Caching. ## Getting Started - [Introduction](https://crofai.yamura.dev/docs#introduction) - API overview and base URL - [Authentication](https://crofai.yamura.dev/docs#authentication) - API key setup - [Quickstart](https://crofai.yamura.dev/docs#quickstart) - 5-minute quickstart guide ## API Reference - [Chat Completions](https://crofai.yamura.dev/docs#chat-completions) - POST /v1/chat/completions - [Models](https://crofai.yamura.dev/docs#models) - GET /v1/models - [Errors](https://crofai.yamura.dev/docs#errors) - Error codes and handling - [Rate Limits](https://crofai.yamura.dev/docs#rate-limits) - Rate limit information - [Usage API](https://crofai.yamura.dev/docs#usage-api) - GET /usage_api/ ## Guides - [Streaming](https://crofai.yamura.dev/docs#streaming) - Server-sent events streaming - [Vision Models](https://crofai.yamura.dev/docs#vision) - Image input support - [Reasoning Models](https://crofai.yamura.dev/docs#reasoning) - Thinking models with reasoning_effort - [Tool Use](https://crofai.yamura.dev/docs#tool-use) - Function calling - [Structured Outputs](https://crofai.yamura.dev/docs#structured-outputs) - JSON schema enforcement - [Prompt Caching](https://crofai.yamura.dev/docs#caching) - Automatic prompt caching (80% savings) ## Integrations - [OpenCode](https://crofai.yamura.dev/docs#opencode) - OpenCode provider configuration - [Anthropic Endpoint](https://crofai.yamura.dev/docs#anthropic-endpoint) - Anthropic-compatible endpoint ## Additional Resources - [Pricing Page](https://crofai.yamura.dev/pricing) - Model pricing and rate limits - [Dashboard](https://dashboard.crof.ai) - API key management