Solar Mini4
upstage/solar-mini4Chat- Function calling
- Reasoning
Solar Mini4 (upstage/solar-mini4) is a chat model from Upstage with a 524,288-token context window and 131,072 max output tokens, priced at $0.05/1M input and $0.20/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.
API usage
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="upstage/solar-mini4",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)Replace YOUR_API_KEY with a key from your haimaker account. Get an API key or read the developer docs.
Overview
Solar Mini4 is a chat model by Upstage. It supports a 524K token context window. Supports function calling, reasoning.
Specifications
| Mode | Chat |
|---|---|
| Supports | Function calling, Reasoning |
| Not supported | Vision, Web search, URL context |
Frequently asked questions
What is the context window of Solar Mini4?
Solar Mini4 (upstage/solar-mini4) has a 524,288-token context window and supports up to 131,072 output tokens per request.
How much does Solar Mini4 cost?
Solar Mini4 is priced at $0.05 per 1M input tokens and $0.20 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.
What features does Solar Mini4 support?
Solar Mini4 supports function calling, reasoning.
How do I use Solar Mini4 via API?
Send requests to https://api.haimaker.ai/v1/chat/completions with model "upstage/solar-mini4" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.
Related chat models
Run Solar Mini4 through one API
OpenAI-compatible. Switch models by changing one string.