> ## Documentation Index
> Fetch the complete documentation index at: https://runinfra.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Which model should I use?

> Pick the right model for your use case. Decision table by task, size, and performance priority.

The short answer: tell the agent your use case and priority, let it pick. The long answer, so you can sanity-check what the agent suggests:

## By use case

| Use case                         | Recommended starting point                           | Why                                                                  |
| -------------------------------- | ---------------------------------------------------- | -------------------------------------------------------------------- |
| Customer-support chatbot         | Llama 3.1 8B with a compatible 4-bit variant on L40S | Low latency, solid instruction following                             |
| Document summarization           | Qwen 2.5 14B with a compatible 4-bit or FP8 variant  | Long context (128K), strong at compression                           |
| Code generation                  | DeepSeek Coder V2 on a high-throughput GPU           | Strong open coder, use FP8 only where the compatibility check passes |
| Multilingual chat                | Qwen 2.5 7B on L40S                                  | Native multilingual training; outperforms Llama on non-English       |
| Reasoning / math                 | DeepSeek R1 on H100                                  | Best open reasoning model                                            |
| Fast extraction / classification | Phi-3 Mini on L4                                     | Cheapest, still good enough for JSON extraction                      |
| Voice assistant                  | Whisper Large V3 Turbo + Llama 8B + XTTS v2          | 3-node pipeline, sub-500ms end-to-end                                |
| RAG backend                      | bge-m3 embeddings + Llama 8B                         | bge-m3 for retrieval, any instruction model for generation           |

## By priority

<Tabs>
  <Tab title="Latency">
    Pick the smallest model that still passes your quality bar. Let the optimizer try compatible 4-bit or FP8 variants. Deploy on the lowest GPU tier that clears your latency target. Enable speculation on a paid Core plan.

    Target: P99 under 200 ms for 1 to 8B, under 400 ms for 14 to 30B.
  </Tab>

  <Tab title="Cost">
    Smallest model. Prefer compatible low-VRAM variants. Use the cheapest GPU the model fits. Flex mode for scale-to-zero.

    Target: under \$0.10 per MTok input.
  </Tab>

  <Tab title="Throughput">
    Mid-size model (8 to 14B) on L40S or A100. FP8 on H100 if latency allows. Enable speculation. Batch aggressively on the client.

    Target: 1000+ tokens/sec per replica.
  </Tab>

  <Tab title="Quality">
    Largest model that fits your budget. FP8 or FP16 (avoid aggressive quantization). H100 or H200. Skip speculation (marginal first-token latency matters for quality-critical flows).

    Target: measured quality gate passes, or your own evaluation set passes before deployment.
  </Tab>
</Tabs>

## By model size

| Size      | Typical cost | Quality ceiling                   | Best for                          |
| --------- | ------------ | --------------------------------- | --------------------------------- |
| 1 to 3B   | Cheapest     | Simple extraction, classification | Internal tools, FAQ bots          |
| 7 to 8B   | Low          | Good chat, basic tool use         | Production chat, customer support |
| 14B       | Medium       | Strong general-purpose            | Most SaaS features                |
| 30 to 32B | High         | Great reasoning and code          | Agent backbones, code copilots    |
| 70B+      | Highest      | SOTA open performance             | Flagship products, research       |

## When to ask the agent to recommend

If you don't know, just ask:

```text theme={"dark"}
I need a chatbot for an e-commerce site. Budget $200/month, under 200ms latency,
traffic is ~50 RPM. What model do you recommend?
```

The agent will suggest, explain its reasoning, and let you adjust. See [Best practices](/prompting/best-practices) for how to phrase these asks.

## Next steps

<Columns cols={2}>
  <Card title="Models catalog" icon="cpu" href="/features/models">
    Full list of supported models.
  </Card>

  <Card title="GPUs and pricing" icon="dollar-sign" href="/features/gpu-pricing">
    Which GPUs match which model sizes.
  </Card>

  <Card title="Optimization" icon="zap" href="/features/optimization">
    Quantization, FP8, TensorRT-LLM, and GPU selection.
  </Card>

  <Card title="Example prompts" icon="list-checks" href="/prompting/example-prompts">
    Copy-ready prompts for every shape.
  </Card>
</Columns>
