Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Together AI 8 min read Announcement mediumAdept

A/B test models in production

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.

Assumes: A/B testing basicsmodel serving endpointsblue-green deployments

Related posts

  • Canary rollouts: upgrade models in production without downtime

    Together AI mediumAdept

    Together AI's rollouts shift live inference traffic from one model deployment to another using canary, blue-green or rolling strategies. Each step scales up the target, runs health gates before shifting traffic, waits for routing caches to propagate, drains the source, and on canaries evaluates metric gates (p95 router latency, error rate, inflight requests) as relative regression or absolute threshold checks. A failed gate system-pauses the rollout; operators cancel to freeze the split and run a reverse rollout instead of using a rollback verb. In a real Qwen2.5-7B → Qwen3.5-9B canary, the gate caught a 137% p95 latency regression at 10% traffic and the reversal completed with no failed requests. Timing guidance covers metric windows, step intervals and ~90s ingestion lag.

  • Endpoint Candidates: evaluate and promote inference endpoints

    Modal mediumAdept

    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. Under the hood, Modal's Pingora-based proxy forks each request stream into a bounded per-Candidate buffer and also caps shared mirrored body memory per proxy process. A chunk is counted until its last network write releases it. When either limit is hit, the mirrored request is cancelled so production is never slowed. Mirroring is best-effort by design, and Candidates bill at standard compute pricing.

  • Scaling Reliable Experimentation in a Two-Sided AdTech Marketplace: ZMS Budget Split

    Zalando Engineering mediumAdept

    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). Zalando's ZMS solves this with Budget Split, which partitions each campaign into virtual sub-campaigns proportional to traffic so each variant runs isolated auctions. Orthogonal Concurrency extends the approach to concurrent experiments by splitting budgets into cross-product buckets (e.g., 1A2A, 1A2B, 1B2A, 1B2B). Residual interference from algorithmic campaign steering, shared pre-experiment ML training data, manual ops interventions and right-censoring is still monitored, and experiment volume grew from 8 in 2023 to over 60 in 2025.

  • Configuring Dedicated Model Inference

    Together AI mediumAdept

    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. Traffic splits use per-replica weights, so routing follows effective capacity (weight × ready replicas): autoscaling shifts traffic automatically, and unready deployments receive none. A live test with two H100 deployments matched expected shares (69.4/30.6 measured vs 66.7/33.3 expected after scaling one deployment to two replicas). A concurrency sweep showed one profile scaling to 1,464 tok/s at c=16 while another, faster at c=4, saturated and halved its throughput, which makes the case for load-testing configs at realistic concurrency.

  • Zero-Downtime Blue/Green Deployments on Render with Canary Traffic Splitting

    Render mediumAdept

    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. On push to main, the workflow detects the live environment, deploys to the idle one, shifts 30% of traffic, runs verification in parallel after a configurable soak period, and either promotes to 100% or calls Render rollback APIs and restores Cloudflare weights. In testing, smoke tests passed while Dash0 caught 5xx rates above a 1% threshold and triggered automatic rollback. Remaining tradeoffs are backward-compatible schema migrations on the shared database and the cost of running duplicate services, which can be reduced by scaling the idle environment down.

The quest for software engineering knowledge.

Look:
Layout: