{"slug": "what-does-eu-ai-act-article-12-require-of-your-llm-logs", "title": "What does EU AI Act Article 12 require of your LLM logs?", "summary": "Article 12 of the EU AI Act requires high-risk AI systems to automatically record events over their lifetime, and for LLM applications that means a structured record of every model call — who made it, which model and version, what policy decided and what happened — retained for at least six months under Articles 19 and 26(6), according to a guide by Nagu Gopalakrishnan, co-founder and CTO. The Digital Omnibus on AI, Regulation (EU) 2026/1744, published in the Official Journal on 24 July 2026 and in force from 27 July 2026, moved the Annex III high-risk obligations, including Articles 12, 19 and 26, to 2 December 2027 from 2 August 2026, while Article 50 transparency duties apply from 2 August 2026. The Act specifies purposes rather than a field list outside remote biometric identification, so the guide maps each Article 12(2) purpose to fields engineers should log on every call.", "body_md": "# What does EU AI Act Article 12 require of your LLM logs?\n\n[Nagu Gopalakrishnan](https://vidaicontrol.com/blog/author/nagu/)· Co-founder and CTO\n\n· 8 min read\n\n**Short answer:** Article 12 of the EU AI Act says a high-risk AI system must be able to record events automatically, over its whole lifetime, so that risks can be traced, the system can be monitored after release and the people running it can watch how it behaves. For an LLM application that means a structured record of every model call (who made it, which model and version, what policy decided and what happened), kept for at least six months under Articles 19 and 26(6). After the Digital Omnibus, these duties apply to Annex III high-risk systems from 2 December 2027.\n\nThis guide turns the legal text into a field list you can build against, explains who has to keep the logs, and shows where in your architecture the record should be written. It is written for engineers and compliance leads working on LLM features that may fall into a high-risk use case. It is not legal advice; your counsel decides how the Act applies to you.\n\n## What does Article 12 actually say?\n\nArticle 12 has three parts.\n\n- **Article 12(1)** : high-risk AI systems must technically allow the automatic recording of events (logs) over the lifetime of the system.\n- **Article 12(2)** : the logging must make it possible to record events relevant to three purposes: (a) identifying situations that may lead to the system presenting a risk under Article 79(1), or to a substantial modification; (b) post-market monitoring under Article 72; and (c) monitoring the system's operation by the deployer under Article 26(5).\n- **Article 12(3)** : for remote biometric identification systems (Annex III, point 1(a)) only, a minimum set of fields: the period of each use with start and end date and time, the reference database checked, the input data that led to a match, and the people who verified the results.\n\nNotice what is missing. Outside biometric identification, the Act does not give a field list. It gives purposes. The practical question for an engineering team is therefore: which fields, recorded on every call, let us serve each of those three purposes?\n\n## Does Article 12 apply to my LLM application?\n\nOnly if the system is high-risk. Using a large language model does not by itself make an application high-risk; the use case does. Annex III lists the areas, and two of them catch a lot of LLM work:\n\n- **Employment (Annex III, point 4)** : systems used to recruit or select people, including analysing and filtering job applications and evaluating candidates, and systems that inform decisions on promotion, termination, task allocation or performance monitoring.\n- **Credit (Annex III, point 5(b))** : systems used to evaluate the creditworthiness of individuals or set their credit score, with an exception for systems used to detect financial fraud.\n\nA CV-screening assistant built on a hosted model, or an LLM step that summarises an applicant's finances for a lending decision, is the kind of system these points describe. An internal coding assistant or a marketing copy tool usually is not. Classification has its own rules and exceptions, so treat this as a first filter, not the final answer.\n\nEven where Article 12 does not apply, the same record is what you need for GDPR accountability, security investigations and cost attribution. Most teams build it once and use it for all of them.\n\n## When do the logging duties apply?\n\nThe Digital Omnibus on AI, Regulation (EU) 2026/1744, was published in the Official Journal on 24 July 2026 and entered into force on 27 July 2026. It moved the high-risk dates but, on the sources we checked, left the text of Articles 12, 19 and 26 as written.\n\n| Obligation | Applies from | \n|---|---|\n| Transparency duties (Article 50) | 2 August 2026 | \n| High-risk systems in Annex III, including Articles 12, 19 and 26 | 2 December 2027 (previously 2 August 2026) | \n| High-risk systems in products covered by Annex I | 2 August 2028 | \n\nTwelve months sounds like plenty. It is less than it looks: a logging change has to reach every application that calls a model, and the six-month retention clock means the logs an authority asks for in mid-2028 are the ones you start writing in late 2027.\n\n## What should an LLM call log contain?\n\nThe table below maps each Article 12(2) purpose to fields recorded on every model call. It is our working list, not a list from the regulation, and it assumes a typical setup: applications and agents calling one or more model providers through an API.\n\n| Article 12(2) purpose | Question the log must answer | Fields per call | \n|---|---|---|\n| (a) Risk situations and substantial modification | What happened, and had the system changed? | Call ID and parent ID (to link agent steps); start and end timestamps; model, provider and model version; prompt template or system prompt version; configuration version; outcome (success, error, refusal) | \n| (b) Post-market monitoring | How is the system behaving over time? | Guardrail findings by type (personal data, secrets, prompt injection); action taken (allowed, masked, blocked, rerouted); error and fallback events; latency; token counts | \n| (c) Deployer monitoring of operation | Who used it, for what, and did a person step in? | Calling application, agent and key; the team that owns it; the user or service identity; human review or override events; region the call was sent to | \n\nTwo fields do most of the work and are the ones teams most often skip. The **model version** matters because a provider can change the model behind an alias, and a change you did not make can still be a change in your system's behaviour. The **prompt and configuration version** matters because a new system prompt is the easiest substantial modification to make without anyone noticing.\n\n### Should we log the full prompt and response?\n\nArticle 12 does not say. GDPR pushes the other way: data minimisation (Article 5(1)(c)) and storage limitation (Article 5(1)(e)) mean you should not keep personal data in logs just because it might be useful. Article 19 itself says its retention rule is without prejudice to data protection law.\n\nA workable middle path is to separate the record from the content. Keep the metadata above for every call. Keep content only where you need it, with personal data masked or pseudonymised before it is stored, under its own access role, and with every read of that content recorded. That gives an investigator enough to reconstruct a decision without turning your log store into a second copy of your customer database.\n\n## Who has to keep the logs: the provider or the deployer?\n\nBoth, for the logs under their control.\n\n- **Article 19(1)** requires providers of high-risk systems to keep the automatically generated logs, to the extent those logs are under their control, for a period appropriate to the intended purpose of at least six months, unless Union or national law says otherwise. Article 19(2) lets financial institutions keep them as part of the documentation they already maintain under financial services law.\n- **Article 26(6)** places the same six-month minimum on deployers, again for logs under their control.\n\nThe phrase \"under their control\" is where LLM architectures get interesting. If your application calls a hosted model, the model vendor's own logs are under the vendor's control, not yours, and you usually cannot query or retain them on your schedule. If you are the deployer of a high-risk system, you need your own record of each call, written somewhere you control.\n\nFailing to meet provider obligations (Article 16) or deployer obligations (Article 26) can bring a fine of up to EUR 15 million or 3% of worldwide annual turnover, whichever is higher, under Article 99(4). For SMEs and start-ups, Article 99(6) applies the lower of the two.\n\n## Where in the architecture should the log be written?\n\nThere are two common choices: log inside each application, or log at a single gateway that every model call passes through.\n\n**Logging in each application** needs no new component, but every team implements it differently, new applications start without it, and you cannot easily prove that no call bypassed it.\n\n**Logging at a gateway** gives one schema and one place to check coverage: if the provider keys live only in the gateway, a call that is not in the log is a call that did not happen. The cost is an extra network hop and a component that has to stay up. In our own lab test (one machine, a mock provider, no guardrails or TLS) the Vidai gateway added a median of 0.58 ms per call and was tested up to about 47,200 calls a second; your numbers will depend on your infrastructure and which checks you turn on.\n\nWhichever you pick, three properties matter more than the choice itself:\n\n- **Written inside your network.** The record should not depend on a third party sending it back to you.\n- **Append-only.** The Act does not use the word tamper-proof, but a log that can be edited quietly is weak evidence. Hash-chaining records, or signing exported evidence packs, lets an auditor check completeness on their own machine.\n- **Retention you cannot shorten by accident.** Set the six-month floor in configuration, and make reducing it a recorded, approved change.\n\n## How do we test that our logs are good enough?\n\nRun these checks before an auditor does.\n\n- **Reconstruct a random call.** Pick one call from last month. Can you say who made it, which model version answered, which prompt version was used, what the guardrails found and whether a person reviewed the output?\n- **Reconcile against the invoice.** Compare call or token counts in your log with your provider's bill for the same period. A gap means calls are bypassing the log.\n- **Replay a change.** Find the last time you changed a system prompt or model. Can you show the date, who approved it and how behaviour changed afterwards?\n- **Check the retention floor.** Try to delete or shorten retention on a test record. It should fail or leave a record of the attempt.\n\nIf any of these takes more than an afternoon, the gap is in the logging design, and it is cheaper to fix now than in the months before December 2027.\n\n## Frequently asked questions\n\n### Does Article 12 apply to general-purpose AI models like GPT or Claude?\n\nArticle 12 applies to high-risk AI systems. General-purpose AI models have their own obligations elsewhere in the Act. If you build a high-risk system on top of a general-purpose model, the logging duty attaches to your system.\n\n### How long must AI Act logs be kept?\n\nAt least six months under Articles 19(1) and 26(6), for a period appropriate to the system's intended purpose, unless other Union or national law sets a different period. Sector rules, for example in financial services, can require longer.\n\n### Did the Digital Omnibus change the logging requirements?\n\nOn the sources we checked, no. Regulation (EU) 2026/1744 moved the date Annex III high-risk obligations apply to 2 December 2027, and the text of Articles 12, 19 and 26 stayed as written.\n\n### Do we need to store full prompts to comply?\n\nThe Act does not require full content. GDPR's data minimisation and storage limitation principles argue against keeping more than you need. Many teams keep full metadata for every call and masked or pseudonymised content with restricted access.\n\n### Can we rely on our model provider's logs?\n\nRarely on their own. Articles 19 and 26(6) cover logs under your control, and a hosted provider's logs are usually under theirs. Keep your own record of every call.\n\nRelated reading: [Vidai documentation](https://vidaicontrol.com/docs), [regulatory governance and evidence packs](https://vidaicontrol.com/docs/regulatory-governance), [guardrails and masking](https://vidaicontrol.com/docs/guardrails), and [deploying inside your own network](https://vidaicontrol.com/docs/deployment).", "url": "https://wpnews.pro/news/what-does-eu-ai-act-article-12-require-of-your-llm-logs", "canonical_source": "https://vidaicontrol.com/blog/eu-ai-act-article-12-llm-logs/", "published_at": "2026-11-26 18:17:41+00:00", "updated_at": "2026-11-26 18:42:07.184583+00:00", "lang": "en", "topics": ["ai-policy", "ai-safety", "large-language-models", "ai-agents"], "entities": ["European Union", "EU AI Act", "Nagu Gopalakrishnan", "Digital Omnibus on AI", "Regulation (EU) 2026/1744", "Official Journal of the European Union"], "also_reported_by": [], "takeaway": null, "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/what-does-eu-ai-act-article-12-require-of-your-llm-logs", "markdown": "https://wpnews.pro/news/what-does-eu-ai-act-article-12-require-of-your-llm-logs.md", "text": "https://wpnews.pro/news/what-does-eu-ai-act-article-12-require-of-your-llm-logs.txt", "jsonld": "https://wpnews.pro/news/what-does-eu-ai-act-article-12-require-of-your-llm-logs.jsonld"}}