🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

Muapi Sandbox Create: AI 大语言模型

Create a cloud Linux sandbox with the Muapi Sandbox API. Isolated machine for agents, billed per second at from $0.036/hour. Create a cloud Linux sandbox you can run commands in and read or write files on. Billed per second while running.

交互式模型控制

Create a cloud Linux sandbox you can run commands in and read or write files on. Billed per second while running.

📝

概览

关于此模型

Create Sandbox on the Muapi Sandbox API creates a new isolated cloud Linux sandbox and returns its ID once it is ready. It is one operation of the Sandbox API, which gives AI agents and developers isolated cloud Linux machines over REST, billed per second from the same Muapi key and credits used for 500+ image, video and audio models. The response returns a sandbox record with its id, state (running), profile, price_per_hour and created_at. Sandboxes cost $0.036 (small), $0.072 (default) or $0.144 (large) per running hour, stopped sandboxes are free, and idle sandboxes auto-stop after 15 minutes. Pair it with Run Command and Stop Sandbox to build a complete agent workflow.

1Coding agents: Give an agent a fresh machine per task or per user session.
2Code execution: Spin up an isolated machine to run generated or untrusted code.
3Hosted apps: Start a machine for an open-source app and run it with the user's own key.
💰

价格与价值

成本分析

muapiFrom $0.036 per running hour

Small $0.036, default $0.072, large $0.144 per hour. Billed per second from the same credits as media models. Stopped sandboxes are free.

Fal.ai暂不可用

No sandbox API.

Replicate暂不可用

No sandbox API.

** 竞品价格根据相似模型架构和使用层级估算。

⚙️

技术详情

配置参数

Profile枚举(3 个选项)

Machine size: small (2 vCPU, 4 GB, $0.036/hr), default (4 vCPU, 8 GB, $0.072/hr) or large (8 vCPU, 16 GB, $0.144/hr).

默认值default
📖

实施指南

开发者文档

How to Use Create Sandbox

  1. Get an API key: create one at muapi.ai/access-keys and export it as MUAPI_KEY.

  2. Call the endpoint: send the request below. You need at least a $1 balance to start a sandbox.

curl -X POST "https://api.muapi.ai/api/v1/sandboxes" \
  -H "x-api-key: $MUAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"profile": "default"}'
  1. Read the result: the response contains a sandbox record with its id, state (running), profile, price_per_hour and created_at.

  2. Stop when finished: call Stop Sandbox so you only pay for active time.

❓

常见问题

常见问答

What does Create Sandbox do?

It creates a new isolated cloud Linux sandbox and returns its ID once it is ready.

How much do sandboxes cost?

$0.036 (small, 2 vCPU/4 GB), $0.072 (default, 4 vCPU/8 GB) or $0.144 (large, 8 vCPU/16 GB) per running hour, billed per second from your Muapi credits. Stopped sandboxes are free, and you need a $1 balance to start one.

Do I need a separate key for sandboxes?

No. The same Muapi API key and credit balance cover sandboxes and 500+ image, video and audio models.

What happens when my credits run out or the sandbox is idle?

The sandbox is stopped automatically when your balance cannot cover usage or after 15 minutes without activity. A stopped sandbox's files are kept for 14 days.

How is this operation authenticated?

Send your key in the `x-api-key` header. Each key can only see and control its own sandboxes.