Qwen4-Max - Vercel AI Gateway - AI coding - model evaluation - cost
4 min lectura

Qwen4-Max on Vercel: test one real coding task before switching

Qwen4-Max is available in Vercel AI Gateway. Check access, pricing and a 20-minute real bug test before changing models.

Qwen4-Max on Vercel: test one real coding task before switching

Your coding agent gets a screenshot of a broken mobile page, reads a few files and proposes a fix. Should you switch models because a new one appeared? On November 15, Vercel added Qwen4-Max to AI Gateway. Builders can now test it through the same Vercel access path without opening a separate account with the model provider. Whether it deserves a place in your workflow depends on one of your own tasks, the result and the total cost.

What actually launched

The model ID is alibaba/qwen4-max. Vercel describes a reasoning model with image input and a context window of up to one million tokens, aimed at coding, document work and long-running agents. Its model page lists US$1.50 per million input tokens and US$4.50 per million output tokens as checked on November 16. It also shows the provider and a playground. Check current availability and pricing before connecting an unattended workflow.

Vercel says the model can operate professional tools and produce early usable versions of longer tasks. Those are the provider's claims; SoyJB has not independently benchmarked the model. A million-token limit also is not a reason to send your whole repository. More context can add cost, latency and irrelevant material. For a specific bug, provide the relevant file, screenshot and acceptance test first.

Evaluation workflow: run the same task with two models, then compare quality, cost and human review
The release creates a test option; a decision needs evidence from the same task.

A 20-minute builder test

  1. Choose a known issue, such as a call-to-action button disappearing on a narrow screen. Save a real screenshot, the route, the relevant file and a measurable acceptance condition: “at 390 px, the button is visible and the test passes.”
  2. Run your current model with that material. Record its answer, proposed code change, time, token usage and spending. Keep the allowed file scope fixed.
  3. Repeat the identical input using alibaba/qwen4-max in the playground or AI Gateway. Vercel documents npx vercel ai-gateway setup for compatible coding agents; inspect the credentials and configuration it will change before running it.
  4. Apply the two changes in separate branches and run the same browser test. Compare whether the button becomes visible, whether another layout regresses and how much human repair each solution needs.
  5. Keep Qwen4-Max for all tasks, reserve it for a narrow class of problems or skip it, depending on the measured outcome. Save the screenshot and scorecard so you can repeat the test after a model or price update.

Use this prompt with both models:

Context: this screenshot shows /checkout at a viewport width of 390 px. The “Continue” button is off-screen. Inspect only the files that affect this component. Propose the smallest fix and explain why it works. Acceptance: the button is visible at 390 px, its action still works, and there is no horizontal overflow. Do not claim you ran a test you did not run; say what you checked and what remains to be tested.

If you do not have a screenshot, choose another issue you can verify: a table that overflows on mobile, a form validation bug with a known reproduction or a failing test. The input must stay the same between models. Different prompts or different file sets make the result hard to attribute to the model.

Estimate one pass before you spend

At the listed rate, a request with 10,000 input tokens and 2,000 output tokens would cost about US$0.024 for inference: US$0.015 for input plus US$0.009 for output. That is illustrative arithmetic, not a billed call. An agent might make several requests or use more tools and context, so measure the full cost per resolved bug. Vercel says AI Gateway passes through provider inference pricing without a platform markup and offers usage tracking and key budgets; check the actual controls and limits in your team's account.

Who should try it?

Qwen4-Max is a documented new option if your work includes screenshots, UI changes or long documents. If your existing model solves short tasks faster and more cheaply, the launch alone does not justify switching. Start with three of your own cases: one where the current model fails, one where it succeeds and one representative task. Compare correctness, regressions, latency and total spend. The stated context length and capability claims help you design the evaluation; they are not the evaluation result.

What SoyJB checked: Vercel's dated changelog, model ID, model page and listed price on November 16. We did not run a paid Qwen4-Max request or measure its quality against another model. Sources: Vercel announcement, November 15, 2026; Qwen4-Max model and price page; official coding agents guide.

Comentarios

Aún no hay comentarios. Sé el primero.

Deja un comentario