Skip to main content
Choose a supported base model for your training config. List the available training models with:

Training catalog

Every catalog model supports SFT and GRPO. Image and reasoning support depend on the model: The 0.8B and 4B paths are text-only for both training and serving. For the other four models, see Image inputs. Use thinking = true to enable reasoning on models with optional thinking. Custom training supports all six models with text-only inputs on one Modal GPU by default, or up to two with [gpu] count = 2. Its configurable sequence length and LoRA rank use the same model limits as SFT and GRPO, subject to fitting the selected GPU shape and its per-device memory budget. It has no built-in thinking switch. The table’s image and thinking capabilities apply to SFT and GRPO; the hosted GPU column describes inference, not the GPU selected for training. A deployed checkpoint preserves its trained thinking mode, including on metered hosted serving with Flash 1.3.9 or later. Reasoning tokens are included in the normal output-token charge. See reasoning support. The catalog is the whole set of trainable models. A model outside it is rejected when the config is parsed, before any GPU is rented, and there is no config key that opts into an uncatalogued id. The error lists the supported ids.

Serving prices

Serving is billed per token after deployment, at the per 1M token rates below. See Billing for cached-input discounts. These are final customer rates, with no additional provider markup. Later price changes do not affect previously accepted requests. The training catalog contains these six models. Retired 2B and Qwen3.6 27B identities are rejected; Qwen3.8 27B is a distinct model, not a rename of an old adapter’s base.

DeepSeek base-model serving

deepseek-ai/DeepSeek-V4.1-Flash-1017 is available as a hosted, text-only base model through the OpenAI-compatible API. It does not support Flash training or LoRA adapters. It is separate from the training catalog in flash models list. The serving context is 32,768 tokens, including the rendered input, requested output, and 64 reserved tokens. The upstream million-token window is not exposed by this serving configuration. Thinking is optional and defaults to off; reasoning tokens count toward output usage. Check the hosted /v1/models endpoint for availability. See Chat with DeepSeek for supported request fields and an example.

Context window and LoRA rank

Every Qwen model in the training catalog has a 262,144-token serving context. SFT, GRPO, and custom configurations are capped at that window and must also fit the selected GPU resources; the serving limit is not a guarantee that a training configuration will fit. flash train enforces the applicable context and rank caps: a config whose max_context_tokens exceeds the cap, whose GRPO prompt plus max_completion_tokens cannot fit, or whose lora_rank exceeds the max rank, is rejected. Custom training supports up to two GPUs and retains a two-token minimum sequence length for next-token losses. Its full-vocabulary logits can require more memory than SFT at the same sequence length; the model context limit is not a promise that every custom shape fits.

Pretrained 9B versus instruction-tuned 9B

Qwen/Qwen3.5-9B-Base is the pretrained model. It has its own weights, tokenizer revision, and adapter identity; it is not an alias for Qwen/Qwen3.5-9B. Both support text/image SFT and GRPO, text-only custom training, and hosted FP8 inference on H100. The Base chat template supports assistant turns and thinking formatting, but the weights have not been post-trained for instruction following or reasoning. Evaluate those behaviors on your task rather than assuming parity with the instruction-tuned model. Use the same exact base-model ID when continuing an adapter. A 9B adapter cannot be warm-started or served as a 9B-Base adapter, or vice versa. Customer-owned serving profiles are separate: 9B uses FP8 on L40S and 9B-Base uses BF16 on H100. See owned serving.

Hosted serving capacity

These are per-engine settings, not a promise of dedicated capacity for each organization. All Qwen rows retain the 262,144-token context limit. Actual throughput depends on prompt/history length, generated length, active concurrency, adapter use, and queueing. A context limit is a maximum, not the number of tokens processed for every request. Reducing actual history can reduce prefill work; lowering only the limit does not guarantee faster output. The sequence cap also does not guarantee that 64 requests can each occupy the full context at once. Use bounded concurrency and handle rate limits and retries.

Choosing a model

Start with 9B

Use Qwen/Qwen3.5-9B to validate your environment and dataset with a short run.

Compare on your task

Evaluate Qwen/Qwen3.8-27B and Qwen/Qwen3.6-35B-A3B on held-out data. Compare quality and the quote for your configuration before scaling up.

Pick a model, then train

Set model in your config and submit a run.