---
title: "A/B test models in production"
description: "Together AI endpoints can run A/B experiments natively: one control and up to 20 variant deployments, each with a fixed percent share summing to 100, subdivide the control's share of the base traffic split so clients keep the same endpoint and keys."
url: "https://swe.quest/articles/a-b-test-models-in-production-1e560d8d2f17b5c1"
canonical: "https://www.together.ai/blog/a-b-test-models-in-production"
source: "Together AI"
published: "2026-08-17"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 8
tags: ["inference","deployment","evals","load-balancing"]
---

# A/B test models in production

A post on [Together AI](https://swe.quest/sources/together.md), published 2026-08-17, 8 min read, Announcement. Original: [https://www.together.ai/blog/a-b-test-models-in-production](https://www.together.ai/blog/a-b-test-models-in-production)

## Summary

Together AI endpoints can run A/B experiments natively: one control and up to 20 variant deployments, each with a fixed percent share summing to 100, subdivide the control's share of the base traffic split so clients keep the same endpoint and keys. Shares are independent of replica counts. Variants must carry zero split weight. Updates replace the full member list and are guarded by etags against concurrent edits. Requests can stick to an arm via a sampling key such as \`user\` or \`prompt\_cache\_key\`, and a winning variant is promoted with a blue-green rollout before the experiment is deleted. In a live 3 RPS run, observed shares closely matched 95/5, 80/20 and 50/50, routing changes propagated in 30–60s, and deletion returned 100% of traffic to the control.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Load balancing](https://swe.quest/tags/load-balancing.md) (Infrastructure)

## Prerequisites

- A/B testing basics ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- model serving endpoints ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- blue-green deployments

## Keywords

Together AI, A/B testing, blue-green rollout, etag

## Related posts

- [Canary rollouts: upgrade models in production without downtime](https://swe.quest/articles/canary-rollouts-upgrade-models-in-production-without-downtime-639f92b02faa99d7.md): Together AI · 2026-09-22 · Medium · 18 min read · Deployment, Inference & serving, SRE, Load balancing
  Together AI's rollouts shift live inference traffic from one model deployment to another using canary, blue-green or rolling strategies.
- [Endpoint Candidates: evaluate and promote inference endpoints](https://swe.quest/articles/endpoint-candidates-evaluate-and-promote-inference-endpoints-e21411973e001e67.md): Modal · 2026-10-12 · Medium · 3 min read · Inference & serving, Deployment, Load balancing, Resilience
  Endpoint Candidates let Modal users stage alternative deployments of a Dedicated Endpoint, such as new checkpoints or different models, mirror a sample of production traffic to them, measure latency, throughput, cost and quality, then promote a winner from the dashboard to the existing URL.
- [Scaling Reliable Experimentation in a Two-Sided AdTech Marketplace: ZMS Budget Split](https://swe.quest/articles/scaling-reliable-experimentation-in-a-two-sided-adtech-marketplace-zms-budget-c68e3c8f0c5c3d70.md): Zalando Engineering · 2026-08-31 · Medium · 5 min read · Ads, System design
  In a two-sided retail media marketplace, A/B test variants that draw from shared advertiser budgets violate SUTVA, because a more efficient treatment drains the budget and depresses control metrics (cannibalization bias).
- [Configuring Dedicated Model Inference](https://swe.quest/articles/configuring-dedicated-model-inference-8368c7de6b0b1442.md): Together AI · 2026-07-29 · Medium · 7 min read · Inference & serving, Load balancing, Deployment, Performance engineering
  Together AI's Dedicated Model Inference separates a stable endpoint name, disposable deployments (model revision + config + autoscaling replicas), and immutable config revisions that specify engine, GPU type/count, parallelism and a latency/throughput/balanced profile.
- [Zero-Downtime Blue/Green Deployments on Render with Canary Traffic Splitting](https://swe.quest/articles/zero-downtime-blue-green-deployments-on-render-with-canary-traffic-splitting-53f6cff8ad3005c5.md): Render · 2026-05-27 · Medium · 5 min read · Deployment, CI/CD, Observability
  A blue/green canary pipeline for Render orchestrates six services (API, web frontend, worker, each duplicated into blue and green environments) using SuperPlane, an open-source DevOps workflow engine, with Cloudflare weighted traffic routing, Dash0 synthetic checks and PromQL error rates, and GitHub Actions smoke tests.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
