---
title: Upstage: Solar Pro 4 API | Text Generation | ModelsLab
description: Build with Upstage: Solar Pro 4 API by Upstage. Text generation, chat, code, and reasoning. Plans from $21/month.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/upstage/upstage-solar-pro4.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/upstage/upstage-solar-pro4
type: product
component: Playground/LLM/Index
generated_at: 2026-08-26T02:22:42.407552Z
---

Upstage: Solar Pro 4
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/upstage/upstage-solar-pro4/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/upstage/upstage-solar-pro4.md)

Upstage: Solar Pro 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

Send

### Upstage: Solar Pro 4

upstage upstage-solar-pro4

Copy model ID

PricingInput $0.03 / 1M tokens

Output $0.12 / 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 Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

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.

[![GPT 5.2](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/2bdd00f4-1692-49d8-a562-72cb1753d0ff.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5.2)[OpenAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT 5.2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5.2)

[![Gemini 3 Pro Preview](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/1846e76f-9d5c-4a35-a43a-82db45b7bb8b.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-3-pro-preview)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 3 Pro Preview](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-3-pro-preview)

[![GPT 5.1](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/fad83520-47a8-4059-b4b9-b32adf4d0be7.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt5.1)[OpenAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT 5.1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt5.1)

[![GPT-5.1-Codex-Max](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/06356c4c-df09-4ccb-a5c0-629da670f75b.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5.1-codex-max)[OpenAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT-5.1-Codex-Max](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5.1-codex-max)

### Lower cost per run

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

[Modelslab: Custom LLM

Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modelslab: Custom LLM

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)

[Qwen3 14B](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/Qwen/Qwen-Qwen3-14B)[Qwen](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen3 14B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/Qwen/Qwen-Qwen3-14B)

[![Gemma 3 4b it](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/c419acdb-893e-4bda-ac4d-cec941648345.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/google-gemma-3-4b-it)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Gemma 3 4b it

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/google-gemma-3-4b-it)

[![Mistral: Mistral Nemo](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/992e2422-3d81-44d7-aaa4-25dbde8f4a73.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-mistral-nemo)[Mistral AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Mistral Nemo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-mistral-nemo)

[Qwen3.5 35B A3b](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/Qwen/Qwen-Qwen3.5-35B-A3B)[Qwen](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen3.5 35B A3b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/Qwen/Qwen-Qwen3.5-35B-A3B)

[Mistral: Mistral Small 3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-mistral-small-24b-instruct-2501)[Mistral AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Mistral Small 3

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-mistral-small-24b-instruct-2501)

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[#### Thinking Machines/Thinking Machines: Inkling

thinkingmachines-inkling

From $2.50/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/thinkingmachines/thinkingmachines-inkling)

[#### Google/Gemma 3N E4B Instruct

google-gemma-3n-E4B-it

From $0.09/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/google-gemma-3n-E4B-it)

[#### 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-frontend-v2-927501783998.us-east4.run.app/models/google/google-gemini-3.1-flash-lite-image)

[#### Qwen/Qwen: Qwen-Plus

qwen-qwen-plus

From $0.52/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/qwen-qwen-plus)

[#### Meta/Meta: Llama 3.2 1B Instruct

meta-llama-llama-3.2-1b-instruct

From $0.11/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-llama-3.2-1b-instruct)

[#### Qwen/Qwen3-VL-8B-Instruct

Qwen-Qwen3-VL-8B-Instruct

From $0.43/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/Qwen/Qwen-Qwen3-VL-8B-Instruct)

[#### Moonshot AI/MoonshotAI: Kimi K2.7 Code (batch)

moonshotai-kimi-k2.7-code-batch

From $2.48/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/moonshotai/moonshotai-kimi-k2.7-code-batch)

[#### Qwen/Qwen: Qwen3 Max Thinking

qwen-qwen3-max-thinking

From $2.34/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/qwen-qwen3-max-thinking)

[#### Qwen/Qwen: Qwen3.8 2.4T A95B

qwen-qwen3.8-2.4t-a95b

From $4.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/qwen-qwen3.8-2.4t-a95b)

[#### Qwen/Qwen: Qwen3.8 27B

qwen-qwen3.8-27b

From $1.49/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/qwen-qwen3.8-27b)

[#### Mistral AI/Mistral Large

mistralai-mistral-large

From $4.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-mistral-large)

[#### Kwaipilot/Kwaipilot: KAT-Coder-Pro V2

kwaipilot-kat-coder-pro-v2

From $0.75/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/kwaipilot/kwaipilot-kat-coder-pro-v2)

[#### Mistral AI/Mistral: Ministral 3 8B 2512

mistralai-ministral-8b-2512

From $0.15/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-ministral-8b-2512)

[#### DeepSeek/DeepSeek R1 Distill Qwen 1.5B

deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B

From $0.18/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)

[#### Tencent/Tencent: Hunyuan A13B Instruct

tencent-hunyuan-a13b-instruct

From $0.35/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/tencent/tencent-hunyuan-a13b-instruct)

[#### Qwen/Qwen: Qwen3 235B A22B Thinking 2507

qwen-qwen3-235b-a22b-thinking-2507

From $1.26/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/qwen-qwen3-235b-a22b-thinking-2507)

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

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

From $0.60/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/nousresearch/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)

[#### Google/Google: Gemini 3.1 Pro Preview

google-gemini-3.1-pro-preview

From $7.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/google-gemini-3.1-pro-preview)

About Upstage: Solar Pro 4
---

Solar Pro 4 is Upstage's cost-efficient large language model, featuring a 524K context window. It is built for long-horizon tasks and agentic workflows, with strong capabilities in office productivity, document-intensive...

### Technical Specifications

Model IDupstage-solar-pro4

CategoryLLM Models

TaskText Generation

Price$0.075 per million tokens

AddedAugust 11, 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 Pro 4 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-pro4",
        "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 Pro 4 API costs $0.075 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Upstage](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Upstage: Solar Pro 4 FAQ
---

### What is Upstage: Solar Pro 4?

Solar Pro 4 is Upstage's cost-efficient large language model, featuring a 524K context window. It is built for long-horizon tasks and agentic workflows, with strong capabilities in office productivity, document-intensive...

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

You can integrate Upstage: Solar Pro 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-pro4" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

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

Upstage: Solar Pro 4 costs $0.075 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 Pro 4 model ID?

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

### Do I need a paid plan to use Upstage: Solar Pro 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-08-26*