[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [GPT-4o 2024-08-06](https://spiral.ai/integrations/muse-code/gpt-4o-2024-08-06)

# How to Use GPT-4o 2024-08-06 in Muse Code

GPT-4o 2024-08-06 is a dated choice for extracting records and producing schema-matched JSON. It introduced Structured Outputs; GPT-4o 2024-11-20 later added improved creative writing.

|  |  |
| --- | --- |
| Model | GPT-4o 2024-08-06 |
| Available through | OpenAI |
| Category | LLM |
| Price | Up to $0.053363 per run at the default inputs. $3.25 per 1M input tokens, $1.625 per 1M cached input tokens, $13.00 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-4o 2024-08-06 in Muse Code

- Use GPT-4o 2024-08-06 to turn the acceptance criteria in this project into structured test cases. Include the requirement, inputs, expected result, and missing information; do not invent requirements.
- Use GPT-4o 2024-08-06 to draft a parser for the sample records in this project. Follow the existing coding conventions and add tests for missing values, malformed records, and unexpected input.
- Ask GPT-4o 2024-08-06 through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
- Get a second opinion from GPT-4o 2024-08-06 on this function, then tell me what the call cost.
- Summarize these release notes with GPT-4o 2024-08-06 in five bullet points.

## How to set up GPT-4o 2024-08-06 in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run GPT-4o 2024-08-06**: One request; the result comes back by polling or a webhook.

```bash
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-2024-08-06",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds GPT-4o 2024-08-06 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## GPT-4o 2024-08-06 tools and prices

- [GPT-4o (2024-08-06)](https://spiral.ai/tools/openai/openai/gpt-4o-2024-08-06) (OpenAI): Up to $0.053363 per run at the default inputs. $3.25 per 1M input tokens, $1.625 per 1M cached input tokens, $13.00 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |
| max_tokens | 16 to … | — | The most output tokens to generate. |

## What can you do with GPT-4o 2024-08-06 in Muse Code?

GPT-4o can turn project code and written requirements into review findings, patches, and test drafts. Give it the relevant files, expected behavior, and a precise definition of the result.

### Extract action items from meeting notes

Turn notes into records containing the task, owner, due date, and supporting passage. Mark missing owners or dates as unknown.

### Review a proposed code change

Ask GPT-4o to examine a focused diff, explain likely failures, and propose tests for each finding. Give it the relevant surrounding code and expected behavior.

### Draft multilingual customer replies

Provide the customer message and approved response points, then request a reply in the customer's language. Specify tone and preserve product names.

### Classify incoming requests

Define categories such as bug report, feature request, and how-to question. Supply labeled examples and require a supporting passage for each classification.

### Convert a brief into a structured draft

Turn an editorial brief into a draft with a specified audience, outline, and length. Use GPT-4o 2024-11-20 when its documented creative writing improvement matters to the task.

### Translate product instructions

Translate approved instructions with a supplied glossary. Ask for a separate list of ambiguous phrases so a reviewer can resolve them before publication.

### Turn requirements into test cases

Provide expected behavior and examples, then request normal, boundary, and failure cases. Require each proposed test to identify the requirement it checks.

## Overview

- [OpenAI](https://spiral.ai/providers/openai)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## GPT-4o 2024-08-06 in other agents

- [Amp](https://spiral.ai/integrations/amp/gpt-4o-2024-08-06)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/gpt-4o-2024-08-06)
- [Claude](https://spiral.ai/integrations/claude-desktop/gpt-4o-2024-08-06)
- [Claude Code](https://spiral.ai/integrations/claude-code/gpt-4o-2024-08-06)
- [Cline](https://spiral.ai/integrations/cline/gpt-4o-2024-08-06)
- [Codex](https://spiral.ai/integrations/codex/gpt-4o-2024-08-06)
- [Cursor](https://spiral.ai/integrations/cursor/gpt-4o-2024-08-06)
- [Devin](https://spiral.ai/integrations/devin/gpt-4o-2024-08-06)
- [dots](https://spiral.ai/integrations/dots/gpt-4o-2024-08-06)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/gpt-4o-2024-08-06)
- [Gemini](https://spiral.ai/integrations/gemini/gpt-4o-2024-08-06)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/gpt-4o-2024-08-06)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/gpt-4o-2024-08-06)
- [goose](https://spiral.ai/integrations/goose/gpt-4o-2024-08-06)
- [Grok](https://spiral.ai/integrations/grok/gpt-4o-2024-08-06)
- [Grok Build](https://spiral.ai/integrations/grok-build/gpt-4o-2024-08-06)
- [Hermes](https://spiral.ai/integrations/hermes/gpt-4o-2024-08-06)
- [Instinct](https://spiral.ai/integrations/instinct/gpt-4o-2024-08-06)
- [Manus](https://spiral.ai/integrations/manus/gpt-4o-2024-08-06)
- [Muse](https://spiral.ai/integrations/muse/gpt-4o-2024-08-06)
- [n8n](https://spiral.ai/integrations/n8n/gpt-4o-2024-08-06)
- [Notion](https://spiral.ai/integrations/notion/gpt-4o-2024-08-06)
- [OpenClaw](https://spiral.ai/integrations/openclaw/gpt-4o-2024-08-06)
- [opencode](https://spiral.ai/integrations/opencode/gpt-4o-2024-08-06)
- [Perplexity](https://spiral.ai/integrations/perplexity/gpt-4o-2024-08-06)
- [Raycast](https://spiral.ai/integrations/raycast/gpt-4o-2024-08-06)
- [VS Code](https://spiral.ai/integrations/vscode/gpt-4o-2024-08-06)
- [Windsurf](https://spiral.ai/integrations/windsurf/gpt-4o-2024-08-06)
- [Zapier](https://spiral.ai/integrations/zapier/gpt-4o-2024-08-06)

## More Muse Code guides

- [GPT-4o](https://spiral.ai/integrations/muse-code/gpt-4o)
- [GPT-4o 2024-11-20](https://spiral.ai/integrations/muse-code/gpt-4o-2024-11-20)
- [GPT-4.1 mini](https://spiral.ai/integrations/muse-code/gpt-4-1-mini)
- [GPT-4o mini](https://spiral.ai/integrations/muse-code/gpt-4o-mini)
- [GPT-4.1](https://spiral.ai/integrations/muse-code/gpt-4-1)
- [GPT-4o mini (2024-07-18)](https://spiral.ai/integrations/muse-code/gpt-4o-mini-2024-07-18)

## Questions about GPT-4o 2024-08-06 in Muse Code

**Can Muse Code use GPT-4o 2024-08-06?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run GPT-4o 2024-08-06 like any built-in tool.

**How much does GPT-4o 2024-08-06 cost in Muse Code?**

Up to $0.053363 per run at the default inputs. $3.25 per 1M input tokens, $1.625 per 1M cached input tokens, $13.00 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an OpenAI account to use GPT-4o 2024-08-06 in Muse Code?**

No. Spiral runs GPT-4o 2024-08-06 on its own OpenAI account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GPT-4o 2024-08-06 in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while GPT-4o 2024-08-06 runs?**

GPT-4o 2024-08-06 runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

**How much can GPT-4o read and write?**

GPT-4o has a 128,000-token context window and can generate up to 16,384 tokens in one response. Treat those as separate limits when planning long-document work.

**Does schema-matched JSON mean the answer is correct?**

No. Structured Outputs controls the response structure, but the values and conclusions can still be wrong. Check extracted details against the source.

**Can GPT-4o work with languages other than English?**

Yes. OpenAI reported improved non-English text performance compared with GPT-4 Turbo. For localization, specify the target language, audience, and terms that must stay unchanged.

**What should a useful GPT-4o prompt include?**

State the task, relevant source material, required format, and what to do when information is missing. Include a few input/output examples when the expected pattern is hard to describe.

**How do the GPT-4o names differ?**

OpenAI currently maps GPT-4o to GPT-4o 2024-08-06. GPT-4o 2024-08-06 introduced Structured Outputs, while GPT-4o 2024-11-20 adds a documented creative writing improvement.

