What is an API key?

An API key is the password that lets a program use a service on your behalf.

Navid Moazzezby Navid MoazzezUpdated Sept. 12, 20261 min read
~/ai-glossary
$ glossary
2 of 2 in #limits-and-cost

It is not a login. It is a long string that anyone holding can spend your money and read your data.

It never goes in a file that gets committed, and never in anything you paste into a chat.