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
Playful trees illustration
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.

Forest with fox illustration

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
Growing sprout illustration
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.

Pine trees
Energy
kWh per 1K tokens
0.0025
Pine tree
Carbon
gCO2e per 1K tokens
1.2
Trees and water
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
1 tree
$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
Get Started
Most Popular
Growth
Pro
50 trees
$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
Start Free Trial
Scale
Enterprise
600 trees
$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
Contact Sales

Ready to build sustainable AI?

Join hundreds of developers who are already tracking and offsetting their AI carbon footprint with GPTree.

Mountain trail illustration