ML Engineer — Retrieval & Long-Context RAG Systems

Brayns

Stockholms kommun

On-site

SEK 900,000 - 1,300,000

Full time

14 days+
Application generator

A complete application in a minute — tailored resume and cover letter, ready to send.

Get past ATS filters

Job summary

Brayns in Stockholm is building next-generation retrieval and RAG systems. This role focuses on the model layer, not product features, working on long-context reasoning, prompt and pipeline optimization, and squeezing more from our models.

You will design and evaluate retrieval, embeddings, and inference strategies, using DSPy and related tools to push performance while keeping latency and costs in check. On-site in Stockholm.

Qualifications

  • A model-layer specialist who loves retrieval quality, eval design, and prompt optimization.
  • Experience building non-trivial RAG systems with strong opinions on chunking, embeddings, and retrieval strategies.
  • Hands-on experience with long-context LLMs and understanding their behavior in practice.
  • Proven track record of optimizing LLM inference for latency, throughput, and cost.

Responsibilities

  • Design, build, and improve our RAG systems end-to-end — retrieval, ranking, context construction, evaluation.
  • Work with long-context LLMs and figure out how to use that context well rather than just dumping tokens into it.
  • Use DSPy (and similar tools) to systematically optimize prompts, pipelines, and behavior — instead of hand-tuning by feel.
  • Optimize LLM inference — latency, throughput, cost, batching, caching, quantization where relevant.
  • Run experiments rigorously: build evals, measure honestly, and let the numbers drive decisions.

Skills

RAG systems
DSPy
Long-context LLMs
Prompt optimization
LLM inference optimization
Retrieval quality
Evaluation design
Model-layer focus

Tools

DSPy

Job description

Brayns in Stockholm is building next-generation retrieval and RAG systems. This role focuses on the model layer, not product features, working on long-context reasoning, prompt and pipeline optimization, and squeezing more from our models.

You will design and evaluate retrieval, embeddings, and inference strategies, using DSPy and related tools to push performance while keeping latency and costs in check. On-site in Stockholm.

Get your free, confidential resume review.
or drag and drop your file here.
Similar jobs

Similar jobs worth comparing

ML Engineer
ML Engineer

Brayns • Stockholms kommun

On-site
SEK 900,000 - 1,300,000
AI Retrieval & Quality Engineer — Production & Evaluation
AI Retrieval & Quality Engineer — Production & Evaluation

Redpine • Stockholms kommun

On-site
SEK 600,000 - 800,000
Competitive salary
Meaningful equity
Relocation support
AI Engineer, Retrieval & Quality
AI Engineer, Retrieval & Quality

Redpine • Stockholms kommun

On-site
SEK 600,000 - 800,000
Competitive salary
Meaningful equity
Relocation support
Senior Knowledge Graph Engineer: AI Context & Retrieval
Senior Knowledge Graph Engineer: AI Context & Retrieval

Modelon AB • Lunds kommun

On-site
SEK 60,000 - 90,000
Senior RAG Engineer — Remote EU Backend & Retrieval
Senior RAG Engineer — Remote EU Backend & Retrieval

Newcode.ai • Stockholms kommun

On-site
SEK 998,000 - 1,442,000
Fully remote across the EU/EEA
Flexible, English-speaking environment
Competitive compensation
Senior RAG Engineer - Fully Remote (EU)
Senior RAG Engineer - Fully Remote (EU)

Newcode.ai • Stockholms kommun

On-site
SEK 768,000 - 1,207,000
Senior knowledge graph & context engineer
Senior knowledge graph & context engineer

Modelon AB • Lunds kommun

On-site
SEK 60,000 - 90,000
ML engineer - Maps Data Systems
ML engineer - Maps Data Systems

Functional Software Stockholm AB • Malmö kommun

Hybrid
SEK 600,000 - 900,000
ML Research Engineer: From Research to Production
ML Research Engineer: From Research to Production

Aliant • Helsingborgs kommun

Hybrid
SEK 900,000 - 1,200,000
Hybrid work model
Senior LLM Engineer for Production AI & GRC Solutions
Senior LLM Engineer for Production AI & GRC Solutions

Nooga • Stockholms kommun

Hybrid
SEK 655,000 - 874,000