---
title: "On rare-earth magnets, Prophet models the iron and cobalt, not the rare earth"
description: "Relax and Curie routes on nine rare-earth magnets. Nd, Sm, and Y carry no moment. Gd does, but couples the wrong way. Cobalt Curie temperatures run about 25% low, and Sm2Fe17 is twice too high."
url: "https://ouro.foundation/posts/mmoderwell/on-rare-earth-magnets-prophet-models-the-iron-and-cobalt-not-the-rare-earth"
id: "01a0d45e-4386-7e3d-b10b-087d7e6f21d4"
type: "post"
---

# On rare-earth magnets, Prophet models the iron and cobalt, not the rare earth

Post by @mmoderwell in #materials-science (all) · 2026-09-24

- Asset id: `01a0d45e-4386-7e3d-b10b-087d7e6f21d4`
- Page: https://ouro.foundation/posts/mmoderwell/on-rare-earth-magnets-prophet-models-the-iron-and-cobalt-not-the-rare-earth

The last three posts tested [Prophet](https://ouro.foundation/services/mmoderwell/prophet) on 3d magnets. This one covers rare-earth permanent magnets. I ran the relax route and then the Curie route on the relaxed magCIF for nine materials, starting from Materials Project cells. The set is built in pairs that isolate the 4f contribution: Nd₂Fe₁₄B against Y₂Fe₁₄B, SmCo₅ against YCo₅ and GdCo₅, Sm₂Fe₁₇ against its nitride. Sm₂Co₁₇ and elemental Gd complete it.

The short version: Prophet models the transition-metal sublattice about as well as it models the 3d metals. It does not model the rare earth. Nd and Sm carry no moment. Gd carries one, but Prophet couples it to Co the wrong way. Prophet has no spin–orbit term, so it also says nothing about anisotropy, the property rare-earth magnets exist for.

## Which sites are magnetic

The moment head decides per element whether a site can hold a moment. In these runs Fe, Co, and Gd are magnetic. Nd, Sm, and Y get exactly zero. For Y that is correct. For Nd it is not: in Nd₂Fe₁₄B each Nd carries about 3.2 μB parallel to the iron, roughly 15% of the magnetization. For Sm it matters less, because samarium's spin and orbital moments nearly cancel.

Every compound came out ferromagnetic, 76 to 137 meV/atom below the antiferromagnetic seed. All relaxations converged in 0 to 16 steps. The Materials Project cells moved less than 0.7% in volume, except Gd, which shrank 3.9%.

## Magnetization

| Material | Prophet | Experiment | Error | Notes |
| -------- | ------- | ---------- | ----- | ----- |
| Y₂Fe₁₄B | 35.9 μB/f.u., 1.84 T | 31.4 μB/f.u., 1.59 T (4 K) | +14% | Fe 2.57 μB, no 4f |
| Nd₂Fe₁₄B | 36.6 μB/f.u., 1.83 T | 37.7 μB/f.u., 1.85 T (4 K) | −3% | Fe 2.61 μB, Nd 0 |
| SmCo₅ | 1.12 T | 1.07 T (room temperature) | +5% | Co 1.63 μB, Sm 0 |
| YCo₅ | 1.16 T | 1.06 T (room temperature) | +10% | Co 1.66 μB |
| Sm₂Co₁₇ | 1.32 T | 1.25 T (room temperature) | +6% | Co 1.63 μB, Sm 0 |
| Sm₂Fe₁₇N₃ | 1.95 T | 1.54 T (room temperature) | +27% | Fe 2.69 μB, Sm 0 |
| Gd | 6.9 μB/atom, antiferromagnetic | 7.6 μB/atom, ferromagnetic | wrong order | see below |
| GdCo₅ | 14.6 μB/f.u., ferromagnetic | about 1.4 μB/f.u., ferrimagnetic | wrong order | see below |

Nd₂Fe₁₄B is right for the wrong reason. Y₂Fe₁₄B has the same iron framework and no 4f moment, so it isolates the iron: Prophet runs 14% high there, in line with bcc Fe running 24% high in [the first post](https://ouro.foundation/posts/mmoderwell/prophet-gets-the-magnetic-order-right-on-six-experimental-materials). In Nd₂Fe₁₄B that overestimate is about the same size as the missing Nd moment, and the two cancel. Rank a Nd compound against a Y or Ce analogue and you are ranking two iron sublattices, not the rare earths.

The cobalt compounds are within 5 to 10% of room-temperature values. Those sit a few percent below saturation, because their Curie temperatures are near 1000 K. Sm₂Fe₁₇N₃ is 27% high, partly because the iron runs high and partly because its room-temperature value is further below saturation.

## Curie temperature

| Material | Experiment | Monte Carlo | Mean field | Monte Carlo error |
| -------- | ---------- | ----------- | ---------- | ----------------- |
| Sm₂Fe₁₇N₃ | 749 K | 743 K | 874 K | −1% |
| YCo₅ | 987 K | 810 K | 953 K | −18% |
| GdCo₅ | about 1008 K | 754 K | 887 K | −25%, wrong order |
| SmCo₅ | 1020 K | 732 K | 915 K | −28% |
| Sm₂Co₁₇ | 1190 K | 857 K | 1008 K | −28% |
| Nd₂Fe₁₄B | 585 K | 754 K | 942 K | +29% |
| Y₂Fe₁₄B | 565 K | 759 K | 949 K | +34% |
| Sm₂Fe₁₇ | 389 K | 836 K | 983 K | +115% |
| Gd | 293 K, ferromagnetic | 7 K, antiferromagnetic | 35 K | wrong order |

The cobalt compounds run 18 to 28% low, like hcp Co (−17%) in [the Curie post](https://ouro.foundation/posts/mmoderwell/prophet-relaxes-magnets-to-about-1-and-its-ferromagnetic-curie-temperatures-are-off-by-20-on-average). The iron-rich 2:14:1 compounds run about 30% high. Because rare-earth sites carry no moment, the Curie route only sees transition-metal exchange. In these pairs that costs little: experiment puts Nd₂Fe₁₄B only 20 K above Y₂Fe₁₄B and SmCo₅ 33 K above YCo₅, both within Prophet's 45 to 50 K temperature step.

## Sm₂Fe₁₇ and nitrogen

This is the worst miss, and it gets the key physics backwards. Sm₂Fe₁₇ orders at only 389 K. The usual explanation is the short Fe–Fe dumbbell pair, about 2.4 Å, whose exchange is antiferromagnetic. Interstitial nitrogen expands the lattice, weakens that pair, and roughly doubles the Curie temperature to 749 K. That jump is why Sm₂Fe₁₇N₃ is a permanent magnet at all.

Prophet makes that 2.41 Å pair the strongest ferromagnetic coupling in the cell, +32.5 meV. It puts Sm₂Fe₁₇ at 836 K and the nitride at 743 K, so nitrogenation *lowers* the Curie temperature by 93 K. The nitride's number agrees with experiment, but only by coincidence: Prophet has the direction of the effect wrong. This matches the pattern in [the NiAs-type post](https://ouro.foundation/posts/mmoderwell/prophet-predicts-antiferromagnetism-for-every-nias-type-magnet-we-tested-and-mnbi-shows-where-the-exchange-goes-missing): Prophet's exchange is least reliable when the sign of a short-range coupling depends sensitively on distance.

## Gadolinium

Gd is the one rare earth the moment head treats as magnetic, and the moment is close: 6.9 μB against 7.6 μB measured, which is 7 μB of 4f plus conduction-electron polarization. The exchange is wrong. The nearest-neighbor Gd–Gd couplings are −3.2 and −2.8 meV, so elemental Gd comes out antiferromagnetic, 24 meV/atom below the ferromagnet. Experimentally it is a ferromagnet ordering at 293 K.

In GdCo₅ the Gd–Co coupling is +2.4 to +2.6 meV, so Gd lines up parallel to Co and the cell comes out a 2.04 T ferromagnet. In experiment, heavy-rare-earth spins align antiparallel to the transition-metal spins, and GdCo₅ is a ferrimagnet with a net moment of about 1.4 μB per formula unit. Prophet's own Gd-opposed state has net 1.41 μB, close to experiment, but the model ranks it 27 meV/atom higher. Any screen that relies on Prophet will therefore overrate heavy-rare-earth–cobalt or iron compounds by up to an order of magnitude in magnetization.

## Check the input first

My first Nd₂Fe₁₄B run used the [68-atom P1 Nd₂Fe₁₄B CIF](https://ouro.foundation/files/hermes/nd2fe14b-cif-p1-explicit-68-atoms) already on Ouro. The unrelaxed screen called it an antiferromagnet with 0.75 T and iron moments of 0.4 to 0.8 μB ([run](https://ouro.foundation/actions/01a0d444-5c06-7a13-9773-caf69be291c5)). That was the file, not the model. Its energy is +37 eV. After relaxation it is −521 eV and ferromagnetic at 1.79 T ([run](https://ouro.foundation/actions/01a0d445-d6d3-77da-adc9-535ce41c673a)), but the cell also distorts to triclinic, which means the atom positions are wrong, not just strained. The CHGNet relaxation of the same file drops 463 eV. Use [mp-5182](https://ouro.foundation/files/mmoderwell/nd2fe14b-p4-2-mnm-1), or relax first and check that the energy change is small.

## What this means for screening rare-earth magnets

- **Usable:** ranking transition-metal sublattices by magnetization. Ranking cobalt-rich compounds by Curie temperature, knowing they run about 25% low.
- **Not usable:** anything that depends on the rare-earth moment. That includes light-rare-earth contributions to magnetization and heavy-rare-earth ferrimagnetism, where Prophet predicts the wrong ordering.
- **Not usable:** Fe-rich compounds with short Fe–Fe pairs, where the Curie temperature can come out more than twice too high and interstitial trends come out reversed.
- **Not covered:** magnetocrystalline anisotropy. There is no spin–orbit term. For rare-earth magnets that is the main figure of merit: roughly 5 MJ/m³ for Nd₂Fe₁₄B and 17 MJ/m³ for SmCo₅.

For a rare-earth magnet leaderboard, Prophet on its own would score the iron or cobalt framework and mostly ignore the rare earth that was substituted into it. I'm not building one on it.

## Runs

Structures are Materials Project cells fetched onto Ouro. Each was relaxed with [Relax a structure and return a magCIF with ground-state moments](https://ouro.foundation/routes/mmoderwell/relax-a-structure-and-return-a-magcif-with-ground-state-moments), then the relaxed magCIF went to [Estimate the Curie temperature from Prophet-Spin exchange](https://ouro.foundation/routes/mmoderwell/estimate-the-curie-temperature-from-prophet-spin-exchange).

| Material | MP ID | Relax | Curie |
| -------- | ----- | ----- | ----- |
| Nd₂Fe₁₄B | mp-5182 | [run](https://ouro.foundation/actions/01a0d456-4a5b-7649-9b98-e30a6fa9d2a3) | [run](https://ouro.foundation/actions/01a0d458-40e9-79e7-904e-ce98a41188b7) |
| Y₂Fe₁₄B | mp-5434 | [run](https://ouro.foundation/actions/01a0d456-4bc5-7125-bd61-7216fa6e3a3e) | [run](https://ouro.foundation/actions/01a0d458-45f6-7886-ac48-b0181fd7157a) |
| SmCo₅ | mp-1429 | [run](https://ouro.foundation/actions/01a0d456-4d0b-7515-9f2e-4d81112e7407) | [run](https://ouro.foundation/actions/01a0d458-4257-76f6-9948-4a3afdebc341) |
| YCo₅ | mp-2827 | [run](https://ouro.foundation/actions/01a0d456-4e38-7ba2-8f91-6b5c1844b16c) | [run](https://ouro.foundation/actions/01a0d458-44c1-7bf9-82b9-098675ec3811) |
| GdCo₅ | mp-1077071 | [run](https://ouro.foundation/actions/01a0d45a-aa9e-71a6-a4b6-fd146d8a226d) | [run](https://ouro.foundation/actions/01a0d45c-85e0-7b71-98b4-96b361473fa3) |
| Sm₂Co₁₇ | mp-1105544 | [run](https://ouro.foundation/actions/01a0d456-4f73-746d-b4dd-0df1deea8e82) | [run](https://ouro.foundation/actions/01a0d458-4724-7e9e-8e09-52924db29ebf) |
| Sm₂Fe₁₇ | mp-1426 | [run](https://ouro.foundation/actions/01a0d456-50d2-7059-9250-1a1ac0fedbce) | [run](https://ouro.foundation/actions/01a0d458-485f-7527-89a9-78bcff9547a5) |
| Sm₂Fe₁₇N₃ | mp-1190790 | [run](https://ouro.foundation/actions/01a0d456-5202-7ce2-961a-b67548e4919c) | [run](https://ouro.foundation/actions/01a0d458-4383-774e-9ae1-661b46de1106) |
| Gd | mp-155 | [run](https://ouro.foundation/actions/01a0d456-533d-7f82-8972-deb8fd2d3b16) | [run](https://ouro.foundation/actions/01a0d458-4983-7aee-a001-a2475c496026) |

> Embedded route: [Estimate the Curie temperature from Prophet-Spin exchange](https://ouro.foundation/routes/mmoderwell/estimate-the-curie-temperature-from-prophet-spin-exchange)

The model is Prophet, from Kairos Materials. Code is MIT. Weights are CC-BY-4.0. Paper: [Prophet](https://www.kairosmaterials.com/papers/Prophet.pdf).

Experimental values are standard literature numbers. Nd₂Fe₁₄B and Y₂Fe₁₄B moments are at 4.2 K, from Herbst's 1991 review. Magnetizations of the cobalt compounds and Sm₂Fe₁₇N₃ are at room temperature. Curie temperatures: Nd₂Fe₁₄B 585 K, Y₂Fe₁₄B 565 K, SmCo₅ 1020 K, YCo₅ 987 K, GdCo₅ about 1008 K, Sm₂Co₁₇ 1190 K, Sm₂Fe₁₇ 389 K, Sm₂Fe₁₇N₃ 749 K, Gd 293 K. The GdCo₅ net moment is approximate. Each Monte Carlo value carries about half a temperature step of grid error, 22 to 25 K here.

## Assets in this post

- [Estimate the Curie temperature from Prophet-Spin exchange](https://ouro.foundation/routes/mmoderwell/estimate-the-curie-temperature-from-prophet-spin-exchange) (route, id `fc0b4cd4-baaf-480d-8846-447ff172063f`)
- [Prophet](https://ouro.foundation/services/mmoderwell/prophet) (service, id `982a15d5-54f2-460e-a901-e31d95413a08`)
- [Prophet gets the magnetic order right on six experimental materials](https://ouro.foundation/posts/mmoderwell/prophet-gets-the-magnetic-order-right-on-six-experimental-materials) (post, id `01a0c9e5-b683-728b-af08-b5daf4e1874d`)
- [Prophet relaxes magnets to about 1%, and its ferromagnetic Curie temperatures are off by 20% on average](https://ouro.foundation/posts/mmoderwell/prophet-relaxes-magnets-to-about-1-and-its-ferromagnetic-curie-temperatures-are-off-by-20-on-average) (post, id `01a0cb5f-a7bd-7821-8bed-cf91586ff71e`)
- [Prophet predicts antiferromagnetism for every NiAs-type magnet we tested, and MnBi shows where the exchange goes missing](https://ouro.foundation/posts/mmoderwell/prophet-predicts-antiferromagnetism-for-every-nias-type-magnet-we-tested-and-mnbi-shows-where-the-exchange-goes-missing) (post, id `01a0cbd5-383c-77ea-8a12-35881c44da0c`)
- [Nd2Fe14B CIF (P1 explicit, 68 atoms)](https://ouro.foundation/files/hermes/nd2fe14b-cif-p1-explicit-68-atoms) (file, id `fcfe86ca-7300-467b-8133-a41f54453390`)
- [Nd2Fe14B (P4_2/mnm) 1](https://ouro.foundation/files/mmoderwell/nd2fe14b-p4-2-mnm-1) (file, id `4f1f321c-450a-407d-9654-45b529abf4b4`)
- [Relax a structure and return a magCIF with ground-state moments](https://ouro.foundation/routes/mmoderwell/relax-a-structure-and-return-a-magcif-with-ground-state-moments) (route, id `b9593f22-3520-4439-ac88-f0931de9fd19`)
