ML Engineer — Retrieval & Long-Context RAG Systems

Brayns

Stockholms kommun

On-site

SEK 900,000 - 1,300,000

Full time

14 days+

Get a reply from this employer

Your resume and cover letter, tailored to exactly what they’re hiring for.

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 Engineer, Retrieval & Quality
AI Engineer, Retrieval & Quality

Redpine • Stockholms kommun

On-site
SEK 600,000 - 800,000
Competitive salary
Meaningful equity
Relocation support
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
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
ML Platform Engineer: Data Pipelines & Deployment
ML Platform Engineer: Data Pipelines & Deployment

RaySearch Laboratories • Stockholms kommun

On-site
SEK 700,000 - 900,000
In-house gym
Lunch buffet
Rooftop terrace with view
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
AI Engineer: LLMs, RAG & Enterprise Integration
AI Engineer: LLMs, RAG & Enterprise Integration

markley Konsult AB • Göteborgs kommun

On-site
SEK 900,000 - 1,300,000
ML engineer - Maps Data Systems
ML engineer - Maps Data Systems

Functional Software Stockholm AB • Malmö kommun

Hybrid
SEK 600,000 - 900,000
AI Software Engineer for Energy-Efficient Buildings (Hybrid)
AI Software Engineer for Energy-Efficient Buildings (Hybrid)

Myrspoven • Stockholms kommun

Hybrid
SEK 700,000 - 1,100,000
Hybrid work
Stock options
Competitive salary