Is it worth abiding by atomic rules?
Iran is a signatory to the nuclear Non-Proliferation Treaty (NPT) but often grumbles that it does not benefit from the treaty's entitlement to shared technology.
"We have asked them (the UN watchdog), and we are waiting for an answer: what have they given us in reward for doing our duty? What sort of help have they given us?" he told reporters after meeting Sudan's president in Tehran.
The president's remarks come two days before Mohamed ElBaradei, head of the International Atomic Energy Agency (IAEA), will deliver a report on Iran's nuclear activities to the UN Security Council.
Tehran faces possible sanctions in the council after failing to persuade the international community it is enriching uranium for power stations and not for warheads.
Western diplomats argue Iran's demand for shared know-how under the NPT is spurious as this entitlement would only be valid if it were certain that Tehran's ambitions were peaceful.
Ahmadinejad reiterated his view that Iran could reconsider its commitment to the NPT and its co-operation with the IAEA if it felt it were being short-changed.
"We hope they fulfil their duties and make it unnecessary for the Islamic Republic of Iran to reconsider its relations with them," he said.
"Our scientists have mastered this technology with their own brains, their own might and their own hands," he added.
Comments