Documentation
API Reference
Playground

Overview

Getting startedModelsDeployment Options

Integrations

Hermes AgentClaude CodeCodex

Studio

Upstage Studio

Capabilities

Generate
Parse
Extract
Embed

Deployment Options

Guides

Rate limitsContributor modeCounting tokensMCP serverRegional endpointsBeta services

Resources

CookbookPricingStatusChangelogError codesFAQ

Terms and Policies

Terms of UsePrivacy PolicyService level agreement

Codex

Run Codex, OpenAI's agentic coding CLI, on Upstage Solar models. A single script points Codex at the Upstage API and launches it β€” your existing ~/.codex settings are left untouched.

Install

Run the one-line setup:

curl -fsSL https://console.upstage.ai/codex-solar.sh | sh

On first run the script reads your Upstage API key, verifies it with a test call, and launches Codex on Solar. It installs nothing without your confirmation.

Prerequisites

  • Upstage API key β€” create one in the Upstage Console.
  • Codex CLI installed. See OpenAI's installation guide.

What the script does

Finds your API key

Reads your key from the UPSTAGE_API_KEY environment variable, your saved credentials, or a one-time masked prompt β€” then verifies it before launch.

The key is only ever sent to https://api.upstage.ai.

Stores it securely (optional)

If you opt in, the key is saved to your OS secret store β€” macOS Keychain or Linux Secret Service β€” or a permission-locked file. Answer no and nothing is stored.

Launches Codex on Solar

Starts Codex against Upstage Solar (default model: solar-pro4) and registers the Solar models so you can switch model or reasoning effort mid-session. The Solar settings apply only to that Codex session.

Useful commands

The first run offers to install the script to ~/.local/bin as codex-solar. Once installed you can use its subcommands:

codex-solar                  # launch Codex on Solar
codex-solar models           # list the models you can switch to
codex-solar doctor           # check your setup (CLI, API key, API access)
codex-solar login            # save a new API key
codex-solar logout           # remove the saved API key
codex-solar --help           # show these commands

codex-solar -m solar-mini4   # start on a different Solar model
codex-solar resume           # any other argument is forwarded to Codex as-is
codex-solar launch --help    # Codex's own help

Inside a session, /model lets you switch between the registered Solar models and their reasoning effort.

What you can do next

With Codex running on Solar, you can drive your codebase through natural-language commands:

  • Automate routine tasks β€” write, refactor, and fix code across your project.
  • Understand code β€” ask Codex to explain complex or unfamiliar code.
  • Handle git workflows β€” stage changes, write commit messages, and open pull requests.

Claude Code

Run Anthropic's Claude Code CLI on Upstage Solar models with one command.

Studio

Meet Upstage Studio's AI Workflows and AI Coworkers for automating document work without code, plus accounts, pricing, and the screen layout.

On this page

CodexInstallPrerequisitesWhat the script doesFinds your API keyStores it securely (optional)Launches Codex on SolarUseful commandsWhat you can do next