---
title: Upstage: Solar Mini 4 API | Text Generation | ModelsLab
description: Build with Upstage: Solar Mini 4 API by Upstage. Text generation, chat, code, and reasoning. Plans from $21/month.
url: https://modelslab.com/models/upstage/upstage-solar-mini4.md
canonical: https://modelslab.com/models/upstage/upstage-solar-mini4
type: product
component: Playground/LLM/Index
generated_at: 2026-09-30T08:17:01.641835Z
---

Upstage: Solar Mini 4
---

 [LLMs.txt](https://modelslab.com/models/upstage/upstage-solar-mini4/llms.txt) [.md](https://modelslab.com/models/upstage/upstage-solar-mini4.md)

Upstage: Solar Mini 4
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

text files

Send

### Upstage: Solar Mini 4

upstage upstage-solar-mini4

Copy model ID

PricingInput $0.05 / 1M tokens

Output $0.20 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens4000

Top P0.9

Frequency Penalty0

Presence Penalty0

Thinkinglow

lowmediumhigh

Deeper thinking spends more of the Max Tokens budget before the answer starts.

Model Info

Support

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.2](https://modelslab.com/models/openai/gpt-5.2)

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.1](https://modelslab.com/models/openai/gpt5.1)

[Google](https://modelslab.com/models/google)

 [Gemini 3 Pro Preview](https://modelslab.com/models/google/gemini-3-pro-preview)

[OpenAI](https://modelslab.com/models/openai)

 [GPT-5.1-Codex-Max](https://modelslab.com/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Modelslab: Custom LLM](https://modelslab.com/models/modelslab/uncensored-chat)Open Source Model

[OpenAI](https://modelslab.com/models/openai)

 [gpt-oss-20b](https://modelslab.com/models/openai/gpt-oss-20b)Closed Source Model

[Google](https://modelslab.com/models/google_deepmind)

 [Gemma 3N E4B Instruct](https://modelslab.com/models/google/google-gemma-3n-E4B-it)Closed Source Model

[OpenAI](https://modelslab.com/models/openai)

 [GPT OSS 120b](https://modelslab.com/models/openai/gpt-oss-120b)Closed Source Model

[Mistral AI](https://modelslab.com/models/open_router)

 [Mistral: Ministral 3 3B 2512](https://modelslab.com/models/mistralai/mistralai-ministral-3b-2512)Closed Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen3 14B](https://modelslab.com/models/Qwen/Qwen-Qwen3-14B)Closed Source Model

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### ByteDance Seed/ByteDance Seed: Seed 1.6 Flash

bytedance-seed-seed-1.6-flash

From $0.19/M tokens](https://modelslab.com/models/bytedance-seed/bytedance-seed-seed-1.6-flash)

[#### Nous Research/Nous Hermes 2 Mixtral 8X7B Dpo

NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO

From $0.60/M tokens](https://modelslab.com/models/nousresearch/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)

[#### Qwen/Qwen: Qwen3.6 Flash

qwen-qwen3.6-flash

From $0.66/M tokens](https://modelslab.com/models/qwen/qwen-qwen3.6-flash)

[#### Arcee AI/Arcee AI: Trinity Large Thinking

arcee-ai-trinity-large-thinking

From $0.53/M tokens](https://modelslab.com/models/arcee-ai/arcee-ai-trinity-large-thinking)

[#### Qwen/Qwen: Qwen3 Max

qwen-qwen3-max

From $2.34/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-max)

[#### Sakana/Sakana: Fugu Max

sakana-fugu-max

From $4.00/M tokens](https://modelslab.com/models/sakana/sakana-fugu-max)

[#### OpenAI/OpenAI: GPT-4o (2024-05-13)

openai-gpt-4o-2024-05-13

From $10.00/M tokens](https://modelslab.com/models/openai/openai-gpt-4o-2024-05-13)

[#### OpenAI/OpenAI: GPT-6 Luna

openai-gpt-6-luna

From $0.30/M tokens](https://modelslab.com/models/openai/openai-gpt-6-luna)

[#### Qwen/Qwen: Qwen3 Coder 480B A35B

qwen-qwen3-coder

From $0.65/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-coder)

[#### Qwen/Qwen2-VL (72B) Instruct

Qwen-Qwen2-VL-72B-Instruct

From $1.20/M tokens](https://modelslab.com/models/qwen/Qwen-Qwen2-VL-72B-Instruct)

[#### DeepSeek/DeepSeek: DeepSeek V3 0324

deepseek-deepseek-chat-v3-0324

From $0.71/M tokens](https://modelslab.com/models/deepseek/deepseek-deepseek-chat-v3-0324)

[#### Google/Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)

google-gemini-3.1-flash-lite-image

From $0.88/M tokens](https://modelslab.com/models/google/google-gemini-3.1-flash-lite-image)

[#### Google/Google: Nano Banana (Gemini 2.5 Flash Image)

google-gemini-2.5-flash-image

From $1.40/M tokens](https://modelslab.com/models/google/google-gemini-2.5-flash-image)

[#### NVIDIA/NVIDIA: Nemotron 3 Nano 30B A3B

nvidia-nemotron-3-nano-30b-a3b

From $0.13/M tokens](https://modelslab.com/models/nvidia/nvidia-nemotron-3-nano-30b-a3b)

[#### Inception/Inception: Mercury 2

inception-mercury-2

From $0.50/M tokens](https://modelslab.com/models/inception/inception-mercury-2)

[#### Qwen/Qwen: Qwen3.8 Omni Flash

qwen-qwen3.8-omni-flash

From $0.31/M tokens](https://modelslab.com/models/qwen/qwen-qwen3.8-omni-flash)

[#### Z.ai/Z.ai: GLM 5.3 Flash

z-ai-glm-5.3-flash

From $0.33/M tokens](https://modelslab.com/models/z-ai/z-ai-glm-5.3-flash)

[#### Moonshot AI/MoonshotAI: Kimi K3

moonshotai-kimi-k3

From $9.00/M tokens](https://modelslab.com/models/moonshotai/moonshotai-kimi-k3)

About Upstage: Solar Mini 4
---

Solar Mini 4 is Upstage's compact, cost-efficient language model, a 35B-parameter mixture-of-experts with 3B active parameters and a 524K context window. It is built for agentic use cases where response...

### Technical Specifications

Model IDupstage-solar-mini4

CategoryLLM Models

TaskText Generation

Price$0.125 per million tokens

AddedSeptember 23, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Upstage: Solar Mini 4 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "upstage-solar-mini4",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Upstage: Solar Mini 4 API costs $0.125 per million tokens. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Upstage](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Upstage: Solar Mini 4 FAQ
---

### What is Upstage: Solar Mini 4?

Solar Mini 4 is Upstage's compact, cost-efficient language model, a 35B-parameter mixture-of-experts with 3B active parameters and a 524K context window. It is built for agentic use cases where response...

### How do I use the Upstage: Solar Mini 4 API?

You can integrate Upstage: Solar Mini 4 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "upstage-solar-mini4" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Upstage: Solar Mini 4 cost?

Upstage: Solar Mini 4 costs $0.125 per million tokens. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Upstage: Solar Mini 4 model ID?

The model ID for Upstage: Solar Mini 4 is "upstage-solar-mini4". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Upstage: Solar Mini 4?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-09-30*