- API Type
- REST API with OpenAI SDK compatibility. Base URL: https://api.upstage.ai/v1/solar
- Authentication
- API Key-based authentication. Set UPSTAGE_API_KEY environment variable or pass directly in requests via Authorization Bearer token
- Core APIs
- Chat Completions, Document Parsing, Document OCR, Information Extraction (sync/async), Embeddings, Document Classification, Schema Generation, Groundedness Check
- SDKs
- Python SDK, JavaScript/Node.js SDK, Rust SDK (via AISDK). LangChain, LlamaIndex, and Portkey integrations available
- Function Calling
- Supported. Models can interact with external tools and APIs in real-time. Control options: 'none', 'auto' (default), 'required', or force specific functions
- Structured Outputs
- JSON schema support for enforced response formats. Supports string, number, boolean, integer, object, array types. Max 3 levels nesting depth. Recursive schemas not supported
- Documentation
- Comprehensive API reference at console.upstage.ai/api/docs and console.upstage.ai/docs/for-agents. Includes curl and Python examples for all endpoints
- Rate Limits
- Not specified in public documentation. Contact Upstage for enterprise rate limit details
- Use Cases
- Build AI assistants, extract text from documents, classify documents, extract structured data, generate embeddings for semantic search, verify response groundedness, perform OCR on scanned documents