Profile only
A timeline inside your kernel, per loop, phase and warp role, with an analysis of where the time goes.
- Needs only the compiled kernel
- Mode
fast
MarsTrace New
MarsTrace records when every part of a CUDA kernel runs, warp by warp, on an NVIDIA H200, B200 or B300 that we provide. Hand over the compiled kernel and a question. Get back a timeline that you and your coding agent can read, or have an agent optimize the kernel and return a patch.
How it works
An agent is asked to profile an attention kernel. MarsTrace probes the compiled kernel, runs it and records every warp. You mark the part that looks slow, and the agent finds the cause.
What a trace shows
Most profilers describe a kernel as a whole. Inside it, thousands of warps load, compute and wait on each other at once. MarsTrace records when each part ran in each warp, so a stall has a place and a time.
Three modes
Every job traces the kernel first. In the thinking modes an agent then changes your source one measured step at a time, and keeps a change only if it is measurably faster and still passes your check.
A timeline inside your kernel, per loop, phase and warp role, with an analysis of where the time goes.
fastThe profile, then an optimized kernel: a patch against your source, and a report of what changed and how fast it runs.
thinking-lightThe same, with a larger budget for deeper changes. It may stop early once it has ruled out every candidate change.
thinking-heavyGet started
Set up once, in a few minutes. Your coding agent can do the rest.
Create an account, add credit and a MarsTrace key, then install
the marstrace client. No GPU needed.
Tell your coding agent what you want to know, in plain words. Or
put the cubin and a short job file in a folder and run
marstrace submit, or fill in the console's job
form.
Open the trace in the console, mark the slow region, and hand it to your agent to explain and fix. A thinking job brings its own patch and report.
Why it can be trusted
MarsTrace is the tracer in MarsRover, run for you on our GPUs. It adds its probes after compilation, so the compiler never sees them and the kernel stays the one you built.
A trace is a measurement. It is useful only if the kernel being measured stays the same. Probes added before compilation change how the compiler schedules the code, and a stage can look slow only because the probe made it slow.
Ranges across the kernels tested, on NVIDIA H100 and B300 and AMD MI300X. Source: MarsRover, September 2026.
What it costs
A job is charged the tokens its agent used, from your MarsCompute balance. The GPU is not charged separately.
The input, output and cache tokens the agent used, at the rates
marstrace hardware shows.
marstrace estimate shows the typical cost and a
hard cap, the most the job can cost. The client asks before it
submits.
A job starts when your balance reaches the minimum
marstrace credit shows. That is held while it runs,
not the price.
A job that delivers nothing usable is free. Otherwise every attempt counts, failed ones included; if a failure on our side caused a charge, we correct it with a credit.
MarsTrace charges for the agent’s tokens, per million: $24
input, $1.20 cache reads, $30 for 5-minute and $48 for 1-hour cache
writes, and $120 output. GPU time has no separate charge;
marstrace hardware shows the rates in force.
Questions
No. Each job runs on an H200, B200 or B300, with CUDA 13.0, that
MarsTrace starts for it and removes when the job ends. You need
Python 3.11 and the compiled kernel; nvcc -cubin
builds one without a GPU.
Not for a trace: MarsTrace traces the compiled cubin. Source, a launch manifest or a driver script help the agent reproduce your launch sooner, and each is optional. To have the kernel optimized, the thinking modes need the source and the commands that build, run and check it.
In the thinking modes, yes. After the trace, an agent changes your source one measured iteration at a time. It keeps a change only if it is faster and your check still passes, and returns a patch with reports of the time before and after. When nothing it tries is faster, its process report lists what it ruled out.
Any CUDA kernel you can get as a cubin for the GPU you pick:
hand-written CUDA C++, Triton, torch.compile, TileLang and
CuTeDSL. marstrace cubin find picks a kernel out of
the compiler caches after one run.
Yes. Run the example in the client first, or let your coding agent drive: with the plugin it gathers the cubin, writes the job, reads the trace and explains what it found. The console shows the same trace as a timeline you can explore.
Each job gets its own GPU machine with no network access,
started for it and deleted when it ends, and your workspace runs
in a sandbox. The agent reads what you upload, so upload only
what it needs; .git is never uploaded. Uploads are
deleted 24 hours after the job ends and results after 30 days.
The agent's requests and replies, which can quote your code, are
kept for 30 days for MarsCompute administrators only.
MarsTrace is the tracer in MarsRover, our toolbox for agentic kernel optimization, run as a service on our GPUs. A trace is where an optimization starts; the technology page shows how agents turn traces into faster kernels.
Set up in a few minutes: sign up, add credit, and create a MarsTrace key on the console’s API keys page.