How to Use GPT-4o mini in dots
GPT-4o mini suits extraction, short replies, and small coding tasks. Its undated name selects the default snapshot, currently GPT-4o mini (2024-07-18).
Prompts to try with GPT-4o mini in dots
Copy an example into dots, or ask in your own words.
Each morning, use GPT-4o mini to label newly received support messages as billing, technical issue, cancellation, or other. Report the label and a supporting phrase for each message, and keep uncertain cases separate.
Every weekday afternoon, use GPT-4o mini to draft replies to unresolved customer conversations supplied for this run. Keep each draft under 120 words and flag questions the conversation does not answer.
Each Friday, use GPT-4o mini to classify the week's customer feedback as bug, feature request, praise, or other. Return the message reference, label, and supporting phrase in the same table layout each week.
Every Monday at 9am: ask GPT-4o mini through Spiral to review the diff on this branch and list the three riskiest changes.
Get a second opinion from GPT-4o mini on this function, then tell me what the call cost.
How to set up GPT-4o mini in dots
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send dots this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create an API key
In the console, open API keys and create a key for your dot. Copy it.
- Send your dot this message
Your dot reads Spiral's skill and asks for your API key.
set up https://spiral.ai/SKILL.md
- Give your dot the key
When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run GPT-4o mini
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openai", "model": "openai/gpt-4o-mini", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: dots finds GPT-4o mini on Spiral, shows the price and runs it.
GPT-4o mini providers and prices
Spiral runs GPT-4o mini through OpenAI. Open a card for today's price, with every fee included.
Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.0975 per 1M cached input tokens, $0.78 per 1M output tokens.
Settings you can ask for
Ask dots for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | a whole number from 16 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Parallel tool calls | on or off |
Every API field of GPT-4o-mini is on its tool page: open its card above.
What can you do with GPT-4o mini in dots?
Turn incoming messages and meeting updates into recurring triage reports with GPT-4o mini. Reuse defined labels and a fixed report layout so results are easier to compare across runs.
Extract receipt details from text
Give GPT-4o mini receipt text and request merchant, date, total, and currency in a defined record. Require missing values to remain empty.
Label support requests
Ask GPT-4o mini to assign a defined intent label to each message. Supply examples for ambiguous requests and require a supporting phrase.
Draft email replies
Provide the conversation history and ask GPT-4o mini for a concise reply that addresses open questions without inventing commitments.
Extract meeting follow-ups
Turn meeting notes into tasks, owners, and stated due dates with GPT-4o mini. Keep tentative suggestions separate from confirmed assignments.
Draft tests for a function
Give GPT-4o mini a function and its expected behavior. Request tests for ordinary inputs, boundary conditions, and invalid inputs, then run them.
Explain a small code change
Ask GPT-4o mini to explain a focused diff, identify changed behavior, and point to the relevant lines for review.
Translate customer messages
Ask GPT-4o mini to translate a message into the requested language while preserving product names, identifiers, and stated dates.
Prepare records for validation
Have GPT-4o mini extract named attributes from incoming text into a supplied schema. Validate the structure and compare important values with the source.
GPT-4o mini success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| GPT-4o-mini | 100.0% | 1.2s | 113 |
More on GPT-4o mini and dots
Overview
GPT-4o mini in other agents
Questions about GPT-4o mini in dots
Can dots use GPT-4o mini?
Yes. Add Spiral to dots as an MCP server, and dots can find and run GPT-4o mini like any built-in tool.
How much does GPT-4o mini cost in dots?
Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.0975 per 1M cached input tokens, $0.78 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.
Do I need an OpenAI account to use GPT-4o mini in dots?
You need no OpenAI account. dots uses one Spiral API key for every tool, and Spiral runs GPT-4o mini on its own OpenAI account.
How long does it take to set up GPT-4o mini in dots?
About two minutes: create an API key, then send your dot this message, then give your dot the key.
Does dots wait while GPT-4o mini runs?
GPT-4o mini runs in the background. dots starts the run, checks on it and gives you the text, json when it's ready.
What is GPT-4o mini useful for?
Start with extraction, short email replies grounded in conversation history, and small coding tasks. Give each request a clear scope and a checkable result.
How much text can GPT-4o mini handle?
The context window is 128,000 tokens, and a response can contain up to 16,384 tokens. Tokens are the units behind these limits, so avoid treating them as word counts.
How does GPT-4o mini differ from GPT-4o mini (2024-07-18)?
GPT-4o mini currently selects the July 18, 2024 snapshot. The dated name explicitly selects that version; it does not add capabilities.
Does valid JSON mean GPT-4o mini extracted the right information?
No. Structured Outputs can enforce a supported schema, but the values can still be wrong. Check names, dates, amounts, and supporting text against the original.
Can GPT-4o mini work in languages besides English?
Yes. OpenAI says it supports the same range of languages as GPT-4o. State the target language and identify any names or terms that should stay unchanged.
Start using GPT-4o mini in dots
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into dots:
set up https://spiral.ai/SKILL.md


