Senior Software Engineer, Backend (AI Platform)
Affirm
About the role
At Affirm, we exist for the moments that matter—giving people a clear, predictable way to pay over time, with no hidden fees, no surprises, and no tradeoffs on what matters most.
Affirm's engineering team is building a large-scale, fault-tolerant, and global infrastructure that is shared across multiple financial products, merchants, and vendors. Ensuring that our infrastructure is transparently available to all engineers is critical to the success of the business. We pride ourselves on our culture across engineering of writing blameless postmortems as well as writing detailed tech specs and gathering feedback before large changes to systems.
The AI Platform team owns Affirm's paved path for building, running, evaluating, and governing AI systems. Our customers are not only Affirm users, but also every engineer and a growing set of production workloads at Affirm. As a team, we are responsible for building and exposing simple, governed interfaces to models, tools, and agents, with identity, cost attribution, reliability, and security built in. Examples of components we own include the LLM Gateway that fronts every approved model (Claude, ChatGPT, and open-weight models across AWS Bedrock and other providers), the MCP Gateway that mediates and audits tool calls, the Agent Runtime that gives agentic workloads bounded execution, and the evals and observability layer that tells teams whether an AI change is better, cheaper, or safe to ship. We are early: the gateway is in daily use across engineering, the first production agent is live, and the next year takes us from developer productivity to production inference and agents.
What You'll Do
Plan, execute, and own technical decisions and projects within the AI Platform team, from design through launch and on-call.
Design and build the gateway, runtime, and evaluation services that take AI workloads at Affirm from pilot to production, securely scaling across millions of users and their transactions.
Make AI spend attributable and governable: build the identity, quota, routing, caching, and failover controls that let teams adopt new models and tools without re-solving the same platform problems.
Partner with security, infrastructure, and product engineering teams to set the guardrails for agentic workloads and the on-behalf-of identity model for tool access.
Create and monitor metrics for your team's systems, and own the operational health of what you ship: monitoring, alerting, runbooks, and on-call.
Set and improve code review and design standards, and advocate for them beyond your team through writing and tech talks.
Use AI tools and agentic workflows every day as a multiplier for your own code, design review, and operations, and push the team on what a small AI-native team can deliver.
Educate, mentor, and grow engineers in the team, and drive best practices around design, coding, and testing.
What We Look For
You have 4+ years of experience designing, developing and launching backend systems at scale using languages like Python or Kotlin.
You have a track record of developing highly available distributed systems using technologies like AWS, MySQL and Kubernetes.
You have practical experience building with LLMs, agents, or AI frameworks in production: inference APIs, LLM gateways (LiteLLM or similar), MCP, tool calling, evals, or agent runtimes.
You understand AI usage and the infrastructure needed to support and leverage AI workloads across different disciplines.
You have experience defining a technical plan for the delivery of a significant feature or system component with an elegant, simple and extensible design. You write high quality code that is easily understood and used by others.
You are proficient at making significant changes in a large code base, and have developed a suite of tools and practices that enable you and your team to do so safely.
Your experience demonstrates that you take ownership of your growth, proactively seeking feedback from your team, your manager, and your stakeholders.
You have strong verbal and written communication skills that support effective collaboration with our global engineering team.
This position requires either equivalent practical experience or a Bachelor’s degree in a related field.
Pay Grade - N
Equity Grade - 9
Employees new to Affirm typically come in at the start of the pay range. Affirm focuses on providing a simple and transparent pay structure which is based on a variety of factors, including location, experience and job-related skills.
Base pay is part of a total compensation package that may include equity rewards, monthly stipends for health, wellness and tech spending, and benefits (including 100% subsidized medical coverage, dental and vision for you and your dependents.)
USA base pay range (CA, WA, NY, NJ, CT) per year: $195,000 - 255,000
USA base pay range (all other U.S. states) per year: $173,000-233,000
#LI-Remote
Remote-first with flexibility built in
Affirm is proud to be a remote-first company. Most roles can be done from almost anywhere within the country of employment. Some positions may occasionally require in-person work at an Affirm office, and a few are office-based due to the nature of the work. All new hires will be invited to attend an in-person onboarding experience.
Benefits designed for you
Our benefits reflect our commitment to care, transparency, and flexibility. Here are a few highlights:
Health coverage at no cost: We cover 100% of premiums for employees and their dependents.
Spending stipends: Monthly stipends support your tech setup, and the ability to choose health and wellness options that are right for you.
Time off to recharge: Flexible time off and generous holiday calendars help you rest when you need to.
Own a piece of what you build: Our employee stock purchase plan (ESPP) lets you buy Affirm stock at a discount.
We’re committed to providing an inclusive interview process, including accommodations for candidates with disabilities. If you need support, we’re happy to help.
For positions based in San Francisco or Los Angeles: Affirm considers qualified applicants with arrest and conviction records, as required by law.
By clicking "Submit Application," you acknowledge that you have read Affirm's Global Candidate Privacy Notice and consent to the use of your personal information as described.
Responsibilities
- Design, build, and launch AI platform gateway, runtime, and evaluation services.
- Develop identity, quota, routing, caching, and failover controls for AI workloads.
- Partner with security, infrastructure, and product teams to establish safeguards for agentic workloads.
- Own system metrics, monitoring, alerting, runbooks, and on-call operations.
- Set code review and design standards, and share best practices through writing and tech talks.
- Mentor engineers and promote strong design, coding, and testing practices.
Qualifications
- 4+ years of experience designing, developing, and launching scalable backend systems using languages such as Python or Kotlin.
- Experience building highly available distributed systems with technologies such as AWS, MySQL, and Kubernetes.
- Production experience with LLMs, agents, or AI frameworks, such as inference APIs, LLM gateways, MCP, tool calling, evaluations, or agent runtimes.
- Ability to define technical plans and deliver significant system components with simple, extensible designs.
- Strong coding, communication, collaboration, and ownership skills.
- Bachelor’s degree in a related field or equivalent practical experience.
Benefits
- 100% subsidized medical, dental, and vision coverage for employees and dependents.
- Monthly stipends for technology, health, and wellness spending.
- Flexible time off and generous holidays.
- Employee stock purchase plan with discounted Affirm stock.
- Remote-first work and in-person onboarding.
Skills mentioned
About Affirm
At Affirm, we’re using today’s technology to bring significant disruptive innovation to the financial industry. We focus on improving the lives of consumers by delivering simple, honest and transparent financial products. We have roles across a variety of teams, including engineering, product, finance, operations, revenue, marketing, people and more. A note to applicants: Fake job and recruiting scams are on the rise. Affirm will never ask you to pay any upfront fees or send you any checks to purchase equipment during any part of the recruiting process. Affirm only uses legitimate company email address domains (either “@affirm.com” or "@us.greenhouse-mail.io”) to communicate with candidates via email. Affirm is also proud to be a remote-first company! Attracting great people starts by finding talent in different places. That's why we built remote work into the DNA of how we do business—but if an office space is more your style, we have offices in Chicago, New York City, Pittsburgh, San Francisco, Seattle, Toronto, Warsaw, Madrid and London. Not to mention we have comprehensive and award-winning benefits that were made for you. Interested in learning more? Check out our careers page and apply today! Visit affirm.com/careers for more information.
H-1B sponsorship history
Historical employer filing data was found for Affirm. The employer record includes 827 historical certified applications. This is employer-level history, not a guarantee that this role currently offers sponsorship.