StudioText tool1 route

Prompt Optimizer API

Prompt Optimizer API costs $0.000952 per answer on MartLLM (as of November 30, 2026), 4.8% below the official $0.001. Make written answers with Prompt Optimizer through MartLLM.

studio/prompt-optimizerConnect to ClaudeGet an API key
Show more

Made by Studio. MartLLM does not run this model. Here, sellers serve it through their own provider accounts.

Prompt Optimizer pricing

Official price% off listPrice
$0.001 per answer4.8%$0.000952 per answer

How we measure the discount

Request

One request with your MartLLM key and what it should read; most answers come back in the same reply as text. A long one (a long video) gives a job id to check on. You only pay when it answers.

bash
# 1. Send what it should read. Most answers come back in this same reply (HTTP 200).
curl https://api.martllm.com/v1/answers \
  -H "Authorization: Bearer $MARTLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "studio/prompt-optimizer", "image_url": "https://example.com/photo.png"}'

# → {"id": "<job id>", "status": "succeeded", "answer": "…", "usage": {"cost_usd": …}}
#   Add "validate": true to see the price first; nothing is read or charged.

# 2. Only when it answered 202 ("status": "queued" or "running", e.g. a long video):
#    ask again every few seconds until "status" is "succeeded", then read "answer"
curl -H "Authorization: Bearer $MARTLLM_API_KEY" https://api.martllm.com/v1/answers/<job id>

The clip lengths, sizes and other choices this model takes: GET https://api.martllm.com/v1/models/studio/prompt-optimizer. Add "validate": true to see the most a request can cost without paying. Guide

Prompt Optimizer API FAQ

How much does Prompt Optimizer cost?

On November 30, 2026, Prompt Optimizer costs $0.000952 per answer through MartLLM, 4.8% below its list price. Prices come from sellers on the MartLLM market and change during the day. A request that fails costs nothing, and MartLLM adds no fee.

How do I make a written answer with Prompt Optimizer?

Send a POST to https://api.martllm.com/v1/answers with your MartLLM key, model "studio/prompt-optimizer" and your text as "prompt" if you want to add any, a picture as "image_url" (an https:// link or a file id from /v1/files). Most answers come back in the same reply: the text is in "answer". A long one answers with a job id; ask https://api.martllm.com/v1/answers/<job id> until it says "succeeded", then read "answer". A request that fails costs nothing.

Are there other fees?

MartLLM adds no fee to model prices. A card fee of 5.5% + $0.50 is added when you buy credit, and a request that fails is not billed.

Guides

Compare with similar models