Compute into Canopy
Track your AI's carbon footprint
GPTree is the sustainability infrastructure for AI. Every 500 queries = 1 tree planted. Monitor your impact, offset your footprint.
Start for Free
npm i @gptree/sdk

500
queries = 1 tree
2.5M+
queries tracked
5,000+
trees planted
99.9%
uptime SLA
Real-time Telemetry
Track every API call with detailed metrics on tokens, latency, and model usage.
Carbon Calculator
Automatically calculate the environmental impact with research-backed estimation.
Tree Planting
Every 500 queries = 1 tree planted. Watch your forest grow in real-time.
Privacy First
We never store your prompts. Only aggregate telemetry for sustainability metrics.
Zero Latency
Async collection means your app performance stays unaffected.
Impact Badge
Showcase your sustainability commitment with embeddable widgets.
Everything you need for sustainable AI
A complete toolkit to measure, understand, and offset the environmental impact of your AI.

Two lines to start tracking
Our SDK wraps popular AI providers and automatically captures all the metrics you need.
- Works with OpenAI, Anthropic, and AI SDK
- TypeScript native with full type safety
- Edge & serverless compatible

app.ts
import { GPTree } from '@gptree/sdk'
import OpenAI from 'openai'
const gptree = new GPTree({
apiKey: process.env.GPTREE_API_KEY
})
const openai = gptree.wrap(new OpenAI())
// That's it! Every call plants trees
const response = await openai.chat.completions
.create({
model: 'gpt-4',
messages: [{ role: 'user', content: 'Hello!' }]
})Understand your environmental impact
Detailed breakdowns of energy, carbon, and water usage for every model.

Energy
kWh per 1K tokens
0.0025

Carbon
gCO2e per 1K tokens
1.2

Water
mL per 1K tokens
3.5
Regenerative Usage
Turn compute into canopy
500 queries = 1 tree planted. Scale your impact as you grow.
Starter
Hobby
$0/month
For individuals and hobby projects
Queries500 queries
OverageHard cap
- 1 tree included
- 500 queries/month
- Basic carbon tracking
- Public impact badge
- 7-day data retention
Most Popular50 trees
Growth
Pro
$49/month
For growing teams and applications
Queries25,000 queries
Overage$1.50/tree
- 50 trees included
- 25,000 queries/month
- $1.50 per additional tree
- Advanced analytics
- Custom impact widget
- 90-day data retention
- Priority support
Scale
Enterprise
$499/month
For large-scale AI deployments
Queries300,000 queries
Overage$1.00/tree
- 600 trees included
- 300,000 queries/month
- $1.00 per additional tree
- Full analytics suite
- White-label widget
- Unlimited data retention
- Dedicated support
- SLA guarantee
Ready to build sustainable AI?
Join hundreds of developers who are already tracking and offsetting their AI carbon footprint with GPTree.
