# Qwen: Qwen3.8 27B (batch)

Generate and analyse text with Qwen: Qwen3.8 27B (batch) from OpenRouter through one Spiral API key. Qwen3.8 27B is an open-weight dense vision-language model from Qwen. It runs in the background and returns text and structured JSON. Pay as you go, with no subscription.

- Provider: OpenRouter
- Category: LLM
- Runs: In the background
- Returns: text, json
- Released: 2026-08-14
- Tool id: `openrouter` / `qwen/qwen3.8-27b:batch`
- Page: https://spiral.ai/tools/openrouter/qwen/qwen3.8-27b%3Abatch

## Pricing

Up to $0.010658 per run at the default inputs. $0.208 per 1M input tokens, $2.60 per 1M output tokens.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `messages` (required) | JSON |  | — | The conversation so far, oldest first. |
| `seed` | number (whole) |  | — |  |
| `stop` | JSON |  | — |  |
| `min_p` | number | 0 to 1 | — |  |
| `tools` | JSON |  | — |  |
| `top_k` | number (whole) | 0 to … | — |  |
| `top_p` | number | 0 to 1 | — |  |
| `reasoning` | JSON |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| `max_tokens` | number (whole) | 1 to 235929 | — | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). |
| `temperature` | number | 0 to 2 | — |  |
| `tool_choice` | JSON |  | — |  |
| `response_format` | JSON |  | — |  |
| `presence_penalty` | number | -2 to 2 | — |  |
| `reasoning_effort` | one of | none, low, medium, xhigh | xhigh | How much the model reasons. |
| `frequency_penalty` | number | -2 to 2 | — |  |
| `repetition_penalty` | number | 0 to 2 | — |  |

## Example

```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.8-27b:batch",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=openrouter&model=qwen%2Fqwen3.8-27b%3Abatch

## Common questions

### Qwen: Qwen3.8 27B (batch)

**How much does Qwen: Qwen3.8 27B (batch) cost?**

Up to $0.010658 per run at the default inputs. $0.208 per 1M input tokens, $2.60 per 1M output tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Qwen: Qwen3.8 27B (batch) through an API?**

Send `POST /v1/runs` with `"provider": "openrouter"`, `"model": "qwen/qwen3.8-27b:batch"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with OpenRouter to use Qwen: Qwen3.8 27B (batch)?**

No. Spiral runs it on its own OpenRouter account and charges your Spiral balance.

**Can my AI agent use Qwen: Qwen3.8 27B (batch)?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

