earendil-works/pi

113k starsTypeScript Latest
Open on GitHub

What It Calls

Calls external APIs · local option Your API key Paid Free tier Cloud by default Can switch to local Partial check

Without a key: Text generation · Image generation · Speech-to-text · Text-to-speech · Embeddings (OpenAI): has a branch that stops with an error without a key. External API (api.meta.ai): has a branch that stops with an error without a key. External API (platform.claude.com): has a branch that stops with an error without a key. The other rows are in the table below.

Feature matrix
Feature Provider Use Default Alternative
Text generation · Image generation · Embeddings Google Gemini API
4 call sites
Key needed generativelanguage.googleapis.com Other providers
Text generation · Image generation · Speech-to-text · Text-to-speech · Embeddings OpenAI
10 call sites
Key needed api.openai.com Configurable address, Other providers
Text generation anthropic, cerebras, dashscope, deepseek, fireworks, …
33 call sites
Key needed api.ant-ling.com, api.anthropic.com +8 more None
Text generation · Image generation · Embeddings Amazon Bedrock
5 call sites
Undetermined SDK default address Skipped without a key
Text generation OpenRouter
3 call sites
Undetermined openrouter.ai Other providers
External API (api.individual.githubcopilot.com) api.individual.githubcopilot.com
2 call sites
Undetermined api.individual.githubcopilot.com Other providers
External API (api.meta.ai) api.meta.ai
2 call sites
Undetermined api.meta.ai Other providers
External API (auth.kimi.com) auth.kimi.com
1 call sites
Undetermined auth.kimi.com None
Show 32 more rows
Feature matrix
Feature Provider Use Default Alternative
External API (auth.meta.com) auth.meta.com
1 call sites
Undetermined auth.meta.com None
External API (auth.openai.com) auth.openai.com
3 call sites
Undetermined auth.openai.com None
External API (auth.x.ai) auth.x.ai
3 call sites
Undetermined auth.x.ai None
External API (chatgpt.com) chatgpt.com
3 call sites
Undetermined chatgpt.com Other providers
External API (claude.ai) claude.ai
2 call sites
Undetermined claude.ai None
External API (pi.dev) pi.dev
1 call sites
Undetermined pi.dev None
External API (platform.claude.com) platform.claude.com
2 call sites
Undetermined platform.claude.com None
Text generation Anthropic Claude
1 call sites
Optional api.anthropic.com Other providers
Text generation Cerebras Inference
1 call sites
Optional api.cerebras.ai Other providers
Text generation · Image generation · Embeddings Alibaba Cloud Model Studio (DashScope)
3 call sites
Optional token-plan.cn-beijing.maas.aliyuncs.com, token-plan.ap-southeast-1.maas.aliyuncs.com Other providers
Text generation DeepSeek
1 call sites
Optional api.deepseek.com Other providers
Text generation · Image generation Fireworks AI
1 call sites
Optional api.fireworks.ai Other providers
Text generation · Speech-to-text Groq
1 call sites
Optional api.groq.com Other providers
Hosted model inference · Text generation Hugging Face Inference Providers
1 call sites
Optional router.huggingface.co Other providers
Text generation · Embeddings · Document OCR Mistral AI
1 call sites
Optional api.mistral.ai Other providers
Text generation · Image generation · Embeddings Together AI
1 call sites
Optional api.together.ai Other providers
Text generation · Image generation xAI Grok
1 call sites
Optional api.x.ai Other providers
External API (ai-gateway.vercel.sh) ai-gateway.vercel.sh
1 call sites
Optional ai-gateway.vercel.sh Other providers
External API (api.ant-ling.com) api.ant-ling.com
1 call sites
Optional api.ant-ling.com Other providers
External API (api.kimi.com) api.kimi.com
1 call sites
Optional api.kimi.com Other providers
External API (api.minimax.io) api.minimax.io
1 call sites
Optional api.minimax.io Other providers
External API (api.minimaxi.com) api.minimaxi.com
1 call sites
Optional api.minimaxi.com Other providers
External API (api.moonshot.ai) api.moonshot.ai
1 call sites
Optional api.moonshot.ai Other providers
External API (api.moonshot.cn) api.moonshot.cn
1 call sites
Optional api.moonshot.cn Other providers
External API (api.xiaomimimo.com) api.xiaomimimo.com
1 call sites
Optional api.xiaomimimo.com Other providers
External API (api.z.ai) api.z.ai
1 call sites
Optional api.z.ai Other providers
External API (inference.baseten.co) inference.baseten.co
1 call sites
Optional inference.baseten.co Other providers
External API (integrate.api.nvidia.com) integrate.api.nvidia.com
1 call sites
Optional integrate.api.nvidia.com Other providers
External API (open.bigmodel.cn) open.bigmodel.cn
1 call sites
Optional open.bigmodel.cn Other providers
External API (token-plan-ams.xiaomimimo.com) token-plan-ams.xiaomimimo.com
1 call sites
Optional token-plan-ams.xiaomimimo.com Other providers
External API (token-plan-cn.xiaomimimo.com) token-plan-cn.xiaomimimo.com
1 call sites
Optional token-plan-cn.xiaomimimo.com Other providers
External API (token-plan-sgp.xiaomimimo.com) token-plan-sgp.xiaomimimo.com
1 call sites
Optional token-plan-sgp.xiaomimimo.com Other providers
External APIs
API Credential Code evidence Pricing Pricing page Checked
OpenAI Your API key packages/ai/src/api/openai-codex-responses.ts:1632Text and image generation, speech-to-text, text-to-speech, and embeddings are provided via OpenAI; if the call fails, it results in an error. Paid Pricing 2026-10-05
Google Gemini API Your API key packages/ai/src/api/google-generative-ai.ts:363Text and image generation, as well as embeddings, use the Google Gemini API and require a Google Gemini API key. Free tier Pricing 2026-10-05
Amazon Bedrock Sign-in needed (not an API key) packages/ai/src/api/bedrock-converse-stream.ts:348Amazon Bedrock is the default; if the call fails, it switches to another path. Paid Pricing 2026-10-05
OpenRouter Your API key packages/ai/src/providers/openrouter.ts:14Text generation can use OpenRouter (openrouter.ai). Other providers can be chosen instead. Free tier Pricing 2026-10-05
api.individual.githubcopilot.com Credential unclear packages/ai/src/providers/github-copilot.ts:13The code can call api.individual.githubcopilot.com, or other providers can be selected instead. No pricing info - -
api.meta.ai Credential unclear packages/ai/src/providers/meta.ts:11The code can call api.meta.ai, or other providers can be selected instead. No pricing info - -
auth.kimi.com Credential unclear packages/ai/src/auth/oauth/kimi-coding.ts:38Not traced to an entry point No pricing info - -
auth.meta.com Credential unclear packages/ai/src/auth/oauth/meta.ts:21Not traced to an entry point No pricing info - -
Show 31 more
External APIs
API Credential Code evidence Pricing Pricing page Checked
auth.openai.com Credential unclear packages/ai/src/auth/oauth/openai-chatgpt.ts:135Not traced to an entry point No pricing info - -
auth.x.ai Credential unclear packages/ai/src/auth/oauth/xai.ts:147Not traced to an entry point No pricing info - -
chatgpt.com Credential unclear packages/ai/src/providers/openai-codex.ts:11The code can call chatgpt.com (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
claude.ai Credential unclear packages/ai/src/auth/oauth/anthropic.ts:172Not traced to an entry point No pricing info - -
pi.dev Credential unclear packages/coding-agent/src/config.ts:596An unresolved import in the calling file No pricing info - -
platform.claude.com Credential unclear packages/ai/src/auth/oauth/anthropic.ts:106Not traced to an entry point No pricing info - -
Anthropic Claude Your API key packages/ai/src/providers/anthropic.ts:78Anthropic Claude can be used for text generation, or other providers can be selected instead. Paid Pricing 2026-10-05
Cerebras Inference Your API key packages/ai/src/providers/cerebras.ts:10Cerebras Inference can be used for text generation, or other providers can be selected instead. Paid Pricing 2026-10-05
Alibaba Cloud Model Studio (DashScope) Your API key packages/ai/src/providers/qwen-token-plan-cn.ts:10Alibaba Cloud Model Studio (DashScope) can be used for text and image generation and embeddings, or other providers can be selected instead. Paid Pricing 2026-10-05
DeepSeek Your API key packages/ai/src/providers/deepseek.ts:10DeepSeek can be used for text generation, or other providers can be selected instead. Paid Pricing 2026-10-05
Fireworks AI Your API key packages/ai/src/providers/fireworks.ts:11Fireworks AI can be used for text and image generation, or other providers can be selected instead. Paid Pricing 2026-10-05
Groq Your API key packages/ai/src/providers/groq.ts:10Groq can be used for text generation and speech-to-text, or other providers can be selected instead. Free tier Pricing 2026-10-05
Hugging Face Inference Providers Your API key packages/ai/src/providers/huggingface.ts:10Hosted model inference · Text generation can use Hugging Face Inference Providers (router.huggingface.co). Other providers can be chosen instead. Free tier Pricing 2026-10-05
Mistral AI Your API key packages/ai/src/providers/mistral.ts:10Text generation · Embeddings · Document OCR can use Mistral AI (api.mistral.ai). Other providers can be chosen instead. Free tier Pricing 2026-10-05
Together AI Your API key packages/ai/src/providers/together.ts:10Text generation · Image generation · Embeddings can use Together AI (api.together.ai). Other providers can be chosen instead. Paid Pricing 2026-10-05
xAI Grok Your API key packages/ai/src/providers/xai.ts:11Text generation · Image generation can use xAI Grok (api.x.ai). Other providers can be chosen instead. Paid Pricing 2026-10-05
ai-gateway.vercel.sh Credential unclear packages/ai/src/providers/vercel-ai-gateway.ts:11The code can call ai-gateway.vercel.sh, or other providers can be selected instead. No pricing info - -
api.ant-ling.com Credential unclear packages/ai/src/providers/ant-ling.ts:10The code can call api.ant-ling.com, or other providers can be selected instead. No pricing info - -
api.kimi.com Credential unclear packages/ai/src/providers/kimi-coding.ts:11The code can call api.kimi.com, or other providers can be selected instead. No pricing info - -
api.minimax.io Credential unclear packages/ai/src/providers/minimax.ts:10The code can call api.minimax.io, or other providers can be selected instead. No pricing info - -
api.minimaxi.com Credential unclear packages/ai/src/providers/minimax-cn.ts:10The code can call api.minimaxi.com, or other providers can be selected instead. No pricing info - -
api.moonshot.ai Credential unclear packages/ai/src/providers/moonshotai.ts:10The code can call api.moonshot.ai, or other providers can be selected instead. No pricing info - -
api.moonshot.cn Credential unclear packages/ai/src/providers/moonshotai-cn.ts:10The code can call api.moonshot.cn (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
api.xiaomimimo.com Credential unclear packages/ai/src/providers/xiaomi.ts:10The code can call api.xiaomimimo.com (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
api.z.ai Credential unclear packages/ai/src/providers/zai.ts:10The code can call api.z.ai (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
inference.baseten.co Credential unclear packages/ai/src/providers/baseten.ts:10The code can call inference.baseten.co (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
integrate.api.nvidia.com Credential unclear packages/ai/src/providers/nvidia.ts:10The code can call integrate.api.nvidia.com (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
open.bigmodel.cn Credential unclear packages/ai/src/providers/zai-coding-cn.ts:10The code can call open.bigmodel.cn (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
token-plan-ams.xiaomimimo.com Credential unclear packages/ai/src/providers/xiaomi-token-plan-ams.ts:10The code can call token-plan-ams.xiaomimimo.com (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
token-plan-cn.xiaomimimo.com Credential unclear packages/ai/src/providers/xiaomi-token-plan-cn.ts:10The code can call token-plan-cn.xiaomimimo.com (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -
token-plan-sgp.xiaomimimo.com Credential unclear packages/ai/src/providers/xiaomi-token-plan-sgp.ts:10The code can call token-plan-sgp.xiaomimimo.com (an address not in the pricing catalog). Other providers can be chosen instead. No pricing info - -

Data sent out: images·prompt text · 18 provider(s) unconfirmed

Fetched over the network: Documentation (Documentation)

Checked scope: Partial check — 400/1,926 files · tree not truncated · no submodules · 313 unresolved import path(s)

Next

Check another repository This result is wrong

Badge preview

external API badge

[![external API](https://whatitcalls.reactiveworks.dev/badge/earendil-works/pi.svg)](https://whatitcalls.reactiveworks.dev/en/earendil-works/pi)

Shows as “external API · used · local option” in a README.

Was this analysis helpful?

Freshness detailscommit b30a6dd · checked 2026-10-07
Committed
2026-10-07 10:26 UTC
Checked
2026-10-07 11:52 UTC
HEAD last seen
2026-10-07 11:51 UTC · b30a6dd (same as the checked commit)
Read depth
Basic (up to 400 files · 8 MB)
Scanner · rules
scan-5+verdict-4
Pricing catalog
version 2
Correction revision
0
Summary
Model ollama-cloud/gemma4:31b-cloud · some rule sentences
What is sent out
README claims ↔ code

No README claim contradicts the code.

Code quotes

Source files are not stored. Code is linked at the checked commit on GitHub; stored quotes are at most 3 lines per evidence and 6 per file.

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/anthropic.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/ant-ling.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/baseten.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/cerebras.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/deepseek.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/fireworks.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/github-copilot.ts

Source: earendil-works/pi · commit b30a6dd · packages/ai/src/providers/google.ts

34 more locations

Checked scope details

Files

In the repository
1,926
Checked
400 (20%)

Manifests

All priority files read

  • package.json
  • packages/agent/package.json
  • packages/ai/package.json
  • packages/chord/package.json
  • packages/client/package.json
  • packages/codemode/package.json

+10 more

Excluded files

  • build/ 2
  • vendor/ 2
  • .md 126
  • (none) 18
  • .yml 16
  • .sh 10

+16 more

External code not checked
None
Limits hit
file count limit
Correction history

No corrections yet.

This result is wrong · Corrections policy