Skip to main content
Run A/B tests on models with zero latency. Same session always gets same model (sticky assignment).
Create and manage your model configs in the dashboard.
  • Python
  • TypeScript
from fallom import models

# Get assigned model for this session
model = models.get("summarizer-config", session_id)
# Returns: "gpt-4o" or "claude-3-5-sonnet" based on your config weights

agent = Agent(model=model)
agent.run(message)

Version Pinning

Pin to a specific config version, or use latest (default):
# Use latest version (default)
model = models.get("my-config", session_id)

# Pin to specific version
model = models.get("my-config", session_id, version=2)

Fallback for Resilience

Always provide a fallback so your app works even if Fallom is down:
model = models.get(
    "my-config",
    session_id,
    fallback="gpt-4o-mini"  # Used if config not found or Fallom unreachable
)

Resilience Guarantees

Background Sync

Config sync never blocks your requests

Graceful Degradation

Returns fallback on any error

Next Steps