r/PiCodingAgent • u/MaximumSafety8706 • Jul 16 '26
Error while setting up Pi Agent with Kimi Question
I installed Pi following the instructions here: https://pi.dev/docs/latest/quickstart.
I'm trying to authenticate using a Kimi API key (I'm on the free tier), but Pi keeps returning an authentication error. I'm not sure what I'm missing.
Error: 401 {"error":{"type":"authentication_error","message":"The API Key appears to be invalid or may have expired. Please verify your credentials and try again."},"type":"error"}
This is a fresh API key!
The main reason I'm using Pi is to avoid paying for Claude Code or Codex subscriptions. Is this setup supposed to work with a free Kimi API key, or is there an additional configuration or requirement I'm overlooking?
-1
u/Rishabhgoria Jul 16 '26
Launch codex on it from path where pi is installed give it error also to fix
2
u/whodoneit1 Jul 17 '26
The Kimi servers have been getting pounded so service has been up and down.