Token & cost optimization
Anthropic Open-Sources Claude-Generated Custom GPU Kernels for 4x Faster Inference
Anthropic open-sourced optimization routines for over 30 open-source biology models, achieving a 4x average inference acceleration. The improvements were generated autonomously by Claude writing custom GPU software and kernels.
September 18, 2026 3 min read
Curated by Oleksandr Kuzmenko, AI Product EngineerUpdated September 18, 2026Sources cited on every story
AI-assisted · editor-reviewedHow we use AI

Impact: Medium
Why it matters
You can inspect and reuse Claude-authored GPU kernel patterns to slash execution latency and cloud compute costs in specialized model pipelines.
TL;DR
- 01Claude autonomously designed and compiled custom GPU kernels across 30+ models.
- 02Achieved a 4x average inference acceleration on specialized open-source architectures.
- 03All generated kernel code and optimization pipelines are fully open-sourced.
Key facts
- Average Speedup
- 4x faster (self-reported)
- Models Optimized
- 30+ open-source models
- Author
- Claude (autonomous kernel synthesis)
- Availability
- Open source
Autonomous GPU Software Synthesis Specialized non-standard neural architectures frequently hit performance barriers on modern hardware due to missing operator fusions and generic CUDA fallbacks. Anthropic tasked Claude with analyzing bottlenecks, refactoring memory access patterns, and drafting custom GPU kernels targeting biological model architectures. The resulting implementations produced an average 4x throughput improvement across 30+ open-source models. ### Open-Source Playbook for Hardware Engineers Anthropic released the entire repository of generated kernels and profiling harnesses. Beyond the domain of computational biology, the released artifacts serve as a practical blueprint for developers using Claude Code or Cursor to author high-performance Triton or CUDA kernels for bespoke machine learning workloads.
Try it in 2 minutes
git clone https://github.com/anthropics/anthropic-science-opt && cd anthropic-science-opt && pip install -r requirements.txtbash
✓ When to use
- Writing custom fused operators for novel or domain-specific neural architectures.
- Benchmarking agent-assisted kernel optimization against hand-written CUDA code.
- Reducing latency in batch inference pipelines that rely on specialized non-LLM models.
What to do today
- Clone Anthropic's optimization repository to inspect Claude-generated GPU kernel structures.
- Identify high-latency custom operators in your internal PyTorch or Triton model inference pipelines.
- Prompt Claude Code with your operator signatures to generate fused CUDA/Triton implementations.
#Claude#CUDA#Triton
Sources