[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Qwen3.7 Plus](https://spiral.ai/integrations/codex/qwen3-7-plus)

# How to Use Qwen3.7 Plus in Codex

Qwen3.7 Plus handles coding, long-document analysis, and tasks that combine screenshots with instructions. Its particular strength is connecting visual understanding with code generation and tool use.

|  |  |
| --- | --- |
| Model | Qwen3.7 Plus |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.006832 per run at the default inputs. $0.416 per 1M input tokens, $1.664 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3.7 Plus in Codex

- Use Qwen3.7 Plus to trace the failing test through this project's code, fix the cause, and run the relevant checks.
- Use Qwen3.7 Plus to implement the attached screenshot in this project. Follow the existing components and check the rendered result.
- Use Qwen3.7 Plus with thinking enabled to review this project's architecture and plan the requested feature before editing.
- Use Qwen3.7 Plus to extract the requirements in our project notes into JSON. Include requirement text, source section, and acceptance criteria.
- Use Qwen3.7 Plus to translate the project's English interface copy into Spanish. Preserve interpolation tokens and follow the existing glossary.

## How to set up Qwen3.7 Plus in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 Qwen3.7 Plus**: 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": "openrouter",
    "model": "qwen/qwen3.7-plus",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Codex finds Qwen3.7 Plus on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Qwen3.7 Plus tools and prices

- [Qwen: Qwen3.7 Plus](https://spiral.ai/tools/openrouter/qwen/qwen3.7-plus) (OpenRouter): Up to $0.006832 per run at the default inputs. $0.416 per 1M input tokens, $1.664 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |

## What can you do with Qwen3.7 Plus in Codex?

Turn project context and visual references into code changes with Qwen3.7 Plus. Use it to investigate failures, plan edits, and check implementations.

### Implement a frontend from a screenshot

Give Qwen3.7 Plus a reference screenshot and functional requirements. Ask it to implement the layout and check the result against the reference.

### Investigate a software bug

Use Qwen3.7 Plus to trace a failure through relevant code, propose a fix, and verify it with a reproduction.

### Plan a tool-driven workflow

Ask Qwen3.7 Plus to break a task into tool calls, inspect intermediate results, and report unresolved steps.

### Compare long reports

Have Qwen3.7 Plus summarize changes, conflicting claims, and unanswered questions across supplied reports, with section references.

### Extract records from text

Give Qwen3.7 Plus explicit keys, types, and missing-value rules to turn incoming messages into records ready for validation.

### Prepare multilingual drafts

Ask Qwen3.7 Plus to translate supplied copy using a glossary, preserving product names and flagging ambiguous phrases.

### Turn meeting notes into decisions

Use Qwen3.7 Plus to separate decisions, assigned actions, and open questions from supplied meeting notes.

### Explain a supplied data table

Ask Qwen3.7 Plus to summarize patterns in a table, identify exceptions, and list questions the data cannot answer.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Qwen3.7 Plus in other agents

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

## More Codex guides

- [Qwen3.7 Max](https://spiral.ai/integrations/codex/qwen3-7-max)
- [Qwen3.8 2.4T A95B](https://spiral.ai/integrations/codex/qwen3-8-2-4t-a95b)
- [Qwen3.7 Flash](https://spiral.ai/integrations/codex/qwen3-7-flash)
- [Qwen3.8 27B](https://spiral.ai/integrations/codex/qwen3-8-27b)
- [Qwen3.6 Plus](https://spiral.ai/integrations/codex/qwen3-6-plus)
- [Qwen3.8 27B (batch)](https://spiral.ai/integrations/codex/qwen3-8-27b-batch)

## Questions about Qwen3.7 Plus in Codex

**Can Codex use Qwen3.7 Plus?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Qwen3.7 Plus like any built-in tool.

**How much does Qwen3.7 Plus cost in Codex?**

Up to $0.006832 per run at the default inputs. $0.416 per 1M input tokens, $1.664 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need an OpenRouter account to use Qwen3.7 Plus in Codex?**

No. Spiral runs Qwen3.7 Plus on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Qwen3.7 Plus in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while Qwen3.7 Plus runs?**

Qwen3.7 Plus runs in the background. Codex starts the run, checks on it and gives you the text, json when it's ready.

**What is Qwen3.7 Plus best used for?**

Coding, long-document analysis, and workflows that require several tool calls are practical starting points. It also connects screenshot understanding with code generation.

**How much context and output can Qwen3.7 Plus handle?**

The OpenRouter listing documents a 1,000,000-token context window and up to 131,072 completion tokens. Request focused sections when you need a long deliverable.

**When should I use thinking?**

Use thinking for complex planning and tool orchestration. For a straightforward task involving one tool call, the extra reasoning may add little value.

**Can Qwen3.7 Plus work across languages?**

Yes. Alibaba reports multilingual instruction-following and translation results; give the target language and a glossary when terminology matters.

**Will asking for JSON guarantee the structure I need?**

JSON Object mode guarantees valid JSON, but keys and types can still vary. Specify the expected structure and validate the result before using it downstream.

